summaryrefslogtreecommitdiff
path: root/wizard
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2011-09-22 17:58:50 +0100
committerBastien Nocera <hadess@hadess.net>2011-09-22 18:14:16 +0100
commitd5e5a88b4a4ca7eb42663206f2efc2938752257a (patch)
tree13ea2f4ef19a00ac8be0f867ba7aa73e4581fcde /wizard
parent3f79a2a73100fa66a8eedddb55d95b4b58a01850 (diff)
downloadgnome-bluetooth-d5e5a88b4a4ca7eb42663206f2efc2938752257a.tar.gz
wizard: Remove multi-adapter support
It was broken since at least 3.0, and nobody complained.
Diffstat (limited to 'wizard')
-rw-r--r--wizard/main.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/wizard/main.c b/wizard/main.c
index d34bd3e9..432f82b7 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -828,23 +828,7 @@ create_wizard (void)
gtk_widget_hide (button_cancel);
/* Intro page */
- combo = gtk_combo_box_new();
-
- model = bluetooth_client_get_adapter_model(client);
- gtk_combo_box_set_model(GTK_COMBO_BOX(combo), model);
- g_object_unref(model);
-
- gtk_combo_box_set_active(GTK_COMBO_BOX(combo), 0);
- gtk_cell_layout_clear(GTK_CELL_LAYOUT(combo));
-
- renderer = gtk_cell_renderer_text_new();
- gtk_cell_layout_pack_start(GTK_CELL_LAYOUT(combo), renderer, TRUE);
- gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(combo), renderer,
- "text", BLUETOOTH_COLUMN_NAME, NULL);
-
page_intro = W("page_intro");
- if (gtk_tree_model_iter_n_children(model, NULL) > 1)
- gtk_box_pack_start(GTK_BOX(page_intro), combo, FALSE, FALSE, 0);
/* Search page */
page_search = W("page_search");