summaryrefslogtreecommitdiff
path: root/src/camera/ImportPage.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/camera/ImportPage.vala')
-rw-r--r--src/camera/ImportPage.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/camera/ImportPage.vala b/src/camera/ImportPage.vala
index 352bba6..92445bb 100644
--- a/src/camera/ImportPage.vala
+++ b/src/camera/ImportPage.vala
@@ -758,8 +758,8 @@ public class ImportPage : CheckerboardPage {
LibraryPhoto.global.contents_altered.connect(on_media_added_removed);
Video.global.contents_altered.connect(on_media_added_removed);
- init_item_context_menu("/ImportContextMenu");
- init_page_context_menu("/ImportContextMenu");
+ init_item_context_menu("ImportContextMenu");
+ init_page_context_menu("ImportContextMenu");
}
~ImportPage() {
@@ -877,7 +877,7 @@ public class ImportPage : CheckerboardPage {
AppWindow.get_instance ().add_action_entries (entries, this);
- (get_action ("ViewTitle") as GLib.SimpleAction).set_state (Config.Facade.get_instance ().get_display_photo_titles ());
+ get_action ("ViewTitle").change_state (Config.Facade.get_instance ().get_display_photo_titles ());
}
public GPhoto.Camera get_camera() {