Enlightenment CVS committal Author : lok Project : e_modules Module : notification
Dir : e_modules/notification Modified Files: README configure.in Log Message: More descriptive configuration for popups and README file. WARNING: The configure behaviour is changed (yes again) ./configure (unchanged, will go into enlightenment-config --module-dir) ./configure --prefix=/foo (will go in /foo/lib/enlightenment/modules/notification) =================================================================== RCS file: /cvs/e/e_modules/notification/README,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- README 16 Jan 2008 19:28:09 -0000 1.1 +++ README 7 Mar 2008 19:52:14 -0000 1.2 @@ -1,3 +1,28 @@ +Notification + This module provide a notification daemon for E. -It implement the galago specification : +It implements the galago specification : http://www.galago-project.org/specs/notification/0.9/index.html + +You can be notified in two ways, by popups or by icons. Popups are the usual way +of notifying, you can configure where they should appear and some other options +in E's configuration panel -> extensions -> notification. Notification box is a +gadget with the same style as ibox and go into a shelf. If an event occur the +image associated with the event (or this modules's logo if none) will appear +inside the box. A click on it will try to focus the source application of the +event, by matching the "application name" field with any windows class/name. +Configure a notification box is done by right clicking on it and selecting +"configuration". + +By configuring which level of urgency popups and box should show, you can avoid +having both showing up everytime. + +The icon displayed in the box may be ugly and aliased. It's due to the fact that +some apps use really small icons. An easy way to fix this is to make sure that +the application doesn't send a pixbuf but a path to the icon instead. And if this +icon is too small, replace it by a bigger one. + +If you want to fire up a notification and make the module focus an application, +the easiest way is to use e-notify-send (in e_dbus if built with enotify) like +in this example: +e-notify-send -n classname_of_your_app -i "file:///path/to/an/icon" "foo" "bar" =================================================================== RCS file: /cvs/e/e_modules/notification/configure.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- configure.in 2 Mar 2008 01:33:27 -0000 1.3 +++ configure.in 7 Mar 2008 19:52:14 -0000 1.4 @@ -35,24 +35,26 @@ e_cflags=`$E_CONFIG --cflags` e_libs=`$E_CONFIG --libs` e_modules=`$E_CONFIG --module-dir` +moduledir="enlightenment/modules" AC_SUBST(e_cflags) AC_SUBST(e_libs) dnl prefix if test "x${prefix}" = "xNONE" then - prefix="${e_modules}" + prefix=`$E_CONFIG --libs | cut -c 3- | cut -f 1 | sed -e 's/\/lib$//'` fi dnl datadir if test "x${datadir}" = "x\${datarootdir}" then - datadir="${prefix}/${PACKAGE}" + datadir="${prefix}/lib/enlightenment/modules/${PACKAGE}" fi AC_ARG_ENABLE(homedir-install, AS_HELP_STRING([--enable-homedir-install], [Install module in homedir]), - [ datadir="${HOME}/.e/e/modules/${PACKAGE}" ] + [ prefix="${HOME}" + datadir="${prefix}/.e/e/modules/${PACKAGE}" ] ) PKG_CHECK_MODULES([ENOTIFY], @@ -73,8 +75,7 @@ echo " $PACKAGE $VERSION" echo "--------------------------------------------------------------------------------" echo -echo "Installation Path ...: $prefix" -echo "Data Path ...........: $datadir" +echo "Installation Path ...: $datadir" echo if test -n "$CFLAGS" then ------------------------------------------------------------------------- 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