[evolution/evolution-3-12] Calendar View: Use smaller icons in the Search bar



commit f37e276ac20a0f5adfcab177f3e746f160596084
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jul 21 16:17:43 2014 +0200

    Calendar View: Use smaller icons in the Search bar
    
    The icons at the search bar, to search forward, backward and stop
    searching were too large, which didn't look good. This makes them
    smaller, though even here can be seen a little gap around
    the images in the buttons which might not be there ideally.

 modules/calendar/e-cal-shell-view.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/modules/calendar/e-cal-shell-view.c b/modules/calendar/e-cal-shell-view.c
index 716f87e..9dd5e3d 100644
--- a/modules/calendar/e-cal-shell-view.c
+++ b/modules/calendar/e-cal-shell-view.c
@@ -38,7 +38,8 @@ cal_shell_view_add_action_button (GtkBox *box,
        GtkWidget *button, *icon;
 
        button = gtk_button_new ();
-       icon = gtk_action_create_icon (action, GTK_ICON_SIZE_BUTTON);
+       icon = gtk_action_create_icon (action, GTK_ICON_SIZE_MENU);
+       gtk_image_set_pixel_size (GTK_IMAGE (icon), 16);
        gtk_button_set_image (GTK_BUTTON (button), icon);
        gtk_box_pack_start (box, button, FALSE, FALSE, 0);
        gtk_widget_show (button);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]