[shotwell/shotwell-0.28] Fix spacing for flagged button



commit 776da8bf0c62d016273e1711e8874a2d7bef09d9
Author: Jens Georg <mail jensge org>
Date:   Sat Apr 14 18:19:32 2018 +0200

    Fix spacing for flagged button

 src/SearchFilter.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/SearchFilter.vala b/src/SearchFilter.vala
index 286c2b7..8acf035 100644
--- a/src/SearchFilter.vala
+++ b/src/SearchFilter.vala
@@ -644,6 +644,9 @@ public class SearchFilterToolbar : Gtk.Revealer {
             button.set_always_show_image(true);
             image = new Gtk.Image.from_icon_name(icon_name, Gtk.IconSize.SMALL_TOOLBAR);
             button.set_image(image);
+            if (button.get_label() != "" && button.get_label() != null) {
+                image.margin_end = 6;
+            }
         }
 
         public void set_label(string label) {


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