aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2011-02-23 14:08:28 -0500
committerMichael Terry <mike@mterry.name>2011-02-23 14:08:28 -0500
commit415577b327454a934d48ad06c86c2aaa75cc0adf (patch)
tree5df3f1960658fd3b9a1de54c5a9741c17b783dd6 /src
parentb3a34d487c8c3724752b522fd352c96ba0bcf1a4 (diff)
downloadayatana-indicator-datetime-415577b327454a934d48ad06c86c2aaa75cc0adf.tar.gz
ayatana-indicator-datetime-415577b327454a934d48ad06c86c2aaa75cc0adf.tar.bz2
ayatana-indicator-datetime-415577b327454a934d48ad06c86c2aaa75cc0adf.zip
whoops, uncomment polkit bits
Diffstat (limited to 'src')
-rw-r--r--src/datetime-prefs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/datetime-prefs.c b/src/datetime-prefs.c
index 44b9b24..20f9829 100644
--- a/src/datetime-prefs.c
+++ b/src/datetime-prefs.c
@@ -144,7 +144,7 @@ add_widget_dependency (GtkWidget * parent, GtkWidget * dependent)
widget_dependency_cb (parent, NULL, dependent);
}
-/*static void
+static void
polkit_dependency_cb (GtkWidget * parent, GParamSpec *pspec, GtkWidget * dependent)
{
gboolean authorized, sensitive;
@@ -162,7 +162,7 @@ add_polkit_dependency (GtkWidget * parent, GtkWidget * dependent)
g_signal_connect (parent, "notify::sensitive", G_CALLBACK(polkit_dependency_cb),
dependent);
polkit_dependency_cb (parent, NULL, dependent);
-}*/
+}
static void
dbus_set_answered (GObject *object, GAsyncResult *res, gpointer command)
@@ -532,7 +532,7 @@ create_dialog (void)
add_widget_dependency (WIG ("showClockCheck"), WIG ("clockOptions"));
add_widget_dependency (WIG ("showLocationsCheck"), WIG ("locationsButton"));
add_widget_dependency (WIG ("manualTimeRadio"), WIG ("manualOptions"));
- //add_polkit_dependency (polkit_button, WIG ("timeDateOptions"));
+ add_polkit_dependency (polkit_button, WIG ("timeDateOptions"));
/* Hacky proxy test for whether evolution-data-server is installed */
gchar * evo_path = g_find_program_in_path ("evolution");