[frogr] Swap positions for 'Save' and 'Menu' buttons on header bar
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Swap positions for 'Save' and 'Menu' buttons on header bar
- Date: Tue, 11 Nov 2014 10:12:50 +0000 (UTC)
commit 9b9e5aeb81bc043861ddf1ab443513cdfe5094de
Author: Mario Sanchez Prada <msanchez gnome org>
Date: Tue Nov 11 08:56:11 2014 +0000
Swap positions for 'Save' and 'Menu' buttons on header bar
src/frogr-main-view.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/frogr-main-view.c b/src/frogr-main-view.c
index efa9603..f60cb3c 100644
--- a/src/frogr-main-view.c
+++ b/src/frogr-main-view.c
@@ -578,12 +578,7 @@ static void _initialize_header_bar (FrogrMainView *self)
header_item = _create_header_bar_item ("win.upload-all", "document-send-symbolic", _("Upload"), _("Upload
All"));
gtk_header_bar_pack_start (GTK_HEADER_BAR (priv->header_bar), header_item);
- /* Save project item to the right side */
-
- header_item = _create_header_bar_item ("win.save-project", "document-save-symbolic", _("Save"), _("Save
Current Project"));
- gtk_header_bar_pack_end (GTK_HEADER_BAR (priv->header_bar), header_item);
-
- /* Now create the menu button and its associated menu */
+ /* Menu button and its associated menu */
full_path = g_strdup_printf ("%s/" UI_MENU_BUTTON_FILE, frogr_util_get_app_data_dir ());
gtk_builder_add_from_file (priv->builder, full_path, NULL);
@@ -601,6 +596,11 @@ static void _initialize_header_bar (FrogrMainView *self)
gtk_widget_show (header_item);
gtk_header_bar_pack_end (GTK_HEADER_BAR (priv->header_bar), header_item);
+ /* Save project item */
+
+ header_item = _create_header_bar_item ("win.save-project", "document-save-symbolic", _("Save"), _("Save
Current Project"));
+ gtk_header_bar_pack_end (GTK_HEADER_BAR (priv->header_bar), header_item);
+
/* Finally, make the close button visible and show */
gtk_header_bar_set_show_close_button (GTK_HEADER_BAR (priv->header_bar), TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]