Update systray theme to have only one box
authorJosé Roberto de Souza <jose.souza@intel.com>
Wed, 18 Dec 2013 20:55:43 +0000 (18:55 -0200)
committerStefan Schmidt <s.schmidt@samsung.com>
Thu, 19 Dec 2013 08:45:48 +0000 (09:45 +0100)
data/themes/edc/systray.edc

index 6a97f1a..93f1766 100644 (file)
@@ -8,146 +8,102 @@ group { name: "e/modules/systray/main";
       part { name: "base"; type: RECT;
          description { state: "default" 0.0;
             color: 0 0 0 0;
+            align: 0 0;
          }
          description { state: "disabled" 0.0;
             inherit: "default" 0.0;
             color: 255 0 0 128;
          }
       }
-      part { name: "e.xembed.size"; type: RECT; mouse_events: 0;
-         description { state: "default" 0.0;
-            visible: 0;
-            rel1.to: "e.xembed.box";
-            rel2.to: "e.xembed.box";
-            align: 0.0 0.5;
-         }
-      }
-      part { name: "e.xembed.box"; type: BOX;
-         description { state: "default" 0.0;
-            rel2.relative: 0.0 1.0;
-            align: 0.0 0.5;
+      part { name: "box"; type: BOX;
+        description { state: "default" 0.0;
+            align: 0 0;
             box {
                layout: "horizontal";
                padding: 2 0;
                align: 0.5 0.5;
                min: 1 1;
             }
-         }
-         description { state: "vertical" 0.0;
+        }
+        description { state: "vertical" 0.0;
             inherit: "default" 0.0;
             box { 
                layout: "vertical";
                padding: 0 2;
             }
-         }
-      }
-      part { name: "e.dbus_notifier.box"; type: BOX;
-         description { state: "default" 0.0;
-            align: 1.0 0.5;
-            rel1 {
-               relative: 1.0 0.0;
-               to: "e.xembed.box";
-            }
-            box {
-               layout: "horizontal";
-               padding: 2 0;
-               align: 0.5 0.5;
-               min: 1 1;
-            }
-         }
-         description { state: "vertical" 0.0;
-            inherit: "default" 0.0;
-            box {
-               layout: "vertical";
-               padding: 0 2;
-            }
-         }
+        }
       }
    }
    programs {
       program {
          signal: "e,action,orient,horiz"; source: "e";
          action: STATE_SET "default" 0.0;
-         target: "e.xembed.box";
-         target: "e.dbus_notifier.box";
+         target: "box";
       }
       program {
          signal: "e,action,orient,vert"; source: "e";
          action: STATE_SET "vertical" 0.0;
-         target: "e.xembed.box";
-         target: "e.dbus_notifier.box";
+         target: "box";
       }
       program {
          signal: "e,action,orient,left"; source: "e";
          action: STATE_SET "vertical" 0.0;
-         target: "e.xembed.box";
-         target: "e.dbus_notifier.box";
+         target: "box";
       }
       program {
          signal: "e,action,orient,right"; source: "e";
          action: STATE_SET "vertical" 0.0;
-         target: "e.xembed.box";
-         target: "e.dbus_notifier.box";
+         target: "box";
       }
       program {
          signal: "e,action,orient,top"; source: "e";
          action: STATE_SET "default" 0.0;
-         target: "e.xembed.box";
-         target: "e.dbus_notifier.box";
+         target: "box";
       }
       program {
          signal: "e,action,orient,bottom"; source: "e";
          action: STATE_SET "default" 0.0;
-         target: "e.xembed.box";
-         target: "e.dbus_notifier.box";
+         target: "box";
       }
       program {
          signal: "e,action,orient,corner_tl"; source: "e";
          action: STATE_SET "default" 0.0;
-         target: "e.xembed.box";
-         target: "e.dbus_notifier.box";
+         target: "box";
       }
       program {
          signal: "e,action,orient,corner_tr"; source: "e";
          action: STATE_SET "default" 0.0;
-         target: "e.xembed.box";
-         target: "e.dbus_notifier.box";
+         target: "box";
       }
       program {
          signal: "e,action,orient,corner_bl"; source: "e";
          action: STATE_SET "default" 0.0;
-         target: "e.xembed.box";
-         target: "e.dbus_notifier.box";
+         target: "box";
       }
       program {
          signal: "e,action,orient,corner_br"; source: "e";
          action: STATE_SET "default" 0.0;
-         target: "e.xembed.box";
-         target: "e.dbus_notifier.box";
+         target: "box";
       }
       program {
          signal: "e,action,orient,corner_lt"; source: "e";
          action: STATE_SET "vertical" 0.0;
-         target: "e.xembed.box";
-         target: "e.dbus_notifier.box";
+         target: "box";
       }
       program {
          signal: "e,action,orient,corner_rt"; source: "e";
          action: STATE_SET "vertical" 0.0;
-         target: "e.xembed.box";
-         target: "e.dbus_notifier.box";
+         target: "box";
       }
       program {
          signal: "e,action,orient,corner_lb"; source: "e";
          action: STATE_SET "vertical" 0.0;
-         target: "e.xembed.box";
-         target: "e.dbus_notifier.box";
+         target: "box";
       }
       program {
          signal: "e,action,orient,corner_rb"; source: "e";
          action: STATE_SET "vertical" 0.0;
-         target: "e.xembed.box";
-         target: "e.dbus_notifier.box";
+         target: "box";
       }
    }
-}
+}
\ No newline at end of file