[phonemgr] ui: do not call set_dependent_widget() to set sensitivity
- From: Daniele Forsi <dforsi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [phonemgr] ui: do not call set_dependent_widget() to set sensitivity
- Date: Thu, 3 May 2012 07:49:01 +0000 (UTC)
commit 5bc71bda484a6fc725897440aa187d156d57f54c
Author: Daniele Forsi <dforsi src gnome org>
Date: Wed May 2 17:38:00 2012 +0200
ui: do not call set_dependent_widget() to set sensitivity
It will be called when the S_ACTIVE macros will execute gtk_toggle_button_set_active().
src/ui.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/ui.c b/src/ui.c
index d9b03b8..8b61be4 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -215,11 +215,7 @@ populate_prefs (MyApp *app)
ctype = gconf_client_get_int (app->client,
CONFBASE"/connection_type", NULL);
- w = GTK_WIDGET (gtk_builder_get_object (app->ui, "btdevice"));
- set_dependent_widget (w, CONNECTION_BLUETOOTH, ctype == CONNECTION_BLUETOOTH);
-
w = GTK_WIDGET (gtk_builder_get_object (app->ui, "otherportentry"));
- set_dependent_widget (w, CONNECTION_OTHER, ctype == CONNECTION_OTHER);
c = gconf_client_get_string (app->client,
CONFBASE"/other_serial", NULL);
if (c != NULL) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]