summaryrefslogtreecommitdiff
path: root/src/CollectionPage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/CollectionPage.c')
-rw-r--r--src/CollectionPage.c2933
1 files changed, 1475 insertions, 1458 deletions
diff --git a/src/CollectionPage.c b/src/CollectionPage.c
index 07170e5..c778508 100644
--- a/src/CollectionPage.c
+++ b/src/CollectionPage.c
@@ -1,4 +1,4 @@
-/* CollectionPage.c generated by valac 0.34.2, the Vala compiler
+/* CollectionPage.c generated by valac 0.32.1, the Vala compiler
* generated from CollectionPage.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -614,16 +614,6 @@ typedef struct _AdjustDateTimeDialogClass AdjustDateTimeDialogClass;
typedef struct _AdjustDateTimePhotosCommand AdjustDateTimePhotosCommand;
typedef struct _AdjustDateTimePhotosCommandClass AdjustDateTimePhotosCommandClass;
-#define TYPE_SET_BACKGROUND_DIALOG (set_background_dialog_get_type ())
-#define SET_BACKGROUND_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialog))
-#define SET_BACKGROUND_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialogClass))
-#define IS_SET_BACKGROUND_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SET_BACKGROUND_DIALOG))
-#define IS_SET_BACKGROUND_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SET_BACKGROUND_DIALOG))
-#define SET_BACKGROUND_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialogClass))
-
-typedef struct _SetBackgroundDialog SetBackgroundDialog;
-typedef struct _SetBackgroundDialogClass SetBackgroundDialogClass;
-
#define TYPE_SET_BACKGROUND_PHOTO_DIALOG (set_background_photo_dialog_get_type ())
#define SET_BACKGROUND_PHOTO_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SET_BACKGROUND_PHOTO_DIALOG, SetBackgroundPhotoDialog))
#define SET_BACKGROUND_PHOTO_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SET_BACKGROUND_PHOTO_DIALOG, SetBackgroundPhotoDialogClass))
@@ -633,7 +623,6 @@ typedef struct _SetBackgroundDialogClass SetBackgroundDialogClass;
typedef struct _SetBackgroundPhotoDialog SetBackgroundPhotoDialog;
typedef struct _SetBackgroundPhotoDialogClass SetBackgroundPhotoDialogClass;
-#define _set_background_dialog_unref0(var) ((var == NULL) ? NULL : (var = (set_background_dialog_unref (var), NULL)))
#define TYPE_SET_BACKGROUND_SLIDESHOW_DIALOG (set_background_slideshow_dialog_get_type ())
#define SET_BACKGROUND_SLIDESHOW_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SET_BACKGROUND_SLIDESHOW_DIALOG, SetBackgroundSlideshowDialog))
@@ -1218,6 +1207,9 @@ gchar* configuration_facade_get_external_raw_app (ConfigurationFacade* self);
static gboolean collection_page_can_revert_selected (CollectionPage* self);
gboolean photo_has_color_adjustments (Photo* self);
gboolean pixel_transformation_bundle_has_copied_color_adjustments (void);
+#define RESOURCES_SET_BACKGROUND_MENU _ ("Set as _Desktop Background")
+#define RESOURCES_SET_BACKGROUND_SLIDESHOW_MENU _ ("Set as _Desktop Slideshow…")
+void page_update_menu_item_label (Page* self, const gchar* id, const gchar* new_label);
gboolean data_view_is_selected (DataView* self);
gboolean alteration_has_subject (Alteration* self, const gchar* subject);
GType library_photo_get_type (void) G_GNUC_CONST;
@@ -1349,13 +1341,6 @@ void photo_open_with_raw_external_editor (Photo* self, GError** error);
void app_window_error_message (const gchar* message, GtkWindow* parent);
gchar* resources_launch_editor_failed (GError* err);
void media_source_collection_filter_media (GeeCollection* media, GeeCollection* photos, GeeCollection* videos);
-gpointer set_background_dialog_ref (gpointer instance);
-void set_background_dialog_unref (gpointer instance);
-GParamSpec* param_spec_set_background_dialog (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void value_set_set_background_dialog (GValue* value, gpointer v_object);
-void value_take_set_background_dialog (GValue* value, gpointer v_object);
-gpointer value_get_set_background_dialog (const GValue* value);
-GType set_background_dialog_get_type (void) G_GNUC_CONST;
GType set_background_photo_dialog_get_type (void) G_GNUC_CONST;
SetBackgroundPhotoDialog* set_background_photo_dialog_new (void);
SetBackgroundPhotoDialog* set_background_photo_dialog_construct (GType object_type);
@@ -1398,7 +1383,7 @@ static const GActionEntry COLLECTION_PAGE_entries[16] = {{"Print", _collection_p
static gpointer _g_object_ref0 (gpointer self) {
#line 11 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return self ? g_object_ref (self) : NULL;
-#line 1402 "CollectionPage.c"
+#line 1387 "CollectionPage.c"
}
@@ -1420,14 +1405,14 @@ CollectionViewManager* collection_view_manager_construct (GType object_type, Col
self->priv->page = _tmp1_;
#line 10 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return self;
-#line 1424 "CollectionPage.c"
+#line 1409 "CollectionPage.c"
}
CollectionViewManager* collection_view_manager_new (CollectionPage* page) {
#line 10 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return collection_view_manager_construct (TYPE_COLLECTION_VIEW_MANAGER, page);
-#line 1431 "CollectionPage.c"
+#line 1416 "CollectionPage.c"
}
@@ -1451,7 +1436,7 @@ static DataView* collection_view_manager_real_create_view (ViewManager* base, Da
result = _tmp2_;
#line 15 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1455 "CollectionPage.c"
+#line 1440 "CollectionPage.c"
}
@@ -1464,14 +1449,14 @@ static void collection_view_manager_class_init (CollectionViewManagerClass * kla
g_type_class_add_private (klass, sizeof (CollectionViewManagerPrivate));
#line 7 "/home/jens/Source/shotwell/src/CollectionPage.vala"
((ViewManagerClass *) klass)->create_view = collection_view_manager_real_create_view;
-#line 1468 "CollectionPage.c"
+#line 1453 "CollectionPage.c"
}
static void collection_view_manager_instance_init (CollectionViewManager * self) {
#line 7 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self->priv = COLLECTION_VIEW_MANAGER_GET_PRIVATE (self);
-#line 1475 "CollectionPage.c"
+#line 1460 "CollectionPage.c"
}
@@ -1483,7 +1468,7 @@ static void collection_view_manager_finalize (ViewManager* obj) {
_g_object_unref0 (self->priv->page);
#line 7 "/home/jens/Source/shotwell/src/CollectionPage.vala"
VIEW_MANAGER_CLASS (collection_view_manager_parent_class)->finalize (obj);
-#line 1487 "CollectionPage.c"
+#line 1472 "CollectionPage.c"
}
@@ -1502,126 +1487,126 @@ 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"
collection_page_on_print ((CollectionPage*) self);
-#line 1506 "CollectionPage.c"
+#line 1491 "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"
collection_page_on_publish ((CollectionPage*) self);
-#line 1513 "CollectionPage.c"
+#line 1498 "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"
collection_page_on_rotate_clockwise ((CollectionPage*) self);
-#line 1520 "CollectionPage.c"
+#line 1505 "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"
collection_page_on_rotate_counterclockwise ((CollectionPage*) self);
-#line 1527 "CollectionPage.c"
+#line 1512 "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"
collection_page_on_flip_horizontally ((CollectionPage*) self);
-#line 1534 "CollectionPage.c"
+#line 1519 "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"
collection_page_on_flip_vertically ((CollectionPage*) self);
-#line 1541 "CollectionPage.c"
+#line 1526 "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"
collection_page_on_enhance ((CollectionPage*) self);
-#line 1548 "CollectionPage.c"
+#line 1533 "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"
collection_page_on_copy_adjustments ((CollectionPage*) self);
-#line 1555 "CollectionPage.c"
+#line 1540 "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"
collection_page_on_paste_adjustments ((CollectionPage*) self);
-#line 1562 "CollectionPage.c"
+#line 1547 "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"
collection_page_on_revert ((CollectionPage*) self);
-#line 1569 "CollectionPage.c"
+#line 1554 "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"
collection_page_on_set_background ((CollectionPage*) self);
-#line 1576 "CollectionPage.c"
+#line 1561 "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"
collection_page_on_duplicate_photo ((CollectionPage*) self);
-#line 1583 "CollectionPage.c"
+#line 1568 "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"
collection_page_on_adjust_date_time ((CollectionPage*) self);
-#line 1590 "CollectionPage.c"
+#line 1575 "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"
collection_page_on_external_edit ((CollectionPage*) self);
-#line 1597 "CollectionPage.c"
+#line 1582 "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"
collection_page_on_external_edit_raw ((CollectionPage*) self);
-#line 1604 "CollectionPage.c"
+#line 1589 "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"
collection_page_on_slideshow ((CollectionPage*) self);
-#line 1611 "CollectionPage.c"
+#line 1596 "CollectionPage.c"
}
static void _collection_page_on_photos_altered_data_collection_items_altered (DataCollection* _sender, GeeMap* items, gpointer self) {
#line 35 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_photos_altered ((CollectionPage*) self, items);
-#line 1618 "CollectionPage.c"
+#line 1603 "CollectionPage.c"
}
static void _collection_page_on_external_app_changed_configuration_facade_external_app_changed (ConfigurationFacade* _sender, gpointer self) {
#line 43 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_external_app_changed ((CollectionPage*) self);
-#line 1625 "CollectionPage.c"
+#line 1610 "CollectionPage.c"
}
@@ -1662,7 +1647,7 @@ CollectionPage* collection_page_construct (GType object_type, const gchar* page_
_g_object_unref0 (_tmp4_);
#line 32 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return self;
-#line 1666 "CollectionPage.c"
+#line 1651 "CollectionPage.c"
}
@@ -1678,7 +1663,7 @@ static GtkToolbar* collection_page_real_get_toolbar (Page* base) {
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->toolbar;
#line 47 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp0_ == NULL) {
-#line 1682 "CollectionPage.c"
+#line 1667 "CollectionPage.c"
GtkToolbar* _tmp1_ = NULL;
GtkToolbar* _tmp2_ = NULL;
GtkSeparatorToolItem* separator = NULL;
@@ -1779,7 +1764,7 @@ static GtkToolbar* collection_page_real_get_toolbar (Page* base) {
_g_object_unref0 (drawn_separator);
#line 47 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (separator);
-#line 1783 "CollectionPage.c"
+#line 1768 "CollectionPage.c"
}
#line 68 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->toolbar;
@@ -1789,7 +1774,7 @@ static GtkToolbar* collection_page_real_get_toolbar (Page* base) {
result = _tmp21_;
#line 68 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1793 "CollectionPage.c"
+#line 1778 "CollectionPage.c"
}
@@ -1822,12 +1807,12 @@ static InjectionGroup* collection_page_create_file_menu_injectables (void) {
#line 78 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _ ("Set as _Desktop Background");
#line 78 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- injection_group_add_menu_item (group, _tmp4_, "SetBackground", NULL);
+ injection_group_add_menu_item (group, _tmp4_, "SetBackground", "<Primary>b");
#line 80 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = group;
#line 80 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1831 "CollectionPage.c"
+#line 1816 "CollectionPage.c"
}
@@ -1848,7 +1833,7 @@ static InjectionGroup* collection_page_create_edit_menu_injectables (void) {
result = group;
#line 88 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1852 "CollectionPage.c"
+#line 1837 "CollectionPage.c"
}
@@ -1876,7 +1861,7 @@ static InjectionGroup* collection_page_create_view_menu_fullscreen_injectables (
result = group;
#line 98 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1880 "CollectionPage.c"
+#line 1865 "CollectionPage.c"
}
@@ -1936,7 +1921,7 @@ static InjectionGroup* collection_page_create_photos_menu_edits_injectables (voi
result = group;
#line 123 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1940 "CollectionPage.c"
+#line 1925 "CollectionPage.c"
}
@@ -1957,7 +1942,7 @@ static InjectionGroup* collection_page_create_photos_menu_date_injectables (void
result = group;
#line 131 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1961 "CollectionPage.c"
+#line 1946 "CollectionPage.c"
}
@@ -1988,7 +1973,7 @@ static InjectionGroup* collection_page_create_photos_menu_externals_injectables
result = group;
#line 145 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1992 "CollectionPage.c"
+#line 1977 "CollectionPage.c"
}
@@ -2008,7 +1993,7 @@ static void collection_page_real_init_collect_ui_filenames (Page* base, GeeList*
_tmp1_ = ui_filenames;
#line 151 "/home/jens/Source/shotwell/src/CollectionPage.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection), "collection.ui");
-#line 2012 "CollectionPage.c"
+#line 1997 "CollectionPage.c"
}
@@ -2028,7 +2013,7 @@ static void collection_page_real_add_actions (Page* base) {
g_action_map_add_action_entries (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, g_action_map_get_type (), GActionMap), COLLECTION_PAGE_entries, G_N_ELEMENTS (COLLECTION_PAGE_entries), self);
#line 176 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp1_);
-#line 2032 "CollectionPage.c"
+#line 2017 "CollectionPage.c"
}
@@ -2039,13 +2024,13 @@ static void _vala_array_add76 (InjectionGroup*** array, int* length, int* size,
*size = (*size) ? (2 * (*size)) : 4;
#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2043 "CollectionPage.c"
+#line 2028 "CollectionPage.c"
}
#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2049 "CollectionPage.c"
+#line 2034 "CollectionPage.c"
}
@@ -2056,13 +2041,13 @@ static void _vala_array_add77 (InjectionGroup*** array, int* length, int* size,
*size = (*size) ? (2 * (*size)) : 4;
#line 183 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2060 "CollectionPage.c"
+#line 2045 "CollectionPage.c"
}
#line 183 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
#line 183 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2066 "CollectionPage.c"
+#line 2051 "CollectionPage.c"
}
@@ -2073,13 +2058,13 @@ static void _vala_array_add78 (InjectionGroup*** array, int* length, int* size,
*size = (*size) ? (2 * (*size)) : 4;
#line 184 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2077 "CollectionPage.c"
+#line 2062 "CollectionPage.c"
}
#line 184 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
#line 184 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2083 "CollectionPage.c"
+#line 2068 "CollectionPage.c"
}
@@ -2090,13 +2075,13 @@ static void _vala_array_add79 (InjectionGroup*** array, int* length, int* size,
*size = (*size) ? (2 * (*size)) : 4;
#line 185 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2094 "CollectionPage.c"
+#line 2079 "CollectionPage.c"
}
#line 185 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
#line 185 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2100 "CollectionPage.c"
+#line 2085 "CollectionPage.c"
}
@@ -2107,13 +2092,13 @@ static void _vala_array_add80 (InjectionGroup*** array, int* length, int* size,
*size = (*size) ? (2 * (*size)) : 4;
#line 186 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2111 "CollectionPage.c"
+#line 2096 "CollectionPage.c"
}
#line 186 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
#line 186 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2117 "CollectionPage.c"
+#line 2102 "CollectionPage.c"
}
@@ -2124,13 +2109,13 @@ static void _vala_array_add81 (InjectionGroup*** array, int* length, int* size,
*size = (*size) ? (2 * (*size)) : 4;
#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2128 "CollectionPage.c"
+#line 2113 "CollectionPage.c"
}
#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2134 "CollectionPage.c"
+#line 2119 "CollectionPage.c"
}
@@ -2228,13 +2213,13 @@ static InjectionGroup** collection_page_real_init_collect_injection_groups (Page
if (result_length1) {
#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*result_length1 = _tmp14__length1;
-#line 2232 "CollectionPage.c"
+#line 2217 "CollectionPage.c"
}
#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp14_;
#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 2238 "CollectionPage.c"
+#line 2223 "CollectionPage.c"
}
@@ -2268,7 +2253,7 @@ static gboolean collection_page_selection_has_video (CollectionPage* self) {
result = _tmp5_;
#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 2272 "CollectionPage.c"
+#line 2257 "CollectionPage.c"
}
@@ -2302,7 +2287,7 @@ static gboolean collection_page_page_has_photo (CollectionPage* self) {
result = _tmp5_;
#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 2306 "CollectionPage.c"
+#line 2291 "CollectionPage.c"
}
@@ -2336,7 +2321,7 @@ static gboolean collection_page_selection_has_photo (CollectionPage* self) {
result = _tmp5_;
#line 201 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 2340 "CollectionPage.c"
+#line 2325 "CollectionPage.c"
}
@@ -2366,7 +2351,7 @@ static void collection_page_real_init_actions (Page* base, gint selected_count,
page_set_action_important (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Enhance", TRUE);
#line 214 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_important (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Publish", TRUE);
-#line 2370 "CollectionPage.c"
+#line 2355 "CollectionPage.c"
}
@@ -2448,7 +2433,7 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
if (_tmp4_) {
#line 220 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 2452 "CollectionPage.c"
+#line 2437 "CollectionPage.c"
}
#line 223 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = selected_count;
@@ -2470,7 +2455,7 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp9_ = has_selected;
#line 229 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp9_) {
-#line 2474 "CollectionPage.c"
+#line 2459 "CollectionPage.c"
ViewCollection* _tmp10_ = NULL;
ViewCollection* _tmp11_ = NULL;
DataView* _tmp12_ = NULL;
@@ -2502,7 +2487,7 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
if (_tmp16_) {
#line 231 "/home/jens/Source/shotwell/src/CollectionPage.vala"
primary_is_video = TRUE;
-#line 2506 "CollectionPage.c"
+#line 2491 "CollectionPage.c"
}
}
#line 233 "/home/jens/Source/shotwell/src/CollectionPage.vala"
@@ -2517,17 +2502,17 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp20_ = has_selected;
#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp20_) {
-#line 2521 "CollectionPage.c"
+#line 2506 "CollectionPage.c"
gboolean _tmp21_ = FALSE;
#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = selection_has_videos;
#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = !_tmp21_;
-#line 2527 "CollectionPage.c"
+#line 2512 "CollectionPage.c"
} else {
#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = FALSE;
-#line 2531 "CollectionPage.c"
+#line 2516 "CollectionPage.c"
}
#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Duplicate", _tmp19_);
@@ -2539,7 +2524,7 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp24_ = one_selected;
#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp24_) {
-#line 2543 "CollectionPage.c"
+#line 2528 "CollectionPage.c"
ConfigFacade* _tmp25_ = NULL;
ConfigFacade* _tmp26_ = NULL;
gchar* _tmp27_ = NULL;
@@ -2561,11 +2546,11 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_g_free0 (_tmp28_);
#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp26_);
-#line 2565 "CollectionPage.c"
+#line 2550 "CollectionPage.c"
} else {
#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = FALSE;
-#line 2569 "CollectionPage.c"
+#line 2554 "CollectionPage.c"
}
#line 240 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEdit", _tmp23_);
@@ -2573,21 +2558,21 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp33_ = one_selected;
#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp33_) {
-#line 2577 "CollectionPage.c"
+#line 2562 "CollectionPage.c"
gboolean _tmp34_ = FALSE;
#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = primary_is_video;
#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = !_tmp34_;
-#line 2583 "CollectionPage.c"
+#line 2568 "CollectionPage.c"
} else {
#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = FALSE;
-#line 2587 "CollectionPage.c"
+#line 2572 "CollectionPage.c"
}
#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp32_) {
-#line 2591 "CollectionPage.c"
+#line 2576 "CollectionPage.c"
ViewCollection* _tmp35_ = NULL;
ViewCollection* _tmp36_ = NULL;
DataView* _tmp37_ = NULL;
@@ -2617,15 +2602,15 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_g_object_unref0 (_tmp38_);
#line 244 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp36_);
-#line 2621 "CollectionPage.c"
+#line 2606 "CollectionPage.c"
} else {
#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = FALSE;
-#line 2625 "CollectionPage.c"
+#line 2610 "CollectionPage.c"
}
#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp31_) {
-#line 2629 "CollectionPage.c"
+#line 2614 "CollectionPage.c"
ConfigFacade* _tmp42_ = NULL;
ConfigFacade* _tmp43_ = NULL;
gchar* _tmp44_ = NULL;
@@ -2647,11 +2632,11 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_g_free0 (_tmp45_);
#line 246 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp43_);
-#line 2651 "CollectionPage.c"
+#line 2636 "CollectionPage.c"
} else {
#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = FALSE;
-#line 2655 "CollectionPage.c"
+#line 2640 "CollectionPage.c"
}
#line 242 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_visible (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEditRAW", _tmp30_);
@@ -2659,17 +2644,17 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp48_ = selection_has_videos;
#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp48_) {
-#line 2663 "CollectionPage.c"
+#line 2648 "CollectionPage.c"
gboolean _tmp49_ = FALSE;
#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp49_ = collection_page_can_revert_selected (self);
#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp47_ = _tmp49_;
-#line 2669 "CollectionPage.c"
+#line 2654 "CollectionPage.c"
} else {
#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp47_ = FALSE;
-#line 2673 "CollectionPage.c"
+#line 2658 "CollectionPage.c"
}
#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Revert", _tmp47_);
@@ -2677,17 +2662,17 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp51_ = selection_has_videos;
#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp51_) {
-#line 2681 "CollectionPage.c"
+#line 2666 "CollectionPage.c"
gboolean _tmp52_ = FALSE;
#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp52_ = has_selected;
#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp50_ = _tmp52_;
-#line 2687 "CollectionPage.c"
+#line 2672 "CollectionPage.c"
} else {
#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp50_ = FALSE;
-#line 2691 "CollectionPage.c"
+#line 2676 "CollectionPage.c"
}
#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Enhance", _tmp50_);
@@ -2695,21 +2680,21 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp55_ = selection_has_videos;
#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp55_) {
-#line 2699 "CollectionPage.c"
+#line 2684 "CollectionPage.c"
gboolean _tmp56_ = FALSE;
#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp56_ = one_selected;
#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp54_ = _tmp56_;
-#line 2705 "CollectionPage.c"
+#line 2690 "CollectionPage.c"
} else {
#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp54_ = FALSE;
-#line 2709 "CollectionPage.c"
+#line 2694 "CollectionPage.c"
}
#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp54_) {
-#line 2713 "CollectionPage.c"
+#line 2698 "CollectionPage.c"
ViewCollection* _tmp57_ = NULL;
ViewCollection* _tmp58_ = NULL;
DataView* _tmp59_ = NULL;
@@ -2739,11 +2724,11 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_g_object_unref0 (_tmp60_);
#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp58_);
-#line 2743 "CollectionPage.c"
+#line 2728 "CollectionPage.c"
} else {
#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp53_ = FALSE;
-#line 2747 "CollectionPage.c"
+#line 2732 "CollectionPage.c"
}
#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "CopyColorAdjustments", _tmp53_);
@@ -2751,31 +2736,31 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp66_ = selection_has_videos;
#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp66_) {
-#line 2755 "CollectionPage.c"
+#line 2740 "CollectionPage.c"
gboolean _tmp67_ = FALSE;
#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp67_ = has_selected;
#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp65_ = _tmp67_;
-#line 2761 "CollectionPage.c"
+#line 2746 "CollectionPage.c"
} else {
#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp65_ = FALSE;
-#line 2765 "CollectionPage.c"
+#line 2750 "CollectionPage.c"
}
#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp65_) {
-#line 2769 "CollectionPage.c"
+#line 2754 "CollectionPage.c"
gboolean _tmp68_ = FALSE;
#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp68_ = pixel_transformation_bundle_has_copied_color_adjustments ();
#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp64_ = _tmp68_;
-#line 2775 "CollectionPage.c"
+#line 2760 "CollectionPage.c"
} else {
#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp64_ = FALSE;
-#line 2779 "CollectionPage.c"
+#line 2764 "CollectionPage.c"
}
#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "PasteColorAdjustments", _tmp64_);
@@ -2783,17 +2768,17 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp70_ = selection_has_videos;
#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp70_) {
-#line 2787 "CollectionPage.c"
+#line 2772 "CollectionPage.c"
gboolean _tmp71_ = FALSE;
#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp71_ = has_selected;
#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp69_ = _tmp71_;
-#line 2793 "CollectionPage.c"
+#line 2778 "CollectionPage.c"
} else {
#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp69_ = FALSE;
-#line 2797 "CollectionPage.c"
+#line 2782 "CollectionPage.c"
}
#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateClockwise", _tmp69_);
@@ -2801,17 +2786,17 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp73_ = selection_has_videos;
#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp73_) {
-#line 2805 "CollectionPage.c"
+#line 2790 "CollectionPage.c"
gboolean _tmp74_ = FALSE;
#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp74_ = has_selected;
#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp72_ = _tmp74_;
-#line 2811 "CollectionPage.c"
+#line 2796 "CollectionPage.c"
} else {
#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp72_ = FALSE;
-#line 2815 "CollectionPage.c"
+#line 2800 "CollectionPage.c"
}
#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateCounterclockwise", _tmp72_);
@@ -2819,17 +2804,17 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp76_ = selection_has_videos;
#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp76_) {
-#line 2823 "CollectionPage.c"
+#line 2808 "CollectionPage.c"
gboolean _tmp77_ = FALSE;
#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp77_ = has_selected;
#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp75_ = _tmp77_;
-#line 2829 "CollectionPage.c"
+#line 2814 "CollectionPage.c"
} else {
#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp75_ = FALSE;
-#line 2833 "CollectionPage.c"
+#line 2818 "CollectionPage.c"
}
#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "FlipHorizontally", _tmp75_);
@@ -2837,17 +2822,17 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp79_ = selection_has_videos;
#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp79_) {
-#line 2841 "CollectionPage.c"
+#line 2826 "CollectionPage.c"
gboolean _tmp80_ = FALSE;
#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp80_ = has_selected;
#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp78_ = _tmp80_;
-#line 2847 "CollectionPage.c"
+#line 2832 "CollectionPage.c"
} else {
#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp78_ = FALSE;
-#line 2851 "CollectionPage.c"
+#line 2836 "CollectionPage.c"
}
#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "FlipVertically", _tmp78_);
@@ -2871,17 +2856,17 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp86_ = page_has_photos;
#line 265 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp86_) {
-#line 2875 "CollectionPage.c"
+#line 2860 "CollectionPage.c"
gboolean _tmp87_ = FALSE;
#line 265 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp87_ = primary_is_video;
#line 265 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp85_ = !_tmp87_;
-#line 2881 "CollectionPage.c"
+#line 2866 "CollectionPage.c"
} else {
#line 265 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp85_ = FALSE;
-#line 2885 "CollectionPage.c"
+#line 2870 "CollectionPage.c"
}
#line 265 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Slideshow", _tmp85_);
@@ -2889,17 +2874,17 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp89_ = selection_has_videos;
#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp89_) {
-#line 2893 "CollectionPage.c"
+#line 2878 "CollectionPage.c"
gboolean _tmp90_ = FALSE;
#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp90_ = has_selected;
#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp88_ = _tmp90_;
-#line 2899 "CollectionPage.c"
+#line 2884 "CollectionPage.c"
} else {
#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp88_ = FALSE;
-#line 2903 "CollectionPage.c"
+#line 2888 "CollectionPage.c"
}
#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Print", _tmp88_);
@@ -2911,17 +2896,17 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp93_ = selection_has_videos;
#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp93_) {
-#line 2915 "CollectionPage.c"
+#line 2900 "CollectionPage.c"
gboolean _tmp94_ = FALSE;
#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp94_ = has_selected;
#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp92_ = _tmp94_;
-#line 2921 "CollectionPage.c"
+#line 2906 "CollectionPage.c"
} else {
#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp92_ = FALSE;
-#line 2925 "CollectionPage.c"
+#line 2910 "CollectionPage.c"
}
#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SetBackground", _tmp92_);
@@ -2929,19 +2914,47 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp95_ = has_selected;
#line 270 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp95_) {
+#line 2918 "CollectionPage.c"
+ const gchar* _tmp96_ = NULL;
+ gboolean _tmp97_ = FALSE;
+ gchar* label = NULL;
+ gchar* _tmp98_ = NULL;
+ const gchar* _tmp99_ = NULL;
#line 271 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_debug ("CollectionPage.vala:271: Setting action label for SetBackground...");
-#line 2935 "CollectionPage.c"
+#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp97_ = one_selected;
+#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ if (_tmp97_) {
+#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp96_ = RESOURCES_SET_BACKGROUND_MENU;
+#line 2932 "CollectionPage.c"
+ } else {
+#line 274 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp96_ = RESOURCES_SET_BACKGROUND_SLIDESHOW_MENU;
+#line 2936 "CollectionPage.c"
+ }
+#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp98_ = g_strdup (_tmp96_);
+#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ label = _tmp98_;
+#line 275 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp99_ = label;
+#line 275 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ page_update_menu_item_label (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SetBackground", _tmp99_);
+#line 270 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _g_free0 (label);
+#line 2948 "CollectionPage.c"
}
}
static void collection_page_on_photos_altered (CollectionPage* self, GeeMap* altered) {
-#line 281 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 281 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (GEE_IS_MAP (altered));
-#line 2945 "CollectionPage.c"
+#line 2958 "CollectionPage.c"
{
GeeIterator* _object_it = NULL;
GeeMap* _tmp0_ = NULL;
@@ -2950,25 +2963,25 @@ static void collection_page_on_photos_altered (CollectionPage* self, GeeMap* alt
GeeSet* _tmp3_ = NULL;
GeeIterator* _tmp4_ = NULL;
GeeIterator* _tmp5_ = NULL;
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = altered;
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = gee_map_get_keys (_tmp0_);
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = _tmp1_;
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp3_);
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_object_it = _tmp5_;
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 2972 "CollectionPage.c"
+#line 2985 "CollectionPage.c"
GeeIterator* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
DataObject* object = NULL;
@@ -2988,120 +3001,120 @@ static void collection_page_on_photos_altered (CollectionPage* self, GeeMap* alt
gboolean _tmp24_ = FALSE;
LibraryPhoto* _tmp25_ = NULL;
gboolean _tmp26_ = FALSE;
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _object_it;
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = gee_iterator_next (_tmp6_);
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp7_) {
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3000 "CollectionPage.c"
+#line 3013 "CollectionPage.c"
}
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _object_it;
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = gee_iterator_get (_tmp8_);
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
object = (DataObject*) _tmp9_;
-#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 283 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = object;
-#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 283 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_VIEW, DataView));
-#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 283 "/home/jens/Source/shotwell/src/CollectionPage.vala"
view = _tmp11_;
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = view;
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = data_view_is_selected (_tmp13_);
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp14_) {
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = TRUE;
-#line 3022 "CollectionPage.c"
+#line 3035 "CollectionPage.c"
} else {
GeeMap* _tmp15_ = NULL;
DataView* _tmp16_ = NULL;
gpointer _tmp17_ = NULL;
Alteration* _tmp18_ = NULL;
gboolean _tmp19_ = FALSE;
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = altered;
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = view;
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = gee_map_get (_tmp15_, G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_DATA_OBJECT, DataObject));
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = (Alteration*) _tmp17_;
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = alteration_has_subject (_tmp18_, "image");
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = !_tmp19_;
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_alteration_unref0 (_tmp18_);
-#line 3043 "CollectionPage.c"
+#line 3056 "CollectionPage.c"
}
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp12_) {
-#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 286 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (view);
-#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 286 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (object);
-#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 286 "/home/jens/Source/shotwell/src/CollectionPage.vala"
continue;
-#line 3053 "CollectionPage.c"
+#line 3066 "CollectionPage.c"
}
-#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = view;
-#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = data_view_get_source (_tmp20_);
-#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp21_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp21_) : NULL;
-#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp22_ == NULL) {
-#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp21_);
-#line 3065 "CollectionPage.c"
+#line 3078 "CollectionPage.c"
}
-#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp22_;
-#line 291 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = photo;
-#line 291 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp23_ == NULL) {
-#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (view);
-#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (object);
-#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
continue;
-#line 3081 "CollectionPage.c"
+#line 3094 "CollectionPage.c"
}
-#line 296 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 294 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = collection_page_can_revert_selected (self);
-#line 296 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 294 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Revert", _tmp24_);
-#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = photo;
-#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = photo_has_color_adjustments (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, TYPE_PHOTO, Photo));
-#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "CopyColorAdjustments", _tmp26_);
-#line 299 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 299 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (view);
-#line 299 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (object);
-#line 299 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3101 "CollectionPage.c"
+#line 3114 "CollectionPage.c"
}
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_object_it);
-#line 3105 "CollectionPage.c"
+#line 3118 "CollectionPage.c"
}
}
@@ -3111,48 +3124,48 @@ static void collection_page_on_print (CollectionPage* self) {
ViewCollection* _tmp1_ = NULL;
gint _tmp2_ = 0;
gboolean _tmp3_ = FALSE;
-#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 301 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 304 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 304 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 304 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 304 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ > 0;
-#line 304 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 304 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 3129 "CollectionPage.c"
+#line 3142 "CollectionPage.c"
PrintManager* _tmp4_ = NULL;
PrintManager* _tmp5_ = NULL;
ViewCollection* _tmp6_ = NULL;
ViewCollection* _tmp7_ = NULL;
GeeList* _tmp8_ = NULL;
GeeCollection* _tmp9_ = NULL;
-#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = print_manager_get_instance ();
-#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = view_collection_get_selected_sources_of_type (_tmp7_, TYPE_PHOTO);
-#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
print_manager_spool_photo (_tmp5_, _tmp9_);
-#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp9_);
-#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp7_);
-#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_print_manager_unref0 (_tmp5_);
-#line 3156 "CollectionPage.c"
+#line 3169 "CollectionPage.c"
}
}
@@ -3165,52 +3178,52 @@ static void collection_page_on_external_app_changed (CollectionPage* self) {
gint _tmp3_ = 0;
gboolean _tmp4_ = FALSE;
gint _tmp5_ = 0;
-#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 308 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
selected_count = _tmp3_;
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = selected_count;
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp5_ == 1) {
-#line 3187 "CollectionPage.c"
+#line 3200 "CollectionPage.c"
ConfigFacade* _tmp6_ = NULL;
ConfigFacade* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = config_facade_get_instance ();
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/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 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _tmp8_;
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = g_strcmp0 (_tmp9_, "") != 0;
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (_tmp9_);
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 3206 "CollectionPage.c"
+#line 3219 "CollectionPage.c"
} else {
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = FALSE;
-#line 3210 "CollectionPage.c"
+#line 3223 "CollectionPage.c"
}
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEdit", _tmp4_);
-#line 3214 "CollectionPage.c"
+#line 3227 "CollectionPage.c"
}
@@ -3232,162 +3245,162 @@ static void collection_page_real_on_item_activated (CheckerboardPage* base, Chec
gchar* _tmp11_ = NULL;
gchar* _tmp12_ = NULL;
CheckerboardPageActivator _tmp13_ = 0;
-#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 320 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 320 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (item));
-#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 320 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (modifiers != NULL);
-#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = item;
-#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_THUMBNAIL, Thumbnail));
-#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
thumbnail = _tmp1_;
-#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = thumbnail;
-#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = thumbnail_get_media_source (_tmp2_);
-#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _tmp3_;
-#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, TYPE_VIDEO);
-#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp5_) {
-#line 330 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 328 "/home/jens/Source/shotwell/src/CollectionPage.vala"
media_page_on_play_video (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage));
-#line 331 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 331 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3266 "CollectionPage.c"
+#line 3279 "CollectionPage.c"
}
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = thumbnail;
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = thumbnail_get_media_source (_tmp6_);
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp7_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp7_) : NULL;
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp8_ == NULL) {
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 3278 "CollectionPage.c"
+#line 3291 "CollectionPage.c"
}
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp8_;
-#line 335 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 333 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = photo;
-#line 335 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 333 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp9_ == NULL) {
-#line 336 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 336 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 336 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3292 "CollectionPage.c"
+#line 3305 "CollectionPage.c"
}
-#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 337 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = photo;
-#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 337 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_OBJECT, DataObject));
-#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 337 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = _tmp11_;
-#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- g_debug ("CollectionPage.vala:339: activating %s", _tmp12_);
-#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 337 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ g_debug ("CollectionPage.vala:337: activating %s", _tmp12_);
+#line 337 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (_tmp12_);
-#line 341 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = activator;
-#line 341 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp13_ == CHECKERBOARD_PAGE_ACTIVATOR_MOUSE) {
-#line 3308 "CollectionPage.c"
+#line 3321 "CollectionPage.c"
CheckerboardPageKeyboardModifiers _tmp14_ = {0};
gboolean _tmp15_ = FALSE;
-#line 342 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = *modifiers;
-#line 342 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp14_.super_pressed;
-#line 342 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp15_) {
-#line 343 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 341 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_external_edit (self);
-#line 3319 "CollectionPage.c"
+#line 3332 "CollectionPage.c"
} else {
LibraryWindow* _tmp16_ = NULL;
LibraryWindow* _tmp17_ = NULL;
LibraryPhoto* _tmp18_ = NULL;
-#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 343 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = library_window_get_app ();
-#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 343 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = _tmp16_;
-#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 343 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = photo;
-#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 343 "/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 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 343 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp17_);
-#line 3334 "CollectionPage.c"
+#line 3347 "CollectionPage.c"
}
} else {
CheckerboardPageActivator _tmp19_ = 0;
-#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 344 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = activator;
-#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 344 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp19_ == CHECKERBOARD_PAGE_ACTIVATOR_KEYBOARD) {
-#line 3342 "CollectionPage.c"
+#line 3355 "CollectionPage.c"
gboolean _tmp20_ = FALSE;
CheckerboardPageKeyboardModifiers _tmp21_ = {0};
gboolean _tmp22_ = FALSE;
-#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = *modifiers;
-#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _tmp21_.shift_pressed;
-#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp22_) {
-#line 3352 "CollectionPage.c"
+#line 3365 "CollectionPage.c"
CheckerboardPageKeyboardModifiers _tmp23_ = {0};
gboolean _tmp24_ = FALSE;
-#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = *modifiers;
-#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = _tmp23_.ctrl_pressed;
-#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = !_tmp24_;
-#line 3361 "CollectionPage.c"
+#line 3374 "CollectionPage.c"
} else {
-#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = FALSE;
-#line 3365 "CollectionPage.c"
+#line 3378 "CollectionPage.c"
}
-#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp20_) {
-#line 3369 "CollectionPage.c"
+#line 3382 "CollectionPage.c"
LibraryWindow* _tmp25_ = NULL;
LibraryWindow* _tmp26_ = NULL;
LibraryPhoto* _tmp27_ = NULL;
-#line 348 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = library_window_get_app ();
-#line 348 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = _tmp25_;
-#line 348 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = photo;
-#line 348 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 346 "/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 348 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp26_);
-#line 3383 "CollectionPage.c"
+#line 3396 "CollectionPage.c"
}
}
}
-#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 320 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 320 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 3391 "CollectionPage.c"
+#line 3404 "CollectionPage.c"
}
@@ -3400,133 +3413,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 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label0 = 0;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label1 = 0;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label2 = 0;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label3 = 0;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label4 = 0;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label5 = 0;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label6 = 0;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label7 = 0;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label8 = 0;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label9 = 0;
-#line 3424 "CollectionPage.c"
+#line 3437 "CollectionPage.c"
gboolean _tmp8_ = FALSE;
gboolean _tmp9_ = FALSE;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 351 "/home/jens/Source/shotwell/src/CollectionPage.vala"
handled = TRUE;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = event;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_->keyval;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = gdk_keyval_name (_tmp1_);
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = (NULL == _tmp3_) ? 0 : g_quark_from_string (_tmp3_);
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/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 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
switch (0) {
-#line 3447 "CollectionPage.c"
+#line 3460 "CollectionPage.c"
default:
{
GdkEventKey* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
-#line 363 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 361 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = event;
-#line 363 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 361 "/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 364 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 362 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3458 "CollectionPage.c"
+#line 3471 "CollectionPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label8) ? _tmp4_label8 : (_tmp4_label8 = g_quark_from_static_string ("bracketright")))) {
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
switch (0) {
-#line 3464 "CollectionPage.c"
+#line 3477 "CollectionPage.c"
default:
{
-#line 367 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateClockwise");
-#line 368 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 366 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3471 "CollectionPage.c"
+#line 3484 "CollectionPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label9) ? _tmp4_label9 : (_tmp4_label9 = g_quark_from_static_string ("bracketleft")))) {
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
switch (0) {
-#line 3477 "CollectionPage.c"
+#line 3490 "CollectionPage.c"
default:
{
-#line 371 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 369 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateCounterclockwise");
-#line 372 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 370 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3484 "CollectionPage.c"
+#line 3497 "CollectionPage.c"
}
}
} else {
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
switch (0) {
-#line 3490 "CollectionPage.c"
+#line 3503 "CollectionPage.c"
default:
{
-#line 375 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 373 "/home/jens/Source/shotwell/src/CollectionPage.vala"
handled = FALSE;
-#line 376 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 374 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3497 "CollectionPage.c"
+#line 3510 "CollectionPage.c"
}
}
}
-#line 379 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = handled;
-#line 379 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp9_) {
-#line 379 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = TRUE;
-#line 3507 "CollectionPage.c"
+#line 3520 "CollectionPage.c"
} else {
GdkEventKey* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
-#line 379 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = event;
-#line 379 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 377 "/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 379 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _tmp11_;
-#line 3517 "CollectionPage.c"
+#line 3530 "CollectionPage.c"
}
-#line 379 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp8_;
-#line 379 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 3523 "CollectionPage.c"
+#line 3536 "CollectionPage.c"
}
static void _collection_page_on_export_completed_exporter_completion_callback (Exporter* exporter, gboolean is_cancelled, gpointer self) {
-#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 396 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_export_completed ((CollectionPage*) self);
-#line 3530 "CollectionPage.c"
+#line 3543 "CollectionPage.c"
}
@@ -3582,233 +3595,233 @@ static void collection_page_real_on_export (MediaPage* base) {
ExporterUI* _tmp90_ = NULL;
ExporterUI* _tmp91_ = NULL;
GError * _inner_error_ = NULL;
-#line 382 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 380 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 383 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = self->priv->exporter;
-#line 383 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp0_ != NULL) {
-#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 382 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3594 "CollectionPage.c"
+#line 3607 "CollectionPage.c"
}
-#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = _tmp1_;
-#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = view_collection_get_selected_sources (_tmp2_);
-#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp2_);
-#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_list = _tmp4_;
-#line 388 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = export_list;
-#line 388 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = gee_collection_get_size (_tmp5_);
-#line 388 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 388 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp7_ == 0) {
-#line 389 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 387 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 389 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 387 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3620 "CollectionPage.c"
+#line 3633 "CollectionPage.c"
}
-#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 389 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = collection_page_selection_has_photo (self);
-#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 389 "/home/jens/Source/shotwell/src/CollectionPage.vala"
has_some_photos = _tmp8_;
-#line 392 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = collection_page_selection_has_video (self);
-#line 392 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala"
has_some_videos = _tmp9_;
-#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = has_some_photos;
-#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp11_) {
-#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = TRUE;
-#line 3636 "CollectionPage.c"
+#line 3649 "CollectionPage.c"
} else {
gboolean _tmp12_ = FALSE;
-#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = has_some_videos;
-#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _tmp12_;
-#line 3643 "CollectionPage.c"
+#line 3656 "CollectionPage.c"
}
-#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_vala_assert (_tmp10_, "has_some_photos || has_some_videos");
-#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 395 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = has_some_photos;
-#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 395 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp13_) {
-#line 3651 "CollectionPage.c"
+#line 3664 "CollectionPage.c"
GeeCollection* _tmp14_ = NULL;
ExporterUI* _tmp15_ = NULL;
-#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 396 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = export_list;
-#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 396 "/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 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 396 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 396 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self->priv->exporter = _tmp15_;
-#line 399 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 399 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3666 "CollectionPage.c"
+#line 3679 "CollectionPage.c"
}
-#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 400 "/home/jens/Source/shotwell/src/CollectionPage.vala"
title = NULL;
-#line 403 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 401 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = has_some_videos;
-#line 403 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 401 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp16_) {
-#line 3674 "CollectionPage.c"
+#line 3687 "CollectionPage.c"
const gchar* _tmp17_ = NULL;
GeeCollection* _tmp18_ = NULL;
gint _tmp19_ = 0;
gint _tmp20_ = 0;
gchar* _tmp23_ = NULL;
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = export_list;
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = gee_collection_get_size (_tmp18_);
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = _tmp19_;
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp20_ == 1) {
-#line 3688 "CollectionPage.c"
+#line 3701 "CollectionPage.c"
const gchar* _tmp21_ = NULL;
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = _ ("Export Photo/Video");
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = _tmp21_;
-#line 3694 "CollectionPage.c"
+#line 3707 "CollectionPage.c"
} else {
const gchar* _tmp22_ = NULL;
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _ ("Export Photos/Videos");
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = _tmp22_;
-#line 3701 "CollectionPage.c"
+#line 3714 "CollectionPage.c"
}
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = g_strdup (_tmp17_);
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
title = _tmp23_;
-#line 3709 "CollectionPage.c"
+#line 3722 "CollectionPage.c"
} else {
const gchar* _tmp24_ = NULL;
GeeCollection* _tmp25_ = NULL;
gint _tmp26_ = 0;
gint _tmp27_ = 0;
gchar* _tmp30_ = NULL;
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = export_list;
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = gee_collection_get_size (_tmp25_);
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = _tmp26_;
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp27_ == 1) {
-#line 3724 "CollectionPage.c"
+#line 3737 "CollectionPage.c"
const gchar* _tmp28_ = NULL;
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp28_ = _ ("Export Photo");
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = _tmp28_;
-#line 3730 "CollectionPage.c"
+#line 3743 "CollectionPage.c"
} else {
const gchar* _tmp29_ = NULL;
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp29_ = _ ("Export Photos");
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = _tmp29_;
-#line 3737 "CollectionPage.c"
+#line 3750 "CollectionPage.c"
}
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = g_strdup (_tmp24_);
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
title = _tmp30_;
-#line 3745 "CollectionPage.c"
+#line 3758 "CollectionPage.c"
}
-#line 407 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 405 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = title;
-#line 407 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 405 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = export_dialog_new (_tmp31_);
-#line 407 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 405 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_object_ref_sink (_tmp32_);
-#line 407 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 405 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_dialog = _tmp32_;
-#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = has_some_videos;
-#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp34_) {
-#line 3759 "CollectionPage.c"
+#line 3772 "CollectionPage.c"
ExportFormatParameters _tmp35_ = {0};
-#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_format_parameters_current (&_tmp35_);
-#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = _tmp35_;
-#line 3765 "CollectionPage.c"
+#line 3778 "CollectionPage.c"
} else {
ExportFormatParameters _tmp36_ = {0};
-#line 418 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 416 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_format_parameters_last (&_tmp36_);
-#line 418 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 416 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = _tmp36_;
-#line 3772 "CollectionPage.c"
+#line 3785 "CollectionPage.c"
}
-#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_params = _tmp33_;
-#line 422 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 420 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp37_ = export_dialog;
-#line 422 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 420 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp40_ = export_dialog_execute (_tmp37_, &_tmp38_, &_tmp39_, &export_params);
-#line 422 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 420 "/home/jens/Source/shotwell/src/CollectionPage.vala"
scale = _tmp38_;
-#line 422 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 420 "/home/jens/Source/shotwell/src/CollectionPage.vala"
constraint = _tmp39_;
-#line 422 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 420 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp40_) {
-#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 421 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 421 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 421 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 421 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3794 "CollectionPage.c"
+#line 3807 "CollectionPage.c"
}
-#line 425 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp41_ = constraint;
-#line 425 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp42_ = scale;
-#line 425 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
scaling_for_constraint (_tmp41_, _tmp42_, FALSE, &_tmp43_);
-#line 425 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
scaling = _tmp43_;
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 426 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp44_ = export_list;
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 426 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp45_ = gee_collection_get_size (_tmp44_);
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 426 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp46_ = _tmp45_;
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 426 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp46_ == 1) {
-#line 3812 "CollectionPage.c"
+#line 3825 "CollectionPage.c"
LibraryPhoto* photo = NULL;
GFile* save_as = NULL;
LibraryPhoto* _tmp55_ = NULL;
@@ -3818,22 +3831,22 @@ static void collection_page_real_on_export (MediaPage* base) {
GFile* _tmp59_ = NULL;
GFile* _tmp60_ = NULL;
GFile* _tmp61_ = NULL;
-#line 429 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 427 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = NULL;
-#line 3824 "CollectionPage.c"
+#line 3837 "CollectionPage.c"
{
GeeIterator* _p_it = NULL;
GeeCollection* _tmp47_ = NULL;
GeeIterator* _tmp48_ = NULL;
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp47_ = export_list;
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/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 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_p_it = _tmp48_;
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 3837 "CollectionPage.c"
+#line 3850 "CollectionPage.c"
GeeIterator* _tmp49_ = NULL;
gboolean _tmp50_ = FALSE;
LibraryPhoto* p = NULL;
@@ -3841,73 +3854,73 @@ static void collection_page_real_on_export (MediaPage* base) {
gpointer _tmp52_ = NULL;
LibraryPhoto* _tmp53_ = NULL;
LibraryPhoto* _tmp54_ = NULL;
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp49_ = _p_it;
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp50_ = gee_iterator_next (_tmp49_);
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp50_) {
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3853 "CollectionPage.c"
+#line 3866 "CollectionPage.c"
}
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp51_ = _p_it;
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp52_ = gee_iterator_get (_tmp51_);
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
p = (LibraryPhoto*) _tmp52_;
-#line 431 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 429 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp53_ = p;
-#line 431 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 429 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp54_ = _g_object_ref0 (_tmp53_);
-#line 431 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 429 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 431 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 429 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp54_;
-#line 432 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (p);
-#line 432 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3873 "CollectionPage.c"
+#line 3886 "CollectionPage.c"
}
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_p_it);
-#line 3877 "CollectionPage.c"
+#line 3890 "CollectionPage.c"
}
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp55_ = photo;
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp56_ = export_params;
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/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 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp58_ = _tmp57_;
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp59_ = export_ui_choose_file (_tmp58_);
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp60_ = _tmp59_;
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (_tmp58_);
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
save_as = _tmp60_;
-#line 437 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp61_ = save_as;
-#line 437 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp61_ == NULL) {
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (save_as);
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3911 "CollectionPage.c"
+#line 3924 "CollectionPage.c"
}
{
AppWindow* _tmp62_ = NULL;
@@ -3926,54 +3939,54 @@ static void collection_page_real_on_export (MediaPage* base) {
gboolean _tmp75_ = FALSE;
AppWindow* _tmp76_ = NULL;
AppWindow* _tmp77_ = NULL;
-#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 439 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp62_ = app_window_get_instance ();
-#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 439 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp63_ = _tmp62_;
-#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 439 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp63_, TYPE_PAGE_WINDOW, PageWindow));
-#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 439 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp63_);
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp64_ = photo;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp65_ = save_as;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp66_ = scaling;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp67_ = export_params;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp68_ = _tmp67_.quality;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp69_ = photo;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp70_ = export_params;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/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 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp72_ = export_params;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp73_ = _tmp72_.mode;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp74_ = export_params;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp75_ = _tmp74_.export_metadata;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/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 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3966 "CollectionPage.c"
+#line 3979 "CollectionPage.c"
goto __catch230_g_error;
}
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp76_ = app_window_get_instance ();
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp77_ = _tmp76_;
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp77_, TYPE_PAGE_WINDOW, PageWindow));
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp77_);
-#line 3977 "CollectionPage.c"
+#line 3990 "CollectionPage.c"
}
goto __finally230;
__catch230_g_error:
@@ -3982,135 +3995,135 @@ static void collection_page_real_on_export (MediaPage* base) {
AppWindow* _tmp78_ = NULL;
AppWindow* _tmp79_ = NULL;
GFile* _tmp80_ = NULL;
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
err = _inner_error_;
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_inner_error_ = NULL;
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp78_ = app_window_get_instance ();
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp79_ = _tmp78_;
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp79_, TYPE_PAGE_WINDOW, PageWindow));
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp79_);
-#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp80_ = save_as;
-#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_error_dialog (_tmp80_, FALSE);
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_error_free0 (err);
-#line 4004 "CollectionPage.c"
+#line 4017 "CollectionPage.c"
}
__finally230:
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (save_as);
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/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 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_clear_error (&_inner_error_);
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4025 "CollectionPage.c"
+#line 4038 "CollectionPage.c"
}
-#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (save_as);
-#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4039 "CollectionPage.c"
+#line 4052 "CollectionPage.c"
}
-#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp81_ = title;
-#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp82_ = export_ui_choose_dir (_tmp81_);
-#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_dir = _tmp82_;
-#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 454 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp83_ = export_dir;
-#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 454 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp83_ == NULL) {
-#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dir);
-#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4061 "CollectionPage.c"
+#line 4074 "CollectionPage.c"
}
-#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp84_ = export_list;
-#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp85_ = export_dir;
-#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp86_ = scaling;
-#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp87_ = export_params;
-#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp88_ = exporter_new (_tmp84_, _tmp85_, &_tmp86_, &_tmp87_, FALSE);
-#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp89_ = _tmp88_;
-#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp90_ = exporter_ui_new (_tmp89_);
-#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self->priv->exporter = _tmp90_;
-#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp89_);
-#line 460 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp91_ = self->priv->exporter;
-#line 460 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/CollectionPage.vala"
exporter_ui_export (_tmp91_, _collection_page_on_export_completed_exporter_completion_callback, self);
-#line 382 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 380 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dir);
-#line 382 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 380 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 382 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 380 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 382 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 380 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 4095 "CollectionPage.c"
+#line 4108 "CollectionPage.c"
}
static void collection_page_on_export_completed (CollectionPage* self) {
-#line 463 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 461 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self->priv->exporter = NULL;
-#line 4106 "CollectionPage.c"
+#line 4119 "CollectionPage.c"
}
static gboolean collection_page_can_revert_selected (CollectionPage* self) {
gboolean result = FALSE;
-#line 467 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 465 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_val_if_fail (IS_COLLECTION_PAGE (self), FALSE);
-#line 4114 "CollectionPage.c"
+#line 4127 "CollectionPage.c"
{
GeeList* _source_list = NULL;
ViewCollection* _tmp0_ = NULL;
@@ -4122,31 +4135,31 @@ static gboolean collection_page_can_revert_selected (CollectionPage* self) {
gint _tmp5_ = 0;
gint _tmp6_ = 0;
gint _source_index = 0;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_sources (_tmp1_);
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_list = _tmp3_;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _source_list;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _tmp5_;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_size = _tmp6_;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_index = -1;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 4150 "CollectionPage.c"
+#line 4163 "CollectionPage.c"
gint _tmp7_ = 0;
gint _tmp8_ = 0;
gint _tmp9_ = 0;
@@ -4159,107 +4172,107 @@ static gboolean collection_page_can_revert_selected (CollectionPage* self) {
LibraryPhoto* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
LibraryPhoto* _tmp16_ = NULL;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _source_index;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_index = _tmp7_ + 1;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _source_index;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _source_size;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!(_tmp8_ < _tmp9_)) {
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 4175 "CollectionPage.c"
+#line 4188 "CollectionPage.c"
}
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _source_list;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _source_index;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = gee_list_get (_tmp10_, _tmp11_);
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
source = (DataSource*) _tmp12_;
-#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 467 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = source;
-#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 467 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp13_) : NULL);
-#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 467 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp14_;
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = photo;
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp16_ != NULL) {
-#line 4195 "CollectionPage.c"
+#line 4208 "CollectionPage.c"
gboolean _tmp17_ = FALSE;
LibraryPhoto* _tmp18_ = NULL;
gboolean _tmp19_ = FALSE;
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = photo;
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = photo_has_transformations (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_PHOTO, Photo));
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp19_) {
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = TRUE;
-#line 4207 "CollectionPage.c"
+#line 4220 "CollectionPage.c"
} else {
LibraryPhoto* _tmp20_ = NULL;
gboolean _tmp21_ = FALSE;
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = photo;
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = photo_has_editable (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_PHOTO, Photo));
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = _tmp21_;
-#line 4217 "CollectionPage.c"
+#line 4230 "CollectionPage.c"
}
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp17_;
-#line 4221 "CollectionPage.c"
+#line 4234 "CollectionPage.c"
} else {
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = FALSE;
-#line 4225 "CollectionPage.c"
+#line 4238 "CollectionPage.c"
}
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp15_) {
-#line 471 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = TRUE;
-#line 471 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 471 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (source);
-#line 471 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_source_list);
-#line 471 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 4239 "CollectionPage.c"
+#line 4252 "CollectionPage.c"
}
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (source);
-#line 4245 "CollectionPage.c"
+#line 4258 "CollectionPage.c"
}
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_source_list);
-#line 4249 "CollectionPage.c"
+#line 4262 "CollectionPage.c"
}
-#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 472 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = FALSE;
-#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 472 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 4255 "CollectionPage.c"
+#line 4268 "CollectionPage.c"
}
static gboolean collection_page_can_revert_editable_selected (CollectionPage* self) {
gboolean result = FALSE;
-#line 477 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_val_if_fail (IS_COLLECTION_PAGE (self), FALSE);
-#line 4263 "CollectionPage.c"
+#line 4276 "CollectionPage.c"
{
GeeList* _source_list = NULL;
ViewCollection* _tmp0_ = NULL;
@@ -4271,31 +4284,31 @@ static gboolean collection_page_can_revert_editable_selected (CollectionPage* se
gint _tmp5_ = 0;
gint _tmp6_ = 0;
gint _source_index = 0;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_sources (_tmp1_);
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_list = _tmp3_;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _source_list;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _tmp5_;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_size = _tmp6_;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_index = -1;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 4299 "CollectionPage.c"
+#line 4312 "CollectionPage.c"
gint _tmp7_ = 0;
gint _tmp8_ = 0;
gint _tmp9_ = 0;
@@ -4308,82 +4321,82 @@ static gboolean collection_page_can_revert_editable_selected (CollectionPage* se
LibraryPhoto* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
LibraryPhoto* _tmp16_ = NULL;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _source_index;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_index = _tmp7_ + 1;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _source_index;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _source_size;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!(_tmp8_ < _tmp9_)) {
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 4324 "CollectionPage.c"
+#line 4337 "CollectionPage.c"
}
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _source_list;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _source_index;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = gee_list_get (_tmp10_, _tmp11_);
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
source = (DataSource*) _tmp12_;
-#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 477 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = source;
-#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 477 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp13_) : NULL);
-#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 477 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp14_;
-#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = photo;
-#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp16_ != NULL) {
-#line 4344 "CollectionPage.c"
+#line 4357 "CollectionPage.c"
LibraryPhoto* _tmp17_ = NULL;
gboolean _tmp18_ = FALSE;
-#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = photo;
-#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = photo_has_editable (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_PHOTO, Photo));
-#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp18_;
-#line 4353 "CollectionPage.c"
+#line 4366 "CollectionPage.c"
} else {
-#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = FALSE;
-#line 4357 "CollectionPage.c"
+#line 4370 "CollectionPage.c"
}
-#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp15_) {
-#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = TRUE;
-#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (source);
-#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_source_list);
-#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 4371 "CollectionPage.c"
+#line 4384 "CollectionPage.c"
}
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (source);
-#line 4377 "CollectionPage.c"
+#line 4390 "CollectionPage.c"
}
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_source_list);
-#line 4381 "CollectionPage.c"
+#line 4394 "CollectionPage.c"
}
-#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 482 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = FALSE;
-#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 482 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 4387 "CollectionPage.c"
+#line 4400 "CollectionPage.c"
}
@@ -4404,59 +4417,59 @@ static void collection_page_on_rotate_clockwise (CollectionPage* self) {
CommandManager* _tmp12_ = NULL;
CommandManager* _tmp13_ = NULL;
RotateMultipleCommand* _tmp14_ = NULL;
-#line 487 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 488 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 488 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 488 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 488 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 488 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 488 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 487 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4424 "CollectionPage.c"
+#line 4437 "CollectionPage.c"
}
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _ ("Rotating");
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _ ("Undoing Rotate");
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/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 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp11_;
-#line 494 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 494 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 494 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = command;
-#line 494 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_COMMAND, Command));
-#line 494 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp13_);
-#line 487 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 4460 "CollectionPage.c"
+#line 4473 "CollectionPage.c"
}
@@ -4465,40 +4478,40 @@ static void collection_page_on_publish (CollectionPage* self) {
ViewCollection* _tmp1_ = NULL;
gint _tmp2_ = 0;
gboolean _tmp3_ = FALSE;
-#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 495 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 498 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 498 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 498 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 498 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ > 0;
-#line 498 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 498 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 4483 "CollectionPage.c"
+#line 4496 "CollectionPage.c"
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
GeeList* _tmp6_ = NULL;
GeeCollection* _tmp7_ = NULL;
-#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected_sources (_tmp5_);
-#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
publishing_ui_publishing_dialog_go (_tmp7_);
-#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 4502 "CollectionPage.c"
+#line 4515 "CollectionPage.c"
}
}
@@ -4520,59 +4533,59 @@ static void collection_page_on_rotate_counterclockwise (CollectionPage* self) {
CommandManager* _tmp12_ = NULL;
CommandManager* _tmp13_ = NULL;
RotateMultipleCommand* _tmp14_ = NULL;
-#line 503 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 501 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 503 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4540 "CollectionPage.c"
+#line 4553 "CollectionPage.c"
}
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _ ("Rotating");
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _ ("Undoing Rotate");
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/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 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp11_;
-#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = command;
-#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_COMMAND, Command));
-#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp13_);
-#line 503 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 501 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 4576 "CollectionPage.c"
+#line 4589 "CollectionPage.c"
}
@@ -4593,59 +4606,59 @@ static void collection_page_on_flip_horizontally (CollectionPage* self) {
CommandManager* _tmp12_ = NULL;
CommandManager* _tmp13_ = NULL;
RotateMultipleCommand* _tmp14_ = NULL;
-#line 513 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 511 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 514 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 514 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 514 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 514 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 514 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 514 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 513 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4613 "CollectionPage.c"
+#line 4626 "CollectionPage.c"
}
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _ ("Flipping Horizontally");
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _ ("Undoing Flip Horizontally");
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/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 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp11_;
-#line 520 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 520 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 520 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = command;
-#line 520 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_COMMAND, Command));
-#line 520 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp13_);
-#line 513 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 511 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 4649 "CollectionPage.c"
+#line 4662 "CollectionPage.c"
}
@@ -4666,59 +4679,59 @@ static void collection_page_on_flip_vertically (CollectionPage* self) {
CommandManager* _tmp12_ = NULL;
CommandManager* _tmp13_ = NULL;
RotateMultipleCommand* _tmp14_ = NULL;
-#line 523 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 521 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 524 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 524 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 524 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 524 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 524 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 524 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 523 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4686 "CollectionPage.c"
+#line 4699 "CollectionPage.c"
}
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _ ("Flipping Vertically");
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _ ("Undoing Flip Vertically");
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/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 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp11_;
-#line 530 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 530 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 530 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = command;
-#line 530 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_COMMAND, Command));
-#line 530 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp13_);
-#line 523 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 521 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 4722 "CollectionPage.c"
+#line 4735 "CollectionPage.c"
}
@@ -4738,29 +4751,29 @@ static void collection_page_on_revert (CollectionPage* self) {
CommandManager* _tmp33_ = NULL;
CommandManager* _tmp34_ = NULL;
RevertMultipleCommand* _tmp35_ = NULL;
-#line 533 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 531 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 534 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 534 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 534 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 534 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 534 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 534 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 533 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4758 "CollectionPage.c"
+#line 4771 "CollectionPage.c"
}
-#line 537 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = collection_page_can_revert_editable_selected (self);
-#line 537 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp4_) {
-#line 4764 "CollectionPage.c"
+#line 4777 "CollectionPage.c"
AppWindow* _tmp5_ = NULL;
AppWindow* _tmp6_ = NULL;
ViewCollection* _tmp7_ = NULL;
@@ -4769,33 +4782,33 @@ static void collection_page_on_revert (CollectionPage* self) {
GeeCollection* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
gboolean _tmp12_ = FALSE;
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = app_window_get_instance ();
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _tmp5_;
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _tmp7_;
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = view_collection_get_selected_sources (_tmp8_);
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = revert_editable_dialog (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_window_get_type (), GtkWindow), _tmp10_);
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = !_tmp11_;
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp10_);
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp8_);
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp6_);
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp12_) {
-#line 540 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4799 "CollectionPage.c"
+#line 4812 "CollectionPage.c"
}
{
GeeList* _object_list = NULL;
@@ -4808,31 +4821,31 @@ static void collection_page_on_revert (CollectionPage* self) {
gint _tmp18_ = 0;
gint _tmp19_ = 0;
gint _object_index = 0;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = _tmp13_;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = view_collection_get_selected_sources (_tmp14_);
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = _tmp15_;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp14_);
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_object_list = _tmp16_;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = _object_list;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = _tmp18_;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_object_size = _tmp19_;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_object_index = -1;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 4836 "CollectionPage.c"
+#line 4849 "CollectionPage.c"
gint _tmp20_ = 0;
gint _tmp21_ = 0;
gint _tmp22_ = 0;
@@ -4841,72 +4854,72 @@ static void collection_page_on_revert (CollectionPage* self) {
gint _tmp24_ = 0;
gpointer _tmp25_ = NULL;
DataObject* _tmp26_ = NULL;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = _object_index;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_object_index = _tmp20_ + 1;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = _object_index;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _object_size;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!(_tmp21_ < _tmp22_)) {
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 4857 "CollectionPage.c"
+#line 4870 "CollectionPage.c"
}
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = _object_list;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = _object_index;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = gee_list_get (_tmp23_, _tmp24_);
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
object = G_TYPE_CHECK_INSTANCE_CAST ((DataSource*) _tmp25_, TYPE_DATA_OBJECT, DataObject);
-#line 544 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 542 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = object;
-#line 544 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 542 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo_revert_to_master (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, TYPE_PHOTO, Photo), TRUE);
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (object);
-#line 4873 "CollectionPage.c"
+#line 4886 "CollectionPage.c"
}
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_object_list);
-#line 4877 "CollectionPage.c"
+#line 4890 "CollectionPage.c"
}
}
-#line 547 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 547 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp28_ = _tmp27_;
-#line 547 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp29_ = view_collection_get_selected (_tmp28_);
-#line 547 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = _tmp29_;
-#line 547 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = revert_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 547 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = _tmp31_;
-#line 547 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp30_);
-#line 547 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp28_);
-#line 547 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp32_;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 546 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 546 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = _tmp33_;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 546 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp35_ = command;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 546 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, TYPE_COMMAND, Command));
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 546 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp34_);
-#line 533 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 531 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 4910 "CollectionPage.c"
+#line 4923 "CollectionPage.c"
}
@@ -4925,57 +4938,57 @@ void collection_page_on_copy_adjustments (CollectionPage* self) {
Photo* _tmp10_ = NULL;
PixelTransformationBundle* _tmp11_ = NULL;
PixelTransformationBundle* _tmp12_ = NULL;
-#line 551 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 550 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 550 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 550 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 550 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ != 1;
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 550 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 550 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 551 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4945 "CollectionPage.c"
+#line 4958 "CollectionPage.c"
}
-#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected_at (_tmp5_, 0);
-#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = data_view_get_source (_tmp7_);
-#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_PHOTO, Photo);
-#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp9_;
-#line 555 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = photo;
-#line 555 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = photo_get_color_adjustments (_tmp10_);
-#line 555 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = _tmp11_;
-#line 555 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
pixel_transformation_bundle_set_copied_color_adjustments (_tmp12_);
-#line 555 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_pixel_transformation_bundle_unref0 (_tmp12_);
-#line 556 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "PasteColorAdjustments", TRUE);
-#line 551 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 4979 "CollectionPage.c"
+#line 4992 "CollectionPage.c"
}
@@ -4998,78 +5011,78 @@ void collection_page_on_paste_adjustments (CollectionPage* self) {
CommandManager* _tmp14_ = NULL;
CommandManager* _tmp15_ = NULL;
AdjustColorsMultipleCommand* _tmp16_ = NULL;
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = pixel_transformation_bundle_get_copied_color_adjustments ();
-#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala"
copied_adjustments = _tmp0_;
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = view_collection_get_selected_count (_tmp3_);
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_ == 0;
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp3_);
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp5_) {
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = TRUE;
-#line 5022 "CollectionPage.c"
+#line 5035 "CollectionPage.c"
} else {
PixelTransformationBundle* _tmp6_ = NULL;
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = copied_adjustments;
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp6_ == NULL;
-#line 5029 "CollectionPage.c"
+#line 5042 "CollectionPage.c"
}
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp1_) {
-#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_pixel_transformation_bundle_unref0 (copied_adjustments);
-#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5037 "CollectionPage.c"
+#line 5050 "CollectionPage.c"
}
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _tmp7_;
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = view_collection_get_selected (_tmp8_);
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _tmp9_;
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = copied_adjustments;
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/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 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp10_);
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp8_);
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp13_;
-#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp14_;
-#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = command;
-#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp15_, G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_COMMAND, Command));
-#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp15_);
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_pixel_transformation_bundle_unref0 (copied_adjustments);
-#line 5073 "CollectionPage.c"
+#line 5086 "CollectionPage.c"
}
@@ -5088,55 +5101,55 @@ static void collection_page_on_enhance (CollectionPage* self) {
CommandManager* _tmp10_ = NULL;
CommandManager* _tmp11_ = NULL;
EnhanceMultipleCommand* _tmp12_ = NULL;
-#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 568 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 568 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 568 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 568 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 568 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 568 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5108 "CollectionPage.c"
+#line 5121 "CollectionPage.c"
}
-#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = enhance_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _tmp8_;
-#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp9_;
-#line 574 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 574 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 574 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = command;
-#line 574 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_COMMAND, Command));
-#line 574 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp11_);
-#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 5140 "CollectionPage.c"
+#line 5153 "CollectionPage.c"
}
@@ -5155,55 +5168,55 @@ static void collection_page_on_duplicate_photo (CollectionPage* self) {
CommandManager* _tmp10_ = NULL;
CommandManager* _tmp11_ = NULL;
DuplicateMultiplePhotosCommand* _tmp12_ = NULL;
-#line 577 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 577 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5175 "CollectionPage.c"
+#line 5188 "CollectionPage.c"
}
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = duplicate_multiple_photos_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _tmp8_;
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp9_;
-#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = command;
-#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_COMMAND, Command));
-#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp11_);
-#line 577 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 5207 "CollectionPage.c"
+#line 5220 "CollectionPage.c"
}
@@ -5238,29 +5251,29 @@ static void collection_page_on_adjust_date_time (CollectionPage* self) {
gboolean _tmp37_ = FALSE;
gboolean _tmp38_ = FALSE;
gboolean _tmp39_ = FALSE;
-#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 588 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5258 "CollectionPage.c"
+#line 5271 "CollectionPage.c"
}
-#line 590 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 588 "/home/jens/Source/shotwell/src/CollectionPage.vala"
selected_has_videos = FALSE;
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 589 "/home/jens/Source/shotwell/src/CollectionPage.vala"
only_videos_selected = TRUE;
-#line 5264 "CollectionPage.c"
+#line 5277 "CollectionPage.c"
{
GeeList* _dv_list = NULL;
ViewCollection* _tmp4_ = NULL;
@@ -5272,31 +5285,31 @@ static void collection_page_on_adjust_date_time (CollectionPage* self) {
gint _tmp9_ = 0;
gint _tmp10_ = 0;
gint _dv_index = 0;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_dv_list = _tmp7_;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _dv_list;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _tmp9_;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_dv_size = _tmp10_;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_dv_index = -1;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 5300 "CollectionPage.c"
+#line 5313 "CollectionPage.c"
gint _tmp11_ = 0;
gint _tmp12_ = 0;
gint _tmp13_ = 0;
@@ -5308,109 +5321,109 @@ static void collection_page_on_adjust_date_time (CollectionPage* self) {
DataSource* _tmp18_ = NULL;
DataSource* _tmp19_ = NULL;
gboolean _tmp20_ = FALSE;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _dv_index;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_dv_index = _tmp11_ + 1;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = _dv_index;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _dv_size;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!(_tmp12_ < _tmp13_)) {
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 5324 "CollectionPage.c"
+#line 5337 "CollectionPage.c"
}
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = _dv_list;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _dv_index;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = gee_list_get (_tmp14_, _tmp15_);
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
dv = (DataView*) _tmp16_;
-#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = dv;
-#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = data_view_get_source (_tmp17_);
-#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = _tmp18_;
-#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, TYPE_VIDEO);
-#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp19_);
-#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp20_) {
-#line 595 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
selected_has_videos = TRUE;
-#line 5348 "CollectionPage.c"
+#line 5361 "CollectionPage.c"
} else {
-#line 597 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 595 "/home/jens/Source/shotwell/src/CollectionPage.vala"
only_videos_selected = FALSE;
-#line 5352 "CollectionPage.c"
+#line 5365 "CollectionPage.c"
}
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (dv);
-#line 5356 "CollectionPage.c"
+#line 5369 "CollectionPage.c"
}
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_dv_list);
-#line 5360 "CollectionPage.c"
+#line 5373 "CollectionPage.c"
}
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _tmp21_;
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = view_collection_get_selected_at (_tmp22_, 0);
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = _tmp23_;
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = data_view_get_source (_tmp24_);
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, TYPE_DATEABLE, Dateable);
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp24_);
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp22_);
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo_source = _tmp26_;
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = photo_source;
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp28_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp29_ = _tmp28_;
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = view_collection_get_selected_count (_tmp29_);
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = selected_has_videos;
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = only_videos_selected;
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = adjust_date_time_dialog_new (_tmp27_, _tmp30_, TRUE, _tmp31_, _tmp32_);
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_object_ref_sink (_tmp33_);
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = _tmp33_;
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp29_);
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
dialog = _tmp34_;
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp35_ = dialog;
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp39_ = adjust_date_time_dialog_execute (_tmp35_, &_tmp36_, &_tmp37_, &_tmp38_);
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
time_shift = _tmp36_;
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
keep_relativity = _tmp37_;
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
modify_originals = _tmp38_;
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp39_) {
-#line 5414 "CollectionPage.c"
+#line 5427 "CollectionPage.c"
AdjustDateTimePhotosCommand* command = NULL;
ViewCollection* _tmp40_ = NULL;
ViewCollection* _tmp41_ = NULL;
@@ -5424,49 +5437,49 @@ static void collection_page_on_adjust_date_time (CollectionPage* self) {
CommandManager* _tmp49_ = NULL;
CommandManager* _tmp50_ = NULL;
AdjustDateTimePhotosCommand* _tmp51_ = NULL;
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp40_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp41_ = _tmp40_;
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp42_ = view_collection_get_selected (_tmp41_);
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp43_ = _tmp42_;
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp44_ = time_shift;
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp45_ = keep_relativity;
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp46_ = modify_originals;
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/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 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp48_ = _tmp47_;
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp43_);
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp41_);
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp48_;
-#line 610 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp49_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 610 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp50_ = _tmp49_;
-#line 610 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp51_ = command;
-#line 610 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp50_, G_TYPE_CHECK_INSTANCE_CAST (_tmp51_, TYPE_COMMAND, Command));
-#line 610 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp50_);
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 5464 "CollectionPage.c"
+#line 5477 "CollectionPage.c"
}
-#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (dialog);
-#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo_source);
-#line 5470 "CollectionPage.c"
+#line 5483 "CollectionPage.c"
}
@@ -5483,75 +5496,75 @@ static void collection_page_on_external_edit (CollectionPage* self) {
DataSource* _tmp8_ = NULL;
Photo* _tmp9_ = NULL;
GError * _inner_error_ = NULL;
-#line 614 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 612 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ != 1;
-#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 614 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5503 "CollectionPage.c"
+#line 5516 "CollectionPage.c"
}
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected_at (_tmp5_, 0);
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = data_view_get_source (_tmp7_);
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_PHOTO, Photo);
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp9_;
-#line 5523 "CollectionPage.c"
+#line 5536 "CollectionPage.c"
{
AppWindow* _tmp10_ = NULL;
AppWindow* _tmp11_ = NULL;
Photo* _tmp12_ = NULL;
AppWindow* _tmp13_ = NULL;
AppWindow* _tmp14_ = NULL;
-#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = app_window_get_instance ();
-#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_PAGE_WINDOW, PageWindow));
-#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp11_);
-#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = photo;
-#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo_open_with_external_editor (_tmp12_, &_inner_error_);
-#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5544 "CollectionPage.c"
+#line 5557 "CollectionPage.c"
goto __catch231_g_error;
}
-#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = app_window_get_instance ();
-#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = _tmp13_;
-#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_PAGE_WINDOW, PageWindow));
-#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp14_);
-#line 5555 "CollectionPage.c"
+#line 5568 "CollectionPage.c"
}
goto __finally231;
__catch231_g_error:
@@ -5561,44 +5574,44 @@ static void collection_page_on_external_edit (CollectionPage* self) {
AppWindow* _tmp16_ = NULL;
GError* _tmp17_ = NULL;
Photo* _tmp18_ = NULL;
-#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
err = _inner_error_;
-#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_inner_error_ = NULL;
-#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = app_window_get_instance ();
-#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = _tmp15_;
-#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_PAGE_WINDOW, PageWindow));
-#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp16_);
-#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = err;
-#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = photo;
-#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
open_external_editor_error_dialog (_tmp17_, _tmp18_);
-#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_error_free0 (err);
-#line 5585 "CollectionPage.c"
+#line 5598 "CollectionPage.c"
}
__finally231:
-#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 617 "/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 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_clear_error (&_inner_error_);
-#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5598 "CollectionPage.c"
+#line 5611 "CollectionPage.c"
}
-#line 614 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 612 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 5602 "CollectionPage.c"
+#line 5615 "CollectionPage.c"
}
@@ -5617,53 +5630,53 @@ static void collection_page_on_external_edit_raw (CollectionPage* self) {
Photo* _tmp10_ = NULL;
PhotoFileFormat _tmp11_ = 0;
GError * _inner_error_ = NULL;
-#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 627 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ != 1;
-#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5637 "CollectionPage.c"
+#line 5650 "CollectionPage.c"
}
-#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected_at (_tmp5_, 0);
-#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = data_view_get_source (_tmp7_);
-#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_PHOTO, Photo);
-#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp9_;
-#line 634 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 632 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = photo;
-#line 634 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 632 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = photo_get_master_file_format (_tmp10_);
-#line 634 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 632 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp11_ != PHOTO_FILE_FORMAT_RAW) {
-#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5667 "CollectionPage.c"
+#line 5680 "CollectionPage.c"
}
{
AppWindow* _tmp12_ = NULL;
@@ -5671,32 +5684,32 @@ static void collection_page_on_external_edit_raw (CollectionPage* self) {
Photo* _tmp14_ = NULL;
AppWindow* _tmp15_ = NULL;
AppWindow* _tmp16_ = NULL;
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = app_window_get_instance ();
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_PAGE_WINDOW, PageWindow));
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp13_);
-#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = photo;
-#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo_open_with_raw_external_editor (_tmp14_, &_inner_error_);
-#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5689 "CollectionPage.c"
+#line 5702 "CollectionPage.c"
goto __catch232_g_error;
}
-#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = app_window_get_instance ();
-#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = _tmp15_;
-#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_PAGE_WINDOW, PageWindow));
-#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp16_);
-#line 5700 "CollectionPage.c"
+#line 5713 "CollectionPage.c"
}
goto __finally232;
__catch232_g_error:
@@ -5707,48 +5720,48 @@ static void collection_page_on_external_edit_raw (CollectionPage* self) {
GError* _tmp19_ = NULL;
gchar* _tmp20_ = NULL;
gchar* _tmp21_ = NULL;
-#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
err = _inner_error_;
-#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_inner_error_ = NULL;
-#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = app_window_get_instance ();
-#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = _tmp17_;
-#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_PAGE_WINDOW, PageWindow));
-#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp18_);
-#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = err;
-#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = resources_launch_editor_failed (_tmp19_);
-#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = _tmp20_;
-#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
app_window_error_message (_tmp21_, NULL);
-#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (_tmp21_);
-#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_error_free0 (err);
-#line 5735 "CollectionPage.c"
+#line 5748 "CollectionPage.c"
}
__finally232:
-#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/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 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_clear_error (&_inner_error_);
-#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5748 "CollectionPage.c"
+#line 5761 "CollectionPage.c"
}
-#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 627 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 5752 "CollectionPage.c"
+#line 5765 "CollectionPage.c"
}
@@ -5765,58 +5778,60 @@ void collection_page_on_set_background (CollectionPage* self) {
GeeArrayList* _tmp6_ = NULL;
gint _tmp7_ = 0;
gint _tmp8_ = 0;
-#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 646 "/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 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 646 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photos = _tmp0_;
-#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = _tmp1_;
-#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = view_collection_get_selected_sources (_tmp2_);
-#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = photos;
-#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 647 "/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 649 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp2_);
-#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = photos;
-#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _tmp7_;
-#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp8_ == 1) {
-#line 5799 "CollectionPage.c"
+#line 5812 "CollectionPage.c"
SetBackgroundPhotoDialog* dialog = NULL;
SetBackgroundPhotoDialog* _tmp9_ = NULL;
SetBackgroundPhotoDialog* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
gboolean _tmp12_ = FALSE;
gboolean _tmp13_ = FALSE;
-#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 652 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = set_background_photo_dialog_new ();
-#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 652 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ g_object_ref_sink (_tmp9_);
+#line 652 "/home/jens/Source/shotwell/src/CollectionPage.vala"
dialog = _tmp9_;
-#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = dialog;
-#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = set_background_photo_dialog_execute (_tmp10_, &_tmp11_, &_tmp12_);
-#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
desktop = _tmp11_;
-#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
screensaver = _tmp12_;
-#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp13_) {
-#line 5820 "CollectionPage.c"
+#line 5835 "CollectionPage.c"
AppWindow* _tmp14_ = NULL;
AppWindow* _tmp15_ = NULL;
GeeArrayList* _tmp16_ = NULL;
@@ -5826,54 +5841,54 @@ void collection_page_on_set_background (CollectionPage* self) {
gboolean _tmp20_ = FALSE;
AppWindow* _tmp21_ = NULL;
AppWindow* _tmp22_ = NULL;
-#line 656 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = app_window_get_instance ();
-#line 656 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp14_;
-#line 656 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_PAGE_WINDOW, PageWindow));
-#line 656 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp15_);
-#line 657 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = photos;
-#line 657 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 655 "/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 657 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = (LibraryPhoto*) _tmp17_;
-#line 657 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = desktop;
-#line 657 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = screensaver;
-#line 657 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
desktop_integration_set_background (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_PHOTO, Photo), _tmp19_, _tmp20_);
-#line 657 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp18_);
-#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 656 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = app_window_get_instance ();
-#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 656 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _tmp21_;
-#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 656 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_PAGE_WINDOW, PageWindow));
-#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 656 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp22_);
-#line 5860 "CollectionPage.c"
+#line 5875 "CollectionPage.c"
}
-#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- _set_background_dialog_unref0 (dialog);
-#line 5864 "CollectionPage.c"
+#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _g_object_unref0 (dialog);
+#line 5879 "CollectionPage.c"
} else {
GeeArrayList* _tmp23_ = NULL;
gint _tmp24_ = 0;
gint _tmp25_ = 0;
-#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = photos;
-#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = _tmp24_;
-#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp25_ > 1) {
-#line 5877 "CollectionPage.c"
+#line 5892 "CollectionPage.c"
SetBackgroundSlideshowDialog* dialog = NULL;
SetBackgroundSlideshowDialog* _tmp26_ = NULL;
gint delay = 0;
@@ -5882,23 +5897,25 @@ void collection_page_on_set_background (CollectionPage* self) {
gboolean _tmp29_ = FALSE;
gboolean _tmp30_ = FALSE;
gboolean _tmp31_ = FALSE;
-#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = set_background_slideshow_dialog_new ();
-#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ g_object_ref_sink (_tmp26_);
+#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala"
dialog = _tmp26_;
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = dialog;
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = set_background_slideshow_dialog_execute (_tmp27_, &_tmp28_, &_tmp29_, &_tmp30_);
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
delay = _tmp28_;
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
desktop = _tmp29_;
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
screensaver = _tmp30_;
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp31_) {
-#line 5902 "CollectionPage.c"
+#line 5919 "CollectionPage.c"
AppWindow* _tmp32_ = NULL;
AppWindow* _tmp33_ = NULL;
GeeArrayList* _tmp34_ = NULL;
@@ -5907,42 +5924,42 @@ void collection_page_on_set_background (CollectionPage* self) {
gboolean _tmp37_ = FALSE;
AppWindow* _tmp38_ = NULL;
AppWindow* _tmp39_ = NULL;
-#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = app_window_get_instance ();
-#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = _tmp32_;
-#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, TYPE_PAGE_WINDOW, PageWindow));
-#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp33_);
-#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = photos;
-#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp35_ = delay;
-#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp36_ = desktop;
-#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp37_ = screensaver;
-#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 663 "/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 667 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp38_ = app_window_get_instance ();
-#line 667 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp39_ = _tmp38_;
-#line 667 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, TYPE_PAGE_WINDOW, PageWindow));
-#line 667 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp39_);
-#line 5937 "CollectionPage.c"
+#line 5954 "CollectionPage.c"
}
-#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- _set_background_dialog_unref0 (dialog);
-#line 5941 "CollectionPage.c"
+#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _g_object_unref0 (dialog);
+#line 5958 "CollectionPage.c"
}
}
-#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photos);
-#line 5946 "CollectionPage.c"
+#line 5963 "CollectionPage.c"
}
@@ -5982,205 +5999,205 @@ static void collection_page_on_slideshow (CollectionPage* self) {
LibraryPhoto* _tmp38_ = NULL;
SlideshowPage* _tmp39_ = NULL;
SlideshowPage* _tmp40_ = NULL;
-#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 673 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 673 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 673 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 673 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 673 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 673 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 674 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 6002 "CollectionPage.c"
+#line 6019 "CollectionPage.c"
}
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _tmp5_;
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = view_collection_get_selected_count (_tmp6_);
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _tmp7_ > 0;
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp6_);
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp8_) {
-#line 6016 "CollectionPage.c"
+#line 6033 "CollectionPage.c"
ViewCollection* _tmp9_ = NULL;
ViewCollection* _tmp10_ = NULL;
GeeList* _tmp11_ = NULL;
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _tmp9_;
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = view_collection_get_selected_sources_of_type (_tmp10_, TYPE_LIBRARY_PHOTO);
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _tmp11_;
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp10_);
-#line 6032 "CollectionPage.c"
+#line 6049 "CollectionPage.c"
} else {
ViewCollection* _tmp12_ = NULL;
ViewCollection* _tmp13_ = NULL;
GeeList* _tmp14_ = NULL;
-#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = view_collection_get_sources_of_type (_tmp13_, TYPE_LIBRARY_PHOTO);
-#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _tmp14_;
-#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp13_);
-#line 6049 "CollectionPage.c"
+#line 6066 "CollectionPage.c"
}
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _g_object_ref0 (_tmp4_);
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
sources = _tmp15_;
-#line 680 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = sources;
-#line 680 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp17_ == NULL) {
-#line 680 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = TRUE;
-#line 6061 "CollectionPage.c"
+#line 6078 "CollectionPage.c"
} else {
GeeList* _tmp18_ = NULL;
gint _tmp19_ = 0;
gint _tmp20_ = 0;
-#line 680 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = sources;
-#line 680 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 680 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = _tmp19_;
-#line 680 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = _tmp20_ == 0;
-#line 6074 "CollectionPage.c"
+#line 6091 "CollectionPage.c"
}
-#line 680 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp16_) {
-#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (sources);
-#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 6084 "CollectionPage.c"
+#line 6101 "CollectionPage.c"
}
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _tmp21_;
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = sources;
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = gee_list_get (_tmp23_, 0);
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = (DataSource*) _tmp24_;
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = view_collection_get_view_for_source (_tmp22_, _tmp25_);
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, TYPE_THUMBNAIL, Thumbnail);
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp25_);
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp22_);
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
thumbnail = _tmp27_;
-#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp28_ = thumbnail;
-#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp28_ == NULL) {
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (sources);
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 6118 "CollectionPage.c"
+#line 6135 "CollectionPage.c"
}
-#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp29_ = thumbnail;
-#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = thumbnail_get_media_source (_tmp29_);
-#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp30_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp30_) : NULL;
-#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp31_ == NULL) {
-#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp30_);
-#line 6130 "CollectionPage.c"
+#line 6147 "CollectionPage.c"
}
-#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp31_;
-#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 686 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = photo;
-#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 686 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp32_ == NULL) {
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (sources);
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 6148 "CollectionPage.c"
+#line 6165 "CollectionPage.c"
}
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = app_window_get_instance ();
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = _tmp33_;
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp35_ = library_photo_global;
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp36_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp37_ = _tmp36_;
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp38_ = photo;
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/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 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_object_ref_sink (_tmp39_);
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp40_ = _tmp39_;
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
app_window_go_fullscreen (_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, TYPE_PAGE, Page));
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp40_);
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp37_);
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp34_);
-#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (sources);
-#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 6184 "CollectionPage.c"
+#line 6201 "CollectionPage.c"
}
@@ -6194,49 +6211,49 @@ static gboolean collection_page_real_on_ctrl_pressed (Page* base, GdkEventKey* e
GtkToolButton* _tmp3_ = NULL;
GdkEventKey* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
-#line 695 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 693 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder;
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = gtk_builder_get_object (_tmp0_, "ToolRotate");
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/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 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
rotate_button = _tmp2_;
-#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = rotate_button;
-#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_ != NULL) {
-#line 6212 "CollectionPage.c"
+#line 6229 "CollectionPage.c"
GtkToolButton* _tmp4_ = NULL;
GtkToolButton* _tmp5_ = NULL;
GtkToolButton* _tmp6_ = NULL;
-#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = rotate_button;
-#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/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 699 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = rotate_button;
-#line 699 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala"
gtk_tool_button_set_icon_name (_tmp5_, "object-rotate-left");
-#line 700 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = rotate_button;
-#line 700 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 698 "/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 6228 "CollectionPage.c"
+#line 6245 "CollectionPage.c"
}
-#line 703 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = event;
-#line 703 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 701 "/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 703 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp8_;
-#line 703 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (rotate_button);
-#line 703 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 6240 "CollectionPage.c"
+#line 6257 "CollectionPage.c"
}
@@ -6250,56 +6267,56 @@ static gboolean collection_page_real_on_ctrl_released (Page* base, GdkEventKey*
GtkToolButton* _tmp3_ = NULL;
GdkEventKey* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
-#line 706 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 704 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 707 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 705 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder;
-#line 707 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 705 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = gtk_builder_get_object (_tmp0_, "ToolRotate");
-#line 707 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 705 "/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 707 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 705 "/home/jens/Source/shotwell/src/CollectionPage.vala"
rotate_button = _tmp2_;
-#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 706 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = rotate_button;
-#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 706 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_ != NULL) {
-#line 6268 "CollectionPage.c"
+#line 6285 "CollectionPage.c"
GtkToolButton* _tmp4_ = NULL;
GtkToolButton* _tmp5_ = NULL;
GtkToolButton* _tmp6_ = NULL;
-#line 709 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 707 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = rotate_button;
-#line 709 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 707 "/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 710 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = rotate_button;
-#line 710 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
gtk_tool_button_set_icon_name (_tmp5_, "object-rotate-right");
-#line 711 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 709 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = rotate_button;
-#line 711 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 709 "/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 6284 "CollectionPage.c"
+#line 6301 "CollectionPage.c"
}
-#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = event;
-#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 712 "/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 714 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp8_;
-#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (rotate_button);
-#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 6296 "CollectionPage.c"
+#line 6313 "CollectionPage.c"
}
static gpointer _view_filter_ref0 (gpointer self) {
-#line 718 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 716 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return self ? view_filter_ref (self) : NULL;
-#line 6303 "CollectionPage.c"
+#line 6320 "CollectionPage.c"
}
@@ -6308,17 +6325,17 @@ static SearchViewFilter* collection_page_real_get_search_view_filter (Checkerboa
SearchViewFilter* result = NULL;
CollectionPageCollectionSearchViewFilter* _tmp0_ = NULL;
SearchViewFilter* _tmp1_ = NULL;
-#line 717 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 715 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 718 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 716 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = self->priv->search_filter;
-#line 718 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 716 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _view_filter_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
-#line 718 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 716 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp1_;
-#line 718 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 716 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 6322 "CollectionPage.c"
+#line 6339 "CollectionPage.c"
}
@@ -6331,7 +6348,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 6335 "CollectionPage.c"
+#line 6352 "CollectionPage.c"
}
@@ -6341,14 +6358,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 6345 "CollectionPage.c"
+#line 6362 "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 6352 "CollectionPage.c"
+#line 6369 "CollectionPage.c"
}
@@ -6357,7 +6374,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 6361 "CollectionPage.c"
+#line 6378 "CollectionPage.c"
}
@@ -6408,7 +6425,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 6412 "CollectionPage.c"
+#line 6429 "CollectionPage.c"
}
@@ -6422,7 +6439,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 6426 "CollectionPage.c"
+#line 6443 "CollectionPage.c"
}
@@ -6436,7 +6453,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 6440 "CollectionPage.c"
+#line 6457 "CollectionPage.c"
}