gnome-power-manager r2746 - in branches/gnome-2-22: . src



Author: rhughes
Date: Wed Mar 26 09:13:38 2008
New Revision: 2746
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=2746&view=rev

Log:
2008-03-26  Richard Hughes  <richard hughsie com>

* src/gpm-prefs-core.c: (prefs_setup_battery):
Fix a critical warning in gnome-power-preferences. Fixes #524449


Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/src/gpm-prefs-core.c

Modified: branches/gnome-2-22/src/gpm-prefs-core.c
==============================================================================
--- branches/gnome-2-22/src/gpm-prefs-core.c	(original)
+++ branches/gnome-2-22/src/gpm-prefs-core.c	Wed Mar 26 09:13:38 2008
@@ -1037,8 +1037,6 @@
 		gtk_widget_hide_all (widget);
 	}
 	if (prefs->priv->has_lcd == FALSE) {
-		widget = glade_xml_get_widget (prefs->priv->glade_xml, "hbox_battery_brightness");
-		gtk_widget_hide_all (widget);
 		widget = glade_xml_get_widget (prefs->priv->glade_xml, "checkbutton_battery_display_dim");
 		gtk_widget_hide_all (widget);
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]