[gnome-bluetooth] Tweak the Moblin panel's UI for greater consistency
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] Tweak the Moblin panel's UI for greater consistency
- Date: Fri, 9 Oct 2009 14:18:02 +0000 (UTC)
commit 4e8574049d70c45899c4ea33f33092b906d19c44
Author: Joshua Lock <josh linux intel com>
Date: Fri Oct 9 15:07:54 2009 +0100
Tweak the Moblin panel's UI for greater consistency
To match better with the other Moblin panels:
1) Add the frames around the right hand column of the UI
2) Remove redundant/confusing text from the power switches label
https://bugzilla.gnome.org/show_bug.cgi?id=597907
moblin/moblin-panel.c | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/moblin/moblin-panel.c b/moblin/moblin-panel.c
index b0f636b..a414138 100644
--- a/moblin/moblin-panel.c
+++ b/moblin/moblin-panel.c
@@ -740,9 +740,12 @@ create_add_page (MoblinPanel *self)
gtk_box_pack_start (GTK_BOX (vbox), back_button, FALSE, FALSE, 4);
/* Right column */
+ frame = nbtk_gtk_frame_new ();
+ gtk_widget_show (frame);
vbox = gtk_vbox_new (FALSE, 4);
gtk_widget_show (vbox);
- gtk_box_pack_start (GTK_BOX (page), vbox, FALSE, FALSE, 4);
+ gtk_container_add (GTK_CONTAINER (frame), vbox);
+ gtk_box_pack_start (GTK_BOX (page), frame, FALSE, FALSE, 4);
hbox = gtk_hbox_new (FALSE, 4);
gtk_widget_show (hbox);
@@ -847,16 +850,22 @@ create_devices_page (MoblinPanel *self)
gtk_box_pack_start (GTK_BOX (vbox), priv->add_new_button, FALSE, FALSE, 4);
/* Right column */
+ frame = nbtk_gtk_frame_new ();
+ gtk_widget_show (frame);
vbox = gtk_vbox_new (FALSE, 4);
gtk_widget_show (vbox);
- gtk_box_pack_start (GTK_BOX (page), vbox, FALSE, FALSE, 4);
+ gtk_container_add (GTK_CONTAINER (frame), vbox);
+ gtk_box_pack_start (GTK_BOX (page), frame, FALSE, FALSE, 4);
hbox = gtk_hbox_new (FALSE, 4);
gtk_widget_show (hbox);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 4);
/* Power switch */
- power_label = gtk_label_new (_("Turn Bluetooth"));
+ /* Translators: This string appears next to a toggle switch which controls
+ * enabling/disabling Bluetooth radio's on the device. Akin to the power
+ * switches in the Network UI of Moblin */
+ power_label = gtk_label_new (_("Bluetooth"));
gtk_widget_show (power_label);
gtk_box_pack_start (GTK_BOX (hbox), power_label, FALSE, FALSE, 4);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]