e: handle mouse wheel in clock calendar.
authorCedric BAIL <cedric.bail@free.fr>
Sun, 14 Aug 2011 13:33:24 +0000 (13:33 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Sun, 14 Aug 2011 13:33:24 +0000 (13:33 +0000)
SVN revision: 62442

data/themes/default.edc

index 392af82..7dc103d 100644 (file)
@@ -13251,7 +13251,7 @@ collections {
          part { name: "e.text.month";
             type: TEXT;
             effect: SOFT_SHADOW;
-            mouse_events: 0;
+            mouse_events: 1;
             description { state: "default" 0.0;
                fixed: 0 1;
                align: 0.0 0.0;
@@ -13539,7 +13539,7 @@ collections {
             } }
          }
          part { name: "inset";
-            mouse_events: 0;
+            mouse_events: 1;
             description { state: "default" 0.0;
                image.normal: "inset_sunk.png";
                image.middle: 0;
@@ -13552,6 +13552,20 @@ collections {
             }
          }
       }
+      programs {
+         program {
+            name: "mw_next";
+            source: "*";
+            signal: "mouse,wheel,0,-1";
+            action: SIGNAL_EMIT "e,action,prev" "";
+         }
+         program {
+            name: "mw_right";
+            source: "*";
+            signal: "mouse,wheel,0,1";
+            action: SIGNAL_EMIT "e,action,next" "";
+         }
+      }
    }
 
 /////////////////////////////////////////////////////////////////////////////