elm_toolbar: Show icons in icon only mode
authorAndy Williams <andy@andywilliams.me>
Sun, 25 Sep 2016 14:57:08 +0000 (15:57 +0100)
committerAndy Williams <andy@andywilliams.me>
Sun, 25 Sep 2016 14:57:08 +0000 (15:57 +0100)
When passing NULL as label the icon would get hidden.
@fix

data/elementary/themes/edc/elm/toolbar.edc

index 156ddae..2ea9293 100644 (file)
@@ -537,7 +537,7 @@ group { name: "elm/toolbar/item/default";
          }
          description { state: "icononly" 0.0;
             inherit: "default" 0.0;
-            visible: 0;
+            visible: 1;
             rel2.relative: 1.0 1.0;
             rel2.offset: -3 -3;
             rel2.to_y: "icon_clip";
@@ -574,7 +574,7 @@ group { name: "elm/toolbar/item/default";
          }
          description { state: "icononly" 0.0;
             inherit: "default" 0.0;
-            visible: 0;
+            visible: 1;
             rel2.relative: 1.0 1.0;
             rel2.offset: -3 -3;
             rel2.to_y: "icon_clip";
@@ -894,7 +894,7 @@ group { name: "elm/toolbar/item/default";
       program { name: "st3";
          signal: "elm,icon,hidden"; source: "elm";
          script {
-           new m = get_int(btmode);
+            new m = get_int(btmode);
             m &= ~ICON; set_int(btmode, m);
             eval_mode(m);
          }