[Xfce4-commits] <xfce4-power-manager:master> Fix inactivity check box not appearing on Desktop system.
Ali Abdallah
noreply at xfce.org
Sat Jan 30 02:18:25 CET 2010
Updating branch refs/heads/master
to 4e3974f46b3c4b2e8112596a07fec40f99e8b244 (commit)
from 6a9baf4d17328d995be2ff4bdca893ea23b8214b (commit)
commit 4e3974f46b3c4b2e8112596a07fec40f99e8b244
Author: Ali Abdallah <ali at ali-xfce.org>
Date: Wed Nov 11 08:51:24 2009 +0100
Fix inactivity check box not appearing on Desktop system.
settings/xfpm-settings.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/settings/xfpm-settings.c b/settings/xfpm-settings.c
index ef0e3e7..aa8ef6c 100644
--- a/settings/xfpm-settings.c
+++ b/settings/xfpm-settings.c
@@ -1014,8 +1014,10 @@ xfpm_settings_on_ac (XfconfChannel *channel, gboolean auth_suspend,
}
else
{
- frame = GTK_WIDGET (gtk_builder_get_object (xml, "on-ac-actions-frame"));
- gtk_widget_hide_all (frame);
+ GtkWidget *label;
+ label = GTK_WIDGET (gtk_builder_get_object (xml, "on-ac-lid-label"));
+ gtk_widget_hide (label);
+ gtk_widget_hide (lid);
}
/*
More information about the Xfce4-commits
mailing list