summaryrefslogtreecommitdiff
path: root/src/CollectionPage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/CollectionPage.c')
-rw-r--r--src/CollectionPage.c3612
1 files changed, 1832 insertions, 1780 deletions
diff --git a/src/CollectionPage.c b/src/CollectionPage.c
index c778508..afd1659 100644
--- a/src/CollectionPage.c
+++ b/src/CollectionPage.c
@@ -1,4 +1,4 @@
-/* CollectionPage.c generated by valac 0.32.1, the Vala compiler
+/* CollectionPage.c generated by valac 0.34.4, the Vala compiler
* generated from CollectionPage.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -12,9 +12,9 @@
#include <gtk/gtk.h>
#include <stdlib.h>
#include <string.h>
+#include <gio/gio.h>
#include <gee.h>
#include <gdk/gdk.h>
-#include <gio/gio.h>
#include <float.h>
#include <math.h>
#include <glib/gi18n-lib.h>
@@ -311,16 +311,6 @@ typedef struct _MediaPageZoomSliderAssembly MediaPageZoomSliderAssembly;
typedef struct _MediaPageZoomSliderAssemblyClass MediaPageZoomSliderAssemblyClass;
#define _injection_group_unref0(var) ((var == NULL) ? NULL : (var = (injection_group_unref (var), NULL)))
-#define TYPE_APP_WINDOW (app_window_get_type ())
-#define APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_APP_WINDOW, AppWindow))
-#define APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_APP_WINDOW, AppWindowClass))
-#define IS_APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_APP_WINDOW))
-#define IS_APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_APP_WINDOW))
-#define APP_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_APP_WINDOW, AppWindowClass))
-
-typedef struct _AppWindow AppWindow;
-typedef struct _AppWindowClass AppWindowClass;
-
#define TYPE_THUMBNAIL_SOURCE (thumbnail_source_get_type ())
#define THUMBNAIL_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_THUMBNAIL_SOURCE, ThumbnailSource))
#define THUMBNAIL_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_THUMBNAIL_SOURCE, ThumbnailSourceClass))
@@ -341,6 +331,16 @@ typedef struct _ThumbnailSourceClass ThumbnailSourceClass;
typedef struct _MediaSource MediaSource;
typedef struct _MediaSourceClass MediaSourceClass;
+#define TYPE_APP_WINDOW (app_window_get_type ())
+#define APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_APP_WINDOW, AppWindow))
+#define APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_APP_WINDOW, AppWindowClass))
+#define IS_APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_APP_WINDOW))
+#define IS_APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_APP_WINDOW))
+#define APP_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_APP_WINDOW, AppWindowClass))
+
+typedef struct _AppWindow AppWindow;
+typedef struct _AppWindowClass AppWindowClass;
+
#define TYPE_VIDEO_SOURCE (video_source_get_type ())
#define VIDEO_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_VIDEO_SOURCE, VideoSource))
#define VIDEO_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_VIDEO_SOURCE, VideoSourceClass))
@@ -750,7 +750,8 @@ struct _PageClass {
void (*ready) (Page* self);
void (*switching_to_fullscreen) (Page* self, FullscreenWindow* fsw);
void (*returning_from_fullscreen) (Page* self, FullscreenWindow* fsw);
- void (*add_actions) (Page* self);
+ void (*add_actions) (Page* self, GActionMap* map);
+ void (*remove_actions) (Page* self, GActionMap* map);
void (*init_collect_ui_filenames) (Page* self, GeeList* ui_filenames);
InjectionGroup** (*init_collect_injection_groups) (Page* self, int* result_length1);
void (*init_actions) (Page* self, gint selected_count, gint count);
@@ -1160,10 +1161,10 @@ static InjectionGroup* collection_page_create_photos_menu_date_injectables (void
static InjectionGroup* collection_page_create_photos_menu_externals_injectables (void);
static void collection_page_real_init_collect_ui_filenames (Page* base, GeeList* ui_filenames);
void page_init_collect_ui_filenames (Page* self, GeeList* ui_filenames);
-static void collection_page_real_add_actions (Page* base);
-void page_add_actions (Page* self);
-GType app_window_get_type (void) G_GNUC_CONST;
-AppWindow* app_window_get_instance (void);
+static void collection_page_real_add_actions (Page* base, GActionMap* map);
+void page_add_actions (Page* self, GActionMap* map);
+static void collection_page_real_remove_actions (Page* base, GActionMap* map);
+void page_remove_actions (Page* self, GActionMap* map);
static InjectionGroup** collection_page_real_init_collect_injection_groups (Page* base, int* result_length1);
InjectionGroup** page_init_collect_injection_groups (Page* self, int* result_length1);
static void _vala_array_add76 (InjectionGroup*** array, int* length, int* size, InjectionGroup* value);
@@ -1189,6 +1190,8 @@ void page_set_action_short_label (Page* self, const gchar* name, const gchar* sh
#define RESOURCES_PUBLISH_LABEL _ ("Publish")
void page_set_action_important (Page* self, const gchar* name, gboolean important);
static void collection_page_real_update_actions (Page* base, gint selected_count, gint count);
+GType app_window_get_type (void) G_GNUC_CONST;
+AppWindow* app_window_get_instance (void);
Page* page_window_get_current_page (PageWindow* self);
void page_update_actions (Page* self, gint selected_count, gint count);
DataView* view_collection_get_selected_at (ViewCollection* self, gint index);
@@ -1383,7 +1386,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 1387 "CollectionPage.c"
+#line 1390 "CollectionPage.c"
}
@@ -1405,14 +1408,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 1409 "CollectionPage.c"
+#line 1412 "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 1416 "CollectionPage.c"
+#line 1419 "CollectionPage.c"
}
@@ -1436,7 +1439,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 1440 "CollectionPage.c"
+#line 1443 "CollectionPage.c"
}
@@ -1449,14 +1452,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 1453 "CollectionPage.c"
+#line 1456 "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 1460 "CollectionPage.c"
+#line 1463 "CollectionPage.c"
}
@@ -1468,7 +1471,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 1472 "CollectionPage.c"
+#line 1475 "CollectionPage.c"
}
@@ -1487,126 +1490,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 1491 "CollectionPage.c"
+#line 1494 "CollectionPage.c"
}
static void _collection_page_on_publish_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_publish ((CollectionPage*) self);
-#line 1498 "CollectionPage.c"
+#line 1501 "CollectionPage.c"
}
static void _collection_page_on_rotate_clockwise_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_rotate_clockwise ((CollectionPage*) self);
-#line 1505 "CollectionPage.c"
+#line 1508 "CollectionPage.c"
}
static void _collection_page_on_rotate_counterclockwise_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_rotate_counterclockwise ((CollectionPage*) self);
-#line 1512 "CollectionPage.c"
+#line 1515 "CollectionPage.c"
}
static void _collection_page_on_flip_horizontally_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_flip_horizontally ((CollectionPage*) self);
-#line 1519 "CollectionPage.c"
+#line 1522 "CollectionPage.c"
}
static void _collection_page_on_flip_vertically_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_flip_vertically ((CollectionPage*) self);
-#line 1526 "CollectionPage.c"
+#line 1529 "CollectionPage.c"
}
static void _collection_page_on_enhance_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_enhance ((CollectionPage*) self);
-#line 1533 "CollectionPage.c"
+#line 1536 "CollectionPage.c"
}
static void _collection_page_on_copy_adjustments_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_copy_adjustments ((CollectionPage*) self);
-#line 1540 "CollectionPage.c"
+#line 1543 "CollectionPage.c"
}
static void _collection_page_on_paste_adjustments_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_paste_adjustments ((CollectionPage*) self);
-#line 1547 "CollectionPage.c"
+#line 1550 "CollectionPage.c"
}
static void _collection_page_on_revert_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_revert ((CollectionPage*) self);
-#line 1554 "CollectionPage.c"
+#line 1557 "CollectionPage.c"
}
static void _collection_page_on_set_background_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_set_background ((CollectionPage*) self);
-#line 1561 "CollectionPage.c"
+#line 1564 "CollectionPage.c"
}
static void _collection_page_on_duplicate_photo_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_duplicate_photo ((CollectionPage*) self);
-#line 1568 "CollectionPage.c"
+#line 1571 "CollectionPage.c"
}
static void _collection_page_on_adjust_date_time_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_adjust_date_time ((CollectionPage*) self);
-#line 1575 "CollectionPage.c"
+#line 1578 "CollectionPage.c"
}
static void _collection_page_on_external_edit_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_external_edit ((CollectionPage*) self);
-#line 1582 "CollectionPage.c"
+#line 1585 "CollectionPage.c"
}
static void _collection_page_on_external_edit_raw_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_external_edit_raw ((CollectionPage*) self);
-#line 1589 "CollectionPage.c"
+#line 1592 "CollectionPage.c"
}
static void _collection_page_on_slideshow_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_slideshow ((CollectionPage*) self);
-#line 1596 "CollectionPage.c"
+#line 1599 "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 1603 "CollectionPage.c"
+#line 1606 "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 1610 "CollectionPage.c"
+#line 1613 "CollectionPage.c"
}
@@ -1647,7 +1650,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 1651 "CollectionPage.c"
+#line 1654 "CollectionPage.c"
}
@@ -1663,7 +1666,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 1667 "CollectionPage.c"
+#line 1670 "CollectionPage.c"
GtkToolbar* _tmp1_ = NULL;
GtkToolbar* _tmp2_ = NULL;
GtkSeparatorToolItem* separator = NULL;
@@ -1764,7 +1767,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 1768 "CollectionPage.c"
+#line 1771 "CollectionPage.c"
}
#line 68 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->toolbar;
@@ -1774,7 +1777,7 @@ static GtkToolbar* collection_page_real_get_toolbar (Page* base) {
result = _tmp21_;
#line 68 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1778 "CollectionPage.c"
+#line 1781 "CollectionPage.c"
}
@@ -1812,7 +1815,7 @@ static InjectionGroup* collection_page_create_file_menu_injectables (void) {
result = group;
#line 80 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1816 "CollectionPage.c"
+#line 1819 "CollectionPage.c"
}
@@ -1833,7 +1836,7 @@ static InjectionGroup* collection_page_create_edit_menu_injectables (void) {
result = group;
#line 88 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1837 "CollectionPage.c"
+#line 1840 "CollectionPage.c"
}
@@ -1861,7 +1864,7 @@ static InjectionGroup* collection_page_create_view_menu_fullscreen_injectables (
result = group;
#line 98 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1865 "CollectionPage.c"
+#line 1868 "CollectionPage.c"
}
@@ -1921,7 +1924,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 1925 "CollectionPage.c"
+#line 1928 "CollectionPage.c"
}
@@ -1942,7 +1945,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 1946 "CollectionPage.c"
+#line 1949 "CollectionPage.c"
}
@@ -1973,7 +1976,7 @@ static InjectionGroup* collection_page_create_photos_menu_externals_injectables
result = group;
#line 145 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1977 "CollectionPage.c"
+#line 1980 "CollectionPage.c"
}
@@ -1993,129 +1996,176 @@ 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 1997 "CollectionPage.c"
+#line 2000 "CollectionPage.c"
}
-static void collection_page_real_add_actions (Page* base) {
+static void collection_page_real_add_actions (Page* base, GActionMap* map) {
CollectionPage * self;
- AppWindow* _tmp0_ = NULL;
- AppWindow* _tmp1_ = NULL;
+ GActionMap* _tmp0_ = NULL;
+ GActionMap* _tmp1_ = NULL;
#line 173 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
+#line 173 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ g_return_if_fail (G_IS_ACTION_MAP (map));
#line 174 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- PAGE_CLASS (collection_page_parent_class)->add_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page));
-#line 176 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- _tmp0_ = app_window_get_instance ();
-#line 176 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- _tmp1_ = _tmp0_;
+ _tmp0_ = map;
+#line 174 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ PAGE_CLASS (collection_page_parent_class)->add_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page), _tmp0_);
#line 176 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- 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);
+ _tmp1_ = map;
#line 176 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- _g_object_unref0 (_tmp1_);
-#line 2017 "CollectionPage.c"
+ g_action_map_add_action_entries (_tmp1_, COLLECTION_PAGE_entries, G_N_ELEMENTS (COLLECTION_PAGE_entries), self);
+#line 2020 "CollectionPage.c"
}
-static void _vala_array_add76 (InjectionGroup*** array, int* length, int* size, InjectionGroup* value) {
+static void collection_page_real_remove_actions (Page* base, GActionMap* map) {
+ CollectionPage * self;
+ GActionMap* _tmp0_ = NULL;
+#line 179 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
+#line 179 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ g_return_if_fail (G_IS_ACTION_MAP (map));
+#line 180 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp0_ = map;
+#line 180 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ PAGE_CLASS (collection_page_parent_class)->remove_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page), _tmp0_);
+#line 2035 "CollectionPage.c"
+ {
+ GActionEntry* entry_collection = NULL;
+ gint entry_collection_length1 = 0;
+ gint _entry_collection_size_ = 0;
+ gint entry_it = 0;
+#line 181 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ entry_collection = COLLECTION_PAGE_entries;
+#line 181 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ entry_collection_length1 = G_N_ELEMENTS (COLLECTION_PAGE_entries);
+#line 181 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ for (entry_it = 0; entry_it < G_N_ELEMENTS (COLLECTION_PAGE_entries); entry_it = entry_it + 1) {
+#line 2047 "CollectionPage.c"
+ GActionEntry entry = {0};
+#line 181 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ entry = entry_collection[entry_it];
+#line 2051 "CollectionPage.c"
+ {
+ GActionMap* _tmp1_ = NULL;
+ GActionEntry _tmp2_ = {0};
+ const gchar* _tmp3_ = NULL;
#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- if ((*length) == (*size)) {
+ _tmp1_ = map;
#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- *size = (*size) ? (2 * (*size)) : 4;
+ _tmp2_ = entry;
+#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp3_ = _tmp2_.name;
#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ g_action_map_remove_action (_tmp1_, _tmp3_);
+#line 2064 "CollectionPage.c"
+ }
+ }
+ }
+}
+
+
+static void _vala_array_add76 (InjectionGroup*** array, int* length, int* size, InjectionGroup* value) {
+#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ if ((*length) == (*size)) {
+#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ *size = (*size) ? (2 * (*size)) : 4;
+#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2028 "CollectionPage.c"
+#line 2078 "CollectionPage.c"
}
-#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
-#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2034 "CollectionPage.c"
+#line 2084 "CollectionPage.c"
}
static void _vala_array_add77 (InjectionGroup*** array, int* length, int* size, InjectionGroup* value) {
-#line 183 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 190 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if ((*length) == (*size)) {
-#line 183 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 190 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 183 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 190 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2045 "CollectionPage.c"
+#line 2095 "CollectionPage.c"
}
-#line 183 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 190 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
-#line 183 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 190 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2051 "CollectionPage.c"
+#line 2101 "CollectionPage.c"
}
static void _vala_array_add78 (InjectionGroup*** array, int* length, int* size, InjectionGroup* value) {
-#line 184 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 191 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if ((*length) == (*size)) {
-#line 184 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 191 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 184 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 191 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2062 "CollectionPage.c"
+#line 2112 "CollectionPage.c"
}
-#line 184 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 191 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
-#line 184 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 191 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2068 "CollectionPage.c"
+#line 2118 "CollectionPage.c"
}
static void _vala_array_add79 (InjectionGroup*** array, int* length, int* size, InjectionGroup* value) {
-#line 185 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 192 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if ((*length) == (*size)) {
-#line 185 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 192 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 185 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 192 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2079 "CollectionPage.c"
+#line 2129 "CollectionPage.c"
}
-#line 185 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 192 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
-#line 185 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 192 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2085 "CollectionPage.c"
+#line 2135 "CollectionPage.c"
}
static void _vala_array_add80 (InjectionGroup*** array, int* length, int* size, InjectionGroup* value) {
-#line 186 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if ((*length) == (*size)) {
-#line 186 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 186 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2096 "CollectionPage.c"
+#line 2146 "CollectionPage.c"
}
-#line 186 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
-#line 186 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2102 "CollectionPage.c"
+#line 2152 "CollectionPage.c"
}
static void _vala_array_add81 (InjectionGroup*** array, int* length, int* size, InjectionGroup* value) {
-#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 194 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if ((*length) == (*size)) {
-#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 194 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 194 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2113 "CollectionPage.c"
+#line 2163 "CollectionPage.c"
}
-#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 194 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
-#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 194 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2119 "CollectionPage.c"
+#line 2169 "CollectionPage.c"
}
@@ -2147,79 +2197,79 @@ static InjectionGroup** collection_page_real_init_collect_injection_groups (Page
InjectionGroup* _tmp13_ = NULL;
InjectionGroup** _tmp14_ = NULL;
gint _tmp14__length1 = 0;
-#line 179 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 186 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 180 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = PAGE_CLASS (collection_page_parent_class)->init_collect_injection_groups (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page), &_tmp0_);
-#line 180 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
groups = _tmp1_;
-#line 180 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
groups_length1 = _tmp0_;
-#line 180 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_groups_size_ = groups_length1;
-#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = groups;
-#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2__length1 = groups_length1;
-#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = collection_page_create_file_menu_injectables ();
-#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_vala_array_add76 (&groups, &groups_length1, &_groups_size_, _tmp3_);
-#line 183 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 190 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = groups;
-#line 183 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 190 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4__length1 = groups_length1;
-#line 183 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 190 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = collection_page_create_edit_menu_injectables ();
-#line 183 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 190 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_vala_array_add77 (&groups, &groups_length1, &_groups_size_, _tmp5_);
-#line 184 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 191 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = groups;
-#line 184 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 191 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6__length1 = groups_length1;
-#line 184 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 191 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = collection_page_create_view_menu_fullscreen_injectables ();
-#line 184 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 191 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_vala_array_add78 (&groups, &groups_length1, &_groups_size_, _tmp7_);
-#line 185 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 192 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = groups;
-#line 185 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 192 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8__length1 = groups_length1;
-#line 185 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 192 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = collection_page_create_photos_menu_edits_injectables ();
-#line 185 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 192 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_vala_array_add79 (&groups, &groups_length1, &_groups_size_, _tmp9_);
-#line 186 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = groups;
-#line 186 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10__length1 = groups_length1;
-#line 186 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = collection_page_create_photos_menu_date_injectables ();
-#line 186 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_vala_array_add80 (&groups, &groups_length1, &_groups_size_, _tmp11_);
-#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 194 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = groups;
-#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 194 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12__length1 = groups_length1;
-#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 194 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = collection_page_create_photos_menu_externals_injectables ();
-#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 194 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_vala_array_add81 (&groups, &groups_length1, &_groups_size_, _tmp13_);
-#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = groups;
-#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14__length1 = groups_length1;
-#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (result_length1) {
-#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*result_length1 = _tmp14__length1;
-#line 2217 "CollectionPage.c"
+#line 2267 "CollectionPage.c"
}
-#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp14_;
-#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 2223 "CollectionPage.c"
+#line 2273 "CollectionPage.c"
}
@@ -2231,29 +2281,29 @@ static gboolean collection_page_selection_has_video (CollectionPage* self) {
GeeCollection* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
gboolean _tmp5_ = FALSE;
-#line 192 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 199 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_val_if_fail (IS_COLLECTION_PAGE (self), FALSE);
-#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_sources (_tmp1_);
-#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = media_source_collection_has_video (_tmp3_);
-#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp3_);
-#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp5_;
-#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 2257 "CollectionPage.c"
+#line 2307 "CollectionPage.c"
}
@@ -2265,29 +2315,29 @@ static gboolean collection_page_page_has_photo (CollectionPage* self) {
GeeCollection* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
gboolean _tmp5_ = FALSE;
-#line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 203 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_val_if_fail (IS_COLLECTION_PAGE (self), FALSE);
-#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_sources (_tmp1_);
-#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = media_source_collection_has_photo (_tmp3_);
-#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp3_);
-#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp5_;
-#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 2291 "CollectionPage.c"
+#line 2341 "CollectionPage.c"
}
@@ -2299,29 +2349,29 @@ static gboolean collection_page_selection_has_photo (CollectionPage* self) {
GeeCollection* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
gboolean _tmp5_ = FALSE;
-#line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 207 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_val_if_fail (IS_COLLECTION_PAGE (self), FALSE);
-#line 201 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 201 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 201 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_sources (_tmp1_);
-#line 201 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 201 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = media_source_collection_has_photo (_tmp3_);
-#line 201 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 201 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp3_);
-#line 201 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 201 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp5_;
-#line 201 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 2325 "CollectionPage.c"
+#line 2375 "CollectionPage.c"
}
@@ -2329,29 +2379,29 @@ static void collection_page_real_init_actions (Page* base, gint selected_count,
CollectionPage * self;
gint _tmp0_ = 0;
gint _tmp1_ = 0;
-#line 204 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 211 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 205 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 212 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = selected_count;
-#line 205 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 212 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = count;
-#line 205 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 212 "/home/jens/Source/shotwell/src/CollectionPage.vala"
PAGE_CLASS (collection_page_parent_class)->init_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page), _tmp0_, _tmp1_);
-#line 207 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 214 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_short_label (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateClockwise", RESOURCES_ROTATE_CW_LABEL);
-#line 208 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 215 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_short_label (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateCounterclockwise", RESOURCES_ROTATE_CCW_LABEL);
-#line 209 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 216 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_short_label (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Publish", RESOURCES_PUBLISH_LABEL);
-#line 211 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 218 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_important (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateClockwise", TRUE);
-#line 212 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 219 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_important (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateCounterclockwise", TRUE);
-#line 213 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 220 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_important (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Enhance", TRUE);
-#line 214 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 221 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_important (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Publish", TRUE);
-#line 2355 "CollectionPage.c"
+#line 2405 "CollectionPage.c"
}
@@ -2413,49 +2463,49 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
gboolean _tmp92_ = FALSE;
gboolean _tmp93_ = FALSE;
gboolean _tmp95_ = FALSE;
-#line 217 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 224 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 219 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = app_window_get_instance ();
-#line 219 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 219 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_PAGE_WINDOW, PageWindow));
-#line 219 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 219 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _tmp3_ != G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page);
-#line 219 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp3_);
-#line 219 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp1_);
-#line 219 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp4_) {
-#line 220 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 227 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 2437 "CollectionPage.c"
+#line 2487 "CollectionPage.c"
}
-#line 223 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 230 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = selected_count;
-#line 223 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 230 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = count;
-#line 223 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 230 "/home/jens/Source/shotwell/src/CollectionPage.vala"
PAGE_CLASS (collection_page_parent_class)->update_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page), _tmp5_, _tmp6_);
-#line 225 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = selected_count;
-#line 225 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala"
one_selected = _tmp7_ == 1;
-#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 233 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = selected_count;
-#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 233 "/home/jens/Source/shotwell/src/CollectionPage.vala"
has_selected = _tmp8_ > 0;
-#line 228 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 235 "/home/jens/Source/shotwell/src/CollectionPage.vala"
primary_is_video = FALSE;
-#line 229 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 236 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = has_selected;
-#line 229 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 236 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp9_) {
-#line 2459 "CollectionPage.c"
+#line 2509 "CollectionPage.c"
ViewCollection* _tmp10_ = NULL;
ViewCollection* _tmp11_ = NULL;
DataView* _tmp12_ = NULL;
@@ -2463,116 +2513,116 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
DataSource* _tmp14_ = NULL;
DataSource* _tmp15_ = NULL;
gboolean _tmp16_ = FALSE;
-#line 230 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 230 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 230 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = view_collection_get_selected_at (_tmp11_, 0);
-#line 230 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 230 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = data_view_get_source (_tmp13_);
-#line 230 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp14_;
-#line 230 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp15_, TYPE_VIDEO);
-#line 230 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp15_);
-#line 230 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp13_);
-#line 230 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp11_);
-#line 230 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp16_) {
-#line 231 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala"
primary_is_video = TRUE;
-#line 2491 "CollectionPage.c"
+#line 2541 "CollectionPage.c"
}
}
-#line 233 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 240 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = collection_page_selection_has_video (self);
-#line 233 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 240 "/home/jens/Source/shotwell/src/CollectionPage.vala"
selection_has_videos = _tmp17_;
-#line 234 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = collection_page_page_has_photo (self);
-#line 234 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_has_photos = _tmp18_;
-#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 245 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = has_selected;
-#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 245 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp20_) {
-#line 2506 "CollectionPage.c"
+#line 2556 "CollectionPage.c"
gboolean _tmp21_ = FALSE;
-#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 245 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = selection_has_videos;
-#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 245 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = !_tmp21_;
-#line 2512 "CollectionPage.c"
+#line 2562 "CollectionPage.c"
} else {
-#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 245 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = FALSE;
-#line 2516 "CollectionPage.c"
+#line 2566 "CollectionPage.c"
}
-#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 245 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Duplicate", _tmp19_);
-#line 239 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 246 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = primary_is_video;
-#line 239 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 246 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_visible (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEdit", !_tmp22_);
-#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = one_selected;
-#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp24_) {
-#line 2528 "CollectionPage.c"
+#line 2578 "CollectionPage.c"
ConfigFacade* _tmp25_ = NULL;
ConfigFacade* _tmp26_ = NULL;
gchar* _tmp27_ = NULL;
gchar* _tmp28_ = NULL;
gboolean _tmp29_ = FALSE;
-#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = config_facade_get_instance ();
-#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = _tmp25_;
-#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = configuration_facade_get_external_photo_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp28_ = _tmp27_;
-#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp29_ = is_string_empty (_tmp28_);
-#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = !_tmp29_;
-#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (_tmp28_);
-#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp26_);
-#line 2550 "CollectionPage.c"
+#line 2600 "CollectionPage.c"
} else {
-#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = FALSE;
-#line 2554 "CollectionPage.c"
+#line 2604 "CollectionPage.c"
}
-#line 240 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEdit", _tmp23_);
-#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = one_selected;
-#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp33_) {
-#line 2562 "CollectionPage.c"
+#line 2612 "CollectionPage.c"
gboolean _tmp34_ = FALSE;
-#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = primary_is_video;
-#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = !_tmp34_;
-#line 2568 "CollectionPage.c"
+#line 2618 "CollectionPage.c"
} else {
-#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = FALSE;
-#line 2572 "CollectionPage.c"
+#line 2622 "CollectionPage.c"
}
-#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp32_) {
-#line 2576 "CollectionPage.c"
+#line 2626 "CollectionPage.c"
ViewCollection* _tmp35_ = NULL;
ViewCollection* _tmp36_ = NULL;
DataView* _tmp37_ = NULL;
@@ -2580,121 +2630,121 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
DataSource* _tmp39_ = NULL;
Photo* _tmp40_ = NULL;
PhotoFileFormat _tmp41_ = 0;
-#line 244 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp35_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 244 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp36_ = _tmp35_;
-#line 244 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp37_ = view_collection_get_selected_at (_tmp36_, 0);
-#line 244 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp38_ = _tmp37_;
-#line 244 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp39_ = data_view_get_source (_tmp38_);
-#line 244 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp40_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, TYPE_PHOTO, Photo);
-#line 244 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp41_ = photo_get_master_file_format (_tmp40_);
-#line 244 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = _tmp41_ == PHOTO_FILE_FORMAT_RAW;
-#line 244 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp40_);
-#line 244 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp38_);
-#line 244 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp36_);
-#line 2606 "CollectionPage.c"
+#line 2656 "CollectionPage.c"
} else {
-#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = FALSE;
-#line 2610 "CollectionPage.c"
+#line 2660 "CollectionPage.c"
}
-#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp31_) {
-#line 2614 "CollectionPage.c"
+#line 2664 "CollectionPage.c"
ConfigFacade* _tmp42_ = NULL;
ConfigFacade* _tmp43_ = NULL;
gchar* _tmp44_ = NULL;
gchar* _tmp45_ = NULL;
gboolean _tmp46_ = FALSE;
-#line 246 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp42_ = config_facade_get_instance ();
-#line 246 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp43_ = _tmp42_;
-#line 246 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp44_ = configuration_facade_get_external_raw_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 246 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp45_ = _tmp44_;
-#line 246 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp46_ = is_string_empty (_tmp45_);
-#line 246 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = !_tmp46_;
-#line 246 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (_tmp45_);
-#line 246 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp43_);
-#line 2636 "CollectionPage.c"
+#line 2686 "CollectionPage.c"
} else {
-#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = FALSE;
-#line 2640 "CollectionPage.c"
+#line 2690 "CollectionPage.c"
}
-#line 242 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_visible (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEditRAW", _tmp30_);
-#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp48_ = selection_has_videos;
-#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp48_) {
-#line 2648 "CollectionPage.c"
+#line 2698 "CollectionPage.c"
gboolean _tmp49_ = FALSE;
-#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp49_ = collection_page_can_revert_selected (self);
-#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp47_ = _tmp49_;
-#line 2654 "CollectionPage.c"
+#line 2704 "CollectionPage.c"
} else {
-#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp47_ = FALSE;
-#line 2658 "CollectionPage.c"
+#line 2708 "CollectionPage.c"
}
-#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Revert", _tmp47_);
-#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp51_ = selection_has_videos;
-#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp51_) {
-#line 2666 "CollectionPage.c"
+#line 2716 "CollectionPage.c"
gboolean _tmp52_ = FALSE;
-#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp52_ = has_selected;
-#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp50_ = _tmp52_;
-#line 2672 "CollectionPage.c"
+#line 2722 "CollectionPage.c"
} else {
-#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp50_ = FALSE;
-#line 2676 "CollectionPage.c"
+#line 2726 "CollectionPage.c"
}
-#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Enhance", _tmp50_);
-#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp55_ = selection_has_videos;
-#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp55_) {
-#line 2684 "CollectionPage.c"
+#line 2734 "CollectionPage.c"
gboolean _tmp56_ = FALSE;
-#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp56_ = one_selected;
-#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp54_ = _tmp56_;
-#line 2690 "CollectionPage.c"
+#line 2740 "CollectionPage.c"
} else {
-#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp54_ = FALSE;
-#line 2694 "CollectionPage.c"
+#line 2744 "CollectionPage.c"
}
-#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp54_) {
-#line 2698 "CollectionPage.c"
+#line 2748 "CollectionPage.c"
ViewCollection* _tmp57_ = NULL;
ViewCollection* _tmp58_ = NULL;
DataView* _tmp59_ = NULL;
@@ -2702,259 +2752,259 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
DataSource* _tmp61_ = NULL;
Photo* _tmp62_ = NULL;
gboolean _tmp63_ = FALSE;
-#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp57_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp58_ = _tmp57_;
-#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp59_ = view_collection_get_selected_at (_tmp58_, 0);
-#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp60_ = _tmp59_;
-#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp61_ = data_view_get_source (_tmp60_);
-#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp62_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, TYPE_PHOTO, Photo);
-#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp63_ = photo_has_color_adjustments (_tmp62_);
-#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp53_ = _tmp63_;
-#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp62_);
-#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp60_);
-#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp58_);
-#line 2728 "CollectionPage.c"
+#line 2778 "CollectionPage.c"
} else {
-#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp53_ = FALSE;
-#line 2732 "CollectionPage.c"
+#line 2782 "CollectionPage.c"
}
-#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "CopyColorAdjustments", _tmp53_);
-#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp66_ = selection_has_videos;
-#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp66_) {
-#line 2740 "CollectionPage.c"
+#line 2790 "CollectionPage.c"
gboolean _tmp67_ = FALSE;
-#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp67_ = has_selected;
-#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp65_ = _tmp67_;
-#line 2746 "CollectionPage.c"
+#line 2796 "CollectionPage.c"
} else {
-#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp65_ = FALSE;
-#line 2750 "CollectionPage.c"
+#line 2800 "CollectionPage.c"
}
-#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp65_) {
-#line 2754 "CollectionPage.c"
+#line 2804 "CollectionPage.c"
gboolean _tmp68_ = FALSE;
-#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp68_ = pixel_transformation_bundle_has_copied_color_adjustments ();
-#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp64_ = _tmp68_;
-#line 2760 "CollectionPage.c"
+#line 2810 "CollectionPage.c"
} else {
-#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp64_ = FALSE;
-#line 2764 "CollectionPage.c"
+#line 2814 "CollectionPage.c"
}
-#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "PasteColorAdjustments", _tmp64_);
-#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp70_ = selection_has_videos;
-#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp70_) {
-#line 2772 "CollectionPage.c"
+#line 2822 "CollectionPage.c"
gboolean _tmp71_ = FALSE;
-#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp71_ = has_selected;
-#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp69_ = _tmp71_;
-#line 2778 "CollectionPage.c"
+#line 2828 "CollectionPage.c"
} else {
-#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp69_ = FALSE;
-#line 2782 "CollectionPage.c"
+#line 2832 "CollectionPage.c"
}
-#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateClockwise", _tmp69_);
-#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp73_ = selection_has_videos;
-#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp73_) {
-#line 2790 "CollectionPage.c"
+#line 2840 "CollectionPage.c"
gboolean _tmp74_ = FALSE;
-#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp74_ = has_selected;
-#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp72_ = _tmp74_;
-#line 2796 "CollectionPage.c"
+#line 2846 "CollectionPage.c"
} else {
-#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp72_ = FALSE;
-#line 2800 "CollectionPage.c"
+#line 2850 "CollectionPage.c"
}
-#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateCounterclockwise", _tmp72_);
-#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp76_ = selection_has_videos;
-#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp76_) {
-#line 2808 "CollectionPage.c"
+#line 2858 "CollectionPage.c"
gboolean _tmp77_ = FALSE;
-#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp77_ = has_selected;
-#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp75_ = _tmp77_;
-#line 2814 "CollectionPage.c"
+#line 2864 "CollectionPage.c"
} else {
-#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp75_ = FALSE;
-#line 2818 "CollectionPage.c"
+#line 2868 "CollectionPage.c"
}
-#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "FlipHorizontally", _tmp75_);
-#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp79_ = selection_has_videos;
-#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp79_) {
-#line 2826 "CollectionPage.c"
+#line 2876 "CollectionPage.c"
gboolean _tmp80_ = FALSE;
-#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp80_ = has_selected;
-#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp78_ = _tmp80_;
-#line 2832 "CollectionPage.c"
+#line 2882 "CollectionPage.c"
} else {
-#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp78_ = FALSE;
-#line 2836 "CollectionPage.c"
+#line 2886 "CollectionPage.c"
}
-#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "FlipVertically", _tmp78_);
-#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 267 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp81_ = has_selected;
-#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 267 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "AdjustDateTime", _tmp81_);
-#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp82_ = has_selected;
-#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "NewEvent", _tmp82_);
-#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 270 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp83_ = has_selected;
-#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 270 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "AddTags", _tmp83_);
-#line 264 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 271 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp84_ = one_selected;
-#line 264 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 271 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ModifyTags", _tmp84_);
-#line 265 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp86_ = page_has_photos;
-#line 265 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp86_) {
-#line 2860 "CollectionPage.c"
+#line 2910 "CollectionPage.c"
gboolean _tmp87_ = FALSE;
-#line 265 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp87_ = primary_is_video;
-#line 265 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp85_ = !_tmp87_;
-#line 2866 "CollectionPage.c"
+#line 2916 "CollectionPage.c"
} else {
-#line 265 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp85_ = FALSE;
-#line 2870 "CollectionPage.c"
+#line 2920 "CollectionPage.c"
}
-#line 265 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Slideshow", _tmp85_);
-#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp89_ = selection_has_videos;
-#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp89_) {
-#line 2878 "CollectionPage.c"
+#line 2928 "CollectionPage.c"
gboolean _tmp90_ = FALSE;
-#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp90_ = has_selected;
-#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp88_ = _tmp90_;
-#line 2884 "CollectionPage.c"
+#line 2934 "CollectionPage.c"
} else {
-#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp88_ = FALSE;
-#line 2888 "CollectionPage.c"
+#line 2938 "CollectionPage.c"
}
-#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Print", _tmp88_);
-#line 267 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 274 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp91_ = has_selected;
-#line 267 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 274 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Publish", _tmp91_);
-#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 276 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp93_ = selection_has_videos;
-#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 276 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp93_) {
-#line 2900 "CollectionPage.c"
+#line 2950 "CollectionPage.c"
gboolean _tmp94_ = FALSE;
-#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 276 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp94_ = has_selected;
-#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 276 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp92_ = _tmp94_;
-#line 2906 "CollectionPage.c"
+#line 2956 "CollectionPage.c"
} else {
-#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 276 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp92_ = FALSE;
-#line 2910 "CollectionPage.c"
+#line 2960 "CollectionPage.c"
}
-#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 276 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SetBackground", _tmp92_);
-#line 270 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 277 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp95_ = has_selected;
-#line 270 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 277 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp95_) {
-#line 2918 "CollectionPage.c"
+#line 2968 "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 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 278 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ g_debug ("CollectionPage.vala:278: Setting action label for SetBackground...");
+#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp97_ = one_selected;
-#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp97_) {
-#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 280 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp96_ = RESOURCES_SET_BACKGROUND_MENU;
-#line 2932 "CollectionPage.c"
+#line 2982 "CollectionPage.c"
} else {
-#line 274 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 281 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp96_ = RESOURCES_SET_BACKGROUND_SLIDESHOW_MENU;
-#line 2936 "CollectionPage.c"
+#line 2986 "CollectionPage.c"
}
-#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp98_ = g_strdup (_tmp96_);
-#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala"
label = _tmp98_;
-#line 275 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp99_ = label;
-#line 275 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/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"
+#line 277 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (label);
-#line 2948 "CollectionPage.c"
+#line 2998 "CollectionPage.c"
}
}
static void collection_page_on_photos_altered (CollectionPage* self, GeeMap* altered) {
-#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 286 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 286 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (GEE_IS_MAP (altered));
-#line 2958 "CollectionPage.c"
+#line 3008 "CollectionPage.c"
{
GeeIterator* _object_it = NULL;
GeeMap* _tmp0_ = NULL;
@@ -2963,25 +3013,25 @@ static void collection_page_on_photos_altered (CollectionPage* self, GeeMap* alt
GeeSet* _tmp3_ = NULL;
GeeIterator* _tmp4_ = NULL;
GeeIterator* _tmp5_ = NULL;
-#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = altered;
-#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = gee_map_get_keys (_tmp0_);
-#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = _tmp1_;
-#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp3_);
-#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_object_it = _tmp5_;
-#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 2985 "CollectionPage.c"
+#line 3035 "CollectionPage.c"
GeeIterator* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
DataObject* object = NULL;
@@ -3001,120 +3051,120 @@ static void collection_page_on_photos_altered (CollectionPage* self, GeeMap* alt
gboolean _tmp24_ = FALSE;
LibraryPhoto* _tmp25_ = NULL;
gboolean _tmp26_ = FALSE;
-#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _object_it;
-#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = gee_iterator_next (_tmp6_);
-#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp7_) {
-#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3013 "CollectionPage.c"
+#line 3063 "CollectionPage.c"
}
-#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _object_it;
-#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = gee_iterator_get (_tmp8_);
-#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
object = (DataObject*) _tmp9_;
-#line 283 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = object;
-#line 283 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_VIEW, DataView));
-#line 283 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
view = _tmp11_;
-#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = view;
-#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = data_view_is_selected (_tmp13_);
-#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp14_) {
-#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = TRUE;
-#line 3035 "CollectionPage.c"
+#line 3085 "CollectionPage.c"
} else {
GeeMap* _tmp15_ = NULL;
DataView* _tmp16_ = NULL;
gpointer _tmp17_ = NULL;
Alteration* _tmp18_ = NULL;
gboolean _tmp19_ = FALSE;
-#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = altered;
-#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = view;
-#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = gee_map_get (_tmp15_, G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_DATA_OBJECT, DataObject));
-#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = (Alteration*) _tmp17_;
-#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = alteration_has_subject (_tmp18_, "image");
-#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = !_tmp19_;
-#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_alteration_unref0 (_tmp18_);
-#line 3056 "CollectionPage.c"
+#line 3106 "CollectionPage.c"
}
-#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp12_) {
-#line 286 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 293 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (view);
-#line 286 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 293 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (object);
-#line 286 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 293 "/home/jens/Source/shotwell/src/CollectionPage.vala"
continue;
-#line 3066 "CollectionPage.c"
+#line 3116 "CollectionPage.c"
}
-#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = view;
-#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = data_view_get_source (_tmp20_);
-#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp21_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp21_) : NULL;
-#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp22_ == NULL) {
-#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp21_);
-#line 3078 "CollectionPage.c"
+#line 3128 "CollectionPage.c"
}
-#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp22_;
-#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 296 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = photo;
-#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 296 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp23_ == NULL) {
-#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (view);
-#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (object);
-#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
continue;
-#line 3094 "CollectionPage.c"
+#line 3144 "CollectionPage.c"
}
-#line 294 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 301 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = collection_page_can_revert_selected (self);
-#line 294 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 301 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Revert", _tmp24_);
-#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = photo;
-#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = photo_has_color_adjustments (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, TYPE_PHOTO, Photo));
-#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "CopyColorAdjustments", _tmp26_);
-#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 304 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 304 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (view);
-#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 304 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (object);
-#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 304 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3114 "CollectionPage.c"
+#line 3164 "CollectionPage.c"
}
-#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_object_it);
-#line 3118 "CollectionPage.c"
+#line 3168 "CollectionPage.c"
}
}
@@ -3124,48 +3174,48 @@ static void collection_page_on_print (CollectionPage* self) {
ViewCollection* _tmp1_ = NULL;
gint _tmp2_ = 0;
gboolean _tmp3_ = FALSE;
-#line 301 "/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 302 "/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 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ > 0;
-#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 3142 "CollectionPage.c"
+#line 3192 "CollectionPage.c"
PrintManager* _tmp4_ = NULL;
PrintManager* _tmp5_ = NULL;
ViewCollection* _tmp6_ = NULL;
ViewCollection* _tmp7_ = NULL;
GeeList* _tmp8_ = NULL;
GeeCollection* _tmp9_ = NULL;
-#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = print_manager_get_instance ();
-#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = view_collection_get_selected_sources_of_type (_tmp7_, TYPE_PHOTO);
-#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
print_manager_spool_photo (_tmp5_, _tmp9_);
-#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp9_);
-#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp7_);
-#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_print_manager_unref0 (_tmp5_);
-#line 3169 "CollectionPage.c"
+#line 3219 "CollectionPage.c"
}
}
@@ -3178,52 +3228,52 @@ static void collection_page_on_external_app_changed (CollectionPage* self) {
gint _tmp3_ = 0;
gboolean _tmp4_ = FALSE;
gint _tmp5_ = 0;
-#line 308 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 315 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala"
selected_count = _tmp3_;
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = selected_count;
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp5_ == 1) {
-#line 3200 "CollectionPage.c"
+#line 3250 "CollectionPage.c"
ConfigFacade* _tmp6_ = NULL;
ConfigFacade* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = config_facade_get_instance ();
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 318 "/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 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _tmp8_;
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = g_strcmp0 (_tmp9_, "") != 0;
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (_tmp9_);
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 3219 "CollectionPage.c"
+#line 3269 "CollectionPage.c"
} else {
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = FALSE;
-#line 3223 "CollectionPage.c"
+#line 3273 "CollectionPage.c"
}
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 318 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEdit", _tmp4_);
-#line 3227 "CollectionPage.c"
+#line 3277 "CollectionPage.c"
}
@@ -3245,162 +3295,162 @@ static void collection_page_real_on_item_activated (CheckerboardPage* base, Chec
gchar* _tmp11_ = NULL;
gchar* _tmp12_ = NULL;
CheckerboardPageActivator _tmp13_ = 0;
-#line 320 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 320 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (item));
-#line 320 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (modifiers != NULL);
-#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = item;
-#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_THUMBNAIL, Thumbnail));
-#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
thumbnail = _tmp1_;
-#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = thumbnail;
-#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = thumbnail_get_media_source (_tmp2_);
-#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _tmp3_;
-#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, TYPE_VIDEO);
-#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp5_) {
-#line 328 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 335 "/home/jens/Source/shotwell/src/CollectionPage.vala"
media_page_on_play_video (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage));
-#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 336 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 336 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3279 "CollectionPage.c"
+#line 3329 "CollectionPage.c"
}
-#line 332 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = thumbnail;
-#line 332 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = thumbnail_get_media_source (_tmp6_);
-#line 332 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp7_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp7_) : NULL;
-#line 332 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp8_ == NULL) {
-#line 332 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 3291 "CollectionPage.c"
+#line 3341 "CollectionPage.c"
}
-#line 332 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp8_;
-#line 333 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = photo;
-#line 333 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp9_ == NULL) {
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 341 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 341 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 341 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3305 "CollectionPage.c"
+#line 3355 "CollectionPage.c"
}
-#line 337 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 344 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = photo;
-#line 337 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 344 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_OBJECT, DataObject));
-#line 337 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 344 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = _tmp11_;
-#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"
+#line 344 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ g_debug ("CollectionPage.vala:344: activating %s", _tmp12_);
+#line 344 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (_tmp12_);
-#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = activator;
-#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp13_ == CHECKERBOARD_PAGE_ACTIVATOR_MOUSE) {
-#line 3321 "CollectionPage.c"
+#line 3371 "CollectionPage.c"
CheckerboardPageKeyboardModifiers _tmp14_ = {0};
gboolean _tmp15_ = FALSE;
-#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = *modifiers;
-#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp14_.super_pressed;
-#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp15_) {
-#line 341 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 348 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_external_edit (self);
-#line 3332 "CollectionPage.c"
+#line 3382 "CollectionPage.c"
} else {
LibraryWindow* _tmp16_ = NULL;
LibraryWindow* _tmp17_ = NULL;
LibraryPhoto* _tmp18_ = NULL;
-#line 343 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = library_window_get_app ();
-#line 343 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = _tmp16_;
-#line 343 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = photo;
-#line 343 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 350 "/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 343 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp17_);
-#line 3347 "CollectionPage.c"
+#line 3397 "CollectionPage.c"
}
} else {
CheckerboardPageActivator _tmp19_ = 0;
-#line 344 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 351 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = activator;
-#line 344 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 351 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp19_ == CHECKERBOARD_PAGE_ACTIVATOR_KEYBOARD) {
-#line 3355 "CollectionPage.c"
+#line 3405 "CollectionPage.c"
gboolean _tmp20_ = FALSE;
CheckerboardPageKeyboardModifiers _tmp21_ = {0};
gboolean _tmp22_ = FALSE;
-#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = *modifiers;
-#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _tmp21_.shift_pressed;
-#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp22_) {
-#line 3365 "CollectionPage.c"
+#line 3415 "CollectionPage.c"
CheckerboardPageKeyboardModifiers _tmp23_ = {0};
gboolean _tmp24_ = FALSE;
-#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = *modifiers;
-#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = _tmp23_.ctrl_pressed;
-#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = !_tmp24_;
-#line 3374 "CollectionPage.c"
+#line 3424 "CollectionPage.c"
} else {
-#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = FALSE;
-#line 3378 "CollectionPage.c"
+#line 3428 "CollectionPage.c"
}
-#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp20_) {
-#line 3382 "CollectionPage.c"
+#line 3432 "CollectionPage.c"
LibraryWindow* _tmp25_ = NULL;
LibraryWindow* _tmp26_ = NULL;
LibraryPhoto* _tmp27_ = NULL;
-#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = library_window_get_app ();
-#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = _tmp25_;
-#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = photo;
-#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 353 "/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 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp26_);
-#line 3396 "CollectionPage.c"
+#line 3446 "CollectionPage.c"
}
}
}
-#line 320 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 320 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 3404 "CollectionPage.c"
+#line 3454 "CollectionPage.c"
}
@@ -3413,133 +3463,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 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label0 = 0;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label1 = 0;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label2 = 0;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label3 = 0;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label4 = 0;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label5 = 0;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label6 = 0;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label7 = 0;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label8 = 0;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label9 = 0;
-#line 3437 "CollectionPage.c"
+#line 3487 "CollectionPage.c"
gboolean _tmp8_ = FALSE;
gboolean _tmp9_ = FALSE;
-#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 357 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 357 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 351 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 358 "/home/jens/Source/shotwell/src/CollectionPage.vala"
handled = TRUE;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = event;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_->keyval;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = gdk_keyval_name (_tmp1_);
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = (NULL == _tmp3_) ? 0 : g_quark_from_string (_tmp3_);
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/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 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
switch (0) {
-#line 3460 "CollectionPage.c"
+#line 3510 "CollectionPage.c"
default:
{
GdkEventKey* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
-#line 361 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 368 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = event;
-#line 361 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 368 "/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 362 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 369 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3471 "CollectionPage.c"
+#line 3521 "CollectionPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label8) ? _tmp4_label8 : (_tmp4_label8 = g_quark_from_static_string ("bracketright")))) {
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
switch (0) {
-#line 3477 "CollectionPage.c"
+#line 3527 "CollectionPage.c"
default:
{
-#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 372 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateClockwise");
-#line 366 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 373 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3484 "CollectionPage.c"
+#line 3534 "CollectionPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label9) ? _tmp4_label9 : (_tmp4_label9 = g_quark_from_static_string ("bracketleft")))) {
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
switch (0) {
-#line 3490 "CollectionPage.c"
+#line 3540 "CollectionPage.c"
default:
{
-#line 369 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 376 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateCounterclockwise");
-#line 370 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3497 "CollectionPage.c"
+#line 3547 "CollectionPage.c"
}
}
} else {
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala"
switch (0) {
-#line 3503 "CollectionPage.c"
+#line 3553 "CollectionPage.c"
default:
{
-#line 373 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 380 "/home/jens/Source/shotwell/src/CollectionPage.vala"
handled = FALSE;
-#line 374 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3510 "CollectionPage.c"
+#line 3560 "CollectionPage.c"
}
}
}
-#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = handled;
-#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp9_) {
-#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = TRUE;
-#line 3520 "CollectionPage.c"
+#line 3570 "CollectionPage.c"
} else {
GdkEventKey* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
-#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = event;
-#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 384 "/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 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _tmp11_;
-#line 3530 "CollectionPage.c"
+#line 3580 "CollectionPage.c"
}
-#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp8_;
-#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 3536 "CollectionPage.c"
+#line 3586 "CollectionPage.c"
}
static void _collection_page_on_export_completed_exporter_completion_callback (Exporter* exporter, gboolean is_cancelled, gpointer self) {
-#line 396 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 403 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_export_completed ((CollectionPage*) self);
-#line 3543 "CollectionPage.c"
+#line 3593 "CollectionPage.c"
}
@@ -3595,233 +3645,233 @@ static void collection_page_real_on_export (MediaPage* base) {
ExporterUI* _tmp90_ = NULL;
ExporterUI* _tmp91_ = NULL;
GError * _inner_error_ = NULL;
-#line 380 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 387 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 381 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 388 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = self->priv->exporter;
-#line 381 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 388 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp0_ != NULL) {
-#line 382 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 389 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3607 "CollectionPage.c"
+#line 3657 "CollectionPage.c"
}
-#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = _tmp1_;
-#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = view_collection_get_selected_sources (_tmp2_);
-#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp2_);
-#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_list = _tmp4_;
-#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = export_list;
-#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = gee_collection_get_size (_tmp5_);
-#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp7_ == 0) {
-#line 387 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 394 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 387 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 394 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3633 "CollectionPage.c"
+#line 3683 "CollectionPage.c"
}
-#line 389 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 396 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = collection_page_selection_has_photo (self);
-#line 389 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 396 "/home/jens/Source/shotwell/src/CollectionPage.vala"
has_some_photos = _tmp8_;
-#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = collection_page_selection_has_video (self);
-#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala"
has_some_videos = _tmp9_;
-#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = has_some_photos;
-#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp11_) {
-#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = TRUE;
-#line 3649 "CollectionPage.c"
+#line 3699 "CollectionPage.c"
} else {
gboolean _tmp12_ = FALSE;
-#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = has_some_videos;
-#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _tmp12_;
-#line 3656 "CollectionPage.c"
+#line 3706 "CollectionPage.c"
}
-#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_vala_assert (_tmp10_, "has_some_photos || has_some_videos");
-#line 395 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = has_some_photos;
-#line 395 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp13_) {
-#line 3664 "CollectionPage.c"
+#line 3714 "CollectionPage.c"
GeeCollection* _tmp14_ = NULL;
ExporterUI* _tmp15_ = NULL;
-#line 396 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 403 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = export_list;
-#line 396 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 403 "/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 396 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 403 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 396 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 403 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self->priv->exporter = _tmp15_;
-#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3679 "CollectionPage.c"
+#line 3729 "CollectionPage.c"
}
-#line 400 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 407 "/home/jens/Source/shotwell/src/CollectionPage.vala"
title = NULL;
-#line 401 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 408 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = has_some_videos;
-#line 401 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 408 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp16_) {
-#line 3687 "CollectionPage.c"
+#line 3737 "CollectionPage.c"
const gchar* _tmp17_ = NULL;
GeeCollection* _tmp18_ = NULL;
gint _tmp19_ = 0;
gint _tmp20_ = 0;
gchar* _tmp23_ = NULL;
-#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = export_list;
-#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = gee_collection_get_size (_tmp18_);
-#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = _tmp19_;
-#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp20_ == 1) {
-#line 3701 "CollectionPage.c"
+#line 3751 "CollectionPage.c"
const gchar* _tmp21_ = NULL;
-#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = _ ("Export Photo/Video");
-#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = _tmp21_;
-#line 3707 "CollectionPage.c"
+#line 3757 "CollectionPage.c"
} else {
const gchar* _tmp22_ = NULL;
-#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _ ("Export Photos/Videos");
-#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = _tmp22_;
-#line 3714 "CollectionPage.c"
+#line 3764 "CollectionPage.c"
}
-#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = g_strdup (_tmp17_);
-#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala"
title = _tmp23_;
-#line 3722 "CollectionPage.c"
+#line 3772 "CollectionPage.c"
} else {
const gchar* _tmp24_ = NULL;
GeeCollection* _tmp25_ = NULL;
gint _tmp26_ = 0;
gint _tmp27_ = 0;
gchar* _tmp30_ = NULL;
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = export_list;
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = gee_collection_get_size (_tmp25_);
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = _tmp26_;
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp27_ == 1) {
-#line 3737 "CollectionPage.c"
+#line 3787 "CollectionPage.c"
const gchar* _tmp28_ = NULL;
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp28_ = _ ("Export Photo");
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = _tmp28_;
-#line 3743 "CollectionPage.c"
+#line 3793 "CollectionPage.c"
} else {
const gchar* _tmp29_ = NULL;
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp29_ = _ ("Export Photos");
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = _tmp29_;
-#line 3750 "CollectionPage.c"
+#line 3800 "CollectionPage.c"
}
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = g_strdup (_tmp24_);
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 411 "/home/jens/Source/shotwell/src/CollectionPage.vala"
title = _tmp30_;
-#line 3758 "CollectionPage.c"
+#line 3808 "CollectionPage.c"
}
-#line 405 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 412 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = title;
-#line 405 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 412 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = export_dialog_new (_tmp31_);
-#line 405 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 412 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_object_ref_sink (_tmp32_);
-#line 405 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 412 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_dialog = _tmp32_;
-#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 422 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = has_some_videos;
-#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 422 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp34_) {
-#line 3772 "CollectionPage.c"
+#line 3822 "CollectionPage.c"
ExportFormatParameters _tmp35_ = {0};
-#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 422 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_format_parameters_current (&_tmp35_);
-#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 422 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = _tmp35_;
-#line 3778 "CollectionPage.c"
+#line 3828 "CollectionPage.c"
} else {
ExportFormatParameters _tmp36_ = {0};
-#line 416 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_format_parameters_last (&_tmp36_);
-#line 416 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = _tmp36_;
-#line 3785 "CollectionPage.c"
+#line 3835 "CollectionPage.c"
}
-#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 422 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_params = _tmp33_;
-#line 420 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 427 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp37_ = export_dialog;
-#line 420 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 427 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp40_ = export_dialog_execute (_tmp37_, &_tmp38_, &_tmp39_, &export_params);
-#line 420 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 427 "/home/jens/Source/shotwell/src/CollectionPage.vala"
scale = _tmp38_;
-#line 420 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 427 "/home/jens/Source/shotwell/src/CollectionPage.vala"
constraint = _tmp39_;
-#line 420 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 427 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp40_) {
-#line 421 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 421 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 421 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 421 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3807 "CollectionPage.c"
+#line 3857 "CollectionPage.c"
}
-#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp41_ = constraint;
-#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp42_ = scale;
-#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
scaling_for_constraint (_tmp41_, _tmp42_, FALSE, &_tmp43_);
-#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
scaling = _tmp43_;
-#line 426 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp44_ = export_list;
-#line 426 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp45_ = gee_collection_get_size (_tmp44_);
-#line 426 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp46_ = _tmp45_;
-#line 426 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp46_ == 1) {
-#line 3825 "CollectionPage.c"
+#line 3875 "CollectionPage.c"
LibraryPhoto* photo = NULL;
GFile* save_as = NULL;
LibraryPhoto* _tmp55_ = NULL;
@@ -3831,22 +3881,22 @@ static void collection_page_real_on_export (MediaPage* base) {
GFile* _tmp59_ = NULL;
GFile* _tmp60_ = NULL;
GFile* _tmp61_ = NULL;
-#line 427 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 434 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = NULL;
-#line 3837 "CollectionPage.c"
+#line 3887 "CollectionPage.c"
{
GeeIterator* _p_it = NULL;
GeeCollection* _tmp47_ = NULL;
GeeIterator* _tmp48_ = NULL;
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp47_ = export_list;
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 435 "/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 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_p_it = _tmp48_;
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 3850 "CollectionPage.c"
+#line 3900 "CollectionPage.c"
GeeIterator* _tmp49_ = NULL;
gboolean _tmp50_ = FALSE;
LibraryPhoto* p = NULL;
@@ -3854,73 +3904,73 @@ static void collection_page_real_on_export (MediaPage* base) {
gpointer _tmp52_ = NULL;
LibraryPhoto* _tmp53_ = NULL;
LibraryPhoto* _tmp54_ = NULL;
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp49_ = _p_it;
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp50_ = gee_iterator_next (_tmp49_);
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp50_) {
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3866 "CollectionPage.c"
+#line 3916 "CollectionPage.c"
}
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp51_ = _p_it;
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp52_ = gee_iterator_get (_tmp51_);
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
p = (LibraryPhoto*) _tmp52_;
-#line 429 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp53_ = p;
-#line 429 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp54_ = _g_object_ref0 (_tmp53_);
-#line 429 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 429 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp54_;
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 437 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (p);
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 437 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3886 "CollectionPage.c"
+#line 3936 "CollectionPage.c"
}
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_p_it);
-#line 3890 "CollectionPage.c"
+#line 3940 "CollectionPage.c"
}
-#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp55_ = photo;
-#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp56_ = export_params;
-#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/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 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp58_ = _tmp57_;
-#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp59_ = export_ui_choose_file (_tmp58_);
-#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp60_ = _tmp59_;
-#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (_tmp58_);
-#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
save_as = _tmp60_;
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp61_ = save_as;
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp61_ == NULL) {
-#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (save_as);
-#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3924 "CollectionPage.c"
+#line 3974 "CollectionPage.c"
}
{
AppWindow* _tmp62_ = NULL;
@@ -3939,191 +3989,191 @@ static void collection_page_real_on_export (MediaPage* base) {
gboolean _tmp75_ = FALSE;
AppWindow* _tmp76_ = NULL;
AppWindow* _tmp77_ = NULL;
-#line 439 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp62_ = app_window_get_instance ();
-#line 439 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp63_ = _tmp62_;
-#line 439 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp63_, TYPE_PAGE_WINDOW, PageWindow));
-#line 439 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp63_);
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp64_ = photo;
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp65_ = save_as;
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp66_ = scaling;
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp67_ = export_params;
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp68_ = _tmp67_.quality;
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp69_ = photo;
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp70_ = export_params;
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 447 "/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 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp72_ = export_params;
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp73_ = _tmp72_.mode;
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp74_ = export_params;
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp75_ = _tmp74_.export_metadata;
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 447 "/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 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3979 "CollectionPage.c"
- goto __catch230_g_error;
+#line 4029 "CollectionPage.c"
+ goto __catch232_g_error;
}
-#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 450 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp76_ = app_window_get_instance ();
-#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 450 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp77_ = _tmp76_;
-#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 450 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp77_, TYPE_PAGE_WINDOW, PageWindow));
-#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 450 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp77_);
-#line 3990 "CollectionPage.c"
+#line 4040 "CollectionPage.c"
}
- goto __finally230;
- __catch230_g_error:
+ goto __finally232;
+ __catch232_g_error:
{
GError* err = NULL;
AppWindow* _tmp78_ = NULL;
AppWindow* _tmp79_ = NULL;
GFile* _tmp80_ = NULL;
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
err = _inner_error_;
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- _inner_error_ = NULL;
#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _inner_error_ = NULL;
+#line 452 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp78_ = app_window_get_instance ();
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 452 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp79_ = _tmp78_;
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 452 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp79_, TYPE_PAGE_WINDOW, PageWindow));
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 452 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp79_);
-#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp80_ = save_as;
-#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_error_dialog (_tmp80_, FALSE);
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_error_free0 (err);
-#line 4017 "CollectionPage.c"
+#line 4067 "CollectionPage.c"
}
- __finally230:
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ __finally232:
+#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (save_as);
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 445 "/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 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_clear_error (&_inner_error_);
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4038 "CollectionPage.c"
+#line 4088 "CollectionPage.c"
}
-#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (save_as);
-#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4052 "CollectionPage.c"
+#line 4102 "CollectionPage.c"
}
-#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 460 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp81_ = title;
-#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 460 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp82_ = export_ui_choose_dir (_tmp81_);
-#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 460 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_dir = _tmp82_;
-#line 454 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 461 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp83_ = export_dir;
-#line 454 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 461 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp83_ == NULL) {
-#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dir);
-#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4074 "CollectionPage.c"
+#line 4124 "CollectionPage.c"
}
-#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp84_ = export_list;
-#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp85_ = export_dir;
-#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp86_ = scaling;
-#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp87_ = export_params;
-#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp88_ = exporter_new (_tmp84_, _tmp85_, &_tmp86_, &_tmp87_, FALSE);
-#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp89_ = _tmp88_;
-#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp90_ = exporter_ui_new (_tmp89_);
-#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self->priv->exporter = _tmp90_;
-#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp89_);
-#line 458 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 465 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp91_ = self->priv->exporter;
-#line 458 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 465 "/home/jens/Source/shotwell/src/CollectionPage.vala"
exporter_ui_export (_tmp91_, _collection_page_on_export_completed_exporter_completion_callback, self);
-#line 380 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 387 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dir);
-#line 380 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 387 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 380 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 387 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 380 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 387 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 4108 "CollectionPage.c"
+#line 4158 "CollectionPage.c"
}
static void collection_page_on_export_completed (CollectionPage* self) {
-#line 461 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self->priv->exporter = NULL;
-#line 4119 "CollectionPage.c"
+#line 4169 "CollectionPage.c"
}
static gboolean collection_page_can_revert_selected (CollectionPage* self) {
gboolean result = FALSE;
-#line 465 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 472 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_val_if_fail (IS_COLLECTION_PAGE (self), FALSE);
-#line 4127 "CollectionPage.c"
+#line 4177 "CollectionPage.c"
{
GeeList* _source_list = NULL;
ViewCollection* _tmp0_ = NULL;
@@ -4135,31 +4185,31 @@ static gboolean collection_page_can_revert_selected (CollectionPage* self) {
gint _tmp5_ = 0;
gint _tmp6_ = 0;
gint _source_index = 0;
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_sources (_tmp1_);
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_list = _tmp3_;
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _source_list;
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _tmp5_;
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_size = _tmp6_;
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_index = -1;
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 4163 "CollectionPage.c"
+#line 4213 "CollectionPage.c"
gint _tmp7_ = 0;
gint _tmp8_ = 0;
gint _tmp9_ = 0;
@@ -4172,107 +4222,107 @@ static gboolean collection_page_can_revert_selected (CollectionPage* self) {
LibraryPhoto* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
LibraryPhoto* _tmp16_ = NULL;
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _source_index;
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_index = _tmp7_ + 1;
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _source_index;
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _source_size;
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!(_tmp8_ < _tmp9_)) {
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 4188 "CollectionPage.c"
+#line 4238 "CollectionPage.c"
}
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _source_list;
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _source_index;
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = gee_list_get (_tmp10_, _tmp11_);
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
source = (DataSource*) _tmp12_;
-#line 467 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = source;
-#line 467 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp13_) : NULL);
-#line 467 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp14_;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = photo;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp16_ != NULL) {
-#line 4208 "CollectionPage.c"
+#line 4258 "CollectionPage.c"
gboolean _tmp17_ = FALSE;
LibraryPhoto* _tmp18_ = NULL;
gboolean _tmp19_ = FALSE;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = photo;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = photo_has_transformations (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_PHOTO, Photo));
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp19_) {
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = TRUE;
-#line 4220 "CollectionPage.c"
+#line 4270 "CollectionPage.c"
} else {
LibraryPhoto* _tmp20_ = NULL;
gboolean _tmp21_ = FALSE;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = photo;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = photo_has_editable (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_PHOTO, Photo));
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = _tmp21_;
-#line 4230 "CollectionPage.c"
+#line 4280 "CollectionPage.c"
}
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp17_;
-#line 4234 "CollectionPage.c"
+#line 4284 "CollectionPage.c"
} else {
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = FALSE;
-#line 4238 "CollectionPage.c"
+#line 4288 "CollectionPage.c"
}
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp15_) {
-#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = TRUE;
-#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (source);
-#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_source_list);
-#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 4252 "CollectionPage.c"
+#line 4302 "CollectionPage.c"
}
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (source);
-#line 4258 "CollectionPage.c"
+#line 4308 "CollectionPage.c"
}
-#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_source_list);
-#line 4262 "CollectionPage.c"
+#line 4312 "CollectionPage.c"
}
-#line 472 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = FALSE;
-#line 472 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 4268 "CollectionPage.c"
+#line 4318 "CollectionPage.c"
}
static gboolean collection_page_can_revert_editable_selected (CollectionPage* self) {
gboolean result = FALSE;
-#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 482 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_val_if_fail (IS_COLLECTION_PAGE (self), FALSE);
-#line 4276 "CollectionPage.c"
+#line 4326 "CollectionPage.c"
{
GeeList* _source_list = NULL;
ViewCollection* _tmp0_ = NULL;
@@ -4284,31 +4334,31 @@ static gboolean collection_page_can_revert_editable_selected (CollectionPage* se
gint _tmp5_ = 0;
gint _tmp6_ = 0;
gint _source_index = 0;
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_sources (_tmp1_);
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_list = _tmp3_;
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _source_list;
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _tmp5_;
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_size = _tmp6_;
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_index = -1;
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 4312 "CollectionPage.c"
+#line 4362 "CollectionPage.c"
gint _tmp7_ = 0;
gint _tmp8_ = 0;
gint _tmp9_ = 0;
@@ -4321,82 +4371,82 @@ static gboolean collection_page_can_revert_editable_selected (CollectionPage* se
LibraryPhoto* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
LibraryPhoto* _tmp16_ = NULL;
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _source_index;
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_index = _tmp7_ + 1;
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _source_index;
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _source_size;
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!(_tmp8_ < _tmp9_)) {
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 4337 "CollectionPage.c"
+#line 4387 "CollectionPage.c"
}
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _source_list;
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _source_index;
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = gee_list_get (_tmp10_, _tmp11_);
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
source = (DataSource*) _tmp12_;
-#line 477 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = source;
-#line 477 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp13_) : NULL);
-#line 477 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp14_;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = photo;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp16_ != NULL) {
-#line 4357 "CollectionPage.c"
+#line 4407 "CollectionPage.c"
LibraryPhoto* _tmp17_ = NULL;
gboolean _tmp18_ = FALSE;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = photo;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = photo_has_editable (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_PHOTO, Photo));
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp18_;
-#line 4366 "CollectionPage.c"
+#line 4416 "CollectionPage.c"
} else {
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = FALSE;
-#line 4370 "CollectionPage.c"
+#line 4420 "CollectionPage.c"
}
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp15_) {
-#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = TRUE;
-#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (source);
-#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_source_list);
-#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 4384 "CollectionPage.c"
+#line 4434 "CollectionPage.c"
}
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (source);
-#line 4390 "CollectionPage.c"
+#line 4440 "CollectionPage.c"
}
-#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_source_list);
-#line 4394 "CollectionPage.c"
+#line 4444 "CollectionPage.c"
}
-#line 482 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = FALSE;
-#line 482 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 4400 "CollectionPage.c"
+#line 4450 "CollectionPage.c"
}
@@ -4417,59 +4467,59 @@ static void collection_page_on_rotate_clockwise (CollectionPage* self) {
CommandManager* _tmp12_ = NULL;
CommandManager* _tmp13_ = NULL;
RotateMultipleCommand* _tmp14_ = NULL;
-#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 493 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 493 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 493 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 493 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 493 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 493 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 487 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 494 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4437 "CollectionPage.c"
+#line 4487 "CollectionPage.c"
}
-#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _ ("Rotating");
-#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _ ("Undoing Rotate");
-#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/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 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp11_;
-#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = command;
-#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_COMMAND, Command));
-#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp13_);
-#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 4473 "CollectionPage.c"
+#line 4523 "CollectionPage.c"
}
@@ -4478,40 +4528,40 @@ static void collection_page_on_publish (CollectionPage* self) {
ViewCollection* _tmp1_ = NULL;
gint _tmp2_ = 0;
gboolean _tmp3_ = FALSE;
-#line 495 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 503 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 503 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 503 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 503 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ > 0;
-#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 503 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 503 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 4496 "CollectionPage.c"
+#line 4546 "CollectionPage.c"
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
GeeList* _tmp6_ = NULL;
GeeCollection* _tmp7_ = NULL;
-#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected_sources (_tmp5_);
-#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
publishing_ui_publishing_dialog_go (_tmp7_);
-#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 4515 "CollectionPage.c"
+#line 4565 "CollectionPage.c"
}
}
@@ -4533,59 +4583,59 @@ static void collection_page_on_rotate_counterclockwise (CollectionPage* self) {
CommandManager* _tmp12_ = NULL;
CommandManager* _tmp13_ = NULL;
RotateMultipleCommand* _tmp14_ = NULL;
-#line 501 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 503 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4553 "CollectionPage.c"
+#line 4603 "CollectionPage.c"
}
-#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _ ("Rotating");
-#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _ ("Undoing Rotate");
-#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/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 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp11_;
-#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = command;
-#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_COMMAND, Command));
-#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp13_);
-#line 501 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 4589 "CollectionPage.c"
+#line 4639 "CollectionPage.c"
}
@@ -4606,59 +4656,59 @@ static void collection_page_on_flip_horizontally (CollectionPage* self) {
CommandManager* _tmp12_ = NULL;
CommandManager* _tmp13_ = NULL;
RotateMultipleCommand* _tmp14_ = NULL;
-#line 511 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 519 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 519 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 519 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 519 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 519 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 519 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 513 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 520 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4626 "CollectionPage.c"
+#line 4676 "CollectionPage.c"
}
-#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _ ("Flipping Horizontally");
-#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _ ("Undoing Flip Horizontally");
-#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/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 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp11_;
-#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = command;
-#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_COMMAND, Command));
-#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp13_);
-#line 511 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 4662 "CollectionPage.c"
+#line 4712 "CollectionPage.c"
}
@@ -4679,59 +4729,59 @@ static void collection_page_on_flip_vertically (CollectionPage* self) {
CommandManager* _tmp12_ = NULL;
CommandManager* _tmp13_ = NULL;
RotateMultipleCommand* _tmp14_ = NULL;
-#line 521 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 529 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 529 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 529 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 529 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 529 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 529 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 523 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 530 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4699 "CollectionPage.c"
+#line 4749 "CollectionPage.c"
}
-#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _ ("Flipping Vertically");
-#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _ ("Undoing Flip Vertically");
-#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/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 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp11_;
-#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = command;
-#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_COMMAND, Command));
-#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp13_);
-#line 521 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 4735 "CollectionPage.c"
+#line 4785 "CollectionPage.c"
}
@@ -4751,29 +4801,29 @@ static void collection_page_on_revert (CollectionPage* self) {
CommandManager* _tmp33_ = NULL;
CommandManager* _tmp34_ = NULL;
RevertMultipleCommand* _tmp35_ = NULL;
-#line 531 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 539 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 539 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 539 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 539 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 539 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 539 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 533 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 540 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4771 "CollectionPage.c"
+#line 4821 "CollectionPage.c"
}
-#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 542 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = collection_page_can_revert_editable_selected (self);
-#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 542 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp4_) {
-#line 4777 "CollectionPage.c"
+#line 4827 "CollectionPage.c"
AppWindow* _tmp5_ = NULL;
AppWindow* _tmp6_ = NULL;
ViewCollection* _tmp7_ = NULL;
@@ -4782,33 +4832,33 @@ static void collection_page_on_revert (CollectionPage* self) {
GeeCollection* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
gboolean _tmp12_ = FALSE;
-#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = app_window_get_instance ();
-#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _tmp5_;
-#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _tmp7_;
-#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = view_collection_get_selected_sources (_tmp8_);
-#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = revert_editable_dialog (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_window_get_type (), GtkWindow), _tmp10_);
-#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = !_tmp11_;
-#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp10_);
-#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp8_);
-#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp6_);
-#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp12_) {
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4812 "CollectionPage.c"
+#line 4862 "CollectionPage.c"
}
{
GeeList* _object_list = NULL;
@@ -4821,31 +4871,31 @@ static void collection_page_on_revert (CollectionPage* self) {
gint _tmp18_ = 0;
gint _tmp19_ = 0;
gint _object_index = 0;
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = _tmp13_;
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = view_collection_get_selected_sources (_tmp14_);
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = _tmp15_;
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp14_);
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_object_list = _tmp16_;
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = _object_list;
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = _tmp18_;
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_object_size = _tmp19_;
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_object_index = -1;
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 4849 "CollectionPage.c"
+#line 4899 "CollectionPage.c"
gint _tmp20_ = 0;
gint _tmp21_ = 0;
gint _tmp22_ = 0;
@@ -4854,72 +4904,72 @@ static void collection_page_on_revert (CollectionPage* self) {
gint _tmp24_ = 0;
gpointer _tmp25_ = NULL;
DataObject* _tmp26_ = NULL;
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = _object_index;
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_object_index = _tmp20_ + 1;
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = _object_index;
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _object_size;
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!(_tmp21_ < _tmp22_)) {
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 4870 "CollectionPage.c"
+#line 4920 "CollectionPage.c"
}
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = _object_list;
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = _object_index;
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = gee_list_get (_tmp23_, _tmp24_);
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
object = G_TYPE_CHECK_INSTANCE_CAST ((DataSource*) _tmp25_, TYPE_DATA_OBJECT, DataObject);
-#line 542 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = object;
-#line 542 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo_revert_to_master (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, TYPE_PHOTO, Photo), TRUE);
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (object);
-#line 4886 "CollectionPage.c"
+#line 4936 "CollectionPage.c"
}
-#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_object_list);
-#line 4890 "CollectionPage.c"
+#line 4940 "CollectionPage.c"
}
}
-#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp28_ = _tmp27_;
-#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp29_ = view_collection_get_selected (_tmp28_);
-#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = _tmp29_;
-#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = revert_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = _tmp31_;
-#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp30_);
-#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp28_);
-#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp32_;
-#line 546 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 546 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = _tmp33_;
-#line 546 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp35_ = command;
-#line 546 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, TYPE_COMMAND, Command));
-#line 546 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp34_);
-#line 531 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 4923 "CollectionPage.c"
+#line 4973 "CollectionPage.c"
}
@@ -4938,57 +4988,57 @@ void collection_page_on_copy_adjustments (CollectionPage* self) {
Photo* _tmp10_ = NULL;
PixelTransformationBundle* _tmp11_ = NULL;
PixelTransformationBundle* _tmp12_ = NULL;
-#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 556 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 550 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 550 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 550 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 550 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ != 1;
-#line 550 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 550 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 551 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4958 "CollectionPage.c"
+#line 5008 "CollectionPage.c"
}
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected_at (_tmp5_, 0);
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = data_view_get_source (_tmp7_);
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_PHOTO, Photo);
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp9_;
-#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = photo;
-#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = photo_get_color_adjustments (_tmp10_);
-#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = _tmp11_;
-#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala"
pixel_transformation_bundle_set_copied_color_adjustments (_tmp12_);
-#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_pixel_transformation_bundle_unref0 (_tmp12_);
-#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "PasteColorAdjustments", TRUE);
-#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 556 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 4992 "CollectionPage.c"
+#line 5042 "CollectionPage.c"
}
@@ -5011,78 +5061,78 @@ void collection_page_on_paste_adjustments (CollectionPage* self) {
CommandManager* _tmp14_ = NULL;
CommandManager* _tmp15_ = NULL;
AdjustColorsMultipleCommand* _tmp16_ = NULL;
-#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = pixel_transformation_bundle_get_copied_color_adjustments ();
-#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala"
copied_adjustments = _tmp0_;
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = view_collection_get_selected_count (_tmp3_);
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_ == 0;
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp3_);
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp5_) {
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = TRUE;
-#line 5035 "CollectionPage.c"
+#line 5085 "CollectionPage.c"
} else {
PixelTransformationBundle* _tmp6_ = NULL;
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = copied_adjustments;
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp6_ == NULL;
-#line 5042 "CollectionPage.c"
+#line 5092 "CollectionPage.c"
}
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp1_) {
-#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_pixel_transformation_bundle_unref0 (copied_adjustments);
-#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5050 "CollectionPage.c"
+#line 5100 "CollectionPage.c"
}
-#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _tmp7_;
-#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = view_collection_get_selected (_tmp8_);
-#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _tmp9_;
-#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = copied_adjustments;
-#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 569 "/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 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp10_);
-#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp8_);
-#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp13_;
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp14_;
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = command;
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp15_, G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_COMMAND, Command));
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp15_);
-#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_pixel_transformation_bundle_unref0 (copied_adjustments);
-#line 5086 "CollectionPage.c"
+#line 5136 "CollectionPage.c"
}
@@ -5101,55 +5151,55 @@ static void collection_page_on_enhance (CollectionPage* self) {
CommandManager* _tmp10_ = NULL;
CommandManager* _tmp11_ = NULL;
EnhanceMultipleCommand* _tmp12_ = NULL;
-#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 574 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 568 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 568 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 568 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 568 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 568 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 568 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5121 "CollectionPage.c"
+#line 5171 "CollectionPage.c"
}
-#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = enhance_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _tmp8_;
-#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp9_;
-#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = command;
-#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_COMMAND, Command));
-#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp11_);
-#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 574 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 5153 "CollectionPage.c"
+#line 5203 "CollectionPage.c"
}
@@ -5168,55 +5218,55 @@ static void collection_page_on_duplicate_photo (CollectionPage* self) {
CommandManager* _tmp10_ = NULL;
CommandManager* _tmp11_ = NULL;
DuplicateMultiplePhotosCommand* _tmp12_ = NULL;
-#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 582 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 577 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5188 "CollectionPage.c"
+#line 5238 "CollectionPage.c"
}
-#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = duplicate_multiple_photos_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _tmp8_;
-#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp9_;
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 588 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 588 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 588 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = command;
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 588 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_COMMAND, Command));
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 588 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp11_);
-#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 582 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 5220 "CollectionPage.c"
+#line 5270 "CollectionPage.c"
}
@@ -5251,29 +5301,29 @@ static void collection_page_on_adjust_date_time (CollectionPage* self) {
gboolean _tmp37_ = FALSE;
gboolean _tmp38_ = FALSE;
gboolean _tmp39_ = FALSE;
-#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5271 "CollectionPage.c"
+#line 5321 "CollectionPage.c"
}
-#line 588 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 595 "/home/jens/Source/shotwell/src/CollectionPage.vala"
selected_has_videos = FALSE;
-#line 589 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 596 "/home/jens/Source/shotwell/src/CollectionPage.vala"
only_videos_selected = TRUE;
-#line 5277 "CollectionPage.c"
+#line 5327 "CollectionPage.c"
{
GeeList* _dv_list = NULL;
ViewCollection* _tmp4_ = NULL;
@@ -5285,31 +5335,31 @@ static void collection_page_on_adjust_date_time (CollectionPage* self) {
gint _tmp9_ = 0;
gint _tmp10_ = 0;
gint _dv_index = 0;
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_dv_list = _tmp7_;
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _dv_list;
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _tmp9_;
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_dv_size = _tmp10_;
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_dv_index = -1;
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 5313 "CollectionPage.c"
+#line 5363 "CollectionPage.c"
gint _tmp11_ = 0;
gint _tmp12_ = 0;
gint _tmp13_ = 0;
@@ -5321,109 +5371,109 @@ static void collection_page_on_adjust_date_time (CollectionPage* self) {
DataSource* _tmp18_ = NULL;
DataSource* _tmp19_ = NULL;
gboolean _tmp20_ = FALSE;
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _dv_index;
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_dv_index = _tmp11_ + 1;
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = _dv_index;
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _dv_size;
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!(_tmp12_ < _tmp13_)) {
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 5337 "CollectionPage.c"
+#line 5387 "CollectionPage.c"
}
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = _dv_list;
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _dv_index;
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = gee_list_get (_tmp14_, _tmp15_);
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
dv = (DataView*) _tmp16_;
-#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = dv;
-#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = data_view_get_source (_tmp17_);
-#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = _tmp18_;
-#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, TYPE_VIDEO);
-#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp19_);
-#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp20_) {
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
selected_has_videos = TRUE;
-#line 5361 "CollectionPage.c"
+#line 5411 "CollectionPage.c"
} else {
-#line 595 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
only_videos_selected = FALSE;
-#line 5365 "CollectionPage.c"
+#line 5415 "CollectionPage.c"
}
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (dv);
-#line 5369 "CollectionPage.c"
+#line 5419 "CollectionPage.c"
}
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_dv_list);
-#line 5373 "CollectionPage.c"
+#line 5423 "CollectionPage.c"
}
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _tmp21_;
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = view_collection_get_selected_at (_tmp22_, 0);
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = _tmp23_;
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = data_view_get_source (_tmp24_);
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, TYPE_DATEABLE, Dateable);
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp24_);
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp22_);
-#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo_source = _tmp26_;
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = photo_source;
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp28_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp29_ = _tmp28_;
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = view_collection_get_selected_count (_tmp29_);
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = selected_has_videos;
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = only_videos_selected;
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = adjust_date_time_dialog_new (_tmp27_, _tmp30_, TRUE, _tmp31_, _tmp32_);
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_object_ref_sink (_tmp33_);
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = _tmp33_;
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp29_);
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
dialog = _tmp34_;
-#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 612 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp35_ = dialog;
-#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 612 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp39_ = adjust_date_time_dialog_execute (_tmp35_, &_tmp36_, &_tmp37_, &_tmp38_);
-#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 612 "/home/jens/Source/shotwell/src/CollectionPage.vala"
time_shift = _tmp36_;
-#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 612 "/home/jens/Source/shotwell/src/CollectionPage.vala"
keep_relativity = _tmp37_;
-#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 612 "/home/jens/Source/shotwell/src/CollectionPage.vala"
modify_originals = _tmp38_;
-#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 612 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp39_) {
-#line 5427 "CollectionPage.c"
+#line 5477 "CollectionPage.c"
AdjustDateTimePhotosCommand* command = NULL;
ViewCollection* _tmp40_ = NULL;
ViewCollection* _tmp41_ = NULL;
@@ -5437,49 +5487,49 @@ static void collection_page_on_adjust_date_time (CollectionPage* self) {
CommandManager* _tmp49_ = NULL;
CommandManager* _tmp50_ = NULL;
AdjustDateTimePhotosCommand* _tmp51_ = NULL;
-#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp40_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp41_ = _tmp40_;
-#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp42_ = view_collection_get_selected (_tmp41_);
-#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp43_ = _tmp42_;
-#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp44_ = time_shift;
-#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp45_ = keep_relativity;
-#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp46_ = modify_originals;
-#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/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 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp48_ = _tmp47_;
-#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp43_);
-#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp41_);
-#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp48_;
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp49_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp50_ = _tmp49_;
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp51_ = command;
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp50_, G_TYPE_CHECK_INSTANCE_CAST (_tmp51_, TYPE_COMMAND, Command));
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp50_);
-#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 612 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 5477 "CollectionPage.c"
+#line 5527 "CollectionPage.c"
}
-#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (dialog);
-#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo_source);
-#line 5483 "CollectionPage.c"
+#line 5533 "CollectionPage.c"
}
@@ -5496,122 +5546,122 @@ static void collection_page_on_external_edit (CollectionPage* self) {
DataSource* _tmp8_ = NULL;
Photo* _tmp9_ = NULL;
GError * _inner_error_ = NULL;
-#line 612 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ != 1;
-#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 614 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5516 "CollectionPage.c"
+#line 5566 "CollectionPage.c"
}
-#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected_at (_tmp5_, 0);
-#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = data_view_get_source (_tmp7_);
-#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_PHOTO, Photo);
-#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp9_;
-#line 5536 "CollectionPage.c"
+#line 5586 "CollectionPage.c"
{
AppWindow* _tmp10_ = NULL;
AppWindow* _tmp11_ = NULL;
Photo* _tmp12_ = NULL;
AppWindow* _tmp13_ = NULL;
AppWindow* _tmp14_ = NULL;
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = app_window_get_instance ();
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_PAGE_WINDOW, PageWindow));
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp11_);
-#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = photo;
-#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo_open_with_external_editor (_tmp12_, &_inner_error_);
-#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5557 "CollectionPage.c"
- goto __catch231_g_error;
+#line 5607 "CollectionPage.c"
+ goto __catch233_g_error;
}
-#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 627 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = app_window_get_instance ();
-#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 627 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = _tmp13_;
-#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 627 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_PAGE_WINDOW, PageWindow));
-#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 627 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp14_);
-#line 5568 "CollectionPage.c"
+#line 5618 "CollectionPage.c"
}
- goto __finally231;
- __catch231_g_error:
+ goto __finally233;
+ __catch233_g_error:
{
GError* err = NULL;
AppWindow* _tmp15_ = NULL;
AppWindow* _tmp16_ = NULL;
GError* _tmp17_ = NULL;
Photo* _tmp18_ = NULL;
-#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
err = _inner_error_;
-#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_inner_error_ = NULL;
-#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = app_window_get_instance ();
-#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = _tmp15_;
-#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_PAGE_WINDOW, PageWindow));
-#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp16_);
-#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = err;
-#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = photo;
-#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
open_external_editor_error_dialog (_tmp17_, _tmp18_);
-#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_error_free0 (err);
-#line 5598 "CollectionPage.c"
+#line 5648 "CollectionPage.c"
}
- __finally231:
-#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ __finally233:
+#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 624 "/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 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_clear_error (&_inner_error_);
-#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5611 "CollectionPage.c"
+#line 5661 "CollectionPage.c"
}
-#line 612 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 5615 "CollectionPage.c"
+#line 5665 "CollectionPage.c"
}
@@ -5630,53 +5680,53 @@ static void collection_page_on_external_edit_raw (CollectionPage* self) {
Photo* _tmp10_ = NULL;
PhotoFileFormat _tmp11_ = 0;
GError * _inner_error_ = NULL;
-#line 627 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 634 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ != 1;
-#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5650 "CollectionPage.c"
+#line 5700 "CollectionPage.c"
}
-#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected_at (_tmp5_, 0);
-#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = data_view_get_source (_tmp7_);
-#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_PHOTO, Photo);
-#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp9_;
-#line 632 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = photo;
-#line 632 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = photo_get_master_file_format (_tmp10_);
-#line 632 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp11_ != PHOTO_FILE_FORMAT_RAW) {
-#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5680 "CollectionPage.c"
+#line 5730 "CollectionPage.c"
}
{
AppWindow* _tmp12_ = NULL;
@@ -5684,35 +5734,35 @@ static void collection_page_on_external_edit_raw (CollectionPage* self) {
Photo* _tmp14_ = NULL;
AppWindow* _tmp15_ = NULL;
AppWindow* _tmp16_ = NULL;
-#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = app_window_get_instance ();
-#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_PAGE_WINDOW, PageWindow));
-#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp13_);
-#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = photo;
-#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo_open_with_raw_external_editor (_tmp14_, &_inner_error_);
-#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5702 "CollectionPage.c"
- goto __catch232_g_error;
+#line 5752 "CollectionPage.c"
+ goto __catch234_g_error;
}
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = app_window_get_instance ();
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = _tmp15_;
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_PAGE_WINDOW, PageWindow));
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp16_);
-#line 5713 "CollectionPage.c"
+#line 5763 "CollectionPage.c"
}
- goto __finally232;
- __catch232_g_error:
+ goto __finally234;
+ __catch234_g_error:
{
GError* err = NULL;
AppWindow* _tmp17_ = NULL;
@@ -5720,48 +5770,48 @@ static void collection_page_on_external_edit_raw (CollectionPage* self) {
GError* _tmp19_ = NULL;
gchar* _tmp20_ = NULL;
gchar* _tmp21_ = NULL;
-#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
err = _inner_error_;
-#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_inner_error_ = NULL;
-#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = app_window_get_instance ();
-#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = _tmp17_;
-#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_PAGE_WINDOW, PageWindow));
-#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp18_);
-#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = err;
-#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = resources_launch_editor_failed (_tmp19_);
-#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = _tmp20_;
-#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
app_window_error_message (_tmp21_, NULL);
-#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (_tmp21_);
-#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_error_free0 (err);
-#line 5748 "CollectionPage.c"
+#line 5798 "CollectionPage.c"
}
- __finally232:
-#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ __finally234:
+#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 642 "/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 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_clear_error (&_inner_error_);
-#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5761 "CollectionPage.c"
+#line 5811 "CollectionPage.c"
}
-#line 627 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 634 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 5765 "CollectionPage.c"
+#line 5815 "CollectionPage.c"
}
@@ -5778,60 +5828,60 @@ void collection_page_on_set_background (CollectionPage* self) {
GeeArrayList* _tmp6_ = NULL;
gint _tmp7_ = 0;
gint _tmp8_ = 0;
-#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 652 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 646 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 653 "/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 646 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photos = _tmp0_;
-#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = _tmp1_;
-#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = view_collection_get_selected_sources (_tmp2_);
-#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = photos;
-#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/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 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp2_);
-#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = photos;
-#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _tmp7_;
-#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp8_ == 1) {
-#line 5812 "CollectionPage.c"
+#line 5862 "CollectionPage.c"
SetBackgroundPhotoDialog* dialog = NULL;
SetBackgroundPhotoDialog* _tmp9_ = NULL;
SetBackgroundPhotoDialog* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
gboolean _tmp12_ = FALSE;
gboolean _tmp13_ = FALSE;
-#line 652 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = set_background_photo_dialog_new ();
-#line 652 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_object_ref_sink (_tmp9_);
-#line 652 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala"
dialog = _tmp9_;
-#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = dialog;
-#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = set_background_photo_dialog_execute (_tmp10_, &_tmp11_, &_tmp12_);
-#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
desktop = _tmp11_;
-#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
screensaver = _tmp12_;
-#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp13_) {
-#line 5835 "CollectionPage.c"
+#line 5885 "CollectionPage.c"
AppWindow* _tmp14_ = NULL;
AppWindow* _tmp15_ = NULL;
GeeArrayList* _tmp16_ = NULL;
@@ -5841,54 +5891,54 @@ void collection_page_on_set_background (CollectionPage* self) {
gboolean _tmp20_ = FALSE;
AppWindow* _tmp21_ = NULL;
AppWindow* _tmp22_ = NULL;
-#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = app_window_get_instance ();
-#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp14_;
-#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_PAGE_WINDOW, PageWindow));
-#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp15_);
-#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = photos;
-#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 662 "/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 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = (LibraryPhoto*) _tmp17_;
-#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = desktop;
-#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = screensaver;
-#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
desktop_integration_set_background (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_PHOTO, Photo), _tmp19_, _tmp20_);
-#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp18_);
-#line 656 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = app_window_get_instance ();
-#line 656 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _tmp21_;
-#line 656 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_PAGE_WINDOW, PageWindow));
-#line 656 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp22_);
-#line 5875 "CollectionPage.c"
+#line 5925 "CollectionPage.c"
}
-#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (dialog);
-#line 5879 "CollectionPage.c"
+#line 5929 "CollectionPage.c"
} else {
GeeArrayList* _tmp23_ = NULL;
gint _tmp24_ = 0;
gint _tmp25_ = 0;
-#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = photos;
-#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = _tmp24_;
-#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp25_ > 1) {
-#line 5892 "CollectionPage.c"
+#line 5942 "CollectionPage.c"
SetBackgroundSlideshowDialog* dialog = NULL;
SetBackgroundSlideshowDialog* _tmp26_ = NULL;
gint delay = 0;
@@ -5897,25 +5947,25 @@ void collection_page_on_set_background (CollectionPage* self) {
gboolean _tmp29_ = FALSE;
gboolean _tmp30_ = FALSE;
gboolean _tmp31_ = FALSE;
-#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = set_background_slideshow_dialog_new ();
-#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_object_ref_sink (_tmp26_);
-#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala"
dialog = _tmp26_;
-#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = dialog;
-#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = set_background_slideshow_dialog_execute (_tmp27_, &_tmp28_, &_tmp29_, &_tmp30_);
-#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala"
delay = _tmp28_;
-#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala"
desktop = _tmp29_;
-#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala"
screensaver = _tmp30_;
-#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp31_) {
-#line 5919 "CollectionPage.c"
+#line 5969 "CollectionPage.c"
AppWindow* _tmp32_ = NULL;
AppWindow* _tmp33_ = NULL;
GeeArrayList* _tmp34_ = NULL;
@@ -5924,42 +5974,42 @@ void collection_page_on_set_background (CollectionPage* self) {
gboolean _tmp37_ = FALSE;
AppWindow* _tmp38_ = NULL;
AppWindow* _tmp39_ = NULL;
-#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = app_window_get_instance ();
-#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = _tmp32_;
-#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, TYPE_PAGE_WINDOW, PageWindow));
-#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp33_);
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = photos;
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp35_ = delay;
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp36_ = desktop;
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp37_ = screensaver;
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 670 "/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 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp38_ = app_window_get_instance ();
-#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp39_ = _tmp38_;
-#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, TYPE_PAGE_WINDOW, PageWindow));
-#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp39_);
-#line 5954 "CollectionPage.c"
+#line 6004 "CollectionPage.c"
}
-#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (dialog);
-#line 5958 "CollectionPage.c"
+#line 6008 "CollectionPage.c"
}
}
-#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 652 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photos);
-#line 5963 "CollectionPage.c"
+#line 6013 "CollectionPage.c"
}
@@ -5999,205 +6049,205 @@ static void collection_page_on_slideshow (CollectionPage* self) {
LibraryPhoto* _tmp38_ = NULL;
SlideshowPage* _tmp39_ = NULL;
SlideshowPage* _tmp40_ = NULL;
-#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 6019 "CollectionPage.c"
+#line 6069 "CollectionPage.c"
}
-#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _tmp5_;
-#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = view_collection_get_selected_count (_tmp6_);
-#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _tmp7_ > 0;
-#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp6_);
-#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp8_) {
-#line 6033 "CollectionPage.c"
+#line 6083 "CollectionPage.c"
ViewCollection* _tmp9_ = NULL;
ViewCollection* _tmp10_ = NULL;
GeeList* _tmp11_ = NULL;
-#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _tmp9_;
-#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = view_collection_get_selected_sources_of_type (_tmp10_, TYPE_LIBRARY_PHOTO);
-#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _tmp11_;
-#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp10_);
-#line 6049 "CollectionPage.c"
+#line 6099 "CollectionPage.c"
} else {
ViewCollection* _tmp12_ = NULL;
ViewCollection* _tmp13_ = NULL;
GeeList* _tmp14_ = NULL;
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = view_collection_get_sources_of_type (_tmp13_, TYPE_LIBRARY_PHOTO);
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _tmp14_;
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp13_);
-#line 6066 "CollectionPage.c"
+#line 6116 "CollectionPage.c"
}
-#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _g_object_ref0 (_tmp4_);
-#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
sources = _tmp15_;
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = sources;
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp17_ == NULL) {
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = TRUE;
-#line 6078 "CollectionPage.c"
+#line 6128 "CollectionPage.c"
} else {
GeeList* _tmp18_ = NULL;
gint _tmp19_ = 0;
gint _tmp20_ = 0;
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = sources;
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = _tmp19_;
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = _tmp20_ == 0;
-#line 6091 "CollectionPage.c"
+#line 6141 "CollectionPage.c"
}
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp16_) {
-#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 686 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (sources);
-#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 686 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 686 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 6101 "CollectionPage.c"
+#line 6151 "CollectionPage.c"
}
-#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _tmp21_;
-#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = sources;
-#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = gee_list_get (_tmp23_, 0);
-#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = (DataSource*) _tmp24_;
-#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = view_collection_get_view_for_source (_tmp22_, _tmp25_);
-#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, TYPE_THUMBNAIL, Thumbnail);
-#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp25_);
-#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp22_);
-#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
thumbnail = _tmp27_;
-#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp28_ = thumbnail;
-#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp28_ == NULL) {
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (sources);
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 6135 "CollectionPage.c"
+#line 6185 "CollectionPage.c"
}
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 692 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp29_ = thumbnail;
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 692 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = thumbnail_get_media_source (_tmp29_);
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 692 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp30_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp30_) : NULL;
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 692 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp31_ == NULL) {
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 692 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp30_);
-#line 6147 "CollectionPage.c"
+#line 6197 "CollectionPage.c"
}
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 692 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp31_;
-#line 686 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 693 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = photo;
-#line 686 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 693 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp32_ == NULL) {
-#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (sources);
-#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 6165 "CollectionPage.c"
+#line 6215 "CollectionPage.c"
}
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = app_window_get_instance ();
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = _tmp33_;
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp35_ = library_photo_global;
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp36_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp37_ = _tmp36_;
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp38_ = photo;
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/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 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_object_ref_sink (_tmp39_);
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp40_ = _tmp39_;
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
app_window_go_fullscreen (_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, TYPE_PAGE, Page));
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp40_);
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp37_);
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp34_);
-#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (sources);
-#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 6201 "CollectionPage.c"
+#line 6251 "CollectionPage.c"
}
@@ -6211,49 +6261,49 @@ static gboolean collection_page_real_on_ctrl_pressed (Page* base, GdkEventKey* e
GtkToolButton* _tmp3_ = NULL;
GdkEventKey* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
-#line 693 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 700 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder;
-#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = gtk_builder_get_object (_tmp0_, "ToolRotate");
-#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 701 "/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 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
rotate_button = _tmp2_;
-#line 695 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = rotate_button;
-#line 695 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_ != NULL) {
-#line 6229 "CollectionPage.c"
+#line 6279 "CollectionPage.c"
GtkToolButton* _tmp4_ = NULL;
GtkToolButton* _tmp5_ = NULL;
GtkToolButton* _tmp6_ = NULL;
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 703 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = rotate_button;
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 703 "/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 697 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 704 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = rotate_button;
-#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 704 "/home/jens/Source/shotwell/src/CollectionPage.vala"
gtk_tool_button_set_icon_name (_tmp5_, "object-rotate-left");
-#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 705 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = rotate_button;
-#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 705 "/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 6245 "CollectionPage.c"
+#line 6295 "CollectionPage.c"
}
-#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = event;
-#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 708 "/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 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp8_;
-#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (rotate_button);
-#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 6257 "CollectionPage.c"
+#line 6307 "CollectionPage.c"
}
@@ -6267,56 +6317,56 @@ static gboolean collection_page_real_on_ctrl_released (Page* base, GdkEventKey*
GtkToolButton* _tmp3_ = NULL;
GdkEventKey* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
-#line 704 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 711 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 705 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder;
-#line 705 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = gtk_builder_get_object (_tmp0_, "ToolRotate");
-#line 705 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 712 "/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 705 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
rotate_button = _tmp2_;
-#line 706 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 713 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = rotate_button;
-#line 706 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 713 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_ != NULL) {
-#line 6285 "CollectionPage.c"
+#line 6335 "CollectionPage.c"
GtkToolButton* _tmp4_ = NULL;
GtkToolButton* _tmp5_ = NULL;
GtkToolButton* _tmp6_ = NULL;
-#line 707 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = rotate_button;
-#line 707 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 714 "/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 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 715 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = rotate_button;
-#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 715 "/home/jens/Source/shotwell/src/CollectionPage.vala"
gtk_tool_button_set_icon_name (_tmp5_, "object-rotate-right");
-#line 709 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 716 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = rotate_button;
-#line 709 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 716 "/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 6301 "CollectionPage.c"
+#line 6351 "CollectionPage.c"
}
-#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 719 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = event;
-#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 719 "/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 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 719 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp8_;
-#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 719 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (rotate_button);
-#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 719 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 6313 "CollectionPage.c"
+#line 6363 "CollectionPage.c"
}
static gpointer _view_filter_ref0 (gpointer self) {
-#line 716 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 723 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return self ? view_filter_ref (self) : NULL;
-#line 6320 "CollectionPage.c"
+#line 6370 "CollectionPage.c"
}
@@ -6325,17 +6375,17 @@ static SearchViewFilter* collection_page_real_get_search_view_filter (Checkerboa
SearchViewFilter* result = NULL;
CollectionPageCollectionSearchViewFilter* _tmp0_ = NULL;
SearchViewFilter* _tmp1_ = NULL;
-#line 715 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 722 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 716 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 723 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = self->priv->search_filter;
-#line 716 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 723 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _view_filter_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
-#line 716 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 723 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp1_;
-#line 716 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 723 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 6339 "CollectionPage.c"
+#line 6389 "CollectionPage.c"
}
@@ -6348,7 +6398,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 6352 "CollectionPage.c"
+#line 6402 "CollectionPage.c"
}
@@ -6358,14 +6408,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 6362 "CollectionPage.c"
+#line 6412 "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 6369 "CollectionPage.c"
+#line 6419 "CollectionPage.c"
}
@@ -6374,7 +6424,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 6378 "CollectionPage.c"
+#line 6428 "CollectionPage.c"
}
@@ -6406,6 +6456,8 @@ static void collection_page_class_init (CollectionPageClass * klass) {
#line 19 "/home/jens/Source/shotwell/src/CollectionPage.vala"
((PageClass *) klass)->add_actions = collection_page_real_add_actions;
#line 19 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ ((PageClass *) klass)->remove_actions = collection_page_real_remove_actions;
+#line 19 "/home/jens/Source/shotwell/src/CollectionPage.vala"
((PageClass *) klass)->init_collect_injection_groups = collection_page_real_init_collect_injection_groups;
#line 19 "/home/jens/Source/shotwell/src/CollectionPage.vala"
((PageClass *) klass)->init_actions = collection_page_real_init_actions;
@@ -6425,7 +6477,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 6429 "CollectionPage.c"
+#line 6481 "CollectionPage.c"
}
@@ -6439,7 +6491,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 6443 "CollectionPage.c"
+#line 6495 "CollectionPage.c"
}
@@ -6453,7 +6505,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 6457 "CollectionPage.c"
+#line 6509 "CollectionPage.c"
}