Enlightenment CVS committal

Author  : lok
Project : e_modules
Module  : notification

Dir     : e_modules/notification


Modified Files:
        Makefile.am configure.in e-module-notification.edc 


Log Message:
Notification Module 0.2
Now also works with box for less intrusive notification.
A left click on the icon will focus the application source of the event.
A mouse_in during 0.5s will (re-)show depending of the config the popup.
There is two different config dialogs, one by box, and one for the popups.

===================================================================
RCS file: /cvs/e/e_modules/notification/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Makefile.am 16 Jan 2008 19:28:09 -0000      1.1
+++ Makefile.am 2 Mar 2008 01:33:27 -0000       1.2
@@ -18,7 +18,8 @@
 EXTRA_DIST = $(files_DATA) \
             images/e17_dialog_watermark.png \
             images/e17_menu_bg_border.png \
-            images/module_icon.png
+            images/module_icon.png \
+            images/close_btn.png
 
 %.edj:  %.edc
        $(EDJE_CC) $(EDJE_FLAGS) $< $@
===================================================================
RCS file: /cvs/e/e_modules/notification/configure.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- configure.in        22 Jan 2008 10:40:45 -0000      1.2
+++ configure.in        2 Mar 2008 01:33:27 -0000       1.3
@@ -3,7 +3,7 @@
 # get rid of that stupid cache mechanism
 rm -f config.cache
 
-AC_INIT(notification, 0.1.0, [EMAIL PROTECTED])
+AC_INIT(notification, 0.2.0, [EMAIL PROTECTED])
 AC_PREREQ(2.52)
 AC_CONFIG_SRCDIR(configure.in)
 AC_CANONICAL_BUILD
@@ -56,6 +56,7 @@
 )
 
 PKG_CHECK_MODULES([ENOTIFY],
+  edbus >= 0.1.0
   enotify >= 0.1.0
 )
 
===================================================================
RCS file: /cvs/e/e_modules/notification/e-module-notification.edc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e-module-notification.edc   22 Feb 2008 14:53:22 -0000      1.2
+++ e-module-notification.edc   2 Mar 2008 01:33:27 -0000       1.3
@@ -1,6 +1,7 @@
 /* Guidelines for a notification theme.
  *
  * Groups needed :
+ *  - modules/notification/logo : Logo for the module and it must contain at 
least one part named image.
  *  - modules/notification/main : Main theme for the popup
  * The theme must contains two parts :
  *  - notification.swallow.app_icon  : Contains the notification icon
@@ -46,6 +47,24 @@
             type: IMAGE;
             description {
                state: "default" 0.0;
+               aspect: 1 1;
+               image.normal: "module_icon.png";
+            }
+         }
+      }
+   }
+
+   /* Module Logo */
+   group {
+      name: "modules/notification/logo";
+      parts {
+         part {
+            name: "image";
+            mouse_events: 0;
+            type: IMAGE;
+            description {
+               state: "default" 0.0;
+               aspect: 1 1;
                image.normal: "module_icon.png";
             }
          }
@@ -188,6 +207,12 @@
                rel1.offset: 5  127;
                rel2.offset: 85 127;
             }
+            description {
+               state: "no_icon" 0.0;
+               inherit: "default" 0.0;
+               rel1.offset: 0  0;
+               rel2.offset: 0  0;
+            }
          }
 
          /* Message text */
@@ -199,7 +224,7 @@
             description {
                state: "default" 0.0;
                align: 0.0 0.5;
-                      //       fixed: 1 1;
+               //fixed: 1 1;
 
                rel1 { 
                   to_x: "notification.swallow.app_icon";
@@ -278,17 +303,17 @@
          }
 
          program {
-           name: "close";
-           signal: "mouse,down,1";
-           source: "notification.close_btn";
-           action: SIGNAL_EMIT "notification,close" "theme";
+            name: "close";
+            signal: "mouse,down,1";
+            source: "notification.close_btn";
+            action: SIGNAL_EMIT "notification,close" "theme";
          }
 
          program {
-           name: "find";
-           signal: "mouse,down,1";
-           source: "base";
-           action: SIGNAL_EMIT "notification,find" "theme";
+            name: "find";
+            signal: "mouse,down,1";
+            source: "base";
+            action: SIGNAL_EMIT "notification,find" "theme";
          }
       }
    }



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to