[frogr] Small redesign of the 'Frogr' menu
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Small redesign of the 'Frogr' menu
- Date: Tue, 10 Apr 2012 13:28:02 +0000 (UTC)
commit 1b3b018afe863c8f84367c2bec174ab8cc84708b
Author: Mario Sanchez Prada <msanchez igalia com>
Date: Tue Apr 10 15:27:48 2012 +0200
Small redesign of the 'Frogr' menu
data/gtkbuilder/frogr-main-view.xml | 16 ++++++++--------
src/frogr-main-view.c | 8 ++++----
2 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/data/gtkbuilder/frogr-main-view.xml b/data/gtkbuilder/frogr-main-view.xml
index ae86f53..2b7c9f3 100644
--- a/data/gtkbuilder/frogr-main-view.xml
+++ b/data/gtkbuilder/frogr-main-view.xml
@@ -7,7 +7,7 @@
<signal name="activate" handler="_on_action_activated" swapped="no"/>
</object>
<object class="GtkAction" id="add_pictures_action">
- <property name="label" translatable="yes">_Add Pictures</property>
+ <property name="label" translatable="yes">_Add Picturesâ</property>
<property name="stock_id">gtk-add</property>
<signal name="activate" handler="_on_action_activated" swapped="no"/>
</object>
@@ -28,7 +28,7 @@
<signal name="activate" handler="_on_action_activated" swapped="no"/>
</object>
<object class="GtkAction" id="auth_action">
- <property name="label" translatable="yes">Authorize _frogr</property>
+ <property name="label" translatable="yes">Aut_horize accountâ</property>
<signal name="activate" handler="_on_action_activated" swapped="no"/>
</object>
<object class="GtkToggleAction" id="enable_tooltips_action">
@@ -292,19 +292,19 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
- <object class="GtkMenuItem" id="accounts_menu_item">
+ <object class="GtkMenuItem" id="authorize_menu_item">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="use_action_appearance">False</property>
- <property name="label" translatable="yes">Accou_nts</property>
- <property name="use_underline">True</property>
+ <property name="related_action">auth_action</property>
</object>
</child>
<child>
- <object class="GtkMenuItem" id="authorize_frogr_menu_item">
+ <object class="GtkMenuItem" id="accounts_menu_item">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="related_action">auth_action</property>
+ <property name="use_action_appearance">False</property>
+ <property name="label" translatable="yes">Accou_nts</property>
+ <property name="use_underline">True</property>
</object>
</child>
<child>
diff --git a/src/frogr-main-view.c b/src/frogr-main-view.c
index 108a281..391b22f 100644
--- a/src/frogr-main-view.c
+++ b/src/frogr-main-view.c
@@ -262,13 +262,13 @@ _tweak_menu_bar_for_mac (FrogrMainView *self)
gtk_osxapplication_insert_app_menu_item (osx_app, gtk_separator_menu_item_new (), 1);
gtk_widget_show_all (menu_item);
- /* Relocate the 'accounts' menu item in the app menu */
- menu_item = GTK_WIDGET (gtk_builder_get_object (priv->builder, "accounts_menu_item"));
+ /* Relocate the 'authorize' menu item in the app menu */
+ menu_item = GTK_WIDGET (gtk_builder_get_object (priv->builder, "authorize_menu_item"));
gtk_osxapplication_insert_app_menu_item (osx_app, menu_item, 2);
gtk_widget_show_all (menu_item);
- /* Relocate the 'authorize' menu item in the app menu */
- menu_item = GTK_WIDGET (gtk_builder_get_object (priv->builder, "authorize_frogr_menu_item"));
+ /* Relocate the 'accounts' menu item in the app menu */
+ menu_item = GTK_WIDGET (gtk_builder_get_object (priv->builder, "accounts_menu_item"));
gtk_osxapplication_insert_app_menu_item (osx_app, menu_item, 3);
gtk_osxapplication_insert_app_menu_item (osx_app, gtk_separator_menu_item_new (), 4);
gtk_widget_show_all (menu_item);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]