diff options
author | Anna Marie Dirks <anna@ximian.com> | 2002-08-08 02:01:20 +0800 |
---|---|---|
committer | Anna Dirks <anna@src.gnome.org> | 2002-08-08 02:01:20 +0800 |
commit | 3d94bb95601c1b025d4e10ce71fdfd94bd296cf6 (patch) | |
tree | 6168ee92252d324b3ab0a34e7bea77944de1f18f /my-evolution | |
parent | f7a5a0a2618b4e38777c9ce54d35c72193364064 (diff) | |
download | gsoc2013-evolution-3d94bb95601c1b025d4e10ce71fdfd94bd296cf6.tar gsoc2013-evolution-3d94bb95601c1b025d4e10ce71fdfd94bd296cf6.tar.gz gsoc2013-evolution-3d94bb95601c1b025d4e10ce71fdfd94bd296cf6.tar.bz2 gsoc2013-evolution-3d94bb95601c1b025d4e10ce71fdfd94bd296cf6.tar.lz gsoc2013-evolution-3d94bb95601c1b025d4e10ce71fdfd94bd296cf6.tar.xz gsoc2013-evolution-3d94bb95601c1b025d4e10ce71fdfd94bd296cf6.tar.zst gsoc2013-evolution-3d94bb95601c1b025d4e10ce71fdfd94bd296cf6.zip |
Added an alignment to make button position be the same as the other
2002-08-07 Anna Marie Dirks <anna@ximian.com>
* e-summary-shown.c (e_summary_shown_init): Added an alignment to make
button position be the same as the other buttons of this type in evo.
(add_clicked): make this buttons sensitive when there is no proper
selection
(remove_clicked): same thing with the button
* my-evolution.glade: Capitalized "Weather Settings" properly.
svn path=/trunk/; revision=17732
Diffstat (limited to 'my-evolution')
-rw-r--r-- | my-evolution/ChangeLog | 11 | ||||
-rw-r--r-- | my-evolution/e-summary-shown.c | 14 | ||||
-rw-r--r-- | my-evolution/my-evolution.glade | 2 |
3 files changed, 23 insertions, 4 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog index 12303459a3..a44f1ec44b 100644 --- a/my-evolution/ChangeLog +++ b/my-evolution/ChangeLog @@ -1,3 +1,14 @@ +2002-08-07 Anna Marie Dirks <anna@ximian.com> + + * e-summary-shown.c (e_summary_shown_init): Added an alignment to make + button position be the same as the other buttons of this type in evo. + (add_clicked): make this buttons sensitive when there is no proper + selection + (remove_clicked): same thing with the button + + * my-evolution.glade: Capitalized "Weather Settings" properly. + + 2002-07-26 Peter Williams <peterw@ximian.com> * e-summary-mail.c (update_folder_cb): Don't use the folder's path diff --git a/my-evolution/e-summary-shown.c b/my-evolution/e-summary-shown.c index f66b5c7512..631703d8ae 100644 --- a/my-evolution/e-summary-shown.c +++ b/my-evolution/e-summary-shown.c @@ -398,6 +398,8 @@ add_clicked (GtkWidget *button, g_list_free (list); gtk_signal_emit (GTK_OBJECT (shown), shown_signals[ITEM_CHANGED]); + + gtk_widget_set_sensitive (GTK_WIDGET (button), FALSE); } static void @@ -442,6 +444,8 @@ remove_clicked (GtkWidget *button, g_list_free (list); gtk_signal_emit (GTK_OBJECT (shown), shown_signals[ITEM_CHANGED]); + + gtk_widget_set_sensitive (GTK_WIDGET (button), FALSE); } static TableData * @@ -524,6 +528,7 @@ e_summary_shown_init (ESummaryShown *shown) { ESummaryShownPrivate *priv; GtkWidget *vbox; + GtkWidget *align; gtk_box_set_spacing (GTK_BOX (shown), 3); @@ -538,8 +543,11 @@ e_summary_shown_init (ESummaryShown *shown) gtk_box_pack_start (GTK_BOX (shown), priv->all->etable, TRUE, TRUE, 2); gtk_widget_show (priv->all->etable); - vbox = gtk_vbox_new (TRUE, 0); - gtk_box_pack_start (GTK_BOX (shown), vbox, FALSE, FALSE, 2); + vbox = gtk_vbox_new (TRUE, 9); + align = gtk_alignment_new (.5, .5, .5, 0.0); + gtk_container_add (GTK_CONTAINER (align), vbox); + + gtk_box_pack_start (GTK_BOX (shown), align, FALSE, FALSE, 3); /* Fixme: nice GFX version */ priv->add = construct_pixmap_button (_("Add"), GNOME_STOCK_BUTTON_NEXT); @@ -555,7 +563,7 @@ e_summary_shown_init (ESummaryShown *shown) gtk_signal_connect (GTK_OBJECT (priv->remove), "clicked", GTK_SIGNAL_FUNC (remove_clicked), shown); - gtk_widget_show_all (vbox); + gtk_widget_show_all (align); priv->shown = make_table (shown->shown_model, _("Shown"), GTK_SIGNAL_FUNC (shown_selection_changed), shown); diff --git a/my-evolution/my-evolution.glade b/my-evolution/my-evolution.glade index 7fa895f3e8..373b2a0dfa 100644 --- a/my-evolution/my-evolution.glade +++ b/my-evolution/my-evolution.glade @@ -330,7 +330,7 @@ <class>GtkFrame</class> <name>frame3</name> <border_width>3</border_width> - <label>Weather settings</label> + <label>Weather Settings</label> <label_xalign>0</label_xalign> <shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type> <child> |