[gnome-bluetooth] lib: Move the searching label under the treeview
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] lib: Move the searching label under the treeview
- Date: Fri, 14 Oct 2011 14:38:15 +0000 (UTC)
commit f12d5bdd6c093fd10f91e72e7ea36dbc93aaefa6
Author: Bastien Nocera <hadess hadess net>
Date: Thu Oct 13 18:36:15 2011 +0100
lib: Move the searching label under the treeview
It looks strange to have that in between the treeview title
and the treeview itself.
https://bugzilla.gnome.org/show_bug.cgi?id=643516
lib/bluetooth-chooser.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lib/bluetooth-chooser.c b/lib/bluetooth-chooser.c
index bb8cd28..ee3f7c4 100644
--- a/lib/bluetooth-chooser.c
+++ b/lib/bluetooth-chooser.c
@@ -827,7 +827,7 @@ bluetooth_chooser_init(BluetoothChooser *self)
gtk_box_set_spacing (GTK_BOX(self), 18);
gtk_container_set_border_width (GTK_CONTAINER(self), 0);
- vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_widget_show (vbox);
gtk_box_pack_start (GTK_BOX (self), vbox, TRUE, TRUE, 0);
@@ -852,7 +852,7 @@ bluetooth_chooser_init(BluetoothChooser *self)
gtk_widget_set_name (priv->search_hbox, "search_hbox");
if (priv->show_searching)
gtk_widget_show (priv->search_hbox);
- gtk_box_pack_start (GTK_BOX (vbox), priv->search_hbox, FALSE, TRUE, 0);
+ gtk_box_pack_end (GTK_BOX (vbox), priv->search_hbox, FALSE, TRUE, 0);
gtk_widget_set_no_show_all (priv->search_hbox, TRUE);
/* Setup the adapter disco mode callback for the search button */
@@ -871,7 +871,7 @@ bluetooth_chooser_init(BluetoothChooser *self)
gtk_widget_show (priv->search_label);
gtk_widget_show (hbox);
- gtk_box_pack_end (GTK_BOX (priv->search_hbox), hbox, FALSE, TRUE, 0);
+ gtk_box_pack_start (GTK_BOX (priv->search_hbox), hbox, FALSE, TRUE, 0);
//FIXME check whether the default adapter is discovering right now
/* The treeview */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]