From 945566cd35ff992d83a542a1ca2c26ff01939516 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Wed, 13 Dec 2000 00:50:10 +0000 Subject: Make the -> in the select names dialog into a GNOME stock arrow pixmap. svn path=/trunk/; revision=6958 --- addressbook/gui/component/select-names/e-select-names.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'addressbook/gui') 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", -- cgit