[frogr] Renamed ACTION_CREATE_NEW_SET to ACTION_ADD_TO_NEW_SET "add-to-new-set"
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Renamed ACTION_CREATE_NEW_SET to ACTION_ADD_TO_NEW_SET "add-to-new-set"
- Date: Tue, 27 Nov 2012 10:49:27 +0000 (UTC)
commit b884042dd55fd7a5e2f44fdda582ddadc7487575
Author: Mario Sanchez Prada <msanchez gnome org>
Date: Fri Nov 23 19:41:52 2012 +0100
Renamed ACTION_CREATE_NEW_SET to ACTION_ADD_TO_NEW_SET "add-to-new-set"
data/gtkbuilder/frogr-menu-bar.xml | 2 +-
src/frogr-main-view.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/data/gtkbuilder/frogr-menu-bar.xml b/data/gtkbuilder/frogr-menu-bar.xml
index 95c6a27..3a16cad 100644
--- a/data/gtkbuilder/frogr-menu-bar.xml
+++ b/data/gtkbuilder/frogr-menu-bar.xml
@@ -67,7 +67,7 @@
</item>
<item>
<attribute name='label' translatable='yes'>_Create New Setâ</attribute>
- <attribute name='action'>win.create-new-set</attribute>
+ <attribute name='action'>win.add-to-new-set</attribute>
<attribute name='accel'><Primary><Shift>p</attribute>
</item>
</section>
diff --git a/src/frogr-main-view.c b/src/frogr-main-view.c
index 9c4450c..085063f 100644
--- a/src/frogr-main-view.c
+++ b/src/frogr-main-view.c
@@ -69,7 +69,7 @@
#define ACTION_ADD_TAGS "add-tags"
#define ACTION_ADD_TO_GROUP "add-to-group"
#define ACTION_ADD_TO_SET "add-to-set"
-#define ACTION_CREATE_NEW_SET "create-new-set"
+#define ACTION_ADD_TO_NEW_SET "add-to-new-set"
#define ACTION_OPEN_IN_EXTERNAL_VIEWER "open-in-external-viewer"
#define ACTION_UPLOAD_ALL "upload-all"
#define ACTION_SORT_BY "sort-by"
@@ -302,7 +302,7 @@ static GActionEntry win_entries[] = {
{ ACTION_ADD_TAGS, _on_menu_item_activated, NULL, NULL, NULL },
{ ACTION_ADD_TO_GROUP, _on_menu_item_activated, NULL, NULL, NULL },
{ ACTION_ADD_TO_SET, _on_menu_item_activated, NULL, NULL, NULL },
- { ACTION_CREATE_NEW_SET, _on_menu_item_activated, NULL, NULL, NULL },
+ { ACTION_ADD_TO_NEW_SET, _on_menu_item_activated, NULL, NULL, NULL },
{ ACTION_OPEN_IN_EXTERNAL_VIEWER, _on_menu_item_activated, NULL, NULL, NULL },
{ ACTION_UPLOAD_ALL, _on_menu_item_activated, NULL, NULL, NULL },
{ ACTION_SORT_BY, _on_radio_menu_item_activated, "s", "'" ACTION_SORT_BY_TARGET_AS_LOADED "'", _on_radio_menu_item_changed },
@@ -680,7 +680,7 @@ _on_menu_item_activated (GSimpleAction *action, GVariant *parameter, gpointer da
_add_pictures_to_group (self);
else if (!g_strcmp0 (action_name, ACTION_ADD_TO_SET))
_add_pictures_to_existing_set (self);
- else if (!g_strcmp0 (action_name, ACTION_CREATE_NEW_SET))
+ else if (!g_strcmp0 (action_name, ACTION_ADD_TO_NEW_SET))
_add_pictures_to_new_set (self);
else if (!g_strcmp0 (action_name, ACTION_OPEN_IN_EXTERNAL_VIEWER))
_open_pictures_in_external_viewer (self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]