summaryrefslogtreecommitdiff
path: root/src/CollectionPage.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-01-02 11:24:12 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-01-02 11:24:12 +0100
commit66f6a7bd3f7e00022191f16cb0e82a39e7333a76 (patch)
tree8b5b7c598d87518696e151621988eafee18ffa06 /src/CollectionPage.vala
parent4a3f1fdfe1eb3743564adcee35d5513224339260 (diff)
New upstream version 0.25.2upstream/0.25.2
Diffstat (limited to 'src/CollectionPage.vala')
-rw-r--r--src/CollectionPage.vala8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/CollectionPage.vala b/src/CollectionPage.vala
index ba9e1ac..c43c0c8 100644
--- a/src/CollectionPage.vala
+++ b/src/CollectionPage.vala
@@ -75,7 +75,7 @@ public abstract class CollectionPage : MediaPage {
group.add_separator();
group.add_menu_item(_("_Publish"), "Publish", "<Primary><Shift>p");
group.add_menu_item(_("Send _To…"), "SendTo");
- group.add_menu_item(_("Set as _Desktop Background"), "SetBackground");
+ group.add_menu_item(_("Set as _Desktop Background"), "SetBackground", "<Primary>b");
return group;
}
@@ -269,12 +269,10 @@ public abstract class CollectionPage : MediaPage {
set_action_sensitive("SetBackground", (!selection_has_videos) && has_selected );
if (has_selected) {
debug ("Setting action label for SetBackground...");
-/* Gtk.Action? set_background = get_action("SetBackground");
- if (set_background != null) {
- set_background.label = one_selected
+ var label = one_selected
? Resources.SET_BACKGROUND_MENU
: Resources.SET_BACKGROUND_SLIDESHOW_MENU;
- } */
+ this.update_menu_item_label ("SetBackground", label);
}
}