gnome-power-manager r2775 - in trunk: . applets/inhibit
- From: rhughes svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-power-manager r2775 - in trunk: . applets/inhibit
- Date: Thu, 10 Apr 2008 15:29:02 +0100 (BST)
Author: rhughes
Date: Thu Apr 10 15:29:02 2008
New Revision: 2775
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=2775&view=rev
Log:
2008-04-10 Richard Hughes <richard hughsie com>
* applets/inhibit/inhibit-applet.c: (gpm_applet_draw_cb):
Clear the brightness applet background so we can draw on it later.
Patch from Ted Gould, many thanks.
Modified:
trunk/ChangeLog
trunk/applets/inhibit/inhibit-applet.c
Modified: trunk/applets/inhibit/inhibit-applet.c
==============================================================================
--- trunk/applets/inhibit/inhibit-applet.c (original)
+++ trunk/applets/inhibit/inhibit-applet.c Thu Apr 10 15:29:02 2008
@@ -271,6 +271,9 @@
return FALSE;
}
+ /* Clear the window so we can draw on it later */
+ gdk_window_clear(GTK_WIDGET(applet)->window);
+
/* retrieve applet size */
gpm_applet_get_icon (applet);
gpm_applet_check_size (applet);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]