summaryrefslogtreecommitdiff
path: root/src/CollectionPage.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-03-22 06:39:17 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-03-22 06:39:17 +0100
commit3253d99365813f2d2ffd05e10cbb8c11f53d746e (patch)
tree0ab6f04d9051dc4ada1c4f977a01308227767234 /src/CollectionPage.c
parente69c1b746d63bf794316669471474ab57c8cd40a (diff)
New upstream version 0.26.0upstream/0.26.0
Diffstat (limited to 'src/CollectionPage.c')
-rw-r--r--src/CollectionPage.c3726
1 files changed, 1881 insertions, 1845 deletions
diff --git a/src/CollectionPage.c b/src/CollectionPage.c
index afd1659..991dadb 100644
--- a/src/CollectionPage.c
+++ b/src/CollectionPage.c
@@ -1488,112 +1488,112 @@ GType collection_view_manager_get_type (void) {
static void _collection_page_on_print_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_print ((CollectionPage*) self);
#line 1494 "CollectionPage.c"
}
static void _collection_page_on_publish_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_publish ((CollectionPage*) self);
#line 1501 "CollectionPage.c"
}
static void _collection_page_on_rotate_clockwise_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_rotate_clockwise ((CollectionPage*) self);
#line 1508 "CollectionPage.c"
}
static void _collection_page_on_rotate_counterclockwise_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_rotate_counterclockwise ((CollectionPage*) self);
#line 1515 "CollectionPage.c"
}
static void _collection_page_on_flip_horizontally_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_flip_horizontally ((CollectionPage*) self);
#line 1522 "CollectionPage.c"
}
static void _collection_page_on_flip_vertically_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_flip_vertically ((CollectionPage*) self);
#line 1529 "CollectionPage.c"
}
static void _collection_page_on_enhance_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_enhance ((CollectionPage*) self);
#line 1536 "CollectionPage.c"
}
static void _collection_page_on_copy_adjustments_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_copy_adjustments ((CollectionPage*) self);
#line 1543 "CollectionPage.c"
}
static void _collection_page_on_paste_adjustments_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_paste_adjustments ((CollectionPage*) self);
#line 1550 "CollectionPage.c"
}
static void _collection_page_on_revert_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_revert ((CollectionPage*) self);
#line 1557 "CollectionPage.c"
}
static void _collection_page_on_set_background_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_set_background ((CollectionPage*) self);
#line 1564 "CollectionPage.c"
}
static void _collection_page_on_duplicate_photo_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_duplicate_photo ((CollectionPage*) self);
#line 1571 "CollectionPage.c"
}
static void _collection_page_on_adjust_date_time_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_adjust_date_time ((CollectionPage*) self);
#line 1578 "CollectionPage.c"
}
static void _collection_page_on_external_edit_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_external_edit ((CollectionPage*) self);
#line 1585 "CollectionPage.c"
}
static void _collection_page_on_external_edit_raw_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_external_edit_raw ((CollectionPage*) self);
#line 1592 "CollectionPage.c"
}
static void _collection_page_on_slideshow_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_slideshow ((CollectionPage*) self);
#line 1599 "CollectionPage.c"
}
@@ -1658,8 +1658,8 @@ static GtkToolbar* collection_page_real_get_toolbar (Page* base) {
CollectionPage * self;
GtkToolbar* result = NULL;
GtkToolbar* _tmp0_ = NULL;
- GtkToolbar* _tmp20_ = NULL;
- GtkToolbar* _tmp21_ = NULL;
+ GtkToolbar* _tmp28_ = NULL;
+ GtkToolbar* _tmp29_ = NULL;
#line 46 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
#line 47 "/home/jens/Source/shotwell/src/CollectionPage.vala"
@@ -1689,6 +1689,16 @@ static GtkToolbar* collection_page_real_get_toolbar (Page* base) {
GtkToolbar* _tmp17_ = NULL;
GtkToolbar* _tmp18_ = NULL;
MediaPageZoomSliderAssembly* _tmp19_ = NULL;
+ GtkToolButton* rotate_button = NULL;
+ GtkBuilder* _tmp20_ = NULL;
+ GObject* _tmp21_ = NULL;
+ GtkToolButton* _tmp22_ = NULL;
+ GtkBindingSet* binding_set = NULL;
+ GtkToolButton* _tmp23_ = NULL;
+ GObjectClass* _tmp24_ = NULL;
+ GtkBindingSet* _tmp25_ = NULL;
+ GtkBindingSet* _tmp26_ = NULL;
+ GtkBindingSet* _tmp27_ = NULL;
#line 48 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = PAGE_CLASS (collection_page_parent_class)->get_toolbar (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page));
#line 48 "/home/jens/Source/shotwell/src/CollectionPage.vala"
@@ -1761,23 +1771,49 @@ static GtkToolbar* collection_page_real_get_toolbar (Page* base) {
gtk_toolbar_insert (_tmp18_, G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_tool_item_get_type (), GtkToolItem), -1);
#line 65 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp18_);
+#line 67 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp20_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder;
+#line 67 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp21_ = gtk_builder_get_object (_tmp20_, "ToolRotate");
+#line 67 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp22_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp21_, gtk_tool_button_get_type ()) ? ((GtkToolButton*) _tmp21_) : NULL);
+#line 67 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ rotate_button = _tmp22_;
+#line 68 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp23_ = rotate_button;
+#line 68 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp24_ = G_OBJECT_GET_CLASS (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, G_TYPE_OBJECT, GObject));
+#line 68 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp25_ = gtk_binding_set_by_class (_tmp24_);
+#line 68 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ binding_set = _tmp25_;
+#line 69 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp26_ = binding_set;
+#line 69 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ gtk_binding_entry_add_signal (_tmp26_, (guint) GDK_KEY_KP_Space, GDK_CONTROL_MASK, "clicked", (guint) 0, NULL);
+#line 70 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp27_ = binding_set;
+#line 70 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ gtk_binding_entry_add_signal (_tmp27_, (guint) GDK_KEY_space, GDK_CONTROL_MASK, "clicked", (guint) 0, NULL);
+#line 47 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _g_object_unref0 (rotate_button);
#line 47 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (zoom_slider_assembly);
#line 47 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (drawn_separator);
#line 47 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (separator);
-#line 1771 "CollectionPage.c"
+#line 1807 "CollectionPage.c"
}
-#line 68 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- _tmp20_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->toolbar;
-#line 68 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- _tmp21_ = _g_object_ref0 (_tmp20_);
-#line 68 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- result = _tmp21_;
-#line 68 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 74 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp28_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->toolbar;
+#line 74 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp29_ = _g_object_ref0 (_tmp28_);
+#line 74 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ result = _tmp29_;
+#line 74 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1781 "CollectionPage.c"
+#line 1817 "CollectionPage.c"
}
@@ -1789,33 +1825,33 @@ static InjectionGroup* collection_page_create_file_menu_injectables (void) {
const gchar* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
-#line 72 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 78 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = injection_group_new ("FileExtrasPlaceholder");
-#line 72 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 78 "/home/jens/Source/shotwell/src/CollectionPage.vala"
group = _tmp0_;
-#line 74 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 80 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _ ("_Print");
-#line 74 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 80 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_menu_item (group, _tmp1_, "Print", "<Primary>p");
-#line 75 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 81 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_separator (group);
-#line 76 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 82 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = _ ("_Publish");
-#line 76 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 82 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_menu_item (group, _tmp2_, "Publish", "<Primary><Shift>p");
-#line 77 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 83 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _ ("Send _To…");
-#line 77 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 83 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_menu_item (group, _tmp3_, "SendTo", NULL);
-#line 78 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 84 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _ ("Set as _Desktop Background");
-#line 78 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 84 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_menu_item (group, _tmp4_, "SetBackground", "<Primary>b");
-#line 80 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 86 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = group;
-#line 80 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 86 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1819 "CollectionPage.c"
+#line 1855 "CollectionPage.c"
}
@@ -1824,19 +1860,19 @@ static InjectionGroup* collection_page_create_edit_menu_injectables (void) {
InjectionGroup* group = NULL;
InjectionGroup* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 84 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 90 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = injection_group_new ("EditExtrasPlaceholder");
-#line 84 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 90 "/home/jens/Source/shotwell/src/CollectionPage.vala"
group = _tmp0_;
-#line 86 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 92 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _ ("_Duplicate");
-#line 86 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 92 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_menu_item (group, _tmp1_, "Duplicate", "<Primary>D");
-#line 88 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 94 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = group;
-#line 88 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 94 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1840 "CollectionPage.c"
+#line 1876 "CollectionPage.c"
}
@@ -1846,25 +1882,25 @@ static InjectionGroup* collection_page_create_view_menu_fullscreen_injectables (
InjectionGroup* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
-#line 92 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 98 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = injection_group_new ("ViewExtrasFullscreenSlideshowPlaceholder");
-#line 92 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 98 "/home/jens/Source/shotwell/src/CollectionPage.vala"
group = _tmp0_;
-#line 94 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 100 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _ ("Fullscreen");
-#line 94 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 100 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_menu_item (group, _tmp1_, "CommonFullscreen", "F11");
-#line 95 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 101 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_separator (group);
-#line 96 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 102 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = _ ("S_lideshow");
-#line 96 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 102 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_menu_item (group, _tmp2_, "Slideshow", "F5");
-#line 98 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 104 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = group;
-#line 98 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 104 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1868 "CollectionPage.c"
+#line 1904 "CollectionPage.c"
}
@@ -1880,51 +1916,51 @@ static InjectionGroup* collection_page_create_photos_menu_edits_injectables (voi
const gchar* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
const gchar* _tmp8_ = NULL;
-#line 102 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 108 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = injection_group_new ("PhotosExtrasEditsPlaceholder");
-#line 102 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 108 "/home/jens/Source/shotwell/src/CollectionPage.vala"
group = _tmp0_;
-#line 104 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 110 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _ ("Rotate _Right");
-#line 104 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 110 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_menu_item (group, _tmp1_, "RotateClockwise", "<Primary>r");
-#line 107 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 113 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = _ ("Rotate _Left");
-#line 107 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 113 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_menu_item (group, _tmp2_, "RotateCounterclockwise", "<Primary><Shift>r");
-#line 110 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 116 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _ ("Flip Hori_zontally");
-#line 110 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 116 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_menu_item (group, _tmp3_, "FlipHorizontally", NULL);
-#line 111 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 117 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _ ("Flip Verti_cally");
-#line 111 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 117 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_menu_item (group, _tmp4_, "FlipVertically", NULL);
-#line 112 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 118 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_separator (group);
-#line 113 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 119 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _ ("_Enhance");
-#line 113 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 119 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_menu_item (group, _tmp5_, "Enhance", NULL);
-#line 114 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 120 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _ ("Re_vert to Original");
-#line 114 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 120 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_menu_item (group, _tmp6_, "Revert", NULL);
-#line 115 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 121 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_separator (group);
-#line 116 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 122 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _ ("_Copy Color Adjustments");
-#line 116 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 122 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_menu_item (group, _tmp7_, "CopyColorAdjustments", "<Primary><Shift>c");
-#line 119 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 125 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _ ("_Paste Color Adjustments");
-#line 119 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 125 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_menu_item (group, _tmp8_, "PasteColorAdjustments", "<Primary><Shift>v");
-#line 123 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 129 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = group;
-#line 123 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 129 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1928 "CollectionPage.c"
+#line 1964 "CollectionPage.c"
}
@@ -1933,19 +1969,19 @@ static InjectionGroup* collection_page_create_photos_menu_date_injectables (void
InjectionGroup* group = NULL;
InjectionGroup* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 127 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 133 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = injection_group_new ("PhotosExtrasDateTimePlaceholder");
-#line 127 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 133 "/home/jens/Source/shotwell/src/CollectionPage.vala"
group = _tmp0_;
-#line 129 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 135 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _ ("Adjust Date and Time…");
-#line 129 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 135 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_menu_item (group, _tmp1_, "AdjustDateTime", NULL);
-#line 131 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 137 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = group;
-#line 131 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 137 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1949 "CollectionPage.c"
+#line 1985 "CollectionPage.c"
}
@@ -1956,27 +1992,27 @@ static InjectionGroup* collection_page_create_photos_menu_externals_injectables
const gchar* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
-#line 135 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 141 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = injection_group_new ("PhotosExtrasExternalsPlaceholder");
-#line 135 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 141 "/home/jens/Source/shotwell/src/CollectionPage.vala"
group = _tmp0_;
-#line 137 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 143 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _ ("Open With E_xternal Editor");
-#line 137 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 143 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_menu_item (group, _tmp1_, "ExternalEdit", "<Primary>Return");
-#line 140 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 146 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = _ ("Open With RA_W Editor");
-#line 140 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 146 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_menu_item (group, _tmp2_, "ExternalEditRAW", "<Primary><Shift>Return");
-#line 143 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 149 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _ ("_Play");
-#line 143 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 149 "/home/jens/Source/shotwell/src/CollectionPage.vala"
injection_group_add_menu_item (group, _tmp3_, "PlayVideo", "<Primary>Y");
-#line 145 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 151 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = group;
-#line 145 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 151 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1980 "CollectionPage.c"
+#line 2016 "CollectionPage.c"
}
@@ -1984,19 +2020,19 @@ static void collection_page_real_init_collect_ui_filenames (Page* base, GeeList*
CollectionPage * self;
GeeList* _tmp0_ = NULL;
GeeList* _tmp1_ = NULL;
-#line 148 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 148 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (GEE_IS_LIST (ui_filenames));
-#line 149 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 155 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = ui_filenames;
-#line 149 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 155 "/home/jens/Source/shotwell/src/CollectionPage.vala"
PAGE_CLASS (collection_page_parent_class)->init_collect_ui_filenames (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page), _tmp0_);
-#line 151 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 157 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = ui_filenames;
-#line 151 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 157 "/home/jens/Source/shotwell/src/CollectionPage.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection), "collection.ui");
-#line 2000 "CollectionPage.c"
+#line 2036 "CollectionPage.c"
}
@@ -2004,63 +2040,63 @@ static void collection_page_real_add_actions (Page* base, GActionMap* map) {
CollectionPage * self;
GActionMap* _tmp0_ = NULL;
GActionMap* _tmp1_ = NULL;
-#line 173 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 179 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 173 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 179 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (G_IS_ACTION_MAP (map));
-#line 174 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 180 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = map;
-#line 174 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 180 "/home/jens/Source/shotwell/src/CollectionPage.vala"
PAGE_CLASS (collection_page_parent_class)->add_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page), _tmp0_);
-#line 176 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = map;
-#line 176 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_action_map_add_action_entries (_tmp1_, COLLECTION_PAGE_entries, G_N_ELEMENTS (COLLECTION_PAGE_entries), self);
-#line 2020 "CollectionPage.c"
+#line 2056 "CollectionPage.c"
}
static void collection_page_real_remove_actions (Page* base, GActionMap* map) {
CollectionPage * self;
GActionMap* _tmp0_ = NULL;
-#line 179 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 185 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 179 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 185 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (G_IS_ACTION_MAP (map));
-#line 180 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 186 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = map;
-#line 180 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 186 "/home/jens/Source/shotwell/src/CollectionPage.vala"
PAGE_CLASS (collection_page_parent_class)->remove_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page), _tmp0_);
-#line 2035 "CollectionPage.c"
+#line 2071 "CollectionPage.c"
{
GActionEntry* entry_collection = NULL;
gint entry_collection_length1 = 0;
gint _entry_collection_size_ = 0;
gint entry_it = 0;
-#line 181 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
entry_collection = COLLECTION_PAGE_entries;
-#line 181 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
entry_collection_length1 = G_N_ELEMENTS (COLLECTION_PAGE_entries);
-#line 181 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
for (entry_it = 0; entry_it < G_N_ELEMENTS (COLLECTION_PAGE_entries); entry_it = entry_it + 1) {
-#line 2047 "CollectionPage.c"
+#line 2083 "CollectionPage.c"
GActionEntry entry = {0};
-#line 181 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
entry = entry_collection[entry_it];
-#line 2051 "CollectionPage.c"
+#line 2087 "CollectionPage.c"
{
GActionMap* _tmp1_ = NULL;
GActionEntry _tmp2_ = {0};
const gchar* _tmp3_ = NULL;
-#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 188 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = map;
-#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 188 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = entry;
-#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 188 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_.name;
-#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 188 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_action_map_remove_action (_tmp1_, _tmp3_);
-#line 2064 "CollectionPage.c"
+#line 2100 "CollectionPage.c"
}
}
}
@@ -2068,104 +2104,104 @@ static void collection_page_real_remove_actions (Page* base, GActionMap* map) {
static void _vala_array_add76 (InjectionGroup*** array, int* length, int* size, InjectionGroup* value) {
-#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 195 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if ((*length) == (*size)) {
-#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 195 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 195 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2078 "CollectionPage.c"
+#line 2114 "CollectionPage.c"
}
-#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 195 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
-#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 195 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2084 "CollectionPage.c"
+#line 2120 "CollectionPage.c"
}
static void _vala_array_add77 (InjectionGroup*** array, int* length, int* size, InjectionGroup* value) {
-#line 190 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if ((*length) == (*size)) {
-#line 190 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 190 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2095 "CollectionPage.c"
+#line 2131 "CollectionPage.c"
}
-#line 190 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
-#line 190 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2101 "CollectionPage.c"
+#line 2137 "CollectionPage.c"
}
static void _vala_array_add78 (InjectionGroup*** array, int* length, int* size, InjectionGroup* value) {
-#line 191 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if ((*length) == (*size)) {
-#line 191 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 191 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2112 "CollectionPage.c"
+#line 2148 "CollectionPage.c"
}
-#line 191 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
-#line 191 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2118 "CollectionPage.c"
+#line 2154 "CollectionPage.c"
}
static void _vala_array_add79 (InjectionGroup*** array, int* length, int* size, InjectionGroup* value) {
-#line 192 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 198 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if ((*length) == (*size)) {
-#line 192 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 198 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 192 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 198 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2129 "CollectionPage.c"
+#line 2165 "CollectionPage.c"
}
-#line 192 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 198 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
-#line 192 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 198 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2135 "CollectionPage.c"
+#line 2171 "CollectionPage.c"
}
static void _vala_array_add80 (InjectionGroup*** array, int* length, int* size, InjectionGroup* value) {
-#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 199 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if ((*length) == (*size)) {
-#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 199 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 199 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2146 "CollectionPage.c"
+#line 2182 "CollectionPage.c"
}
-#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 199 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
-#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 199 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2152 "CollectionPage.c"
+#line 2188 "CollectionPage.c"
}
static void _vala_array_add81 (InjectionGroup*** array, int* length, int* size, InjectionGroup* value) {
-#line 194 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if ((*length) == (*size)) {
-#line 194 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 194 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2163 "CollectionPage.c"
+#line 2199 "CollectionPage.c"
}
-#line 194 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
-#line 194 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2169 "CollectionPage.c"
+#line 2205 "CollectionPage.c"
}
@@ -2197,79 +2233,79 @@ static InjectionGroup** collection_page_real_init_collect_injection_groups (Page
InjectionGroup* _tmp13_ = NULL;
InjectionGroup** _tmp14_ = NULL;
gint _tmp14__length1 = 0;
-#line 186 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 192 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = PAGE_CLASS (collection_page_parent_class)->init_collect_injection_groups (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page), &_tmp0_);
-#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
groups = _tmp1_;
-#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
groups_length1 = _tmp0_;
-#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_groups_size_ = groups_length1;
-#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 195 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = groups;
-#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 195 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2__length1 = groups_length1;
-#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 195 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = collection_page_create_file_menu_injectables ();
-#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 195 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_vala_array_add76 (&groups, &groups_length1, &_groups_size_, _tmp3_);
-#line 190 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = groups;
-#line 190 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4__length1 = groups_length1;
-#line 190 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = collection_page_create_edit_menu_injectables ();
-#line 190 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_vala_array_add77 (&groups, &groups_length1, &_groups_size_, _tmp5_);
-#line 191 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = groups;
-#line 191 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6__length1 = groups_length1;
-#line 191 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = collection_page_create_view_menu_fullscreen_injectables ();
-#line 191 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_vala_array_add78 (&groups, &groups_length1, &_groups_size_, _tmp7_);
-#line 192 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 198 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = groups;
-#line 192 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 198 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8__length1 = groups_length1;
-#line 192 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 198 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = collection_page_create_photos_menu_edits_injectables ();
-#line 192 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 198 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_vala_array_add79 (&groups, &groups_length1, &_groups_size_, _tmp9_);
-#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 199 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = groups;
-#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 199 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10__length1 = groups_length1;
-#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 199 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = collection_page_create_photos_menu_date_injectables ();
-#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 199 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_vala_array_add80 (&groups, &groups_length1, &_groups_size_, _tmp11_);
-#line 194 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = groups;
-#line 194 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12__length1 = groups_length1;
-#line 194 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = collection_page_create_photos_menu_externals_injectables ();
-#line 194 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_vala_array_add81 (&groups, &groups_length1, &_groups_size_, _tmp13_);
-#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 202 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = groups;
-#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 202 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14__length1 = groups_length1;
-#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 202 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (result_length1) {
-#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 202 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*result_length1 = _tmp14__length1;
-#line 2267 "CollectionPage.c"
+#line 2303 "CollectionPage.c"
}
-#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 202 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp14_;
-#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 202 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 2273 "CollectionPage.c"
+#line 2309 "CollectionPage.c"
}
@@ -2281,29 +2317,29 @@ static gboolean collection_page_selection_has_video (CollectionPage* self) {
GeeCollection* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
gboolean _tmp5_ = FALSE;
-#line 199 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 205 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_val_if_fail (IS_COLLECTION_PAGE (self), FALSE);
-#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 206 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 206 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 206 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_sources (_tmp1_);
-#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 206 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 206 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = media_source_collection_has_video (_tmp3_);
-#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 206 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 206 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp3_);
-#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 206 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 206 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp5_;
-#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 206 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 2307 "CollectionPage.c"
+#line 2343 "CollectionPage.c"
}
@@ -2315,29 +2351,29 @@ static gboolean collection_page_page_has_photo (CollectionPage* self) {
GeeCollection* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
gboolean _tmp5_ = FALSE;
-#line 203 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 209 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_val_if_fail (IS_COLLECTION_PAGE (self), FALSE);
-#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 210 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 210 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 210 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_sources (_tmp1_);
-#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 210 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 210 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = media_source_collection_has_photo (_tmp3_);
-#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 210 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 210 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp3_);
-#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 210 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 210 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp5_;
-#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 210 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 2341 "CollectionPage.c"
+#line 2377 "CollectionPage.c"
}
@@ -2349,29 +2385,29 @@ static gboolean collection_page_selection_has_photo (CollectionPage* self) {
GeeCollection* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
gboolean _tmp5_ = FALSE;
-#line 207 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 213 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_val_if_fail (IS_COLLECTION_PAGE (self), FALSE);
-#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 214 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 214 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 214 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_sources (_tmp1_);
-#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 214 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 214 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = media_source_collection_has_photo (_tmp3_);
-#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 214 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 214 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp3_);
-#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 214 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 214 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp5_;
-#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 214 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 2375 "CollectionPage.c"
+#line 2411 "CollectionPage.c"
}
@@ -2379,29 +2415,29 @@ static void collection_page_real_init_actions (Page* base, gint selected_count,
CollectionPage * self;
gint _tmp0_ = 0;
gint _tmp1_ = 0;
-#line 211 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 217 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 212 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 218 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = selected_count;
-#line 212 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 218 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = count;
-#line 212 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 218 "/home/jens/Source/shotwell/src/CollectionPage.vala"
PAGE_CLASS (collection_page_parent_class)->init_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page), _tmp0_, _tmp1_);
-#line 214 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 220 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_short_label (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateClockwise", RESOURCES_ROTATE_CW_LABEL);
-#line 215 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 221 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_short_label (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateCounterclockwise", RESOURCES_ROTATE_CCW_LABEL);
-#line 216 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 222 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_short_label (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Publish", RESOURCES_PUBLISH_LABEL);
-#line 218 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 224 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_important (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateClockwise", TRUE);
-#line 219 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 225 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_important (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateCounterclockwise", TRUE);
-#line 220 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_important (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Enhance", TRUE);
-#line 221 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 227 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_important (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Publish", TRUE);
-#line 2405 "CollectionPage.c"
+#line 2441 "CollectionPage.c"
}
@@ -2463,49 +2499,49 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
gboolean _tmp92_ = FALSE;
gboolean _tmp93_ = FALSE;
gboolean _tmp95_ = FALSE;
-#line 224 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 230 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = app_window_get_instance ();
-#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_PAGE_WINDOW, PageWindow));
-#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _tmp3_ != G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page);
-#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp3_);
-#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp1_);
-#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp4_) {
-#line 227 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 233 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 2487 "CollectionPage.c"
+#line 2523 "CollectionPage.c"
}
-#line 230 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 236 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = selected_count;
-#line 230 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 236 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = count;
-#line 230 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 236 "/home/jens/Source/shotwell/src/CollectionPage.vala"
PAGE_CLASS (collection_page_parent_class)->update_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page), _tmp5_, _tmp6_);
-#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = selected_count;
-#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala"
one_selected = _tmp7_ == 1;
-#line 233 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 239 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = selected_count;
-#line 233 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 239 "/home/jens/Source/shotwell/src/CollectionPage.vala"
has_selected = _tmp8_ > 0;
-#line 235 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
primary_is_video = FALSE;
-#line 236 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 242 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = has_selected;
-#line 236 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 242 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp9_) {
-#line 2509 "CollectionPage.c"
+#line 2545 "CollectionPage.c"
ViewCollection* _tmp10_ = NULL;
ViewCollection* _tmp11_ = NULL;
DataView* _tmp12_ = NULL;
@@ -2513,116 +2549,116 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
DataSource* _tmp14_ = NULL;
DataSource* _tmp15_ = NULL;
gboolean _tmp16_ = FALSE;
-#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = view_collection_get_selected_at (_tmp11_, 0);
-#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = data_view_get_source (_tmp13_);
-#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp14_;
-#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp15_, TYPE_VIDEO);
-#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp15_);
-#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp13_);
-#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp11_);
-#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp16_) {
-#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 244 "/home/jens/Source/shotwell/src/CollectionPage.vala"
primary_is_video = TRUE;
-#line 2541 "CollectionPage.c"
+#line 2577 "CollectionPage.c"
}
}
-#line 240 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 246 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = collection_page_selection_has_video (self);
-#line 240 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 246 "/home/jens/Source/shotwell/src/CollectionPage.vala"
selection_has_videos = _tmp17_;
-#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = collection_page_page_has_photo (self);
-#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_has_photos = _tmp18_;
-#line 245 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = has_selected;
-#line 245 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp20_) {
-#line 2556 "CollectionPage.c"
+#line 2592 "CollectionPage.c"
gboolean _tmp21_ = FALSE;
-#line 245 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = selection_has_videos;
-#line 245 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = !_tmp21_;
-#line 2562 "CollectionPage.c"
+#line 2598 "CollectionPage.c"
} else {
-#line 245 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = FALSE;
-#line 2566 "CollectionPage.c"
+#line 2602 "CollectionPage.c"
}
-#line 245 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Duplicate", _tmp19_);
-#line 246 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = primary_is_video;
-#line 246 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_visible (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEdit", !_tmp22_);
-#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = one_selected;
-#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp24_) {
-#line 2578 "CollectionPage.c"
+#line 2614 "CollectionPage.c"
ConfigFacade* _tmp25_ = NULL;
ConfigFacade* _tmp26_ = NULL;
gchar* _tmp27_ = NULL;
gchar* _tmp28_ = NULL;
gboolean _tmp29_ = FALSE;
-#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = config_facade_get_instance ();
-#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = _tmp25_;
-#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = configuration_facade_get_external_photo_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp28_ = _tmp27_;
-#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp29_ = is_string_empty (_tmp28_);
-#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = !_tmp29_;
-#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (_tmp28_);
-#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp26_);
-#line 2600 "CollectionPage.c"
+#line 2636 "CollectionPage.c"
} else {
-#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = FALSE;
-#line 2604 "CollectionPage.c"
+#line 2640 "CollectionPage.c"
}
-#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEdit", _tmp23_);
-#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = one_selected;
-#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp33_) {
-#line 2612 "CollectionPage.c"
+#line 2648 "CollectionPage.c"
gboolean _tmp34_ = FALSE;
-#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = primary_is_video;
-#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = !_tmp34_;
-#line 2618 "CollectionPage.c"
+#line 2654 "CollectionPage.c"
} else {
-#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = FALSE;
-#line 2622 "CollectionPage.c"
+#line 2658 "CollectionPage.c"
}
-#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp32_) {
-#line 2626 "CollectionPage.c"
+#line 2662 "CollectionPage.c"
ViewCollection* _tmp35_ = NULL;
ViewCollection* _tmp36_ = NULL;
DataView* _tmp37_ = NULL;
@@ -2630,121 +2666,121 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
DataSource* _tmp39_ = NULL;
Photo* _tmp40_ = NULL;
PhotoFileFormat _tmp41_ = 0;
-#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp35_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp36_ = _tmp35_;
-#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp37_ = view_collection_get_selected_at (_tmp36_, 0);
-#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp38_ = _tmp37_;
-#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp39_ = data_view_get_source (_tmp38_);
-#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp40_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, TYPE_PHOTO, Photo);
-#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp41_ = photo_get_master_file_format (_tmp40_);
-#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = _tmp41_ == PHOTO_FILE_FORMAT_RAW;
-#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp40_);
-#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp38_);
-#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp36_);
-#line 2656 "CollectionPage.c"
+#line 2692 "CollectionPage.c"
} else {
-#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = FALSE;
-#line 2660 "CollectionPage.c"
+#line 2696 "CollectionPage.c"
}
-#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp31_) {
-#line 2664 "CollectionPage.c"
+#line 2700 "CollectionPage.c"
ConfigFacade* _tmp42_ = NULL;
ConfigFacade* _tmp43_ = NULL;
gchar* _tmp44_ = NULL;
gchar* _tmp45_ = NULL;
gboolean _tmp46_ = FALSE;
-#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp42_ = config_facade_get_instance ();
-#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp43_ = _tmp42_;
-#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp44_ = configuration_facade_get_external_raw_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp45_ = _tmp44_;
-#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp46_ = is_string_empty (_tmp45_);
-#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = !_tmp46_;
-#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (_tmp45_);
-#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp43_);
-#line 2686 "CollectionPage.c"
+#line 2722 "CollectionPage.c"
} else {
-#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = FALSE;
-#line 2690 "CollectionPage.c"
+#line 2726 "CollectionPage.c"
}
-#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_visible (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEditRAW", _tmp30_);
-#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp48_ = selection_has_videos;
-#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp48_) {
-#line 2698 "CollectionPage.c"
+#line 2734 "CollectionPage.c"
gboolean _tmp49_ = FALSE;
-#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp49_ = collection_page_can_revert_selected (self);
-#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp47_ = _tmp49_;
-#line 2704 "CollectionPage.c"
+#line 2740 "CollectionPage.c"
} else {
-#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp47_ = FALSE;
-#line 2708 "CollectionPage.c"
+#line 2744 "CollectionPage.c"
}
-#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Revert", _tmp47_);
-#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp51_ = selection_has_videos;
-#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp51_) {
-#line 2716 "CollectionPage.c"
+#line 2752 "CollectionPage.c"
gboolean _tmp52_ = FALSE;
-#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp52_ = has_selected;
-#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp50_ = _tmp52_;
-#line 2722 "CollectionPage.c"
+#line 2758 "CollectionPage.c"
} else {
-#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp50_ = FALSE;
-#line 2726 "CollectionPage.c"
+#line 2762 "CollectionPage.c"
}
-#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Enhance", _tmp50_);
-#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp55_ = selection_has_videos;
-#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp55_) {
-#line 2734 "CollectionPage.c"
+#line 2770 "CollectionPage.c"
gboolean _tmp56_ = FALSE;
-#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp56_ = one_selected;
-#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp54_ = _tmp56_;
-#line 2740 "CollectionPage.c"
+#line 2776 "CollectionPage.c"
} else {
-#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp54_ = FALSE;
-#line 2744 "CollectionPage.c"
+#line 2780 "CollectionPage.c"
}
-#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp54_) {
-#line 2748 "CollectionPage.c"
+#line 2784 "CollectionPage.c"
ViewCollection* _tmp57_ = NULL;
ViewCollection* _tmp58_ = NULL;
DataView* _tmp59_ = NULL;
@@ -2752,259 +2788,259 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
DataSource* _tmp61_ = NULL;
Photo* _tmp62_ = NULL;
gboolean _tmp63_ = FALSE;
-#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp57_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp58_ = _tmp57_;
-#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp59_ = view_collection_get_selected_at (_tmp58_, 0);
-#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp60_ = _tmp59_;
-#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp61_ = data_view_get_source (_tmp60_);
-#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp62_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, TYPE_PHOTO, Photo);
-#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp63_ = photo_has_color_adjustments (_tmp62_);
-#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp53_ = _tmp63_;
-#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp62_);
-#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp60_);
-#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp58_);
-#line 2778 "CollectionPage.c"
+#line 2814 "CollectionPage.c"
} else {
-#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp53_ = FALSE;
-#line 2782 "CollectionPage.c"
+#line 2818 "CollectionPage.c"
}
-#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "CopyColorAdjustments", _tmp53_);
-#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 264 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp66_ = selection_has_videos;
-#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 264 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp66_) {
-#line 2790 "CollectionPage.c"
+#line 2826 "CollectionPage.c"
gboolean _tmp67_ = FALSE;
-#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 264 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp67_ = has_selected;
-#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 264 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp65_ = _tmp67_;
-#line 2796 "CollectionPage.c"
+#line 2832 "CollectionPage.c"
} else {
-#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 264 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp65_ = FALSE;
-#line 2800 "CollectionPage.c"
+#line 2836 "CollectionPage.c"
}
-#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 264 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp65_) {
-#line 2804 "CollectionPage.c"
+#line 2840 "CollectionPage.c"
gboolean _tmp68_ = FALSE;
-#line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 265 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp68_ = pixel_transformation_bundle_has_copied_color_adjustments ();
-#line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 265 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp64_ = _tmp68_;
-#line 2810 "CollectionPage.c"
+#line 2846 "CollectionPage.c"
} else {
-#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 264 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp64_ = FALSE;
-#line 2814 "CollectionPage.c"
+#line 2850 "CollectionPage.c"
}
-#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 264 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "PasteColorAdjustments", _tmp64_);
-#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp70_ = selection_has_videos;
-#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp70_) {
-#line 2822 "CollectionPage.c"
+#line 2858 "CollectionPage.c"
gboolean _tmp71_ = FALSE;
-#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp71_ = has_selected;
-#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp69_ = _tmp71_;
-#line 2828 "CollectionPage.c"
+#line 2864 "CollectionPage.c"
} else {
-#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp69_ = FALSE;
-#line 2832 "CollectionPage.c"
+#line 2868 "CollectionPage.c"
}
-#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateClockwise", _tmp69_);
-#line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 267 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp73_ = selection_has_videos;
-#line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 267 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp73_) {
-#line 2840 "CollectionPage.c"
+#line 2876 "CollectionPage.c"
gboolean _tmp74_ = FALSE;
-#line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 267 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp74_ = has_selected;
-#line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 267 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp72_ = _tmp74_;
-#line 2846 "CollectionPage.c"
+#line 2882 "CollectionPage.c"
} else {
-#line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 267 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp72_ = FALSE;
-#line 2850 "CollectionPage.c"
+#line 2886 "CollectionPage.c"
}
-#line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 267 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateCounterclockwise", _tmp72_);
-#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 268 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp76_ = selection_has_videos;
-#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 268 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp76_) {
-#line 2858 "CollectionPage.c"
+#line 2894 "CollectionPage.c"
gboolean _tmp77_ = FALSE;
-#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 268 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp77_ = has_selected;
-#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 268 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp75_ = _tmp77_;
-#line 2864 "CollectionPage.c"
+#line 2900 "CollectionPage.c"
} else {
-#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 268 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp75_ = FALSE;
-#line 2868 "CollectionPage.c"
+#line 2904 "CollectionPage.c"
}
-#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 268 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "FlipHorizontally", _tmp75_);
-#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp79_ = selection_has_videos;
-#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp79_) {
-#line 2876 "CollectionPage.c"
+#line 2912 "CollectionPage.c"
gboolean _tmp80_ = FALSE;
-#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp80_ = has_selected;
-#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp78_ = _tmp80_;
-#line 2882 "CollectionPage.c"
+#line 2918 "CollectionPage.c"
} else {
-#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp78_ = FALSE;
-#line 2886 "CollectionPage.c"
+#line 2922 "CollectionPage.c"
}
-#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "FlipVertically", _tmp78_);
-#line 267 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp81_ = has_selected;
-#line 267 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "AdjustDateTime", _tmp81_);
-#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 275 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp82_ = has_selected;
-#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 275 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "NewEvent", _tmp82_);
-#line 270 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 276 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp83_ = has_selected;
-#line 270 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 276 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "AddTags", _tmp83_);
-#line 271 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 277 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp84_ = one_selected;
-#line 271 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 277 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ModifyTags", _tmp84_);
-#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 278 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp86_ = page_has_photos;
-#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 278 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp86_) {
-#line 2910 "CollectionPage.c"
+#line 2946 "CollectionPage.c"
gboolean _tmp87_ = FALSE;
-#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 278 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp87_ = primary_is_video;
-#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 278 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp85_ = !_tmp87_;
-#line 2916 "CollectionPage.c"
+#line 2952 "CollectionPage.c"
} else {
-#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 278 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp85_ = FALSE;
-#line 2920 "CollectionPage.c"
+#line 2956 "CollectionPage.c"
}
-#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 278 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Slideshow", _tmp85_);
-#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp89_ = selection_has_videos;
-#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp89_) {
-#line 2928 "CollectionPage.c"
+#line 2964 "CollectionPage.c"
gboolean _tmp90_ = FALSE;
-#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp90_ = has_selected;
-#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp88_ = _tmp90_;
-#line 2934 "CollectionPage.c"
+#line 2970 "CollectionPage.c"
} else {
-#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp88_ = FALSE;
-#line 2938 "CollectionPage.c"
+#line 2974 "CollectionPage.c"
}
-#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Print", _tmp88_);
-#line 274 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 280 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp91_ = has_selected;
-#line 274 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 280 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Publish", _tmp91_);
-#line 276 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp93_ = selection_has_videos;
-#line 276 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp93_) {
-#line 2950 "CollectionPage.c"
+#line 2986 "CollectionPage.c"
gboolean _tmp94_ = FALSE;
-#line 276 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp94_ = has_selected;
-#line 276 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp92_ = _tmp94_;
-#line 2956 "CollectionPage.c"
+#line 2992 "CollectionPage.c"
} else {
-#line 276 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp92_ = FALSE;
-#line 2960 "CollectionPage.c"
+#line 2996 "CollectionPage.c"
}
-#line 276 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SetBackground", _tmp92_);
-#line 277 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 283 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp95_ = has_selected;
-#line 277 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 283 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp95_) {
-#line 2968 "CollectionPage.c"
+#line 3004 "CollectionPage.c"
const gchar* _tmp96_ = NULL;
gboolean _tmp97_ = FALSE;
gchar* label = NULL;
gchar* _tmp98_ = NULL;
const gchar* _tmp99_ = NULL;
-#line 278 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- g_debug ("CollectionPage.vala:278: Setting action label for SetBackground...");
-#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ g_debug ("CollectionPage.vala:284: Setting action label for SetBackground...");
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp97_ = one_selected;
-#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp97_) {
-#line 280 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 286 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp96_ = RESOURCES_SET_BACKGROUND_MENU;
-#line 2982 "CollectionPage.c"
+#line 3018 "CollectionPage.c"
} else {
-#line 281 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp96_ = RESOURCES_SET_BACKGROUND_SLIDESHOW_MENU;
-#line 2986 "CollectionPage.c"
+#line 3022 "CollectionPage.c"
}
-#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp98_ = g_strdup (_tmp96_);
-#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
label = _tmp98_;
-#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp99_ = label;
-#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_update_menu_item_label (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SetBackground", _tmp99_);
-#line 277 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 283 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (label);
-#line 2998 "CollectionPage.c"
+#line 3034 "CollectionPage.c"
}
}
static void collection_page_on_photos_altered (CollectionPage* self, GeeMap* altered) {
-#line 286 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 286 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (GEE_IS_MAP (altered));
-#line 3008 "CollectionPage.c"
+#line 3044 "CollectionPage.c"
{
GeeIterator* _object_it = NULL;
GeeMap* _tmp0_ = NULL;
@@ -3013,25 +3049,25 @@ static void collection_page_on_photos_altered (CollectionPage* self, GeeMap* alt
GeeSet* _tmp3_ = NULL;
GeeIterator* _tmp4_ = NULL;
GeeIterator* _tmp5_ = NULL;
-#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = altered;
-#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = gee_map_get_keys (_tmp0_);
-#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = _tmp1_;
-#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp3_);
-#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_object_it = _tmp5_;
-#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 3035 "CollectionPage.c"
+#line 3071 "CollectionPage.c"
GeeIterator* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
DataObject* object = NULL;
@@ -3051,120 +3087,120 @@ static void collection_page_on_photos_altered (CollectionPage* self, GeeMap* alt
gboolean _tmp24_ = FALSE;
LibraryPhoto* _tmp25_ = NULL;
gboolean _tmp26_ = FALSE;
-#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _object_it;
-#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = gee_iterator_next (_tmp6_);
-#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp7_) {
-#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3063 "CollectionPage.c"
+#line 3099 "CollectionPage.c"
}
-#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _object_it;
-#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = gee_iterator_get (_tmp8_);
-#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
object = (DataObject*) _tmp9_;
-#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 296 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = object;
-#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 296 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_VIEW, DataView));
-#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 296 "/home/jens/Source/shotwell/src/CollectionPage.vala"
view = _tmp11_;
-#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = view;
-#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = data_view_is_selected (_tmp13_);
-#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp14_) {
-#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = TRUE;
-#line 3085 "CollectionPage.c"
+#line 3121 "CollectionPage.c"
} else {
GeeMap* _tmp15_ = NULL;
DataView* _tmp16_ = NULL;
gpointer _tmp17_ = NULL;
Alteration* _tmp18_ = NULL;
gboolean _tmp19_ = FALSE;
-#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = altered;
-#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = view;
-#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = gee_map_get (_tmp15_, G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_DATA_OBJECT, DataObject));
-#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = (Alteration*) _tmp17_;
-#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = alteration_has_subject (_tmp18_, "image");
-#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = !_tmp19_;
-#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_alteration_unref0 (_tmp18_);
-#line 3106 "CollectionPage.c"
+#line 3142 "CollectionPage.c"
}
-#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp12_) {
-#line 293 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 299 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (view);
-#line 293 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 299 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (object);
-#line 293 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 299 "/home/jens/Source/shotwell/src/CollectionPage.vala"
continue;
-#line 3116 "CollectionPage.c"
+#line 3152 "CollectionPage.c"
}
-#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 301 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = view;
-#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 301 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = data_view_get_source (_tmp20_);
-#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 301 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp21_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp21_) : NULL;
-#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 301 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp22_ == NULL) {
-#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 301 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp21_);
-#line 3128 "CollectionPage.c"
+#line 3164 "CollectionPage.c"
}
-#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 301 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp22_;
-#line 296 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = photo;
-#line 296 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp23_ == NULL) {
-#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (view);
-#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (object);
-#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
continue;
-#line 3144 "CollectionPage.c"
+#line 3180 "CollectionPage.c"
}
-#line 301 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 307 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = collection_page_can_revert_selected (self);
-#line 301 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 307 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Revert", _tmp24_);
-#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 308 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = photo;
-#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 308 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = photo_has_color_adjustments (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, TYPE_PHOTO, Photo));
-#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 308 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "CopyColorAdjustments", _tmp26_);
-#line 304 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 304 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (view);
-#line 304 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (object);
-#line 304 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3164 "CollectionPage.c"
+#line 3200 "CollectionPage.c"
}
-#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_object_it);
-#line 3168 "CollectionPage.c"
+#line 3204 "CollectionPage.c"
}
}
@@ -3174,48 +3210,48 @@ static void collection_page_on_print (CollectionPage* self) {
ViewCollection* _tmp1_ = NULL;
gint _tmp2_ = 0;
gboolean _tmp3_ = FALSE;
-#line 308 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 314 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 315 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 315 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 315 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 315 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ > 0;
-#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 315 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 315 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 3192 "CollectionPage.c"
+#line 3228 "CollectionPage.c"
PrintManager* _tmp4_ = NULL;
PrintManager* _tmp5_ = NULL;
ViewCollection* _tmp6_ = NULL;
ViewCollection* _tmp7_ = NULL;
GeeList* _tmp8_ = NULL;
GeeCollection* _tmp9_ = NULL;
-#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = print_manager_get_instance ();
-#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = view_collection_get_selected_sources_of_type (_tmp7_, TYPE_PHOTO);
-#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
print_manager_spool_photo (_tmp5_, _tmp9_);
-#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp9_);
-#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp7_);
-#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_print_manager_unref0 (_tmp5_);
-#line 3219 "CollectionPage.c"
+#line 3255 "CollectionPage.c"
}
}
@@ -3228,52 +3264,52 @@ static void collection_page_on_external_app_changed (CollectionPage* self) {
gint _tmp3_ = 0;
gboolean _tmp4_ = FALSE;
gint _tmp5_ = 0;
-#line 315 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 321 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
selected_count = _tmp3_;
-#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = selected_count;
-#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp5_ == 1) {
-#line 3250 "CollectionPage.c"
+#line 3286 "CollectionPage.c"
ConfigFacade* _tmp6_ = NULL;
ConfigFacade* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = config_facade_get_instance ();
-#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = configuration_facade_get_external_photo_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _tmp8_;
-#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = g_strcmp0 (_tmp9_, "") != 0;
-#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (_tmp9_);
-#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 3269 "CollectionPage.c"
+#line 3305 "CollectionPage.c"
} else {
-#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = FALSE;
-#line 3273 "CollectionPage.c"
+#line 3309 "CollectionPage.c"
}
-#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEdit", _tmp4_);
-#line 3277 "CollectionPage.c"
+#line 3313 "CollectionPage.c"
}
@@ -3295,162 +3331,162 @@ static void collection_page_real_on_item_activated (CheckerboardPage* base, Chec
gchar* _tmp11_ = NULL;
gchar* _tmp12_ = NULL;
CheckerboardPageActivator _tmp13_ = 0;
-#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 333 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 333 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (item));
-#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 333 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (modifiers != NULL);
-#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 335 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = item;
-#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 335 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_THUMBNAIL, Thumbnail));
-#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 335 "/home/jens/Source/shotwell/src/CollectionPage.vala"
thumbnail = _tmp1_;
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = thumbnail;
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = thumbnail_get_media_source (_tmp2_);
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _tmp3_;
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, TYPE_VIDEO);
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp5_) {
-#line 335 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 341 "/home/jens/Source/shotwell/src/CollectionPage.vala"
media_page_on_play_video (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage));
-#line 336 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 342 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 336 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 342 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3329 "CollectionPage.c"
+#line 3365 "CollectionPage.c"
}
-#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = thumbnail;
-#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = thumbnail_get_media_source (_tmp6_);
-#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp7_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp7_) : NULL;
-#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp8_ == NULL) {
-#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 3341 "CollectionPage.c"
+#line 3377 "CollectionPage.c"
}
-#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp8_;
-#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = photo;
-#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp9_ == NULL) {
-#line 341 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 341 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 341 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3355 "CollectionPage.c"
+#line 3391 "CollectionPage.c"
}
-#line 344 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = photo;
-#line 344 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_OBJECT, DataObject));
-#line 344 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = _tmp11_;
-#line 344 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- g_debug ("CollectionPage.vala:344: activating %s", _tmp12_);
-#line 344 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ g_debug ("CollectionPage.vala:350: activating %s", _tmp12_);
+#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (_tmp12_);
-#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = activator;
-#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp13_ == CHECKERBOARD_PAGE_ACTIVATOR_MOUSE) {
-#line 3371 "CollectionPage.c"
+#line 3407 "CollectionPage.c"
CheckerboardPageKeyboardModifiers _tmp14_ = {0};
gboolean _tmp15_ = FALSE;
-#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = *modifiers;
-#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp14_.super_pressed;
-#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp15_) {
-#line 348 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_external_edit (self);
-#line 3382 "CollectionPage.c"
+#line 3418 "CollectionPage.c"
} else {
LibraryWindow* _tmp16_ = NULL;
LibraryWindow* _tmp17_ = NULL;
LibraryPhoto* _tmp18_ = NULL;
-#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 356 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = library_window_get_app ();
-#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 356 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = _tmp16_;
-#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 356 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = photo;
-#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 356 "/home/jens/Source/shotwell/src/CollectionPage.vala"
library_window_switch_to_photo_page (_tmp17_, self, G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_PHOTO, Photo));
-#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 356 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp17_);
-#line 3397 "CollectionPage.c"
+#line 3433 "CollectionPage.c"
}
} else {
CheckerboardPageActivator _tmp19_ = 0;
-#line 351 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 357 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = activator;
-#line 351 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 357 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp19_ == CHECKERBOARD_PAGE_ACTIVATOR_KEYBOARD) {
-#line 3405 "CollectionPage.c"
+#line 3441 "CollectionPage.c"
gboolean _tmp20_ = FALSE;
CheckerboardPageKeyboardModifiers _tmp21_ = {0};
gboolean _tmp22_ = FALSE;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 358 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = *modifiers;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 358 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _tmp21_.shift_pressed;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 358 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp22_) {
-#line 3415 "CollectionPage.c"
+#line 3451 "CollectionPage.c"
CheckerboardPageKeyboardModifiers _tmp23_ = {0};
gboolean _tmp24_ = FALSE;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 358 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = *modifiers;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 358 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = _tmp23_.ctrl_pressed;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 358 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = !_tmp24_;
-#line 3424 "CollectionPage.c"
+#line 3460 "CollectionPage.c"
} else {
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 358 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = FALSE;
-#line 3428 "CollectionPage.c"
+#line 3464 "CollectionPage.c"
}
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 358 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp20_) {
-#line 3432 "CollectionPage.c"
+#line 3468 "CollectionPage.c"
LibraryWindow* _tmp25_ = NULL;
LibraryWindow* _tmp26_ = NULL;
LibraryPhoto* _tmp27_ = NULL;
-#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = library_window_get_app ();
-#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = _tmp25_;
-#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = photo;
-#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
library_window_switch_to_photo_page (_tmp26_, self, G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, TYPE_PHOTO, Photo));
-#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp26_);
-#line 3446 "CollectionPage.c"
+#line 3482 "CollectionPage.c"
}
}
}
-#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 333 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 333 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 3454 "CollectionPage.c"
+#line 3490 "CollectionPage.c"
}
@@ -3463,133 +3499,133 @@ static gboolean collection_page_real_on_app_key_pressed (Page* base, GdkEventKey
const gchar* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
GQuark _tmp5_ = 0U;
-#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label0 = 0;
-#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label1 = 0;
-#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label2 = 0;
-#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label3 = 0;
-#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label4 = 0;
-#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label5 = 0;
-#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label6 = 0;
-#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label7 = 0;
-#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label8 = 0;
-#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label9 = 0;
-#line 3487 "CollectionPage.c"
+#line 3523 "CollectionPage.c"
gboolean _tmp8_ = FALSE;
gboolean _tmp9_ = FALSE;
-#line 357 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 363 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 357 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 363 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 358 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 364 "/home/jens/Source/shotwell/src/CollectionPage.vala"
handled = TRUE;
-#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = event;
-#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_->keyval;
-#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = gdk_keyval_name (_tmp1_);
-#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = (NULL == _tmp3_) ? 0 : g_quark_from_string (_tmp3_);
-#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if ((((((((_tmp5_ == ((0 != _tmp4_label0) ? _tmp4_label0 : (_tmp4_label0 = g_quark_from_static_string ("Page_Up")))) || (_tmp5_ == ((0 != _tmp4_label1) ? _tmp4_label1 : (_tmp4_label1 = g_quark_from_static_string ("KP_Page_Up"))))) || (_tmp5_ == ((0 != _tmp4_label2) ? _tmp4_label2 : (_tmp4_label2 = g_quark_from_static_string ("Page_Down"))))) || (_tmp5_ == ((0 != _tmp4_label3) ? _tmp4_label3 : (_tmp4_label3 = g_quark_from_static_string ("KP_Page_Down"))))) || (_tmp5_ == ((0 != _tmp4_label4) ? _tmp4_label4 : (_tmp4_label4 = g_quark_from_static_string ("Home"))))) || (_tmp5_ == ((0 != _tmp4_label5) ? _tmp4_label5 : (_tmp4_label5 = g_quark_from_static_string ("KP_Home"))))) || (_tmp5_ == ((0 != _tmp4_label6) ? _tmp4_label6 : (_tmp4_label6 = g_quark_from_static_string ("End"))))) || (_tmp5_ == ((0 != _tmp4_label7) ? _tmp4_label7 : (_tmp4_label7 = g_quark_from_static_string ("KP_End"))))) {
-#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
switch (0) {
-#line 3510 "CollectionPage.c"
+#line 3546 "CollectionPage.c"
default:
{
GdkEventKey* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
-#line 368 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 374 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = event;
-#line 368 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 374 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "key-press-event", _tmp6_, &_tmp7_);
-#line 369 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 375 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3521 "CollectionPage.c"
+#line 3557 "CollectionPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label8) ? _tmp4_label8 : (_tmp4_label8 = g_quark_from_static_string ("bracketright")))) {
-#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
switch (0) {
-#line 3527 "CollectionPage.c"
+#line 3563 "CollectionPage.c"
default:
{
-#line 372 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 378 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateClockwise");
-#line 373 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 379 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3534 "CollectionPage.c"
+#line 3570 "CollectionPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label9) ? _tmp4_label9 : (_tmp4_label9 = g_quark_from_static_string ("bracketleft")))) {
-#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
switch (0) {
-#line 3540 "CollectionPage.c"
+#line 3576 "CollectionPage.c"
default:
{
-#line 376 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 382 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateCounterclockwise");
-#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 383 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3547 "CollectionPage.c"
+#line 3583 "CollectionPage.c"
}
}
} else {
-#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
switch (0) {
-#line 3553 "CollectionPage.c"
+#line 3589 "CollectionPage.c"
default:
{
-#line 380 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
handled = FALSE;
-#line 381 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 387 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3560 "CollectionPage.c"
+#line 3596 "CollectionPage.c"
}
}
}
-#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = handled;
-#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp9_) {
-#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = TRUE;
-#line 3570 "CollectionPage.c"
+#line 3606 "CollectionPage.c"
} else {
GdkEventKey* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
-#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = event;
-#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = PAGE_CLASS (collection_page_parent_class)->on_app_key_pressed (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page), _tmp10_);
-#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _tmp11_;
-#line 3580 "CollectionPage.c"
+#line 3616 "CollectionPage.c"
}
-#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp8_;
-#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 3586 "CollectionPage.c"
+#line 3622 "CollectionPage.c"
}
static void _collection_page_on_export_completed_exporter_completion_callback (Exporter* exporter, gboolean is_cancelled, gpointer self) {
-#line 403 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_export_completed ((CollectionPage*) self);
-#line 3593 "CollectionPage.c"
+#line 3629 "CollectionPage.c"
}
@@ -3645,233 +3681,233 @@ static void collection_page_real_on_export (MediaPage* base) {
ExporterUI* _tmp90_ = NULL;
ExporterUI* _tmp91_ = NULL;
GError * _inner_error_ = NULL;
-#line 387 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 388 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 394 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = self->priv->exporter;
-#line 388 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 394 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp0_ != NULL) {
-#line 389 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 395 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3657 "CollectionPage.c"
+#line 3693 "CollectionPage.c"
}
-#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = _tmp1_;
-#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = view_collection_get_selected_sources (_tmp2_);
-#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp2_);
-#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_list = _tmp4_;
-#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 399 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = export_list;
-#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 399 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = gee_collection_get_size (_tmp5_);
-#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 399 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 399 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp7_ == 0) {
-#line 394 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 400 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 394 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 400 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3683 "CollectionPage.c"
+#line 3719 "CollectionPage.c"
}
-#line 396 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = collection_page_selection_has_photo (self);
-#line 396 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
has_some_photos = _tmp8_;
-#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 403 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = collection_page_selection_has_video (self);
-#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 403 "/home/jens/Source/shotwell/src/CollectionPage.vala"
has_some_videos = _tmp9_;
-#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = has_some_photos;
-#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp11_) {
-#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = TRUE;
-#line 3699 "CollectionPage.c"
+#line 3735 "CollectionPage.c"
} else {
gboolean _tmp12_ = FALSE;
-#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = has_some_videos;
-#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _tmp12_;
-#line 3706 "CollectionPage.c"
+#line 3742 "CollectionPage.c"
}
-#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_vala_assert (_tmp10_, "has_some_photos || has_some_videos");
-#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 408 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = has_some_photos;
-#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 408 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp13_) {
-#line 3714 "CollectionPage.c"
+#line 3750 "CollectionPage.c"
GeeCollection* _tmp14_ = NULL;
ExporterUI* _tmp15_ = NULL;
-#line 403 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = export_list;
-#line 403 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = video_export_many (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GEE_TYPE_COLLECTION, GeeCollection), _collection_page_on_export_completed_exporter_completion_callback, self, FALSE);
-#line 403 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 403 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self->priv->exporter = _tmp15_;
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3729 "CollectionPage.c"
+#line 3765 "CollectionPage.c"
}
-#line 407 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 413 "/home/jens/Source/shotwell/src/CollectionPage.vala"
title = NULL;
-#line 408 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 414 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = has_some_videos;
-#line 408 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 414 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp16_) {
-#line 3737 "CollectionPage.c"
+#line 3773 "CollectionPage.c"
const gchar* _tmp17_ = NULL;
GeeCollection* _tmp18_ = NULL;
gint _tmp19_ = 0;
gint _tmp20_ = 0;
gchar* _tmp23_ = NULL;
-#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = export_list;
-#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = gee_collection_get_size (_tmp18_);
-#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = _tmp19_;
-#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp20_ == 1) {
-#line 3751 "CollectionPage.c"
+#line 3787 "CollectionPage.c"
const gchar* _tmp21_ = NULL;
-#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = _ ("Export Photo/Video");
-#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = _tmp21_;
-#line 3757 "CollectionPage.c"
+#line 3793 "CollectionPage.c"
} else {
const gchar* _tmp22_ = NULL;
-#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _ ("Export Photos/Videos");
-#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = _tmp22_;
-#line 3764 "CollectionPage.c"
+#line 3800 "CollectionPage.c"
}
-#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = g_strdup (_tmp17_);
-#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
title = _tmp23_;
-#line 3772 "CollectionPage.c"
+#line 3808 "CollectionPage.c"
} else {
const gchar* _tmp24_ = NULL;
GeeCollection* _tmp25_ = NULL;
gint _tmp26_ = 0;
gint _tmp27_ = 0;
gchar* _tmp30_ = NULL;
-#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = export_list;
-#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = gee_collection_get_size (_tmp25_);
-#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = _tmp26_;
-#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp27_ == 1) {
-#line 3787 "CollectionPage.c"
+#line 3823 "CollectionPage.c"
const gchar* _tmp28_ = NULL;
-#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp28_ = _ ("Export Photo");
-#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = _tmp28_;
-#line 3793 "CollectionPage.c"
+#line 3829 "CollectionPage.c"
} else {
const gchar* _tmp29_ = NULL;
-#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp29_ = _ ("Export Photos");
-#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = _tmp29_;
-#line 3800 "CollectionPage.c"
+#line 3836 "CollectionPage.c"
}
-#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = g_strdup (_tmp24_);
-#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
title = _tmp30_;
-#line 3808 "CollectionPage.c"
+#line 3844 "CollectionPage.c"
}
-#line 412 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 418 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = title;
-#line 412 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 418 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = export_dialog_new (_tmp31_);
-#line 412 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 418 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_object_ref_sink (_tmp32_);
-#line 412 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 418 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_dialog = _tmp32_;
-#line 422 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = has_some_videos;
-#line 422 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp34_) {
-#line 3822 "CollectionPage.c"
+#line 3858 "CollectionPage.c"
ExportFormatParameters _tmp35_ = {0};
-#line 422 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_format_parameters_current (&_tmp35_);
-#line 422 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = _tmp35_;
-#line 3828 "CollectionPage.c"
+#line 3864 "CollectionPage.c"
} else {
ExportFormatParameters _tmp36_ = {0};
-#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 429 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_format_parameters_last (&_tmp36_);
-#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 429 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = _tmp36_;
-#line 3835 "CollectionPage.c"
+#line 3871 "CollectionPage.c"
}
-#line 422 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_params = _tmp33_;
-#line 427 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp37_ = export_dialog;
-#line 427 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp40_ = export_dialog_execute (_tmp37_, &_tmp38_, &_tmp39_, &export_params);
-#line 427 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
scale = _tmp38_;
-#line 427 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
constraint = _tmp39_;
-#line 427 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp40_) {
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 434 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 434 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 434 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 434 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3857 "CollectionPage.c"
+#line 3893 "CollectionPage.c"
}
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp41_ = constraint;
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp42_ = scale;
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
scaling_for_constraint (_tmp41_, _tmp42_, FALSE, &_tmp43_);
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
scaling = _tmp43_;
-#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 439 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp44_ = export_list;
-#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 439 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp45_ = gee_collection_get_size (_tmp44_);
-#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 439 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp46_ = _tmp45_;
-#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 439 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp46_ == 1) {
-#line 3875 "CollectionPage.c"
+#line 3911 "CollectionPage.c"
LibraryPhoto* photo = NULL;
GFile* save_as = NULL;
LibraryPhoto* _tmp55_ = NULL;
@@ -3881,22 +3917,22 @@ static void collection_page_real_on_export (MediaPage* base) {
GFile* _tmp59_ = NULL;
GFile* _tmp60_ = NULL;
GFile* _tmp61_ = NULL;
-#line 434 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = NULL;
-#line 3887 "CollectionPage.c"
+#line 3923 "CollectionPage.c"
{
GeeIterator* _p_it = NULL;
GeeCollection* _tmp47_ = NULL;
GeeIterator* _tmp48_ = NULL;
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp47_ = export_list;
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp48_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp47_, GEE_TYPE_COLLECTION, GeeCollection), GEE_TYPE_ITERABLE, GeeIterable));
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_p_it = _tmp48_;
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 3900 "CollectionPage.c"
+#line 3936 "CollectionPage.c"
GeeIterator* _tmp49_ = NULL;
gboolean _tmp50_ = FALSE;
LibraryPhoto* p = NULL;
@@ -3904,73 +3940,73 @@ static void collection_page_real_on_export (MediaPage* base) {
gpointer _tmp52_ = NULL;
LibraryPhoto* _tmp53_ = NULL;
LibraryPhoto* _tmp54_ = NULL;
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp49_ = _p_it;
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp50_ = gee_iterator_next (_tmp49_);
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp50_) {
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3916 "CollectionPage.c"
+#line 3952 "CollectionPage.c"
}
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp51_ = _p_it;
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp52_ = gee_iterator_get (_tmp51_);
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala"
p = (LibraryPhoto*) _tmp52_;
-#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp53_ = p;
-#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp54_ = _g_object_ref0 (_tmp53_);
-#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp54_;
-#line 437 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (p);
-#line 437 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3936 "CollectionPage.c"
+#line 3972 "CollectionPage.c"
}
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_p_it);
-#line 3940 "CollectionPage.c"
+#line 3976 "CollectionPage.c"
}
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp55_ = photo;
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp56_ = export_params;
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp57_ = photo_get_export_basename_for_parameters (G_TYPE_CHECK_INSTANCE_CAST (_tmp55_, TYPE_PHOTO, Photo), &_tmp56_);
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp58_ = _tmp57_;
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp59_ = export_ui_choose_file (_tmp58_);
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp60_ = _tmp59_;
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (_tmp58_);
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
save_as = _tmp60_;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp61_ = save_as;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp61_ == NULL) {
-#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (save_as);
-#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3974 "CollectionPage.c"
+#line 4010 "CollectionPage.c"
}
{
AppWindow* _tmp62_ = NULL;
@@ -3989,191 +4025,191 @@ static void collection_page_real_on_export (MediaPage* base) {
gboolean _tmp75_ = FALSE;
AppWindow* _tmp76_ = NULL;
AppWindow* _tmp77_ = NULL;
-#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 452 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp62_ = app_window_get_instance ();
-#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 452 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp63_ = _tmp62_;
-#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 452 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp63_, TYPE_PAGE_WINDOW, PageWindow));
-#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 452 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp63_);
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp64_ = photo;
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp65_ = save_as;
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp66_ = scaling;
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp67_ = export_params;
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp68_ = _tmp67_.quality;
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp69_ = photo;
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp70_ = export_params;
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp71_ = photo_get_export_format_for_parameters (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, TYPE_PHOTO, Photo), &_tmp70_);
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp72_ = export_params;
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp73_ = _tmp72_.mode;
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp74_ = export_params;
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp75_ = _tmp74_.export_metadata;
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo_export (G_TYPE_CHECK_INSTANCE_CAST (_tmp64_, TYPE_PHOTO, Photo), _tmp65_, &_tmp66_, _tmp68_, _tmp71_, _tmp73_ == EXPORT_FORMAT_MODE_UNMODIFIED, _tmp75_, &_inner_error_);
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 4029 "CollectionPage.c"
- goto __catch232_g_error;
+#line 4065 "CollectionPage.c"
+ goto __catch233_g_error;
}
-#line 450 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp76_ = app_window_get_instance ();
-#line 450 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp77_ = _tmp76_;
-#line 450 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp77_, TYPE_PAGE_WINDOW, PageWindow));
-#line 450 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp77_);
-#line 4040 "CollectionPage.c"
+#line 4076 "CollectionPage.c"
}
- goto __finally232;
- __catch232_g_error:
+ goto __finally233;
+ __catch233_g_error:
{
GError* err = NULL;
AppWindow* _tmp78_ = NULL;
AppWindow* _tmp79_ = NULL;
GFile* _tmp80_ = NULL;
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
err = _inner_error_;
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_inner_error_ = NULL;
-#line 452 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp78_ = app_window_get_instance ();
-#line 452 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp79_ = _tmp78_;
-#line 452 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp79_, TYPE_PAGE_WINDOW, PageWindow));
-#line 452 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp79_);
-#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp80_ = save_as;
-#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_error_dialog (_tmp80_, FALSE);
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_error_free0 (err);
-#line 4067 "CollectionPage.c"
+#line 4103 "CollectionPage.c"
}
- __finally232:
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ __finally233:
+#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (save_as);
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_clear_error (&_inner_error_);
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4088 "CollectionPage.c"
+#line 4124 "CollectionPage.c"
}
-#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (save_as);
-#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4102 "CollectionPage.c"
+#line 4138 "CollectionPage.c"
}
-#line 460 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp81_ = title;
-#line 460 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp82_ = export_ui_choose_dir (_tmp81_);
-#line 460 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_dir = _tmp82_;
-#line 461 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 467 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp83_ = export_dir;
-#line 461 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 467 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp83_ == NULL) {
-#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dir);
-#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4124 "CollectionPage.c"
+#line 4160 "CollectionPage.c"
}
-#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp84_ = export_list;
-#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp85_ = export_dir;
-#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp86_ = scaling;
-#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp87_ = export_params;
-#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp88_ = exporter_new (_tmp84_, _tmp85_, &_tmp86_, &_tmp87_, FALSE);
-#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp89_ = _tmp88_;
-#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp90_ = exporter_ui_new (_tmp89_);
-#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self->priv->exporter = _tmp90_;
-#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp89_);
-#line 465 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 471 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp91_ = self->priv->exporter;
-#line 465 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 471 "/home/jens/Source/shotwell/src/CollectionPage.vala"
exporter_ui_export (_tmp91_, _collection_page_on_export_completed_exporter_completion_callback, self);
-#line 387 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dir);
-#line 387 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 387 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 387 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 4158 "CollectionPage.c"
+#line 4194 "CollectionPage.c"
}
static void collection_page_on_export_completed (CollectionPage* self) {
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self->priv->exporter = NULL;
-#line 4169 "CollectionPage.c"
+#line 4205 "CollectionPage.c"
}
static gboolean collection_page_can_revert_selected (CollectionPage* self) {
gboolean result = FALSE;
-#line 472 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_val_if_fail (IS_COLLECTION_PAGE (self), FALSE);
-#line 4177 "CollectionPage.c"
+#line 4213 "CollectionPage.c"
{
GeeList* _source_list = NULL;
ViewCollection* _tmp0_ = NULL;
@@ -4185,31 +4221,31 @@ static gboolean collection_page_can_revert_selected (CollectionPage* self) {
gint _tmp5_ = 0;
gint _tmp6_ = 0;
gint _source_index = 0;
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_sources (_tmp1_);
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_list = _tmp3_;
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _source_list;
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _tmp5_;
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_size = _tmp6_;
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_index = -1;
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 4213 "CollectionPage.c"
+#line 4249 "CollectionPage.c"
gint _tmp7_ = 0;
gint _tmp8_ = 0;
gint _tmp9_ = 0;
@@ -4222,107 +4258,107 @@ static gboolean collection_page_can_revert_selected (CollectionPage* self) {
LibraryPhoto* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
LibraryPhoto* _tmp16_ = NULL;
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _source_index;
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_index = _tmp7_ + 1;
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _source_index;
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _source_size;
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!(_tmp8_ < _tmp9_)) {
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 4238 "CollectionPage.c"
+#line 4274 "CollectionPage.c"
}
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _source_list;
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _source_index;
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = gee_list_get (_tmp10_, _tmp11_);
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
source = (DataSource*) _tmp12_;
-#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = source;
-#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp13_) : NULL);
-#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp14_;
-#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = photo;
-#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp16_ != NULL) {
-#line 4258 "CollectionPage.c"
+#line 4294 "CollectionPage.c"
gboolean _tmp17_ = FALSE;
LibraryPhoto* _tmp18_ = NULL;
gboolean _tmp19_ = FALSE;
-#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = photo;
-#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = photo_has_transformations (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_PHOTO, Photo));
-#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp19_) {
-#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = TRUE;
-#line 4270 "CollectionPage.c"
+#line 4306 "CollectionPage.c"
} else {
LibraryPhoto* _tmp20_ = NULL;
gboolean _tmp21_ = FALSE;
-#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = photo;
-#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = photo_has_editable (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_PHOTO, Photo));
-#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = _tmp21_;
-#line 4280 "CollectionPage.c"
+#line 4316 "CollectionPage.c"
}
-#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp17_;
-#line 4284 "CollectionPage.c"
+#line 4320 "CollectionPage.c"
} else {
-#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = FALSE;
-#line 4288 "CollectionPage.c"
+#line 4324 "CollectionPage.c"
}
-#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp15_) {
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 482 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = TRUE;
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 482 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 482 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (source);
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 482 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_source_list);
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 482 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 4302 "CollectionPage.c"
+#line 4338 "CollectionPage.c"
}
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (source);
-#line 4308 "CollectionPage.c"
+#line 4344 "CollectionPage.c"
}
-#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_source_list);
-#line 4312 "CollectionPage.c"
+#line 4348 "CollectionPage.c"
}
-#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = FALSE;
-#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 4318 "CollectionPage.c"
+#line 4354 "CollectionPage.c"
}
static gboolean collection_page_can_revert_editable_selected (CollectionPage* self) {
gboolean result = FALSE;
-#line 482 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 488 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_val_if_fail (IS_COLLECTION_PAGE (self), FALSE);
-#line 4326 "CollectionPage.c"
+#line 4362 "CollectionPage.c"
{
GeeList* _source_list = NULL;
ViewCollection* _tmp0_ = NULL;
@@ -4334,31 +4370,31 @@ static gboolean collection_page_can_revert_editable_selected (CollectionPage* se
gint _tmp5_ = 0;
gint _tmp6_ = 0;
gint _source_index = 0;
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_sources (_tmp1_);
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_list = _tmp3_;
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _source_list;
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _tmp5_;
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_size = _tmp6_;
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_index = -1;
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 4362 "CollectionPage.c"
+#line 4398 "CollectionPage.c"
gint _tmp7_ = 0;
gint _tmp8_ = 0;
gint _tmp9_ = 0;
@@ -4371,82 +4407,82 @@ static gboolean collection_page_can_revert_editable_selected (CollectionPage* se
LibraryPhoto* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
LibraryPhoto* _tmp16_ = NULL;
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _source_index;
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_index = _tmp7_ + 1;
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _source_index;
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _source_size;
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!(_tmp8_ < _tmp9_)) {
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 4387 "CollectionPage.c"
+#line 4423 "CollectionPage.c"
}
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _source_list;
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _source_index;
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = gee_list_get (_tmp10_, _tmp11_);
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
source = (DataSource*) _tmp12_;
-#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 490 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = source;
-#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 490 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp13_) : NULL);
-#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 490 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp14_;
-#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = photo;
-#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp16_ != NULL) {
-#line 4407 "CollectionPage.c"
+#line 4443 "CollectionPage.c"
LibraryPhoto* _tmp17_ = NULL;
gboolean _tmp18_ = FALSE;
-#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = photo;
-#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = photo_has_editable (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_PHOTO, Photo));
-#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp18_;
-#line 4416 "CollectionPage.c"
+#line 4452 "CollectionPage.c"
} else {
-#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = FALSE;
-#line 4420 "CollectionPage.c"
+#line 4456 "CollectionPage.c"
}
-#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp15_) {
-#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = TRUE;
-#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (source);
-#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_source_list);
-#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 4434 "CollectionPage.c"
+#line 4470 "CollectionPage.c"
}
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (source);
-#line 4440 "CollectionPage.c"
+#line 4476 "CollectionPage.c"
}
-#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_source_list);
-#line 4444 "CollectionPage.c"
+#line 4480 "CollectionPage.c"
}
-#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 495 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = FALSE;
-#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 495 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 4450 "CollectionPage.c"
+#line 4486 "CollectionPage.c"
}
@@ -4467,59 +4503,59 @@ static void collection_page_on_rotate_clockwise (CollectionPage* self) {
CommandManager* _tmp12_ = NULL;
CommandManager* _tmp13_ = NULL;
RotateMultipleCommand* _tmp14_ = NULL;
-#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 498 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 493 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 493 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 493 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 493 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 493 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 493 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 494 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 500 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4487 "CollectionPage.c"
+#line 4523 "CollectionPage.c"
}
-#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _ ("Rotating");
-#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _ ("Undoing Rotate");
-#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = rotate_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable), ROTATION_CLOCKWISE, RESOURCES_ROTATE_CW_FULL_LABEL, RESOURCES_ROTATE_CW_TOOLTIP, _tmp8_, _tmp9_);
-#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp11_;
-#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = command;
-#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_COMMAND, Command));
-#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp13_);
-#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 498 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 4523 "CollectionPage.c"
+#line 4559 "CollectionPage.c"
}
@@ -4528,40 +4564,40 @@ static void collection_page_on_publish (CollectionPage* self) {
ViewCollection* _tmp1_ = NULL;
gint _tmp2_ = 0;
gboolean _tmp3_ = FALSE;
-#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 503 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 503 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 503 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 503 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ > 0;
-#line 503 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 503 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 4546 "CollectionPage.c"
+#line 4582 "CollectionPage.c"
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
GeeList* _tmp6_ = NULL;
GeeCollection* _tmp7_ = NULL;
-#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected_sources (_tmp5_);
-#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala"
publishing_ui_publishing_dialog_go (_tmp7_);
-#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 4565 "CollectionPage.c"
+#line 4601 "CollectionPage.c"
}
}
@@ -4583,59 +4619,59 @@ static void collection_page_on_rotate_counterclockwise (CollectionPage* self) {
CommandManager* _tmp12_ = NULL;
CommandManager* _tmp13_ = NULL;
RotateMultipleCommand* _tmp14_ = NULL;
-#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 514 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 516 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4603 "CollectionPage.c"
+#line 4639 "CollectionPage.c"
}
-#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _ ("Rotating");
-#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _ ("Undoing Rotate");
-#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = rotate_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable), ROTATION_COUNTERCLOCKWISE, RESOURCES_ROTATE_CCW_FULL_LABEL, RESOURCES_ROTATE_CCW_TOOLTIP, _tmp8_, _tmp9_);
-#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp11_;
-#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 521 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 521 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 521 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = command;
-#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 521 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_COMMAND, Command));
-#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 521 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp13_);
-#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 514 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 4639 "CollectionPage.c"
+#line 4675 "CollectionPage.c"
}
@@ -4656,59 +4692,59 @@ static void collection_page_on_flip_horizontally (CollectionPage* self) {
CommandManager* _tmp12_ = NULL;
CommandManager* _tmp13_ = NULL;
RotateMultipleCommand* _tmp14_ = NULL;
-#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 524 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 519 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 519 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 519 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 519 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 519 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 519 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 520 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 526 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4676 "CollectionPage.c"
+#line 4712 "CollectionPage.c"
}
-#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _ ("Flipping Horizontally");
-#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _ ("Undoing Flip Horizontally");
-#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = rotate_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable), ROTATION_MIRROR, RESOURCES_HFLIP_LABEL, "", _tmp8_, _tmp9_);
-#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp11_;
-#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 531 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 531 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 531 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = command;
-#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 531 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_COMMAND, Command));
-#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 531 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp13_);
-#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 524 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 4712 "CollectionPage.c"
+#line 4748 "CollectionPage.c"
}
@@ -4729,59 +4765,59 @@ static void collection_page_on_flip_vertically (CollectionPage* self) {
CommandManager* _tmp12_ = NULL;
CommandManager* _tmp13_ = NULL;
RotateMultipleCommand* _tmp14_ = NULL;
-#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 534 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 529 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 529 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 529 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 529 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 529 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 529 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 530 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4749 "CollectionPage.c"
+#line 4785 "CollectionPage.c"
}
-#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _ ("Flipping Vertically");
-#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _ ("Undoing Flip Vertically");
-#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = rotate_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable), ROTATION_UPSIDE_DOWN, RESOURCES_VFLIP_LABEL, "", _tmp8_, _tmp9_);
-#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp11_;
-#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = command;
-#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_COMMAND, Command));
-#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp13_);
-#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 534 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 4785 "CollectionPage.c"
+#line 4821 "CollectionPage.c"
}
@@ -4801,29 +4837,29 @@ static void collection_page_on_revert (CollectionPage* self) {
CommandManager* _tmp33_ = NULL;
CommandManager* _tmp34_ = NULL;
RevertMultipleCommand* _tmp35_ = NULL;
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 544 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 539 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 539 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 539 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 539 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 539 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 539 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 540 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 546 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4821 "CollectionPage.c"
+#line 4857 "CollectionPage.c"
}
-#line 542 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = collection_page_can_revert_editable_selected (self);
-#line 542 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp4_) {
-#line 4827 "CollectionPage.c"
+#line 4863 "CollectionPage.c"
AppWindow* _tmp5_ = NULL;
AppWindow* _tmp6_ = NULL;
ViewCollection* _tmp7_ = NULL;
@@ -4832,33 +4868,33 @@ static void collection_page_on_revert (CollectionPage* self) {
GeeCollection* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
gboolean _tmp12_ = FALSE;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = app_window_get_instance ();
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _tmp5_;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _tmp7_;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = view_collection_get_selected_sources (_tmp8_);
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = revert_editable_dialog (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_window_get_type (), GtkWindow), _tmp10_);
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = !_tmp11_;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp10_);
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp8_);
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp6_);
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp12_) {
-#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 551 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4862 "CollectionPage.c"
+#line 4898 "CollectionPage.c"
}
{
GeeList* _object_list = NULL;
@@ -4871,31 +4907,31 @@ static void collection_page_on_revert (CollectionPage* self) {
gint _tmp18_ = 0;
gint _tmp19_ = 0;
gint _object_index = 0;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = _tmp13_;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = view_collection_get_selected_sources (_tmp14_);
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = _tmp15_;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp14_);
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_object_list = _tmp16_;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = _object_list;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = _tmp18_;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_object_size = _tmp19_;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_object_index = -1;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 4899 "CollectionPage.c"
+#line 4935 "CollectionPage.c"
gint _tmp20_ = 0;
gint _tmp21_ = 0;
gint _tmp22_ = 0;
@@ -4904,72 +4940,72 @@ static void collection_page_on_revert (CollectionPage* self) {
gint _tmp24_ = 0;
gpointer _tmp25_ = NULL;
DataObject* _tmp26_ = NULL;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = _object_index;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_object_index = _tmp20_ + 1;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = _object_index;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _object_size;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!(_tmp21_ < _tmp22_)) {
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 4920 "CollectionPage.c"
+#line 4956 "CollectionPage.c"
}
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = _object_list;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = _object_index;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = gee_list_get (_tmp23_, _tmp24_);
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
object = G_TYPE_CHECK_INSTANCE_CAST ((DataSource*) _tmp25_, TYPE_DATA_OBJECT, DataObject);
-#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 555 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = object;
-#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 555 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo_revert_to_master (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, TYPE_PHOTO, Photo), TRUE);
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (object);
-#line 4936 "CollectionPage.c"
+#line 4972 "CollectionPage.c"
}
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_object_list);
-#line 4940 "CollectionPage.c"
+#line 4976 "CollectionPage.c"
}
}
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp28_ = _tmp27_;
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp29_ = view_collection_get_selected (_tmp28_);
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = _tmp29_;
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = revert_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = _tmp31_;
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp30_);
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp28_);
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp32_;
-#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = _tmp33_;
-#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp35_ = command;
-#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, TYPE_COMMAND, Command));
-#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp34_);
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 544 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 4973 "CollectionPage.c"
+#line 5009 "CollectionPage.c"
}
@@ -4988,57 +5024,57 @@ void collection_page_on_copy_adjustments (CollectionPage* self) {
Photo* _tmp10_ = NULL;
PixelTransformationBundle* _tmp11_ = NULL;
PixelTransformationBundle* _tmp12_ = NULL;
-#line 556 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 563 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 563 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 563 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 563 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ != 1;
-#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 563 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 563 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5008 "CollectionPage.c"
+#line 5044 "CollectionPage.c"
}
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected_at (_tmp5_, 0);
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = data_view_get_source (_tmp7_);
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_PHOTO, Photo);
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp9_;
-#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = photo;
-#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = photo_get_color_adjustments (_tmp10_);
-#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = _tmp11_;
-#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
pixel_transformation_bundle_set_copied_color_adjustments (_tmp12_);
-#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_pixel_transformation_bundle_unref0 (_tmp12_);
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "PasteColorAdjustments", TRUE);
-#line 556 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 5042 "CollectionPage.c"
+#line 5078 "CollectionPage.c"
}
@@ -5061,78 +5097,78 @@ void collection_page_on_paste_adjustments (CollectionPage* self) {
CommandManager* _tmp14_ = NULL;
CommandManager* _tmp15_ = NULL;
AdjustColorsMultipleCommand* _tmp16_ = NULL;
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = pixel_transformation_bundle_get_copied_color_adjustments ();
-#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
copied_adjustments = _tmp0_;
-#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = view_collection_get_selected_count (_tmp3_);
-#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_ == 0;
-#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp3_);
-#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp5_) {
-#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = TRUE;
-#line 5085 "CollectionPage.c"
+#line 5121 "CollectionPage.c"
} else {
PixelTransformationBundle* _tmp6_ = NULL;
-#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = copied_adjustments;
-#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp6_ == NULL;
-#line 5092 "CollectionPage.c"
+#line 5128 "CollectionPage.c"
}
-#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp1_) {
-#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_pixel_transformation_bundle_unref0 (copied_adjustments);
-#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5100 "CollectionPage.c"
+#line 5136 "CollectionPage.c"
}
-#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _tmp7_;
-#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = view_collection_get_selected (_tmp8_);
-#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _tmp9_;
-#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = copied_adjustments;
-#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = adjust_colors_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GEE_TYPE_ITERABLE, GeeIterable), _tmp11_, RESOURCES_PASTE_ADJUSTMENTS_LABEL, RESOURCES_PASTE_ADJUSTMENTS_TOOLTIP);
-#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp10_);
-#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp8_);
-#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp13_;
-#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 577 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 577 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp14_;
-#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 577 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = command;
-#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 577 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp15_, G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_COMMAND, Command));
-#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 577 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp15_);
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_pixel_transformation_bundle_unref0 (copied_adjustments);
-#line 5136 "CollectionPage.c"
+#line 5172 "CollectionPage.c"
}
@@ -5151,55 +5187,55 @@ static void collection_page_on_enhance (CollectionPage* self) {
CommandManager* _tmp10_ = NULL;
CommandManager* _tmp11_ = NULL;
EnhanceMultipleCommand* _tmp12_ = NULL;
-#line 574 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 580 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 582 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5171 "CollectionPage.c"
+#line 5207 "CollectionPage.c"
}
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = enhance_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _tmp8_;
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp9_;
-#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = command;
-#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_COMMAND, Command));
-#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp11_);
-#line 574 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 580 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 5203 "CollectionPage.c"
+#line 5239 "CollectionPage.c"
}
@@ -5218,55 +5254,55 @@ static void collection_page_on_duplicate_photo (CollectionPage* self) {
CommandManager* _tmp10_ = NULL;
CommandManager* _tmp11_ = NULL;
DuplicateMultiplePhotosCommand* _tmp12_ = NULL;
-#line 582 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 588 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 589 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 589 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 589 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 589 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 589 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 589 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 590 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5238 "CollectionPage.c"
+#line 5274 "CollectionPage.c"
}
-#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = duplicate_multiple_photos_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _tmp8_;
-#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp9_;
-#line 588 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 588 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 588 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = command;
-#line 588 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_COMMAND, Command));
-#line 588 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp11_);
-#line 582 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 588 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 5270 "CollectionPage.c"
+#line 5306 "CollectionPage.c"
}
@@ -5301,29 +5337,29 @@ static void collection_page_on_adjust_date_time (CollectionPage* self) {
gboolean _tmp37_ = FALSE;
gboolean _tmp38_ = FALSE;
gboolean _tmp39_ = FALSE;
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 597 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5321 "CollectionPage.c"
+#line 5357 "CollectionPage.c"
}
-#line 595 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 601 "/home/jens/Source/shotwell/src/CollectionPage.vala"
selected_has_videos = FALSE;
-#line 596 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
only_videos_selected = TRUE;
-#line 5327 "CollectionPage.c"
+#line 5363 "CollectionPage.c"
{
GeeList* _dv_list = NULL;
ViewCollection* _tmp4_ = NULL;
@@ -5335,31 +5371,31 @@ static void collection_page_on_adjust_date_time (CollectionPage* self) {
gint _tmp9_ = 0;
gint _tmp10_ = 0;
gint _dv_index = 0;
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_dv_list = _tmp7_;
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _dv_list;
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _tmp9_;
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_dv_size = _tmp10_;
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_dv_index = -1;
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 5363 "CollectionPage.c"
+#line 5399 "CollectionPage.c"
gint _tmp11_ = 0;
gint _tmp12_ = 0;
gint _tmp13_ = 0;
@@ -5371,109 +5407,109 @@ static void collection_page_on_adjust_date_time (CollectionPage* self) {
DataSource* _tmp18_ = NULL;
DataSource* _tmp19_ = NULL;
gboolean _tmp20_ = FALSE;
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _dv_index;
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_dv_index = _tmp11_ + 1;
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = _dv_index;
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _dv_size;
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!(_tmp12_ < _tmp13_)) {
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 5387 "CollectionPage.c"
+#line 5423 "CollectionPage.c"
}
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = _dv_list;
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _dv_index;
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = gee_list_get (_tmp14_, _tmp15_);
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
dv = (DataView*) _tmp16_;
-#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = dv;
-#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = data_view_get_source (_tmp17_);
-#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = _tmp18_;
-#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, TYPE_VIDEO);
-#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp19_);
-#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp20_) {
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
selected_has_videos = TRUE;
-#line 5411 "CollectionPage.c"
+#line 5447 "CollectionPage.c"
} else {
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
only_videos_selected = FALSE;
-#line 5415 "CollectionPage.c"
+#line 5451 "CollectionPage.c"
}
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (dv);
-#line 5419 "CollectionPage.c"
+#line 5455 "CollectionPage.c"
}
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_dv_list);
-#line 5423 "CollectionPage.c"
+#line 5459 "CollectionPage.c"
}
-#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 611 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 611 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _tmp21_;
-#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 611 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = view_collection_get_selected_at (_tmp22_, 0);
-#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 611 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = _tmp23_;
-#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 611 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = data_view_get_source (_tmp24_);
-#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 611 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, TYPE_DATEABLE, Dateable);
-#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 611 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp24_);
-#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 611 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp22_);
-#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 611 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo_source = _tmp26_;
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = photo_source;
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp28_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp29_ = _tmp28_;
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = view_collection_get_selected_count (_tmp29_);
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = selected_has_videos;
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = only_videos_selected;
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = adjust_date_time_dialog_new (_tmp27_, _tmp30_, TRUE, _tmp31_, _tmp32_);
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_object_ref_sink (_tmp33_);
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = _tmp33_;
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp29_);
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
dialog = _tmp34_;
-#line 612 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp35_ = dialog;
-#line 612 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp39_ = adjust_date_time_dialog_execute (_tmp35_, &_tmp36_, &_tmp37_, &_tmp38_);
-#line 612 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
time_shift = _tmp36_;
-#line 612 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
keep_relativity = _tmp37_;
-#line 612 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
modify_originals = _tmp38_;
-#line 612 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp39_) {
-#line 5477 "CollectionPage.c"
+#line 5513 "CollectionPage.c"
AdjustDateTimePhotosCommand* command = NULL;
ViewCollection* _tmp40_ = NULL;
ViewCollection* _tmp41_ = NULL;
@@ -5487,49 +5523,49 @@ static void collection_page_on_adjust_date_time (CollectionPage* self) {
CommandManager* _tmp49_ = NULL;
CommandManager* _tmp50_ = NULL;
AdjustDateTimePhotosCommand* _tmp51_ = NULL;
-#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp40_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp41_ = _tmp40_;
-#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp42_ = view_collection_get_selected (_tmp41_);
-#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp43_ = _tmp42_;
-#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp44_ = time_shift;
-#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp45_ = keep_relativity;
-#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp46_ = modify_originals;
-#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp47_ = adjust_date_time_photos_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, GEE_TYPE_ITERABLE, GeeIterable), _tmp44_, _tmp45_, _tmp46_);
-#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp48_ = _tmp47_;
-#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp43_);
-#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp41_);
-#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp48_;
-#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp49_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp50_ = _tmp49_;
-#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp51_ = command;
-#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp50_, G_TYPE_CHECK_INSTANCE_CAST (_tmp51_, TYPE_COMMAND, Command));
-#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp50_);
-#line 612 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 5527 "CollectionPage.c"
+#line 5563 "CollectionPage.c"
}
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 597 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (dialog);
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 597 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo_source);
-#line 5533 "CollectionPage.c"
+#line 5569 "CollectionPage.c"
}
@@ -5546,122 +5582,122 @@ static void collection_page_on_external_edit (CollectionPage* self) {
DataSource* _tmp8_ = NULL;
Photo* _tmp9_ = NULL;
GError * _inner_error_ = NULL;
-#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ != 1;
-#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 627 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5566 "CollectionPage.c"
+#line 5602 "CollectionPage.c"
}
-#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected_at (_tmp5_, 0);
-#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = data_view_get_source (_tmp7_);
-#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_PHOTO, Photo);
-#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp9_;
-#line 5586 "CollectionPage.c"
+#line 5622 "CollectionPage.c"
{
AppWindow* _tmp10_ = NULL;
AppWindow* _tmp11_ = NULL;
Photo* _tmp12_ = NULL;
AppWindow* _tmp13_ = NULL;
AppWindow* _tmp14_ = NULL;
-#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = app_window_get_instance ();
-#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_PAGE_WINDOW, PageWindow));
-#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp11_);
-#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 632 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = photo;
-#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 632 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo_open_with_external_editor (_tmp12_, &_inner_error_);
-#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 632 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5607 "CollectionPage.c"
- goto __catch233_g_error;
+#line 5643 "CollectionPage.c"
+ goto __catch234_g_error;
}
-#line 627 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = app_window_get_instance ();
-#line 627 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = _tmp13_;
-#line 627 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_PAGE_WINDOW, PageWindow));
-#line 627 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp14_);
-#line 5618 "CollectionPage.c"
+#line 5654 "CollectionPage.c"
}
- goto __finally233;
- __catch233_g_error:
+ goto __finally234;
+ __catch234_g_error:
{
GError* err = NULL;
AppWindow* _tmp15_ = NULL;
AppWindow* _tmp16_ = NULL;
GError* _tmp17_ = NULL;
Photo* _tmp18_ = NULL;
-#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
err = _inner_error_;
-#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_inner_error_ = NULL;
-#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = app_window_get_instance ();
-#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = _tmp15_;
-#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_PAGE_WINDOW, PageWindow));
-#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp16_);
-#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = err;
-#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = photo;
-#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala"
open_external_editor_error_dialog (_tmp17_, _tmp18_);
-#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_error_free0 (err);
-#line 5648 "CollectionPage.c"
+#line 5684 "CollectionPage.c"
}
- __finally233:
-#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ __finally234:
+#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_clear_error (&_inner_error_);
-#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5661 "CollectionPage.c"
+#line 5697 "CollectionPage.c"
}
-#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 5665 "CollectionPage.c"
+#line 5701 "CollectionPage.c"
}
@@ -5680,53 +5716,53 @@ static void collection_page_on_external_edit_raw (CollectionPage* self) {
Photo* _tmp10_ = NULL;
PhotoFileFormat _tmp11_ = 0;
GError * _inner_error_ = NULL;
-#line 634 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ != 1;
-#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5700 "CollectionPage.c"
+#line 5736 "CollectionPage.c"
}
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected_at (_tmp5_, 0);
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = data_view_get_source (_tmp7_);
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_PHOTO, Photo);
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp9_;
-#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = photo;
-#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = photo_get_master_file_format (_tmp10_);
-#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp11_ != PHOTO_FILE_FORMAT_RAW) {
-#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 646 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 646 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5730 "CollectionPage.c"
+#line 5766 "CollectionPage.c"
}
{
AppWindow* _tmp12_ = NULL;
@@ -5734,35 +5770,35 @@ static void collection_page_on_external_edit_raw (CollectionPage* self) {
Photo* _tmp14_ = NULL;
AppWindow* _tmp15_ = NULL;
AppWindow* _tmp16_ = NULL;
-#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = app_window_get_instance ();
-#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_PAGE_WINDOW, PageWindow));
-#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp13_);
-#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 650 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = photo;
-#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 650 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo_open_with_raw_external_editor (_tmp14_, &_inner_error_);
-#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 650 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5752 "CollectionPage.c"
- goto __catch234_g_error;
+#line 5788 "CollectionPage.c"
+ goto __catch235_g_error;
}
-#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = app_window_get_instance ();
-#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = _tmp15_;
-#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_PAGE_WINDOW, PageWindow));
-#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp16_);
-#line 5763 "CollectionPage.c"
+#line 5799 "CollectionPage.c"
}
- goto __finally234;
- __catch234_g_error:
+ goto __finally235;
+ __catch235_g_error:
{
GError* err = NULL;
AppWindow* _tmp17_ = NULL;
@@ -5770,48 +5806,48 @@ static void collection_page_on_external_edit_raw (CollectionPage* self) {
GError* _tmp19_ = NULL;
gchar* _tmp20_ = NULL;
gchar* _tmp21_ = NULL;
-#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
err = _inner_error_;
-#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_inner_error_ = NULL;
-#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = app_window_get_instance ();
-#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = _tmp17_;
-#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_PAGE_WINDOW, PageWindow));
-#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp18_);
-#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = err;
-#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = resources_launch_editor_failed (_tmp19_);
-#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = _tmp20_;
-#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
app_window_error_message (_tmp21_, NULL);
-#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (_tmp21_);
-#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_error_free0 (err);
-#line 5798 "CollectionPage.c"
+#line 5834 "CollectionPage.c"
}
- __finally234:
-#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ __finally235:
+#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_clear_error (&_inner_error_);
-#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5811 "CollectionPage.c"
+#line 5847 "CollectionPage.c"
}
-#line 634 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 5815 "CollectionPage.c"
+#line 5851 "CollectionPage.c"
}
@@ -5828,60 +5864,60 @@ void collection_page_on_set_background (CollectionPage* self) {
GeeArrayList* _tmp6_ = NULL;
gint _tmp7_ = 0;
gint _tmp8_ = 0;
-#line 652 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = gee_array_list_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photos = _tmp0_;
-#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = _tmp1_;
-#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = view_collection_get_selected_sources (_tmp2_);
-#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = photos;
-#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
media_source_collection_filter_media (_tmp4_, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_COLLECTION, GeeCollection), NULL);
-#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp2_);
-#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = photos;
-#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _tmp7_;
-#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp8_ == 1) {
-#line 5862 "CollectionPage.c"
+#line 5898 "CollectionPage.c"
SetBackgroundPhotoDialog* dialog = NULL;
SetBackgroundPhotoDialog* _tmp9_ = NULL;
SetBackgroundPhotoDialog* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
gboolean _tmp12_ = FALSE;
gboolean _tmp13_ = FALSE;
-#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = set_background_photo_dialog_new ();
-#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_object_ref_sink (_tmp9_);
-#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
dialog = _tmp9_;
-#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = dialog;
-#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = set_background_photo_dialog_execute (_tmp10_, &_tmp11_, &_tmp12_);
-#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala"
desktop = _tmp11_;
-#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala"
screensaver = _tmp12_;
-#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp13_) {
-#line 5885 "CollectionPage.c"
+#line 5921 "CollectionPage.c"
AppWindow* _tmp14_ = NULL;
AppWindow* _tmp15_ = NULL;
GeeArrayList* _tmp16_ = NULL;
@@ -5891,54 +5927,54 @@ void collection_page_on_set_background (CollectionPage* self) {
gboolean _tmp20_ = FALSE;
AppWindow* _tmp21_ = NULL;
AppWindow* _tmp22_ = NULL;
-#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 667 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = app_window_get_instance ();
-#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 667 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp14_;
-#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 667 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_PAGE_WINDOW, PageWindow));
-#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 667 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp15_);
-#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = photos;
-#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), 0);
-#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = (LibraryPhoto*) _tmp17_;
-#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = desktop;
-#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = screensaver;
-#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala"
desktop_integration_set_background (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_PHOTO, Photo), _tmp19_, _tmp20_);
-#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp18_);
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = app_window_get_instance ();
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _tmp21_;
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_PAGE_WINDOW, PageWindow));
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp22_);
-#line 5925 "CollectionPage.c"
+#line 5961 "CollectionPage.c"
}
-#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (dialog);
-#line 5929 "CollectionPage.c"
+#line 5965 "CollectionPage.c"
} else {
GeeArrayList* _tmp23_ = NULL;
gint _tmp24_ = 0;
gint _tmp25_ = 0;
-#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = photos;
-#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = _tmp24_;
-#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp25_ > 1) {
-#line 5942 "CollectionPage.c"
+#line 5978 "CollectionPage.c"
SetBackgroundSlideshowDialog* dialog = NULL;
SetBackgroundSlideshowDialog* _tmp26_ = NULL;
gint delay = 0;
@@ -5947,25 +5983,25 @@ void collection_page_on_set_background (CollectionPage* self) {
gboolean _tmp29_ = FALSE;
gboolean _tmp30_ = FALSE;
gboolean _tmp31_ = FALSE;
-#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = set_background_slideshow_dialog_new ();
-#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_object_ref_sink (_tmp26_);
-#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
dialog = _tmp26_;
-#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 674 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = dialog;
-#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 674 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = set_background_slideshow_dialog_execute (_tmp27_, &_tmp28_, &_tmp29_, &_tmp30_);
-#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 674 "/home/jens/Source/shotwell/src/CollectionPage.vala"
delay = _tmp28_;
-#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 674 "/home/jens/Source/shotwell/src/CollectionPage.vala"
desktop = _tmp29_;
-#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 674 "/home/jens/Source/shotwell/src/CollectionPage.vala"
screensaver = _tmp30_;
-#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 674 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp31_) {
-#line 5969 "CollectionPage.c"
+#line 6005 "CollectionPage.c"
AppWindow* _tmp32_ = NULL;
AppWindow* _tmp33_ = NULL;
GeeArrayList* _tmp34_ = NULL;
@@ -5974,42 +6010,42 @@ void collection_page_on_set_background (CollectionPage* self) {
gboolean _tmp37_ = FALSE;
AppWindow* _tmp38_ = NULL;
AppWindow* _tmp39_ = NULL;
-#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = app_window_get_instance ();
-#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = _tmp32_;
-#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, TYPE_PAGE_WINDOW, PageWindow));
-#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp33_);
-#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = photos;
-#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp35_ = delay;
-#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp36_ = desktop;
-#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp37_ = screensaver;
-#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
desktop_integration_set_background_slideshow (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, GEE_TYPE_COLLECTION, GeeCollection), (gdouble) _tmp35_, COLLECTION_PAGE_DESKTOP_SLIDESHOW_TRANSITION_SEC, _tmp36_, _tmp37_);
-#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp38_ = app_window_get_instance ();
-#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp39_ = _tmp38_;
-#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, TYPE_PAGE_WINDOW, PageWindow));
-#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp39_);
-#line 6004 "CollectionPage.c"
+#line 6040 "CollectionPage.c"
}
-#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (dialog);
-#line 6008 "CollectionPage.c"
+#line 6044 "CollectionPage.c"
}
}
-#line 652 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photos);
-#line 6013 "CollectionPage.c"
+#line 6049 "CollectionPage.c"
}
@@ -6049,205 +6085,205 @@ static void collection_page_on_slideshow (CollectionPage* self) {
LibraryPhoto* _tmp38_ = NULL;
SlideshowPage* _tmp39_ = NULL;
SlideshowPage* _tmp40_ = NULL;
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 6069 "CollectionPage.c"
+#line 6105 "CollectionPage.c"
}
-#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _tmp5_;
-#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = view_collection_get_selected_count (_tmp6_);
-#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _tmp7_ > 0;
-#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp6_);
-#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp8_) {
-#line 6083 "CollectionPage.c"
+#line 6119 "CollectionPage.c"
ViewCollection* _tmp9_ = NULL;
ViewCollection* _tmp10_ = NULL;
GeeList* _tmp11_ = NULL;
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _tmp9_;
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = view_collection_get_selected_sources_of_type (_tmp10_, TYPE_LIBRARY_PHOTO);
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _tmp11_;
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp10_);
-#line 6099 "CollectionPage.c"
+#line 6135 "CollectionPage.c"
} else {
ViewCollection* _tmp12_ = NULL;
ViewCollection* _tmp13_ = NULL;
GeeList* _tmp14_ = NULL;
-#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = view_collection_get_sources_of_type (_tmp13_, TYPE_LIBRARY_PHOTO);
-#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _tmp14_;
-#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp13_);
-#line 6116 "CollectionPage.c"
+#line 6152 "CollectionPage.c"
}
-#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _g_object_ref0 (_tmp4_);
-#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
sources = _tmp15_;
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = sources;
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp17_ == NULL) {
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = TRUE;
-#line 6128 "CollectionPage.c"
+#line 6164 "CollectionPage.c"
} else {
GeeList* _tmp18_ = NULL;
gint _tmp19_ = 0;
gint _tmp20_ = 0;
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = sources;
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = _tmp19_;
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = _tmp20_ == 0;
-#line 6141 "CollectionPage.c"
+#line 6177 "CollectionPage.c"
}
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp16_) {
-#line 686 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 692 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (sources);
-#line 686 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 692 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 686 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 692 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 6151 "CollectionPage.c"
+#line 6187 "CollectionPage.c"
}
-#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _tmp21_;
-#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = sources;
-#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = gee_list_get (_tmp23_, 0);
-#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = (DataSource*) _tmp24_;
-#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = view_collection_get_view_for_source (_tmp22_, _tmp25_);
-#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, TYPE_THUMBNAIL, Thumbnail);
-#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp25_);
-#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp22_);
-#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
thumbnail = _tmp27_;
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp28_ = thumbnail;
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp28_ == NULL) {
-#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (sources);
-#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 6185 "CollectionPage.c"
+#line 6221 "CollectionPage.c"
}
-#line 692 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp29_ = thumbnail;
-#line 692 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = thumbnail_get_media_source (_tmp29_);
-#line 692 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp30_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp30_) : NULL;
-#line 692 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp31_ == NULL) {
-#line 692 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp30_);
-#line 6197 "CollectionPage.c"
+#line 6233 "CollectionPage.c"
}
-#line 692 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp31_;
-#line 693 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 699 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = photo;
-#line 693 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 699 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp32_ == NULL) {
-#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 700 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 700 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 700 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (sources);
-#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 700 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 700 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 6215 "CollectionPage.c"
+#line 6251 "CollectionPage.c"
}
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = app_window_get_instance ();
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = _tmp33_;
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp35_ = library_photo_global;
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp36_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp37_ = _tmp36_;
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp38_ = photo;
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp39_ = slideshow_page_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, TYPE_SOURCE_COLLECTION, SourceCollection), _tmp37_, G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, TYPE_PHOTO, Photo));
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_object_ref_sink (_tmp39_);
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp40_ = _tmp39_;
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala"
app_window_go_fullscreen (_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, TYPE_PAGE, Page));
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp40_);
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp37_);
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp34_);
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (sources);
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 6251 "CollectionPage.c"
+#line 6287 "CollectionPage.c"
}
@@ -6261,49 +6297,49 @@ static gboolean collection_page_real_on_ctrl_pressed (Page* base, GdkEventKey* e
GtkToolButton* _tmp3_ = NULL;
GdkEventKey* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
-#line 700 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 706 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 707 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder;
-#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 707 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = gtk_builder_get_object (_tmp0_, "ToolRotate");
-#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 707 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_tool_button_get_type ()) ? ((GtkToolButton*) _tmp1_) : NULL);
-#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 707 "/home/jens/Source/shotwell/src/CollectionPage.vala"
rotate_button = _tmp2_;
-#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = rotate_button;
-#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_ != NULL) {
-#line 6279 "CollectionPage.c"
+#line 6315 "CollectionPage.c"
GtkToolButton* _tmp4_ = NULL;
GtkToolButton* _tmp5_ = NULL;
GtkToolButton* _tmp6_ = NULL;
-#line 703 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 709 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = rotate_button;
-#line 703 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 709 "/home/jens/Source/shotwell/src/CollectionPage.vala"
gtk_actionable_set_action_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GTK_TYPE_ACTIONABLE, GtkActionable), "win.RotateCounterclockwise");
-#line 704 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 710 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = rotate_button;
-#line 704 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 710 "/home/jens/Source/shotwell/src/CollectionPage.vala"
gtk_tool_button_set_icon_name (_tmp5_, "object-rotate-left");
-#line 705 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 711 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = rotate_button;
-#line 705 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 711 "/home/jens/Source/shotwell/src/CollectionPage.vala"
gtk_tool_item_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_tool_item_get_type (), GtkToolItem), RESOURCES_ROTATE_CCW_TOOLTIP);
-#line 6295 "CollectionPage.c"
+#line 6331 "CollectionPage.c"
}
-#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = event;
-#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = PAGE_CLASS (collection_page_parent_class)->on_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page), _tmp7_);
-#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp8_;
-#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (rotate_button);
-#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 6307 "CollectionPage.c"
+#line 6343 "CollectionPage.c"
}
@@ -6317,56 +6353,56 @@ static gboolean collection_page_real_on_ctrl_released (Page* base, GdkEventKey*
GtkToolButton* _tmp3_ = NULL;
GdkEventKey* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
-#line 711 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 717 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 718 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder;
-#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 718 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = gtk_builder_get_object (_tmp0_, "ToolRotate");
-#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 718 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_tool_button_get_type ()) ? ((GtkToolButton*) _tmp1_) : NULL);
-#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 718 "/home/jens/Source/shotwell/src/CollectionPage.vala"
rotate_button = _tmp2_;
-#line 713 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 719 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = rotate_button;
-#line 713 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 719 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_ != NULL) {
-#line 6335 "CollectionPage.c"
+#line 6371 "CollectionPage.c"
GtkToolButton* _tmp4_ = NULL;
GtkToolButton* _tmp5_ = NULL;
GtkToolButton* _tmp6_ = NULL;
-#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 720 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = rotate_button;
-#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 720 "/home/jens/Source/shotwell/src/CollectionPage.vala"
gtk_actionable_set_action_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GTK_TYPE_ACTIONABLE, GtkActionable), "win.RotateClockwise");
-#line 715 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 721 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = rotate_button;
-#line 715 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 721 "/home/jens/Source/shotwell/src/CollectionPage.vala"
gtk_tool_button_set_icon_name (_tmp5_, "object-rotate-right");
-#line 716 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 722 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = rotate_button;
-#line 716 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 722 "/home/jens/Source/shotwell/src/CollectionPage.vala"
gtk_tool_item_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_tool_item_get_type (), GtkToolItem), RESOURCES_ROTATE_CW_TOOLTIP);
-#line 6351 "CollectionPage.c"
+#line 6387 "CollectionPage.c"
}
-#line 719 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 725 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = event;
-#line 719 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 725 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = PAGE_CLASS (collection_page_parent_class)->on_ctrl_released (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page), _tmp7_);
-#line 719 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 725 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp8_;
-#line 719 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 725 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (rotate_button);
-#line 719 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 725 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 6363 "CollectionPage.c"
+#line 6399 "CollectionPage.c"
}
static gpointer _view_filter_ref0 (gpointer self) {
-#line 723 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 729 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return self ? view_filter_ref (self) : NULL;
-#line 6370 "CollectionPage.c"
+#line 6406 "CollectionPage.c"
}
@@ -6375,17 +6411,17 @@ static SearchViewFilter* collection_page_real_get_search_view_filter (Checkerboa
SearchViewFilter* result = NULL;
CollectionPageCollectionSearchViewFilter* _tmp0_ = NULL;
SearchViewFilter* _tmp1_ = NULL;
-#line 722 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 728 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 723 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 729 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = self->priv->search_filter;
-#line 723 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 729 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _view_filter_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
-#line 723 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 729 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp1_;
-#line 723 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 729 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 6389 "CollectionPage.c"
+#line 6425 "CollectionPage.c"
}
@@ -6398,7 +6434,7 @@ static guint collection_page_collection_search_view_filter_real_get_criteria (Se
result = (guint) ((((SEARCH_FILTER_CRITERIA_TEXT | SEARCH_FILTER_CRITERIA_FLAG) | SEARCH_FILTER_CRITERIA_MEDIA) | SEARCH_FILTER_CRITERIA_RATING) | SEARCH_FILTER_CRITERIA_SAVEDSEARCH);
#line 24 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 6402 "CollectionPage.c"
+#line 6438 "CollectionPage.c"
}
@@ -6408,14 +6444,14 @@ CollectionPageCollectionSearchViewFilter* collection_page_collection_search_view
self = (CollectionPageCollectionSearchViewFilter*) default_search_view_filter_construct (object_type);
#line 22 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return self;
-#line 6412 "CollectionPage.c"
+#line 6448 "CollectionPage.c"
}
CollectionPageCollectionSearchViewFilter* collection_page_collection_search_view_filter_new (void) {
#line 22 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return collection_page_collection_search_view_filter_construct (COLLECTION_PAGE_TYPE_COLLECTION_SEARCH_VIEW_FILTER);
-#line 6419 "CollectionPage.c"
+#line 6455 "CollectionPage.c"
}
@@ -6424,7 +6460,7 @@ static void collection_page_collection_search_view_filter_class_init (Collection
collection_page_collection_search_view_filter_parent_class = g_type_class_peek_parent (klass);
#line 22 "/home/jens/Source/shotwell/src/CollectionPage.vala"
((SearchViewFilterClass *) klass)->get_criteria = collection_page_collection_search_view_filter_real_get_criteria;
-#line 6428 "CollectionPage.c"
+#line 6464 "CollectionPage.c"
}
@@ -6477,7 +6513,7 @@ static void collection_page_class_init (CollectionPageClass * klass) {
((CheckerboardPageClass *) klass)->get_search_view_filter = collection_page_real_get_search_view_filter;
#line 19 "/home/jens/Source/shotwell/src/CollectionPage.vala"
G_OBJECT_CLASS (klass)->finalize = collection_page_finalize;
-#line 6481 "CollectionPage.c"
+#line 6517 "CollectionPage.c"
}
@@ -6491,7 +6527,7 @@ static void collection_page_instance_init (CollectionPage * self) {
_tmp0_ = collection_page_collection_search_view_filter_new ();
#line 30 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self->priv->search_filter = _tmp0_;
-#line 6495 "CollectionPage.c"
+#line 6531 "CollectionPage.c"
}
@@ -6505,7 +6541,7 @@ static void collection_page_finalize (GObject* obj) {
_view_filter_unref0 (self->priv->search_filter);
#line 19 "/home/jens/Source/shotwell/src/CollectionPage.vala"
G_OBJECT_CLASS (collection_page_parent_class)->finalize (obj);
-#line 6509 "CollectionPage.c"
+#line 6545 "CollectionPage.c"
}