summaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
authorAli Abdallah <ali.slackware@gmail.com>2009-07-18 23:13:13 +0000
committerAli Abdallah <ali.slackware@gmail.com>2009-07-18 23:13:13 +0000
commit63ef29997073acf8341c921fc6d45946dd408bc7 (patch)
tree13fde1a91a6d2fd8d3733d4b5d6bb3be0d0182fb /settings
parentf3a08f98b0f64f653203f0c98ca02b15f64b2f47 (diff)
downloadixfce4-power-manager-63ef29997073acf8341c921fc6d45946dd408bc7.tar.gz
* Allow compilation without network manager support, since some
distros doesn't have it (like Slackware). * settings/xfpm-settings.c connect to the signals after settings up all the widgets this way we don't get property_changed signals for nothing. * Register DBus error code only once at startup to avoid a Metadata warning error domain. * Update README, NEWS. (Old svn revision: 7741)
Diffstat (limited to 'settings')
-rw-r--r--settings/xfpm-settings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/xfpm-settings.c b/settings/xfpm-settings.c
index ddfa3ac9..f9f156cb 100644
--- a/settings/xfpm-settings.c
+++ b/settings/xfpm-settings.c
@@ -1583,8 +1583,6 @@ xfpm_settings_dialog_new (XfconfChannel *channel, gboolean system_laptop,
dialog = GTK_WIDGET (gtk_builder_get_object (xml, "xfpm-settings-dialog"));
nt = GTK_WIDGET (gtk_builder_get_object (xml, "main-notebook"));
- gtk_builder_connect_signals (xml, channel);
-
xfpm_settings_on_ac (channel, user_privilege, can_suspend, can_hibernate, has_lcd_brightness, has_lid );
if ( system_laptop )
@@ -1612,4 +1610,6 @@ xfpm_settings_dialog_new (XfconfChannel *channel, gboolean system_laptop,
g_signal_connect (dialog, "response", G_CALLBACK (dialog_response_cb), channel);
gtk_widget_show (dialog);
}
+
+ gtk_builder_connect_signals (xml, channel);
}