aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-sidebar.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-10-23 08:20:01 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-10-23 08:20:01 +0800
commit0935ca72c9f6d2d0a8df816cc8973abc660e9630 (patch)
tree8b09ee92238abb6a6e427bf706602d0a54eed3b8 /shell/e-sidebar.c
parentabb1418197b7a28a83a005da765aa62e3c2aaa1c (diff)
downloadgsoc2013-evolution-0935ca72c9f6d2d0a8df816cc8973abc660e9630.tar.gz
gsoc2013-evolution-0935ca72c9f6d2d0a8df816cc8973abc660e9630.tar.zst
gsoc2013-evolution-0935ca72c9f6d2d0a8df816cc8973abc660e9630.zip
Add a little border to the buttons so it looks nicer.
* e-sidebar.c (e_sidebar_add_button): Add a little border to the buttons so it looks nicer. * e-component-registry.c (query_components): Set an icon from the "evolution:button_icon" attribute. svn path=/trunk/; revision=23023
Diffstat (limited to 'shell/e-sidebar.c')
-rw-r--r--shell/e-sidebar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/e-sidebar.c b/shell/e-sidebar.c
index ce0a29325f..ca94de9a9a 100644
--- a/shell/e-sidebar.c
+++ b/shell/e-sidebar.c
@@ -409,6 +409,7 @@ e_sidebar_add_button (ESidebar *sidebar,
g_signal_connect (button_widget, "toggled", G_CALLBACK (button_toggled_callback), sidebar);
hbox = gtk_hbox_new (FALSE, 3);
+ gtk_container_set_border_width (GTK_CONTAINER (hbox), 2);
icon_widget = gtk_image_new_from_pixbuf (icon);
label_widget = gtk_label_new (label);
gtk_box_pack_start (GTK_BOX (hbox), icon_widget, FALSE, TRUE, 0);