diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-01-27 13:23:56 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-01-27 13:23:56 +0800 |
commit | 38b37faf3692af41fff269e14514e3d34da86f0a (patch) | |
tree | c6e3a394869ab4fe7d03284e71c965e875c96fb9 | |
parent | 9143022e877a1b9b3527ed3b977ed131aa486d4f (diff) | |
download | gsoc2013-evolution-38b37faf3692af41fff269e14514e3d34da86f0a.tar.gz gsoc2013-evolution-38b37faf3692af41fff269e14514e3d34da86f0a.tar.zst gsoc2013-evolution-38b37faf3692af41fff269e14514e3d34da86f0a.zip |
Replace the arrow icons in the ESelectNames component with "->" for a
better look.
svn path=/trunk/; revision=7847
-rw-r--r-- | addressbook/ChangeLog | 6 | ||||
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names.c | 14 |
2 files changed, 13 insertions, 7 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 3b96f1f978..902d250a92 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +2001-01-27 Ettore Perazzoli <ettore@ximian.com> + + * gui/component/select-names/e-select-names.c + (e_select_names_add_section): Remove the butt-ugly arrow icon and + replace it with a less invasive "->" icon. + 2001-01-25 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (build_mods_from_ecards): add diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c index f25b385485..b294e4d0f8 100644 --- a/addressbook/gui/component/select-names/e-select-names.c +++ b/addressbook/gui/component/select-names/e-select-names.c @@ -478,8 +478,9 @@ e_select_names_add_section(ESelectNames *e_select_names, char *name, char *id, E ESelectNamesChild *child; GtkWidget *button; GtkWidget *alignment; - GtkWidget *label, *hbox, *icon; + GtkWidget *label, *icon; GtkTable *table; + char *label_text; ETableModel *model; GtkWidget *etable; @@ -500,12 +501,11 @@ e_select_names_add_section(ESelectNames *e_select_names, char *name, char *id, E alignment = gtk_alignment_new(0, 0, 1, 0); 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); + + label_text = g_strconcat (child->title, " ->", NULL); + label = gtk_label_new (label_text); + g_free (label_text); + gtk_container_add (GTK_CONTAINER (button), label); gtk_container_add(GTK_CONTAINER(alignment), button); gtk_widget_show_all(alignment); |