summaryrefslogtreecommitdiff
path: root/src/SearchFilter.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-06-25 20:57:00 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-06-25 20:57:00 +0200
commita9bafe967a7a664c43dec4aeb64a6f6e0f284e05 (patch)
tree653c43a63b70c47278367ad2a4e92640a6669b44 /src/SearchFilter.vala
parent55778740c211992cc86ea87588ab62c6750f36d1 (diff)
parentab841afa5cb39058d9ab2cebb67cfe6369443f6e (diff)
Update upstream source from tag 'upstream/0.28.3'
Update to upstream version '0.28.3' with Debian dir 828a38627ed9287d7cf2466fb15ebdea073742b7
Diffstat (limited to 'src/SearchFilter.vala')
-rw-r--r--src/SearchFilter.vala4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/SearchFilter.vala b/src/SearchFilter.vala
index fba5488..8acf035 100644
--- a/src/SearchFilter.vala
+++ b/src/SearchFilter.vala
@@ -643,8 +643,10 @@ public class SearchFilterToolbar : Gtk.Revealer {
Gtk.Image? image = null;
button.set_always_show_image(true);
image = new Gtk.Image.from_icon_name(icon_name, Gtk.IconSize.SMALL_TOOLBAR);
- image.set_margin_end(6);
button.set_image(image);
+ if (button.get_label() != "" && button.get_label() != null) {
+ image.margin_end = 6;
+ }
}
public void set_label(string label) {