diff options
author | Iain Holmes <iain@src.gnome.org> | 2000-12-13 08:50:10 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2000-12-13 08:50:10 +0800 |
commit | 945566cd35ff992d83a542a1ca2c26ff01939516 (patch) | |
tree | 805f54ee4439c705febc9f89a7394d85be4c57cd /addressbook | |
parent | 07e9c0c50eaaf011a6174241a8cc71bde9658331 (diff) | |
download | gsoc2013-evolution-945566cd35ff992d83a542a1ca2c26ff01939516.tar.gz gsoc2013-evolution-945566cd35ff992d83a542a1ca2c26ff01939516.tar.zst gsoc2013-evolution-945566cd35ff992d83a542a1ca2c26ff01939516.zip |
Make the -> in the select names dialog into a GNOME stock arrow pixmap.
svn path=/trunk/; revision=6958
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", |