diff options
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names.c | 14 |
2 files changed, 15 insertions, 4 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 9374e6c7b9..4cc2c98092 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2000-12-13 Iain Holmes <iain@helixcode.com> + + * gui/component/select-names/e-select-names.c + (e_select_names_add_section): Make the -> into a GNOME stock image. + 2000-12-09 Christopher James Lahey <clahey@helixcode.com> * gui/component/select-names/e-select-names.c diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c index b039b661dd..bfce088bdf 100644 --- a/addressbook/gui/component/select-names/e-select-names.c +++ b/addressbook/gui/component/select-names/e-select-names.c @@ -290,8 +290,8 @@ e_select_names_add_section(ESelectNames *e_select_names, char *name, char *id, E ESelectNamesChild *child; GtkWidget *button; GtkWidget *alignment; + GtkWidget *label, *hbox, *icon; GtkTable *table; - char *label; ETableModel *model; GtkWidget *etable; @@ -310,9 +310,15 @@ e_select_names_add_section(ESelectNames *e_select_names, char *name, char *id, E e_select_names->child_count++; alignment = gtk_alignment_new(0, 0, 1, 0); - label = g_strdup_printf("%s ->", child->title); - button = gtk_button_new_with_label(label); - g_free(label); + + button = gtk_button_new (); + hbox = gtk_hbox_new (FALSE, 2); + label = gtk_label_new (child->title); + icon = gnome_stock_pixmap_widget_new (NULL, GNOME_STOCK_PIXMAP_FORWARD); + gtk_box_pack_start (GTK_BOX (hbox), label, TRUE, TRUE, 0); + gtk_box_pack_start (GTK_BOX (hbox), icon, TRUE, TRUE, 0); + gtk_container_add (GTK_CONTAINER (button), hbox); + gtk_container_add(GTK_CONTAINER(alignment), button); gtk_widget_show_all(alignment); gtk_signal_connect(GTK_OBJECT(button), "clicked", |