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
This commit is contained in:
committed by
Anna Dirks
parent
f7a5a0a261
commit
3d94bb9560
@ -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
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user