[gnome-bluetooth] wizard: Remove multi-adapter support
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] wizard: Remove multi-adapter support
- Date: Thu, 22 Sep 2011 17:23:39 +0000 (UTC)
commit d5e5a88b4a4ca7eb42663206f2efc2938752257a
Author: Bastien Nocera <hadess hadess net>
Date: Thu Sep 22 17:58:50 2011 +0100
wizard: Remove multi-adapter support
It was broken since at least 3.0, and nobody complained.
wizard/main.c | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/wizard/main.c b/wizard/main.c
index d34bd3e..432f82b 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");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]