[frogr] Reorganized visibility options (public/private in the same line)



commit d408021969ddfa96fc9afbe3e2193e12396e98c1
Author: Mario Sanchez Prada <msanchez gnome org>
Date:   Thu Dec 19 22:36:13 2013 +0000

    Reorganized visibility options (public/private in the same line)

 src/frogr-details-dialog.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/frogr-details-dialog.c b/src/frogr-details-dialog.c
index 5ca8060..9c446ab 100644
--- a/src/frogr-details-dialog.c
+++ b/src/frogr-details-dialog.c
@@ -263,7 +263,11 @@ _create_widgets (FrogrDetailsDialog *self)
   internal_hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
   gtk_box_set_homogeneous (GTK_BOX (internal_hbox), FALSE);
 
-  widget = gtk_radio_button_new_with_mnemonic (NULL, _("P_ublic"));
+  widget = gtk_radio_button_new_with_mnemonic (NULL, _("_Private"));
+  gtk_box_pack_start (GTK_BOX (internal_hbox), widget, FALSE, FALSE, 0);
+  priv->private_rb = widget;
+
+  widget = gtk_radio_button_new_with_mnemonic_from_widget (GTK_RADIO_BUTTON (priv->private_rb), 
_("P_ublic"));
   gtk_box_pack_start (GTK_BOX (internal_hbox), widget, FALSE, FALSE, 0);
   priv->public_rb = widget;
 
@@ -272,10 +276,6 @@ _create_widgets (FrogrDetailsDialog *self)
   private_hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
   gtk_box_set_homogeneous (GTK_BOX (private_hbox), FALSE);
 
-  widget = gtk_radio_button_new_with_mnemonic_from_widget (GTK_RADIO_BUTTON (priv->public_rb), 
_("_Private"));
-  gtk_box_pack_start (GTK_BOX (private_hbox), widget, FALSE, FALSE, 0);
-  priv->private_rb = widget;
-
   widget = gtk_check_button_new_with_mnemonic (_("_Family"));
   gtk_box_pack_start (GTK_BOX (private_hbox), widget, FALSE, FALSE, 0);
   priv->family_cb = widget;
@@ -287,7 +287,7 @@ _create_widgets (FrogrDetailsDialog *self)
   internal_hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
   gtk_box_set_homogeneous (GTK_BOX (internal_hbox), FALSE);
 
-  gtk_box_pack_start (GTK_BOX (internal_hbox), private_hbox, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (internal_hbox), private_hbox, FALSE, FALSE, 12);
   gtk_box_pack_start (GTK_BOX (visibility_vbox), internal_hbox, FALSE, FALSE, 0);
 
   internal_hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]