CVSROOT: /cvs/gnome Module name: gnome-applets Changes by: ryanl 05/07/04 03:15:40
Modified files: . : ChangeLog configure.in battstat : ChangeLog Makefile.am battstat.h battstat_applet.c power-management.c Log message: 2005-07-04 Ryan Lortie <[EMAIL PROTECTED]> * configure.in: Add check for libhal, fix checks for libnotify, mixer-applet, gucharmap, etc. * battstat-hal.c: * battstat-hal.h: New files for libhal support. * Makefile.am: add battstat-hal.[ch], $(HAL_{CFLAGS,LIBS}) * battstat.h: Remove unused 'state' variable and enum type. Include panel-applet header files (since PanelApplet is used in this header). Add #ifndef _battstat_h_ around entire file. * power-management.c: Add hooks for HAL support. Remove unused 'state' variable. Header cleanup. * battstat_applet.c: Remove unused 'state' variable. Change logic for tooltip label to honour 'charging' flag. Add parens around && inside of || as suggested by -Wall. In the event of the battery meter never being displayed (ie: always on AC power) battstat->pixgc would never be initialised but would be unref'd on exit, causing a warning. Conditionalise unref. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-applets&who=ryanl&date=explicit&mindate=2005-07-04%2003:14&maxdate=2005-07-04%2003:16 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list