diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-05-01 14:43:08 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-05-01 14:43:08 +0200 |
commit | 2b3f22361da0c1d8e6ce70d71352821758186db7 (patch) | |
tree | 5d10633b47369b3aa52a05bf889ede0dbe5ee108 /src/CollectionPage.c | |
parent | 211da5fc3048ca2b6ccee2166b0aaaade55cb84f (diff) | |
parent | dc6c76eb04dfe3d4262a1806808f0bc0bf523238 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/CollectionPage.c')
-rw-r--r-- | src/CollectionPage.c | 4001 |
1 files changed, 1979 insertions, 2022 deletions
diff --git a/src/CollectionPage.c b/src/CollectionPage.c index 87f07c8..01e92e8 100644 --- a/src/CollectionPage.c +++ b/src/CollectionPage.c @@ -18,6 +18,7 @@ #include <float.h> #include <math.h> #include <glib/gi18n-lib.h> +#include "shotwell-graphics-processor.h" #include <time.h> @@ -544,16 +545,6 @@ typedef struct _MultiplePhotoTransformationCommandClass MultiplePhotoTransformat typedef struct _RevertMultipleCommand RevertMultipleCommand; typedef struct _RevertMultipleCommandClass RevertMultipleCommandClass; - -#define TYPE_PIXEL_TRANSFORMATION_BUNDLE (pixel_transformation_bundle_get_type ()) -#define PIXEL_TRANSFORMATION_BUNDLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PIXEL_TRANSFORMATION_BUNDLE, PixelTransformationBundle)) -#define PIXEL_TRANSFORMATION_BUNDLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PIXEL_TRANSFORMATION_BUNDLE, PixelTransformationBundleClass)) -#define IS_PIXEL_TRANSFORMATION_BUNDLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PIXEL_TRANSFORMATION_BUNDLE)) -#define IS_PIXEL_TRANSFORMATION_BUNDLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PIXEL_TRANSFORMATION_BUNDLE)) -#define PIXEL_TRANSFORMATION_BUNDLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PIXEL_TRANSFORMATION_BUNDLE, PixelTransformationBundleClass)) - -typedef struct _PixelTransformationBundle PixelTransformationBundle; -typedef struct _PixelTransformationBundleClass PixelTransformationBundleClass; #define _pixel_transformation_bundle_unref0(var) ((var == NULL) ? NULL : (var = (pixel_transformation_bundle_unref (var), NULL))) #define TYPE_ADJUST_COLORS_MULTIPLE_COMMAND (adjust_colors_multiple_command_get_type ()) @@ -1167,12 +1158,12 @@ 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); -static void _vala_array_add77 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value); -static void _vala_array_add78 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value); -static void _vala_array_add79 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value); static void _vala_array_add80 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value); static void _vala_array_add81 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value); +static void _vala_array_add82 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value); +static void _vala_array_add83 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value); +static void _vala_array_add84 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value); +static void _vala_array_add85 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value); static gboolean collection_page_selection_has_video (CollectionPage* self); GType thumbnail_source_get_type (void) G_GNUC_CONST; GType media_source_get_type (void) G_GNUC_CONST; @@ -1184,11 +1175,7 @@ GeeCollection* view_collection_get_sources (ViewCollection* self); static gboolean collection_page_selection_has_photo (CollectionPage* self); static void collection_page_real_init_actions (Page* base, gint selected_count, gint count); void page_init_actions (Page* self, gint selected_count, gint count); -void page_set_action_short_label (Page* self, const gchar* name, const gchar* short_label); -#define RESOURCES_ROTATE_CW_LABEL _ ("Rotate") -#define RESOURCES_ROTATE_CCW_LABEL _ ("Rotate") -#define RESOURCES_PUBLISH_LABEL _ ("Publish") -void page_set_action_important (Page* self, const gchar* name, gboolean important); +void page_set_action_sensitive (Page* self, const gchar* name, gboolean sensitive); 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); @@ -1198,8 +1185,6 @@ DataView* view_collection_get_selected_at (ViewCollection* self, gint index); DataSource* data_view_get_source (DataView* self); GType video_source_get_type (void) G_GNUC_CONST; GType video_get_type (void) G_GNUC_CONST; -void page_set_action_sensitive (Page* self, const gchar* name, gboolean sensitive); -void page_set_action_visible (Page* self, const gchar* name, gboolean visible); gboolean is_string_empty (const gchar* s); gchar* configuration_facade_get_external_photo_app (ConfigurationFacade* self); GType photo_source_get_type (void) G_GNUC_CONST; @@ -1209,7 +1194,6 @@ PhotoFileFormat photo_get_master_file_format (Photo* self); gchar* configuration_facade_get_external_raw_app (ConfigurationFacade* self); static gboolean collection_page_can_revert_selected (CollectionPage* self); gboolean photo_has_color_adjustments (Photo* self); -gboolean pixel_transformation_bundle_has_copied_color_adjustments (void); #define RESOURCES_SET_BACKGROUND_MENU _ ("Set as _Desktop Background") #define RESOURCES_SET_BACKGROUND_SLIDESHOW_MENU _ ("Set as _Desktop Slideshow…") void page_update_menu_item_label (Page* self, const gchar* id, const gchar* new_label); @@ -1309,16 +1293,7 @@ GType multiple_photo_transformation_command_get_type (void) G_GNUC_CONST; GType revert_multiple_command_get_type (void) G_GNUC_CONST; RevertMultipleCommand* revert_multiple_command_new (GeeIterable* iter); RevertMultipleCommand* revert_multiple_command_construct (GType object_type, GeeIterable* iter); -gpointer pixel_transformation_bundle_ref (gpointer instance); -void pixel_transformation_bundle_unref (gpointer instance); -GParamSpec* param_spec_pixel_transformation_bundle (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags); -void value_set_pixel_transformation_bundle (GValue* value, gpointer v_object); -void value_take_pixel_transformation_bundle (GValue* value, gpointer v_object); -gpointer value_get_pixel_transformation_bundle (const GValue* value); -GType pixel_transformation_bundle_get_type (void) G_GNUC_CONST; -void pixel_transformation_bundle_set_copied_color_adjustments (PixelTransformationBundle* adjustments); PixelTransformationBundle* photo_get_color_adjustments (Photo* self); -PixelTransformationBundle* pixel_transformation_bundle_get_copied_color_adjustments (void); GType adjust_colors_multiple_command_get_type (void) G_GNUC_CONST; #define RESOURCES_PASTE_ADJUSTMENTS_LABEL _ ("Paste Color Adjustments") #define RESOURCES_PASTE_ADJUSTMENTS_TOOLTIP _ ("Apply copied color adjustments to the selected photos") @@ -1386,7 +1361,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 1390 "CollectionPage.c" +#line 1365 "CollectionPage.c" } @@ -1408,14 +1383,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 1412 "CollectionPage.c" +#line 1387 "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 1419 "CollectionPage.c" +#line 1394 "CollectionPage.c" } @@ -1439,7 +1414,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 1443 "CollectionPage.c" +#line 1418 "CollectionPage.c" } @@ -1452,14 +1427,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 = (DataView* (*) (ViewManager *, DataSource*)) collection_view_manager_real_create_view; -#line 1456 "CollectionPage.c" +#line 1431 "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 1463 "CollectionPage.c" +#line 1438 "CollectionPage.c" } @@ -1471,7 +1446,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 1475 "CollectionPage.c" +#line 1450 "CollectionPage.c" } @@ -1490,126 +1465,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 160 "/home/jens/Source/shotwell/src/CollectionPage.vala" collection_page_on_print ((CollectionPage*) self); -#line 1494 "CollectionPage.c" +#line 1469 "CollectionPage.c" } static void _collection_page_on_publish_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala" collection_page_on_publish ((CollectionPage*) self); -#line 1501 "CollectionPage.c" +#line 1476 "CollectionPage.c" } static void _collection_page_on_rotate_clockwise_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala" collection_page_on_rotate_clockwise ((CollectionPage*) self); -#line 1508 "CollectionPage.c" +#line 1483 "CollectionPage.c" } static void _collection_page_on_rotate_counterclockwise_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala" collection_page_on_rotate_counterclockwise ((CollectionPage*) self); -#line 1515 "CollectionPage.c" +#line 1490 "CollectionPage.c" } static void _collection_page_on_flip_horizontally_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala" collection_page_on_flip_horizontally ((CollectionPage*) self); -#line 1522 "CollectionPage.c" +#line 1497 "CollectionPage.c" } static void _collection_page_on_flip_vertically_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala" collection_page_on_flip_vertically ((CollectionPage*) self); -#line 1529 "CollectionPage.c" +#line 1504 "CollectionPage.c" } static void _collection_page_on_enhance_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala" collection_page_on_enhance ((CollectionPage*) self); -#line 1536 "CollectionPage.c" +#line 1511 "CollectionPage.c" } static void _collection_page_on_copy_adjustments_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala" collection_page_on_copy_adjustments ((CollectionPage*) self); -#line 1543 "CollectionPage.c" +#line 1518 "CollectionPage.c" } static void _collection_page_on_paste_adjustments_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala" collection_page_on_paste_adjustments ((CollectionPage*) self); -#line 1550 "CollectionPage.c" +#line 1525 "CollectionPage.c" } static void _collection_page_on_revert_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala" collection_page_on_revert ((CollectionPage*) self); -#line 1557 "CollectionPage.c" +#line 1532 "CollectionPage.c" } static void _collection_page_on_set_background_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala" collection_page_on_set_background ((CollectionPage*) self); -#line 1564 "CollectionPage.c" +#line 1539 "CollectionPage.c" } static void _collection_page_on_duplicate_photo_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala" collection_page_on_duplicate_photo ((CollectionPage*) self); -#line 1571 "CollectionPage.c" +#line 1546 "CollectionPage.c" } static void _collection_page_on_adjust_date_time_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala" collection_page_on_adjust_date_time ((CollectionPage*) self); -#line 1578 "CollectionPage.c" +#line 1553 "CollectionPage.c" } static void _collection_page_on_external_edit_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala" collection_page_on_external_edit ((CollectionPage*) self); -#line 1585 "CollectionPage.c" +#line 1560 "CollectionPage.c" } static void _collection_page_on_external_edit_raw_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala" collection_page_on_external_edit_raw ((CollectionPage*) self); -#line 1592 "CollectionPage.c" +#line 1567 "CollectionPage.c" } static void _collection_page_on_slideshow_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 160 "/home/jens/Source/shotwell/src/CollectionPage.vala" collection_page_on_slideshow ((CollectionPage*) self); -#line 1599 "CollectionPage.c" +#line 1574 "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 1606 "CollectionPage.c" +#line 1581 "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 1613 "CollectionPage.c" +#line 1588 "CollectionPage.c" } @@ -1650,7 +1625,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 1654 "CollectionPage.c" +#line 1629 "CollectionPage.c" } @@ -1666,7 +1641,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 1670 "CollectionPage.c" +#line 1645 "CollectionPage.c" GtkToolbar* _tmp1_; GtkToolbar* _tmp2_; GtkSeparatorToolItem* separator = NULL; @@ -1803,7 +1778,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 1807 "CollectionPage.c" +#line 1782 "CollectionPage.c" } #line 74 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp28_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->toolbar; @@ -1813,7 +1788,7 @@ static GtkToolbar* collection_page_real_get_toolbar (Page* base) { result = _tmp29_; #line 74 "/home/jens/Source/shotwell/src/CollectionPage.vala" return result; -#line 1817 "CollectionPage.c" +#line 1792 "CollectionPage.c" } @@ -1839,7 +1814,7 @@ static InjectionGroup* collection_page_create_file_menu_injectables (void) { result = group; #line 86 "/home/jens/Source/shotwell/src/CollectionPage.vala" return result; -#line 1843 "CollectionPage.c" +#line 1818 "CollectionPage.c" } @@ -1857,7 +1832,7 @@ static InjectionGroup* collection_page_create_edit_menu_injectables (void) { result = group; #line 94 "/home/jens/Source/shotwell/src/CollectionPage.vala" return result; -#line 1861 "CollectionPage.c" +#line 1836 "CollectionPage.c" } @@ -1879,7 +1854,7 @@ static InjectionGroup* collection_page_create_view_menu_fullscreen_injectables ( result = group; #line 104 "/home/jens/Source/shotwell/src/CollectionPage.vala" return result; -#line 1883 "CollectionPage.c" +#line 1858 "CollectionPage.c" } @@ -1915,7 +1890,7 @@ static InjectionGroup* collection_page_create_photos_menu_edits_injectables (voi result = group; #line 129 "/home/jens/Source/shotwell/src/CollectionPage.vala" return result; -#line 1919 "CollectionPage.c" +#line 1894 "CollectionPage.c" } @@ -1928,12 +1903,12 @@ static InjectionGroup* collection_page_create_photos_menu_date_injectables (void #line 133 "/home/jens/Source/shotwell/src/CollectionPage.vala" group = _tmp0_; #line 135 "/home/jens/Source/shotwell/src/CollectionPage.vala" - injection_group_add_menu_item (group, _ ("Adjust Date and Time…"), "AdjustDateTime", NULL); + injection_group_add_menu_item (group, _ ("Adjust Date and Time…"), "AdjustDateTime", "F4"); #line 137 "/home/jens/Source/shotwell/src/CollectionPage.vala" result = group; #line 137 "/home/jens/Source/shotwell/src/CollectionPage.vala" return result; -#line 1937 "CollectionPage.c" +#line 1912 "CollectionPage.c" } @@ -1955,7 +1930,7 @@ static InjectionGroup* collection_page_create_photos_menu_externals_injectables result = group; #line 151 "/home/jens/Source/shotwell/src/CollectionPage.vala" return result; -#line 1959 "CollectionPage.c" +#line 1934 "CollectionPage.c" } @@ -1975,7 +1950,7 @@ static void collection_page_real_init_collect_ui_filenames (Page* base, GeeList* _tmp1_ = ui_filenames; #line 157 "/home/jens/Source/shotwell/src/CollectionPage.vala" gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection), "collection.ui"); -#line 1979 "CollectionPage.c" +#line 1954 "CollectionPage.c" } @@ -1995,7 +1970,7 @@ static void collection_page_real_add_actions (Page* base, GActionMap* map) { _tmp1_ = map; #line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_action_map_add_action_entries (_tmp1_, COLLECTION_PAGE_entries, G_N_ELEMENTS (COLLECTION_PAGE_entries), self); -#line 1999 "CollectionPage.c" +#line 1974 "CollectionPage.c" } @@ -2010,7 +1985,7 @@ static void collection_page_real_remove_actions (Page* base, GActionMap* map) { _tmp0_ = map; #line 186 "/home/jens/Source/shotwell/src/CollectionPage.vala" PAGE_CLASS (collection_page_parent_class)->remove_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page), _tmp0_); -#line 2014 "CollectionPage.c" +#line 1989 "CollectionPage.c" { GActionEntry* entry_collection = NULL; gint entry_collection_length1 = 0; @@ -2022,11 +1997,11 @@ static void collection_page_real_remove_actions (Page* base, GActionMap* map) { entry_collection_length1 = G_N_ELEMENTS (COLLECTION_PAGE_entries); #line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala" for (entry_it = 0; entry_it < G_N_ELEMENTS (COLLECTION_PAGE_entries); entry_it = entry_it + 1) { -#line 2026 "CollectionPage.c" +#line 2001 "CollectionPage.c" GActionEntry entry = {0}; #line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala" entry = entry_collection[entry_it]; -#line 2030 "CollectionPage.c" +#line 2005 "CollectionPage.c" { GActionMap* _tmp1_; GActionEntry _tmp2_; @@ -2039,112 +2014,112 @@ static void collection_page_real_remove_actions (Page* base, GActionMap* map) { _tmp3_ = _tmp2_.name; #line 188 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_action_map_remove_action (_tmp1_, _tmp3_); -#line 2043 "CollectionPage.c" +#line 2018 "CollectionPage.c" } } } } -static void _vala_array_add76 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value) { +static void _vala_array_add80 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value) { #line 195 "/home/jens/Source/shotwell/src/CollectionPage.vala" if ((*length) == (*size)) { #line 195 "/home/jens/Source/shotwell/src/CollectionPage.vala" *size = (*size) ? (2 * (*size)) : 4; #line 195 "/home/jens/Source/shotwell/src/CollectionPage.vala" *array = g_renew (InjectionGroup*, *array, (*size) + 1); -#line 2057 "CollectionPage.c" +#line 2032 "CollectionPage.c" } #line 195 "/home/jens/Source/shotwell/src/CollectionPage.vala" (*array)[(*length)++] = value; #line 195 "/home/jens/Source/shotwell/src/CollectionPage.vala" (*array)[*length] = NULL; -#line 2063 "CollectionPage.c" +#line 2038 "CollectionPage.c" } -static void _vala_array_add77 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value) { +static void _vala_array_add81 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value) { #line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala" if ((*length) == (*size)) { #line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala" *size = (*size) ? (2 * (*size)) : 4; #line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala" *array = g_renew (InjectionGroup*, *array, (*size) + 1); -#line 2074 "CollectionPage.c" +#line 2049 "CollectionPage.c" } #line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala" (*array)[(*length)++] = value; #line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala" (*array)[*length] = NULL; -#line 2080 "CollectionPage.c" +#line 2055 "CollectionPage.c" } -static void _vala_array_add78 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value) { +static void _vala_array_add82 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value) { #line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala" if ((*length) == (*size)) { #line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala" *size = (*size) ? (2 * (*size)) : 4; #line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala" *array = g_renew (InjectionGroup*, *array, (*size) + 1); -#line 2091 "CollectionPage.c" +#line 2066 "CollectionPage.c" } #line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala" (*array)[(*length)++] = value; #line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala" (*array)[*length] = NULL; -#line 2097 "CollectionPage.c" +#line 2072 "CollectionPage.c" } -static void _vala_array_add79 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value) { +static void _vala_array_add83 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value) { #line 198 "/home/jens/Source/shotwell/src/CollectionPage.vala" if ((*length) == (*size)) { #line 198 "/home/jens/Source/shotwell/src/CollectionPage.vala" *size = (*size) ? (2 * (*size)) : 4; #line 198 "/home/jens/Source/shotwell/src/CollectionPage.vala" *array = g_renew (InjectionGroup*, *array, (*size) + 1); -#line 2108 "CollectionPage.c" +#line 2083 "CollectionPage.c" } #line 198 "/home/jens/Source/shotwell/src/CollectionPage.vala" (*array)[(*length)++] = value; #line 198 "/home/jens/Source/shotwell/src/CollectionPage.vala" (*array)[*length] = NULL; -#line 2114 "CollectionPage.c" +#line 2089 "CollectionPage.c" } -static void _vala_array_add80 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value) { +static void _vala_array_add84 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value) { #line 199 "/home/jens/Source/shotwell/src/CollectionPage.vala" if ((*length) == (*size)) { #line 199 "/home/jens/Source/shotwell/src/CollectionPage.vala" *size = (*size) ? (2 * (*size)) : 4; #line 199 "/home/jens/Source/shotwell/src/CollectionPage.vala" *array = g_renew (InjectionGroup*, *array, (*size) + 1); -#line 2125 "CollectionPage.c" +#line 2100 "CollectionPage.c" } #line 199 "/home/jens/Source/shotwell/src/CollectionPage.vala" (*array)[(*length)++] = value; #line 199 "/home/jens/Source/shotwell/src/CollectionPage.vala" (*array)[*length] = NULL; -#line 2131 "CollectionPage.c" +#line 2106 "CollectionPage.c" } -static void _vala_array_add81 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value) { +static void _vala_array_add85 (InjectionGroup** * array, int* length, int* size, InjectionGroup* value) { #line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala" if ((*length) == (*size)) { #line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala" *size = (*size) ? (2 * (*size)) : 4; #line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala" *array = g_renew (InjectionGroup*, *array, (*size) + 1); -#line 2142 "CollectionPage.c" +#line 2117 "CollectionPage.c" } #line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala" (*array)[(*length)++] = value; #line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala" (*array)[*length] = NULL; -#line 2148 "CollectionPage.c" +#line 2123 "CollectionPage.c" } @@ -2193,7 +2168,7 @@ static InjectionGroup** collection_page_real_init_collect_injection_groups (Page #line 195 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = collection_page_create_file_menu_injectables (); #line 195 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _vala_array_add76 (&groups, &groups_length1, &_groups_size_, _tmp3_); + _vala_array_add80 (&groups, &groups_length1, &_groups_size_, _tmp3_); #line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = groups; #line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala" @@ -2201,7 +2176,7 @@ static InjectionGroup** collection_page_real_init_collect_injection_groups (Page #line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = collection_page_create_edit_menu_injectables (); #line 196 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _vala_array_add77 (&groups, &groups_length1, &_groups_size_, _tmp5_); + _vala_array_add81 (&groups, &groups_length1, &_groups_size_, _tmp5_); #line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = groups; #line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala" @@ -2209,7 +2184,7 @@ static InjectionGroup** collection_page_real_init_collect_injection_groups (Page #line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = collection_page_create_view_menu_fullscreen_injectables (); #line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _vala_array_add78 (&groups, &groups_length1, &_groups_size_, _tmp7_); + _vala_array_add82 (&groups, &groups_length1, &_groups_size_, _tmp7_); #line 198 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = groups; #line 198 "/home/jens/Source/shotwell/src/CollectionPage.vala" @@ -2217,7 +2192,7 @@ static InjectionGroup** collection_page_real_init_collect_injection_groups (Page #line 198 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = collection_page_create_photos_menu_edits_injectables (); #line 198 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _vala_array_add79 (&groups, &groups_length1, &_groups_size_, _tmp9_); + _vala_array_add83 (&groups, &groups_length1, &_groups_size_, _tmp9_); #line 199 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = groups; #line 199 "/home/jens/Source/shotwell/src/CollectionPage.vala" @@ -2225,7 +2200,7 @@ static InjectionGroup** collection_page_real_init_collect_injection_groups (Page #line 199 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp11_ = collection_page_create_photos_menu_date_injectables (); #line 199 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _vala_array_add80 (&groups, &groups_length1, &_groups_size_, _tmp11_); + _vala_array_add84 (&groups, &groups_length1, &_groups_size_, _tmp11_); #line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp12_ = groups; #line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala" @@ -2233,7 +2208,7 @@ static InjectionGroup** collection_page_real_init_collect_injection_groups (Page #line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp13_ = collection_page_create_photos_menu_externals_injectables (); #line 200 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _vala_array_add81 (&groups, &groups_length1, &_groups_size_, _tmp13_); + _vala_array_add85 (&groups, &groups_length1, &_groups_size_, _tmp13_); #line 202 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp14_ = groups; #line 202 "/home/jens/Source/shotwell/src/CollectionPage.vala" @@ -2242,13 +2217,13 @@ static InjectionGroup** collection_page_real_init_collect_injection_groups (Page if (result_length1) { #line 202 "/home/jens/Source/shotwell/src/CollectionPage.vala" *result_length1 = _tmp14__length1; -#line 2246 "CollectionPage.c" +#line 2221 "CollectionPage.c" } #line 202 "/home/jens/Source/shotwell/src/CollectionPage.vala" result = _tmp14_; #line 202 "/home/jens/Source/shotwell/src/CollectionPage.vala" return result; -#line 2252 "CollectionPage.c" +#line 2227 "CollectionPage.c" } @@ -2282,7 +2257,7 @@ static gboolean collection_page_selection_has_video (CollectionPage* self) { result = _tmp5_; #line 206 "/home/jens/Source/shotwell/src/CollectionPage.vala" return result; -#line 2286 "CollectionPage.c" +#line 2261 "CollectionPage.c" } @@ -2316,7 +2291,7 @@ static gboolean collection_page_page_has_photo (CollectionPage* self) { result = _tmp5_; #line 210 "/home/jens/Source/shotwell/src/CollectionPage.vala" return result; -#line 2320 "CollectionPage.c" +#line 2295 "CollectionPage.c" } @@ -2350,7 +2325,7 @@ static gboolean collection_page_selection_has_photo (CollectionPage* self) { result = _tmp5_; #line 214 "/home/jens/Source/shotwell/src/CollectionPage.vala" return result; -#line 2354 "CollectionPage.c" +#line 2329 "CollectionPage.c" } @@ -2367,20 +2342,14 @@ static void collection_page_real_init_actions (Page* base, gint selected_count, #line 218 "/home/jens/Source/shotwell/src/CollectionPage.vala" PAGE_CLASS (collection_page_parent_class)->init_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page), _tmp0_, _tmp1_); #line 220 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_short_label (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateClockwise", RESOURCES_ROTATE_CW_LABEL); + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateClockwise", TRUE); #line 221 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_short_label (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateCounterclockwise", RESOURCES_ROTATE_CCW_LABEL); + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateCounterclockwise", TRUE); #line 222 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_short_label (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Publish", RESOURCES_PUBLISH_LABEL); -#line 224 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_important (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateClockwise", TRUE); -#line 225 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_important (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateCounterclockwise", TRUE); -#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_important (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Enhance", TRUE); -#line 227 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_important (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Publish", TRUE); -#line 2384 "CollectionPage.c" + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Enhance", TRUE); +#line 223 "/home/jens/Source/shotwell/src/CollectionPage.vala" + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Publish", TRUE); +#line 2353 "CollectionPage.c" } @@ -2405,86 +2374,86 @@ static void collection_page_real_update_actions (Page* base, gint selected_count gboolean _tmp18_; gboolean _tmp19_ = FALSE; gboolean _tmp20_; - gboolean _tmp22_; + gboolean _tmp22_ = FALSE; gboolean _tmp23_ = FALSE; gboolean _tmp24_; - gboolean _tmp30_ = FALSE; gboolean _tmp31_ = FALSE; gboolean _tmp32_ = FALSE; - gboolean _tmp33_; - gboolean _tmp47_ = FALSE; - gboolean _tmp48_; - gboolean _tmp50_ = FALSE; - gboolean _tmp51_; - gboolean _tmp53_ = FALSE; + gboolean _tmp33_ = FALSE; + gboolean _tmp34_; + gboolean _tmp48_ = FALSE; + gboolean _tmp49_; + gboolean _tmp51_ = FALSE; + gboolean _tmp52_; gboolean _tmp54_ = FALSE; - gboolean _tmp55_; - gboolean _tmp64_ = FALSE; + gboolean _tmp55_ = FALSE; + gboolean _tmp56_; gboolean _tmp65_ = FALSE; - gboolean _tmp66_; - gboolean _tmp69_ = FALSE; - gboolean _tmp70_; - gboolean _tmp72_ = FALSE; - gboolean _tmp73_; - gboolean _tmp75_ = FALSE; - gboolean _tmp76_; - gboolean _tmp78_ = FALSE; - gboolean _tmp79_; - gboolean _tmp81_; + gboolean _tmp66_ = FALSE; + gboolean _tmp67_; + gboolean _tmp70_ = FALSE; + gboolean _tmp71_; + gboolean _tmp73_ = FALSE; + gboolean _tmp74_; + gboolean _tmp76_ = FALSE; + gboolean _tmp77_; + gboolean _tmp79_ = FALSE; + gboolean _tmp80_; gboolean _tmp82_; gboolean _tmp83_; gboolean _tmp84_; - gboolean _tmp85_ = FALSE; - gboolean _tmp86_; - gboolean _tmp88_ = FALSE; - gboolean _tmp89_; - gboolean _tmp91_; - gboolean _tmp92_ = FALSE; - gboolean _tmp93_; - gboolean _tmp95_; -#line 230 "/home/jens/Source/shotwell/src/CollectionPage.vala" + gboolean _tmp85_; + gboolean _tmp86_ = FALSE; + gboolean _tmp87_; + gboolean _tmp89_ = FALSE; + gboolean _tmp90_; + gboolean _tmp92_; + gboolean _tmp93_ = FALSE; + gboolean _tmp94_; + gboolean _tmp96_; +#line 226 "/home/jens/Source/shotwell/src/CollectionPage.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage); -#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 228 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = app_window_get_instance (); -#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 228 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _tmp0_; -#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 228 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_PAGE_WINDOW, PageWindow)); -#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 228 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_; -#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 228 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = _tmp3_ != G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page); -#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 228 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp3_); -#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 228 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp1_); -#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 228 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp4_) { -#line 233 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 229 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 2466 "CollectionPage.c" +#line 2435 "CollectionPage.c" } -#line 236 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = selected_count; -#line 236 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 232 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = count; -#line 236 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 232 "/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 238 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 234 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = selected_count; -#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 234 "/home/jens/Source/shotwell/src/CollectionPage.vala" one_selected = _tmp7_ == 1; -#line 239 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 235 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = selected_count; -#line 239 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 235 "/home/jens/Source/shotwell/src/CollectionPage.vala" has_selected = _tmp8_ > 0; -#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 237 "/home/jens/Source/shotwell/src/CollectionPage.vala" primary_is_video = FALSE; -#line 242 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = has_selected; -#line 242 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp9_) { -#line 2488 "CollectionPage.c" +#line 2457 "CollectionPage.c" ViewCollection* _tmp10_; ViewCollection* _tmp11_; DataView* _tmp12_; @@ -2492,498 +2461,508 @@ static void collection_page_real_update_actions (Page* base, gint selected_count DataSource* _tmp14_; DataSource* _tmp15_; gboolean _tmp16_; -#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 239 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 239 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp11_ = _tmp10_; -#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 239 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp12_ = view_collection_get_selected_at (_tmp11_, 0); -#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 239 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp13_ = _tmp12_; -#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 239 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp14_ = data_view_get_source (_tmp13_); -#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 239 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp15_ = _tmp14_; -#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 239 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp16_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp15_, TYPE_VIDEO); -#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 239 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp15_); -#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 239 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp13_); -#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 239 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp11_); -#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 239 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp16_) { -#line 244 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 240 "/home/jens/Source/shotwell/src/CollectionPage.vala" primary_is_video = TRUE; -#line 2520 "CollectionPage.c" +#line 2489 "CollectionPage.c" } } -#line 246 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 242 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp17_ = collection_page_selection_has_video (self); -#line 246 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 242 "/home/jens/Source/shotwell/src/CollectionPage.vala" selection_has_videos = _tmp17_; -#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp18_ = collection_page_page_has_photo (self); -#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala" page_has_photos = _tmp18_; -#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp20_ = has_selected; -#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp20_) { -#line 2535 "CollectionPage.c" +#line 2504 "CollectionPage.c" gboolean _tmp21_; -#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp21_ = selection_has_videos; -#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp19_ = !_tmp21_; -#line 2541 "CollectionPage.c" +#line 2510 "CollectionPage.c" } else { -#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp19_ = FALSE; -#line 2545 "CollectionPage.c" +#line 2514 "CollectionPage.c" } -#line 251 "/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), "Duplicate", _tmp19_); -#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp22_ = primary_is_video; -#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_visible (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEdit", !_tmp22_); -#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp24_ = one_selected; -#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (_tmp24_) { -#line 2557 "CollectionPage.c" - ConfigFacade* _tmp25_; +#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp24_ = primary_is_video; +#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala" + if (!_tmp24_) { +#line 2522 "CollectionPage.c" + gboolean _tmp25_; +#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp25_ = one_selected; +#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp23_ = _tmp25_; +#line 2528 "CollectionPage.c" + } else { +#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp23_ = FALSE; +#line 2532 "CollectionPage.c" + } +#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala" + if (_tmp23_) { +#line 2536 "CollectionPage.c" ConfigFacade* _tmp26_; - gchar* _tmp27_; + ConfigFacade* _tmp27_; gchar* _tmp28_; - gboolean _tmp29_; + gchar* _tmp29_; + gboolean _tmp30_; +#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp26_ = config_facade_get_instance (); +#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp27_ = _tmp26_; +#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp28_ = configuration_facade_get_external_photo_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); +#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp29_ = _tmp28_; +#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp30_ = is_string_empty (_tmp29_); +#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp22_ = !_tmp30_; +#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _g_free0 (_tmp29_); +#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _g_object_unref0 (_tmp27_); +#line 2558 "CollectionPage.c" + } else { +#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp22_ = FALSE; +#line 2562 "CollectionPage.c" + } +#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala" + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEdit", _tmp22_); +#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp34_ = one_selected; +#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala" + if (_tmp34_) { +#line 2570 "CollectionPage.c" + gboolean _tmp35_; +#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp35_ = primary_is_video; +#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp33_ = !_tmp35_; +#line 2576 "CollectionPage.c" + } else { +#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp33_ = FALSE; +#line 2580 "CollectionPage.c" + } +#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala" + if (_tmp33_) { +#line 2584 "CollectionPage.c" + ViewCollection* _tmp36_; + ViewCollection* _tmp37_; + DataView* _tmp38_; + DataView* _tmp39_; + DataSource* _tmp40_; + Photo* _tmp41_; + PhotoFileFormat _tmp42_; +#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp36_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); +#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp37_ = _tmp36_; +#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp38_ = view_collection_get_selected_at (_tmp37_, 0); +#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp39_ = _tmp38_; +#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp40_ = data_view_get_source (_tmp39_); +#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp41_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, TYPE_PHOTO, Photo); +#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp42_ = photo_get_master_file_format (_tmp41_); +#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp32_ = _tmp42_ == PHOTO_FILE_FORMAT_RAW; +#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _g_object_unref0 (_tmp41_); +#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _g_object_unref0 (_tmp39_); +#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _data_collection_unref0 (_tmp37_); +#line 2614 "CollectionPage.c" + } else { +#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp32_ = FALSE; +#line 2618 "CollectionPage.c" + } +#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala" + if (_tmp32_) { +#line 2622 "CollectionPage.c" + ConfigFacade* _tmp43_; + ConfigFacade* _tmp44_; + gchar* _tmp45_; + gchar* _tmp46_; + gboolean _tmp47_; #line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp25_ = config_facade_get_instance (); + _tmp43_ = config_facade_get_instance (); #line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp26_ = _tmp25_; + _tmp44_ = _tmp43_; #line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp27_ = configuration_facade_get_external_photo_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); + _tmp45_ = configuration_facade_get_external_raw_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp44_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); #line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp28_ = _tmp27_; + _tmp46_ = _tmp45_; #line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp29_ = is_string_empty (_tmp28_); + _tmp47_ = is_string_empty (_tmp46_); #line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp23_ = !_tmp29_; + _tmp31_ = !_tmp47_; #line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _g_free0 (_tmp28_); + _g_free0 (_tmp46_); #line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _g_object_unref0 (_tmp26_); -#line 2579 "CollectionPage.c" + _g_object_unref0 (_tmp44_); +#line 2644 "CollectionPage.c" } else { -#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp23_ = FALSE; -#line 2583 "CollectionPage.c" +#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp31_ = FALSE; +#line 2648 "CollectionPage.c" } -#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEdit", _tmp23_); +#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala" + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEditRAW", _tmp31_); +#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp49_ = selection_has_videos; +#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala" + if (!_tmp49_) { +#line 2656 "CollectionPage.c" + gboolean _tmp50_; +#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp50_ = collection_page_can_revert_selected (self); +#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp48_ = _tmp50_; +#line 2662 "CollectionPage.c" + } else { +#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp48_ = FALSE; +#line 2666 "CollectionPage.c" + } +#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala" + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Revert", _tmp48_); #line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp33_ = one_selected; + _tmp52_ = selection_has_videos; #line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (_tmp33_) { -#line 2591 "CollectionPage.c" - gboolean _tmp34_; + if (!_tmp52_) { +#line 2674 "CollectionPage.c" + gboolean _tmp53_; #line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp34_ = primary_is_video; + _tmp53_ = has_selected; #line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp32_ = !_tmp34_; -#line 2597 "CollectionPage.c" + _tmp51_ = _tmp53_; +#line 2680 "CollectionPage.c" } else { #line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp32_ = FALSE; -#line 2601 "CollectionPage.c" + _tmp51_ = FALSE; +#line 2684 "CollectionPage.c" } #line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (_tmp32_) { -#line 2605 "CollectionPage.c" - ViewCollection* _tmp35_; - ViewCollection* _tmp36_; - DataView* _tmp37_; - DataView* _tmp38_; - DataSource* _tmp39_; - Photo* _tmp40_; - PhotoFileFormat _tmp41_; -#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp35_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp36_ = _tmp35_; -#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp37_ = view_collection_get_selected_at (_tmp36_, 0); -#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp38_ = _tmp37_; -#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp39_ = data_view_get_source (_tmp38_); + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Enhance", _tmp51_); #line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp40_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, TYPE_PHOTO, Photo); + _tmp56_ = selection_has_videos; #line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp41_ = photo_get_master_file_format (_tmp40_); + if (!_tmp56_) { +#line 2692 "CollectionPage.c" + gboolean _tmp57_; #line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp31_ = _tmp41_ == PHOTO_FILE_FORMAT_RAW; + _tmp57_ = one_selected; #line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _g_object_unref0 (_tmp40_); + _tmp55_ = _tmp57_; +#line 2698 "CollectionPage.c" + } else { #line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _g_object_unref0 (_tmp38_); + _tmp55_ = FALSE; +#line 2702 "CollectionPage.c" + } #line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _data_collection_unref0 (_tmp36_); -#line 2635 "CollectionPage.c" + if (_tmp55_) { +#line 2706 "CollectionPage.c" + ViewCollection* _tmp58_; + ViewCollection* _tmp59_; + DataView* _tmp60_; + DataView* _tmp61_; + DataSource* _tmp62_; + Photo* _tmp63_; + gboolean _tmp64_; +#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp58_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); +#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp59_ = _tmp58_; +#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp60_ = view_collection_get_selected_at (_tmp59_, 0); +#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp61_ = _tmp60_; +#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp62_ = data_view_get_source (_tmp61_); +#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp63_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp62_, TYPE_PHOTO, Photo); +#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp64_ = photo_has_color_adjustments (_tmp63_); +#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp54_ = _tmp64_; +#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _g_object_unref0 (_tmp63_); +#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _g_object_unref0 (_tmp61_); +#line 258 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _data_collection_unref0 (_tmp59_); +#line 2736 "CollectionPage.c" } else { -#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp31_ = FALSE; -#line 2639 "CollectionPage.c" +#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp54_ = FALSE; +#line 2740 "CollectionPage.c" } -#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (_tmp31_) { -#line 2643 "CollectionPage.c" - ConfigFacade* _tmp42_; - ConfigFacade* _tmp43_; - gchar* _tmp44_; - gchar* _tmp45_; - gboolean _tmp46_; -#line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp42_ = config_facade_get_instance (); -#line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp43_ = _tmp42_; -#line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp44_ = configuration_facade_get_external_raw_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp45_ = _tmp44_; +#line 257 "/home/jens/Source/shotwell/src/CollectionPage.vala" + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "CopyColorAdjustments", _tmp54_); #line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp46_ = is_string_empty (_tmp45_); + _tmp67_ = selection_has_videos; #line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp30_ = !_tmp46_; + if (!_tmp67_) { +#line 2748 "CollectionPage.c" + gboolean _tmp68_; #line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _g_free0 (_tmp45_); + _tmp68_ = has_selected; #line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _g_object_unref0 (_tmp43_); -#line 2665 "CollectionPage.c" + _tmp66_ = _tmp68_; +#line 2754 "CollectionPage.c" } else { -#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp30_ = FALSE; -#line 2669 "CollectionPage.c" +#line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp66_ = FALSE; +#line 2758 "CollectionPage.c" } -#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_visible (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEditRAW", _tmp30_); -#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp48_ = selection_has_videos; -#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (!_tmp48_) { -#line 2677 "CollectionPage.c" - gboolean _tmp49_; +#line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala" + if (_tmp66_) { +#line 2762 "CollectionPage.c" + gboolean _tmp69_; #line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp49_ = collection_page_can_revert_selected (self); + _tmp69_ = pixel_transformation_bundle_has_copied_color_adjustments (); #line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp47_ = _tmp49_; -#line 2683 "CollectionPage.c" + _tmp65_ = _tmp69_; +#line 2768 "CollectionPage.c" } else { -#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp47_ = FALSE; -#line 2687 "CollectionPage.c" +#line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp65_ = FALSE; +#line 2772 "CollectionPage.c" } -#line 260 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Revert", _tmp47_); +#line 259 "/home/jens/Source/shotwell/src/CollectionPage.vala" + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "PasteColorAdjustments", _tmp65_); #line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp51_ = selection_has_videos; + _tmp71_ = selection_has_videos; #line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (!_tmp51_) { -#line 2695 "CollectionPage.c" - gboolean _tmp52_; + if (!_tmp71_) { +#line 2780 "CollectionPage.c" + gboolean _tmp72_; #line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp52_ = has_selected; + _tmp72_ = has_selected; #line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp50_ = _tmp52_; -#line 2701 "CollectionPage.c" + _tmp70_ = _tmp72_; +#line 2786 "CollectionPage.c" } else { #line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp50_ = FALSE; -#line 2705 "CollectionPage.c" + _tmp70_ = FALSE; +#line 2790 "CollectionPage.c" } #line 261 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Enhance", _tmp50_); + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateClockwise", _tmp70_); #line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp55_ = selection_has_videos; + _tmp74_ = selection_has_videos; #line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (!_tmp55_) { -#line 2713 "CollectionPage.c" - gboolean _tmp56_; + if (!_tmp74_) { +#line 2798 "CollectionPage.c" + gboolean _tmp75_; #line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp56_ = one_selected; + _tmp75_ = has_selected; #line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp54_ = _tmp56_; -#line 2719 "CollectionPage.c" + _tmp73_ = _tmp75_; +#line 2804 "CollectionPage.c" } else { #line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp54_ = FALSE; -#line 2723 "CollectionPage.c" + _tmp73_ = FALSE; +#line 2808 "CollectionPage.c" } #line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (_tmp54_) { -#line 2727 "CollectionPage.c" - ViewCollection* _tmp57_; - ViewCollection* _tmp58_; - DataView* _tmp59_; - DataView* _tmp60_; - DataSource* _tmp61_; - Photo* _tmp62_; - gboolean _tmp63_; -#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp57_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp58_ = _tmp57_; -#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp59_ = view_collection_get_selected_at (_tmp58_, 0); -#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp60_ = _tmp59_; + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateCounterclockwise", _tmp73_); #line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp61_ = data_view_get_source (_tmp60_); + _tmp77_ = selection_has_videos; #line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp62_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, TYPE_PHOTO, Photo); + if (!_tmp77_) { +#line 2816 "CollectionPage.c" + gboolean _tmp78_; #line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp63_ = photo_has_color_adjustments (_tmp62_); + _tmp78_ = has_selected; #line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp53_ = _tmp63_; -#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _g_object_unref0 (_tmp62_); -#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _g_object_unref0 (_tmp60_); -#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _data_collection_unref0 (_tmp58_); -#line 2757 "CollectionPage.c" + _tmp76_ = _tmp78_; +#line 2822 "CollectionPage.c" } else { -#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp53_ = FALSE; -#line 2761 "CollectionPage.c" +#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp76_ = FALSE; +#line 2826 "CollectionPage.c" } -#line 262 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "CopyColorAdjustments", _tmp53_); -#line 264 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp66_ = selection_has_videos; +#line 263 "/home/jens/Source/shotwell/src/CollectionPage.vala" + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "FlipHorizontally", _tmp76_); #line 264 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (!_tmp66_) { -#line 2769 "CollectionPage.c" - gboolean _tmp67_; + _tmp80_ = selection_has_videos; #line 264 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp67_ = has_selected; + if (!_tmp80_) { +#line 2834 "CollectionPage.c" + gboolean _tmp81_; #line 264 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp65_ = _tmp67_; -#line 2775 "CollectionPage.c" - } else { -#line 264 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp65_ = FALSE; -#line 2779 "CollectionPage.c" - } + _tmp81_ = has_selected; #line 264 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (_tmp65_) { -#line 2783 "CollectionPage.c" - gboolean _tmp68_; -#line 265 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp68_ = pixel_transformation_bundle_has_copied_color_adjustments (); -#line 265 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp64_ = _tmp68_; -#line 2789 "CollectionPage.c" + _tmp79_ = _tmp81_; +#line 2840 "CollectionPage.c" } else { #line 264 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp64_ = FALSE; -#line 2793 "CollectionPage.c" + _tmp79_ = FALSE; +#line 2844 "CollectionPage.c" } #line 264 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "PasteColorAdjustments", _tmp64_); -#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp70_ = selection_has_videos; -#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (!_tmp70_) { -#line 2801 "CollectionPage.c" - gboolean _tmp71_; -#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp71_ = has_selected; -#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp69_ = _tmp71_; -#line 2807 "CollectionPage.c" - } else { -#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp69_ = FALSE; -#line 2811 "CollectionPage.c" - } -#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateClockwise", _tmp69_); -#line 267 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp73_ = selection_has_videos; -#line 267 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (!_tmp73_) { -#line 2819 "CollectionPage.c" - gboolean _tmp74_; -#line 267 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp74_ = has_selected; -#line 267 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp72_ = _tmp74_; -#line 2825 "CollectionPage.c" - } else { -#line 267 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp72_ = FALSE; -#line 2829 "CollectionPage.c" - } -#line 267 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateCounterclockwise", _tmp72_); + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "FlipVertically", _tmp79_); #line 268 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp76_ = selection_has_videos; -#line 268 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (!_tmp76_) { -#line 2837 "CollectionPage.c" - gboolean _tmp77_; -#line 268 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp77_ = has_selected; + _tmp82_ = has_selected; #line 268 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp75_ = _tmp77_; -#line 2843 "CollectionPage.c" + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "AdjustDateTime", _tmp82_); +#line 270 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp83_ = has_selected; +#line 270 "/home/jens/Source/shotwell/src/CollectionPage.vala" + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "NewEvent", _tmp83_); +#line 271 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp84_ = has_selected; +#line 271 "/home/jens/Source/shotwell/src/CollectionPage.vala" + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "AddTags", _tmp84_); +#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp85_ = one_selected; +#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala" + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ModifyTags", _tmp85_); +#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp87_ = page_has_photos; +#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala" + if (_tmp87_) { +#line 2868 "CollectionPage.c" + gboolean _tmp88_; +#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp88_ = primary_is_video; +#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp86_ = !_tmp88_; +#line 2874 "CollectionPage.c" } else { -#line 268 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp75_ = FALSE; -#line 2847 "CollectionPage.c" +#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp86_ = FALSE; +#line 2878 "CollectionPage.c" } -#line 268 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "FlipHorizontally", _tmp75_); -#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp79_ = selection_has_videos; -#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (!_tmp79_) { -#line 2855 "CollectionPage.c" - gboolean _tmp80_; -#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp80_ = has_selected; -#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp78_ = _tmp80_; -#line 2861 "CollectionPage.c" +#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala" + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Slideshow", _tmp86_); +#line 274 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp90_ = selection_has_videos; +#line 274 "/home/jens/Source/shotwell/src/CollectionPage.vala" + if (!_tmp90_) { +#line 2886 "CollectionPage.c" + gboolean _tmp91_; +#line 274 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp91_ = has_selected; +#line 274 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp89_ = _tmp91_; +#line 2892 "CollectionPage.c" } else { -#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp78_ = FALSE; -#line 2865 "CollectionPage.c" +#line 274 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp89_ = FALSE; +#line 2896 "CollectionPage.c" } -#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "FlipVertically", _tmp78_); -#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp81_ = has_selected; -#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "AdjustDateTime", _tmp81_); +#line 274 "/home/jens/Source/shotwell/src/CollectionPage.vala" + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Print", _tmp89_); #line 275 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp82_ = has_selected; + _tmp92_ = has_selected; #line 275 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "NewEvent", _tmp82_); -#line 276 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp83_ = has_selected; -#line 276 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "AddTags", _tmp83_); + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Publish", _tmp92_); #line 277 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp84_ = one_selected; + _tmp94_ = selection_has_videos; #line 277 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ModifyTags", _tmp84_); -#line 278 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp86_ = page_has_photos; -#line 278 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (_tmp86_) { -#line 2889 "CollectionPage.c" - gboolean _tmp87_; -#line 278 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp87_ = primary_is_video; -#line 278 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp85_ = !_tmp87_; -#line 2895 "CollectionPage.c" + if (!_tmp94_) { +#line 2908 "CollectionPage.c" + gboolean _tmp95_; +#line 277 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp95_ = has_selected; +#line 277 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp93_ = _tmp95_; +#line 2914 "CollectionPage.c" } else { -#line 278 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp85_ = FALSE; -#line 2899 "CollectionPage.c" +#line 277 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp93_ = FALSE; +#line 2918 "CollectionPage.c" } +#line 277 "/home/jens/Source/shotwell/src/CollectionPage.vala" + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SetBackground", _tmp93_); #line 278 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Slideshow", _tmp85_); -#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp89_ = selection_has_videos; -#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (!_tmp89_) { -#line 2907 "CollectionPage.c" - gboolean _tmp90_; -#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp90_ = has_selected; -#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp88_ = _tmp90_; -#line 2913 "CollectionPage.c" - } else { -#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp88_ = FALSE; -#line 2917 "CollectionPage.c" - } + _tmp96_ = has_selected; +#line 278 "/home/jens/Source/shotwell/src/CollectionPage.vala" + if (_tmp96_) { +#line 2926 "CollectionPage.c" + const gchar* _tmp97_ = NULL; + gboolean _tmp98_; + gchar* label = NULL; + gchar* _tmp99_; + const gchar* _tmp100_; #line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Print", _tmp88_); + g_debug ("CollectionPage.vala:279: Setting action label for SetBackground..."); #line 280 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp91_ = has_selected; + _tmp98_ = one_selected; #line 280 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Publish", _tmp91_); -#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp93_ = selection_has_videos; -#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (!_tmp93_) { -#line 2929 "CollectionPage.c" - gboolean _tmp94_; -#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp94_ = has_selected; -#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp92_ = _tmp94_; -#line 2935 "CollectionPage.c" - } else { -#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp92_ = FALSE; -#line 2939 "CollectionPage.c" - } -#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SetBackground", _tmp92_); -#line 283 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp95_ = has_selected; -#line 283 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (_tmp95_) { -#line 2947 "CollectionPage.c" - const gchar* _tmp96_ = NULL; - gboolean _tmp97_; - gchar* label = NULL; - gchar* _tmp98_; - const gchar* _tmp99_; -#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala" - g_debug ("CollectionPage.vala:284: Setting action label for SetBackground..."); -#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp97_ = one_selected; -#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (_tmp97_) { -#line 286 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp96_ = RESOURCES_SET_BACKGROUND_MENU; -#line 2961 "CollectionPage.c" + if (_tmp98_) { +#line 281 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp97_ = RESOURCES_SET_BACKGROUND_MENU; +#line 2940 "CollectionPage.c" } else { -#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp96_ = RESOURCES_SET_BACKGROUND_SLIDESHOW_MENU; -#line 2965 "CollectionPage.c" +#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp97_ = RESOURCES_SET_BACKGROUND_SLIDESHOW_MENU; +#line 2944 "CollectionPage.c" } -#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp98_ = g_strdup (_tmp96_); -#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala" - label = _tmp98_; -#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp99_ = label; -#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_update_menu_item_label (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SetBackground", _tmp99_); +#line 280 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp99_ = g_strdup (_tmp97_); +#line 280 "/home/jens/Source/shotwell/src/CollectionPage.vala" + label = _tmp99_; +#line 283 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp100_ = label; #line 283 "/home/jens/Source/shotwell/src/CollectionPage.vala" + page_update_menu_item_label (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SetBackground", _tmp100_); +#line 278 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_free0 (label); -#line 2977 "CollectionPage.c" +#line 2956 "CollectionPage.c" } } static void collection_page_on_photos_altered (CollectionPage* self, GeeMap* altered) { -#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (IS_COLLECTION_PAGE (self)); -#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (GEE_IS_MAP (altered)); -#line 2987 "CollectionPage.c" +#line 2966 "CollectionPage.c" { GeeIterator* _object_it = NULL; GeeMap* _tmp0_; @@ -2992,25 +2971,25 @@ static void collection_page_on_photos_altered (CollectionPage* self, GeeMap* alt GeeSet* _tmp3_; GeeIterator* _tmp4_; GeeIterator* _tmp5_; -#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = altered; -#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = gee_map_get_keys (_tmp0_); -#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = _tmp1_; -#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_; -#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = _tmp4_; -#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp3_); -#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala" _object_it = _tmp5_; -#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala" while (TRUE) { -#line 3014 "CollectionPage.c" +#line 2993 "CollectionPage.c" GeeIterator* _tmp6_; gboolean _tmp7_; DataObject* object = NULL; @@ -3030,120 +3009,120 @@ static void collection_page_on_photos_altered (CollectionPage* self, GeeMap* alt gboolean _tmp24_; LibraryPhoto* _tmp25_; gboolean _tmp26_; -#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = _object_it; -#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = gee_iterator_next (_tmp6_); -#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (!_tmp7_) { -#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala" break; -#line 3042 "CollectionPage.c" +#line 3021 "CollectionPage.c" } -#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = _object_it; -#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = gee_iterator_get (_tmp8_); -#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala" object = (DataObject*) _tmp9_; -#line 296 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 291 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = object; -#line 296 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 291 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp11_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_VIEW, DataView)); -#line 296 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 291 "/home/jens/Source/shotwell/src/CollectionPage.vala" view = _tmp11_; -#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 293 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp13_ = view; -#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 293 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp14_ = data_view_is_selected (_tmp13_); -#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 293 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (!_tmp14_) { -#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 293 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp12_ = TRUE; -#line 3064 "CollectionPage.c" +#line 3043 "CollectionPage.c" } else { GeeMap* _tmp15_; DataView* _tmp16_; gpointer _tmp17_; Alteration* _tmp18_; gboolean _tmp19_; -#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 293 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp15_ = altered; -#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 293 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp16_ = view; -#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 293 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp17_ = gee_map_get (_tmp15_, G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_DATA_OBJECT, DataObject)); -#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 293 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp18_ = (Alteration*) _tmp17_; -#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 293 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp19_ = alteration_has_subject (_tmp18_, "image"); -#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 293 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp12_ = !_tmp19_; -#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 293 "/home/jens/Source/shotwell/src/CollectionPage.vala" _alteration_unref0 (_tmp18_); -#line 3085 "CollectionPage.c" +#line 3064 "CollectionPage.c" } -#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 293 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp12_) { -#line 299 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 294 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (view); -#line 299 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 294 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (object); -#line 299 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 294 "/home/jens/Source/shotwell/src/CollectionPage.vala" continue; -#line 3095 "CollectionPage.c" +#line 3074 "CollectionPage.c" } -#line 301 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 296 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp20_ = view; -#line 301 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 296 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp21_ = data_view_get_source (_tmp20_); -#line 301 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 296 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp22_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp21_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp21_) : NULL; -#line 301 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 296 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp22_ == NULL) { -#line 301 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 296 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp21_); -#line 3107 "CollectionPage.c" +#line 3086 "CollectionPage.c" } -#line 301 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 296 "/home/jens/Source/shotwell/src/CollectionPage.vala" photo = _tmp22_; -#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp23_ = photo; -#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp23_ == NULL) { -#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo); -#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (view); -#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (object); -#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 298 "/home/jens/Source/shotwell/src/CollectionPage.vala" continue; -#line 3123 "CollectionPage.c" +#line 3102 "CollectionPage.c" } -#line 307 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp24_ = collection_page_can_revert_selected (self); -#line 307 "/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), "Revert", _tmp24_); -#line 308 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp25_ = photo; -#line 308 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp26_ = photo_has_color_adjustments (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, TYPE_PHOTO, Photo)); -#line 308 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "CopyColorAdjustments", _tmp26_); -#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo); -#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (view); -#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (object); -#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala" break; -#line 3143 "CollectionPage.c" +#line 3122 "CollectionPage.c" } -#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_object_it); -#line 3147 "CollectionPage.c" +#line 3126 "CollectionPage.c" } } @@ -3153,48 +3132,48 @@ static void collection_page_on_print (CollectionPage* self) { ViewCollection* _tmp1_; gint _tmp2_; gboolean _tmp3_; -#line 314 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (IS_COLLECTION_PAGE (self)); -#line 315 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 315 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _tmp0_; -#line 315 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 315 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_ > 0; -#line 315 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp1_); -#line 315 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp3_) { -#line 3171 "CollectionPage.c" +#line 3150 "CollectionPage.c" PrintManager* _tmp4_; PrintManager* _tmp5_; ViewCollection* _tmp6_; ViewCollection* _tmp7_; GeeList* _tmp8_; GeeCollection* _tmp9_; -#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = print_manager_get_instance (); -#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = _tmp4_; -#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = _tmp6_; -#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = view_collection_get_selected_sources_of_type (_tmp7_, TYPE_PHOTO); -#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection); -#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala" print_manager_spool_photo (_tmp5_, _tmp9_); -#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp9_); -#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp7_); -#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala" _print_manager_unref0 (_tmp5_); -#line 3198 "CollectionPage.c" +#line 3177 "CollectionPage.c" } } @@ -3207,52 +3186,52 @@ static void collection_page_on_external_app_changed (CollectionPage* self) { gint _tmp3_; gboolean _tmp4_ = FALSE; gint _tmp5_; -#line 321 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 316 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (IS_COLLECTION_PAGE (self)); -#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 317 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 317 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _tmp0_; -#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 317 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 317 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_; -#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 317 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp1_); -#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 317 "/home/jens/Source/shotwell/src/CollectionPage.vala" selected_count = _tmp3_; -#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 319 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = selected_count; -#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 319 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp5_ == 1) { -#line 3229 "CollectionPage.c" +#line 3208 "CollectionPage.c" ConfigFacade* _tmp6_; ConfigFacade* _tmp7_; gchar* _tmp8_; gchar* _tmp9_; -#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 319 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = config_facade_get_instance (); -#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 319 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = _tmp6_; -#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 319 "/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 324 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 319 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = _tmp8_; -#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 319 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = g_strcmp0 (_tmp9_, "") != 0; -#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 319 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_free0 (_tmp9_); -#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 319 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp7_); -#line 3248 "CollectionPage.c" +#line 3227 "CollectionPage.c" } else { -#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 319 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = FALSE; -#line 3252 "CollectionPage.c" +#line 3231 "CollectionPage.c" } -#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 319 "/home/jens/Source/shotwell/src/CollectionPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEdit", _tmp4_); -#line 3256 "CollectionPage.c" +#line 3235 "CollectionPage.c" } @@ -3274,162 +3253,162 @@ static void collection_page_real_on_item_activated (CheckerboardPage* base, Chec gchar* _tmp11_; gchar* _tmp12_; CheckerboardPageActivator _tmp13_; -#line 333 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 328 "/home/jens/Source/shotwell/src/CollectionPage.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage); -#line 333 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 328 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (IS_CHECKERBOARD_ITEM (item)); -#line 333 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 328 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (modifiers != NULL); -#line 335 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 330 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = item; -#line 335 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 330 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_THUMBNAIL, Thumbnail)); -#line 335 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 330 "/home/jens/Source/shotwell/src/CollectionPage.vala" thumbnail = _tmp1_; -#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 335 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = thumbnail; -#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 335 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = thumbnail_get_media_source (_tmp2_); -#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 335 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = _tmp3_; -#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 335 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, TYPE_VIDEO); -#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 335 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp4_); -#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 335 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp5_) { -#line 341 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 336 "/home/jens/Source/shotwell/src/CollectionPage.vala" media_page_on_play_video (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage)); -#line 342 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 337 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (thumbnail); -#line 342 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 337 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 3308 "CollectionPage.c" +#line 3287 "CollectionPage.c" } -#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = thumbnail; -#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = thumbnail_get_media_source (_tmp6_); -#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp7_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp7_) : NULL; -#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp8_ == NULL) { -#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp7_); -#line 3320 "CollectionPage.c" +#line 3299 "CollectionPage.c" } -#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala" photo = _tmp8_; -#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 341 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = photo; -#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 341 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp9_ == NULL) { -#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 342 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo); -#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 342 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (thumbnail); -#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 342 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 3334 "CollectionPage.c" +#line 3313 "CollectionPage.c" } -#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = photo; -#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp11_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_OBJECT, DataObject)); -#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp12_ = _tmp11_; -#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala" - g_debug ("CollectionPage.vala:350: activating %s", _tmp12_); -#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala" + g_debug ("CollectionPage.vala:345: activating %s", _tmp12_); +#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_free0 (_tmp12_); -#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp13_ = activator; -#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp13_ == CHECKERBOARD_PAGE_ACTIVATOR_MOUSE) { -#line 3350 "CollectionPage.c" +#line 3329 "CollectionPage.c" CheckerboardPageKeyboardModifiers _tmp14_; gboolean _tmp15_; -#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 348 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp14_ = *modifiers; -#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 348 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp15_ = _tmp14_.super_pressed; -#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 348 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp15_) { -#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 349 "/home/jens/Source/shotwell/src/CollectionPage.vala" collection_page_on_external_edit (self); -#line 3361 "CollectionPage.c" +#line 3340 "CollectionPage.c" } else { LibraryWindow* _tmp16_; LibraryWindow* _tmp17_; LibraryPhoto* _tmp18_; -#line 356 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 351 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp16_ = library_window_get_app (); -#line 356 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 351 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp17_ = _tmp16_; -#line 356 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 351 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp18_ = photo; -#line 356 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 351 "/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 356 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 351 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp17_); -#line 3376 "CollectionPage.c" +#line 3355 "CollectionPage.c" } } else { CheckerboardPageActivator _tmp19_; -#line 357 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp19_ = activator; -#line 357 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp19_ == CHECKERBOARD_PAGE_ACTIVATOR_KEYBOARD) { -#line 3384 "CollectionPage.c" +#line 3363 "CollectionPage.c" gboolean _tmp20_ = FALSE; CheckerboardPageKeyboardModifiers _tmp21_; gboolean _tmp22_; -#line 358 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp21_ = *modifiers; -#line 358 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp22_ = _tmp21_.shift_pressed; -#line 358 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (!_tmp22_) { -#line 3394 "CollectionPage.c" +#line 3373 "CollectionPage.c" CheckerboardPageKeyboardModifiers _tmp23_; gboolean _tmp24_; -#line 358 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp23_ = *modifiers; -#line 358 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp24_ = _tmp23_.ctrl_pressed; -#line 358 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp20_ = !_tmp24_; -#line 3403 "CollectionPage.c" +#line 3382 "CollectionPage.c" } else { -#line 358 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp20_ = FALSE; -#line 3407 "CollectionPage.c" +#line 3386 "CollectionPage.c" } -#line 358 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp20_) { -#line 3411 "CollectionPage.c" +#line 3390 "CollectionPage.c" LibraryWindow* _tmp25_; LibraryWindow* _tmp26_; LibraryPhoto* _tmp27_; -#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp25_ = library_window_get_app (); -#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp26_ = _tmp25_; -#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp27_ = photo; -#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 354 "/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 359 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp26_); -#line 3425 "CollectionPage.c" +#line 3404 "CollectionPage.c" } } } -#line 333 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 328 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo); -#line 333 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 328 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (thumbnail); -#line 3433 "CollectionPage.c" +#line 3412 "CollectionPage.c" } @@ -3442,133 +3421,133 @@ static gboolean collection_page_real_on_app_key_pressed (Page* base, GdkEventKey const gchar* _tmp2_; const gchar* _tmp3_; GQuark _tmp5_ = 0U; -#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 360 "/home/jens/Source/shotwell/src/CollectionPage.vala" static GQuark _tmp4_label0 = 0; -#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 360 "/home/jens/Source/shotwell/src/CollectionPage.vala" static GQuark _tmp4_label1 = 0; -#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 360 "/home/jens/Source/shotwell/src/CollectionPage.vala" static GQuark _tmp4_label2 = 0; -#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 360 "/home/jens/Source/shotwell/src/CollectionPage.vala" static GQuark _tmp4_label3 = 0; -#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 360 "/home/jens/Source/shotwell/src/CollectionPage.vala" static GQuark _tmp4_label4 = 0; -#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 360 "/home/jens/Source/shotwell/src/CollectionPage.vala" static GQuark _tmp4_label5 = 0; -#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 360 "/home/jens/Source/shotwell/src/CollectionPage.vala" static GQuark _tmp4_label6 = 0; -#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 360 "/home/jens/Source/shotwell/src/CollectionPage.vala" static GQuark _tmp4_label7 = 0; -#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 360 "/home/jens/Source/shotwell/src/CollectionPage.vala" static GQuark _tmp4_label8 = 0; -#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 360 "/home/jens/Source/shotwell/src/CollectionPage.vala" static GQuark _tmp4_label9 = 0; -#line 3466 "CollectionPage.c" +#line 3445 "CollectionPage.c" gboolean _tmp8_ = FALSE; gboolean _tmp9_; -#line 363 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 358 "/home/jens/Source/shotwell/src/CollectionPage.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage); -#line 363 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 358 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 364 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 359 "/home/jens/Source/shotwell/src/CollectionPage.vala" handled = TRUE; -#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 360 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = event; -#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 360 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _tmp0_->keyval; -#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 360 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = gdk_keyval_name (_tmp1_); -#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 360 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_; -#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 360 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = (NULL == _tmp3_) ? 0 : g_quark_from_string (_tmp3_); -#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 360 "/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 365 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 360 "/home/jens/Source/shotwell/src/CollectionPage.vala" switch (0) { -#line 3489 "CollectionPage.c" +#line 3468 "CollectionPage.c" default: { GdkEventKey* _tmp6_; gboolean _tmp7_ = FALSE; -#line 374 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 369 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = event; -#line 374 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 369 "/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 375 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 370 "/home/jens/Source/shotwell/src/CollectionPage.vala" break; -#line 3500 "CollectionPage.c" +#line 3479 "CollectionPage.c" } } } else if (_tmp5_ == ((0 != _tmp4_label8) ? _tmp4_label8 : (_tmp4_label8 = g_quark_from_static_string ("bracketright")))) { -#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 360 "/home/jens/Source/shotwell/src/CollectionPage.vala" switch (0) { -#line 3506 "CollectionPage.c" +#line 3485 "CollectionPage.c" default: { -#line 378 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 373 "/home/jens/Source/shotwell/src/CollectionPage.vala" page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateClockwise"); -#line 379 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 374 "/home/jens/Source/shotwell/src/CollectionPage.vala" break; -#line 3513 "CollectionPage.c" +#line 3492 "CollectionPage.c" } } } else if (_tmp5_ == ((0 != _tmp4_label9) ? _tmp4_label9 : (_tmp4_label9 = g_quark_from_static_string ("bracketleft")))) { -#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 360 "/home/jens/Source/shotwell/src/CollectionPage.vala" switch (0) { -#line 3519 "CollectionPage.c" +#line 3498 "CollectionPage.c" default: { -#line 382 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala" page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateCounterclockwise"); -#line 383 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 378 "/home/jens/Source/shotwell/src/CollectionPage.vala" break; -#line 3526 "CollectionPage.c" +#line 3505 "CollectionPage.c" } } } else { -#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 360 "/home/jens/Source/shotwell/src/CollectionPage.vala" switch (0) { -#line 3532 "CollectionPage.c" +#line 3511 "CollectionPage.c" default: { -#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 381 "/home/jens/Source/shotwell/src/CollectionPage.vala" handled = FALSE; -#line 387 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 382 "/home/jens/Source/shotwell/src/CollectionPage.vala" break; -#line 3539 "CollectionPage.c" +#line 3518 "CollectionPage.c" } } } -#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 385 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = handled; -#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 385 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp9_) { -#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 385 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = TRUE; -#line 3549 "CollectionPage.c" +#line 3528 "CollectionPage.c" } else { GdkEventKey* _tmp10_; gboolean _tmp11_; -#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 385 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = event; -#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 385 "/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 390 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 385 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = _tmp11_; -#line 3559 "CollectionPage.c" +#line 3538 "CollectionPage.c" } -#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 385 "/home/jens/Source/shotwell/src/CollectionPage.vala" result = _tmp8_; -#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 385 "/home/jens/Source/shotwell/src/CollectionPage.vala" return result; -#line 3565 "CollectionPage.c" +#line 3544 "CollectionPage.c" } static void _collection_page_on_export_completed_exporter_completion_callback (Exporter* exporter, gboolean is_cancelled, gpointer self) { -#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala" collection_page_on_export_completed ((CollectionPage*) self); -#line 3572 "CollectionPage.c" +#line 3551 "CollectionPage.c" } @@ -3593,552 +3572,530 @@ static void collection_page_real_on_export (MediaPage* base) { gchar* title = NULL; gboolean _tmp16_; ExportDialog* export_dialog = NULL; - const gchar* _tmp27_; - ExportDialog* _tmp28_; - ExportFormatParameters _tmp29_ = {0}; - gboolean _tmp30_; + const gchar* _tmp25_; + ExportDialog* _tmp26_; + ExportFormatParameters _tmp27_ = {0}; + gboolean _tmp28_; ExportFormatParameters export_params = {0}; gint scale = 0; ScaleConstraint constraint = 0; - ExportDialog* _tmp33_; - gint _tmp34_ = 0; - ScaleConstraint _tmp35_ = 0; - gboolean _tmp36_; + ExportDialog* _tmp31_; + gint _tmp32_ = 0; + ScaleConstraint _tmp33_ = 0; + gboolean _tmp34_; Scaling scaling = {0}; - ScaleConstraint _tmp37_; - gint _tmp38_; - Scaling _tmp39_ = {0}; - GeeCollection* _tmp40_; - gint _tmp41_; - gint _tmp42_; + ScaleConstraint _tmp35_; + gint _tmp36_; + Scaling _tmp37_ = {0}; + GeeCollection* _tmp38_; + gint _tmp39_; + gint _tmp40_; GFile* export_dir = NULL; - const gchar* _tmp77_; - GFile* _tmp78_; + const gchar* _tmp75_; + GFile* _tmp76_; + GFile* _tmp77_; + GeeCollection* _tmp78_; GFile* _tmp79_; - GeeCollection* _tmp80_; - GFile* _tmp81_; - Scaling _tmp82_; - ExportFormatParameters _tmp83_; - Exporter* _tmp84_; - Exporter* _tmp85_; - ExporterUI* _tmp86_; - ExporterUI* _tmp87_; + Scaling _tmp80_; + ExportFormatParameters _tmp81_; + Exporter* _tmp82_; + Exporter* _tmp83_; + ExporterUI* _tmp84_; + ExporterUI* _tmp85_; GError * _inner_error_ = NULL; -#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 388 "/home/jens/Source/shotwell/src/CollectionPage.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage); -#line 394 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 389 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = self->priv->exporter; -#line 394 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 389 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp0_ != NULL) { -#line 395 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 3636 "CollectionPage.c" +#line 3615 "CollectionPage.c" } -#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 392 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 392 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = _tmp1_; -#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 392 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = view_collection_get_selected_sources (_tmp2_); -#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 392 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection); -#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 392 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp2_); -#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 392 "/home/jens/Source/shotwell/src/CollectionPage.vala" export_list = _tmp4_; -#line 399 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 394 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = export_list; -#line 399 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 394 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = gee_collection_get_size (_tmp5_); -#line 399 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 394 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = _tmp6_; -#line 399 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 394 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp7_ == 0) { -#line 400 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 395 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (export_list); -#line 400 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 395 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 3662 "CollectionPage.c" +#line 3641 "CollectionPage.c" } -#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = collection_page_selection_has_photo (self); -#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala" has_some_photos = _tmp8_; -#line 403 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = collection_page_selection_has_video (self); -#line 403 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala" has_some_videos = _tmp9_; -#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 399 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp11_ = has_some_photos; -#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 399 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp11_) { -#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 399 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = TRUE; -#line 3678 "CollectionPage.c" +#line 3657 "CollectionPage.c" } else { gboolean _tmp12_; -#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 399 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp12_ = has_some_videos; -#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 399 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = _tmp12_; -#line 3685 "CollectionPage.c" +#line 3664 "CollectionPage.c" } -#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 399 "/home/jens/Source/shotwell/src/CollectionPage.vala" _vala_assert (_tmp10_, "has_some_photos || has_some_videos"); -#line 408 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 403 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp13_ = has_some_photos; -#line 408 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 403 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (!_tmp13_) { -#line 3693 "CollectionPage.c" +#line 3672 "CollectionPage.c" GeeCollection* _tmp14_; ExporterUI* _tmp15_; -#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp14_ = export_list; -#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 404 "/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 409 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala" _exporter_ui_unref0 (self->priv->exporter); -#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala" self->priv->exporter = _tmp15_; -#line 410 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 405 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (export_list); -#line 410 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 405 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 3708 "CollectionPage.c" +#line 3687 "CollectionPage.c" } -#line 413 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 408 "/home/jens/Source/shotwell/src/CollectionPage.vala" title = NULL; -#line 414 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp16_ = has_some_videos; -#line 414 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 409 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp16_) { -#line 3716 "CollectionPage.c" - const gchar* _tmp17_ = NULL; - GeeCollection* _tmp18_; +#line 3695 "CollectionPage.c" + GeeCollection* _tmp17_; + gint _tmp18_; gint _tmp19_; - gint _tmp20_; - gchar* _tmp21_; -#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp18_ = export_list; -#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp19_ = gee_collection_get_size (_tmp18_); -#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp20_ = _tmp19_; -#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (_tmp20_ == 1) { -#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp17_ = _ ("Export Photo/Video"); -#line 3732 "CollectionPage.c" - } else { -#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp17_ = _ ("Export Photos/Videos"); -#line 3736 "CollectionPage.c" - } -#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp21_ = g_strdup (_tmp17_); -#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala" + gchar* _tmp20_; +#line 410 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp17_ = export_list; +#line 410 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp18_ = gee_collection_get_size (_tmp17_); +#line 410 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp19_ = _tmp18_; +#line 410 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp20_ = g_strdup (ngettext ("Export Photo/Video", "Export Photos/Videos", (gulong) _tmp19_)); +#line 410 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_free0 (title); -#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala" - title = _tmp21_; -#line 3744 "CollectionPage.c" +#line 410 "/home/jens/Source/shotwell/src/CollectionPage.vala" + title = _tmp20_; +#line 3712 "CollectionPage.c" } else { - const gchar* _tmp22_ = NULL; - GeeCollection* _tmp23_; - gint _tmp24_; - gint _tmp25_; - gchar* _tmp26_; -#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp23_ = export_list; -#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp24_ = gee_collection_get_size (_tmp23_); -#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp25_ = _tmp24_; -#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (_tmp25_ == 1) { -#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp22_ = _ ("Export Photo"); -#line 3761 "CollectionPage.c" - } else { -#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp22_ = _ ("Export Photos"); -#line 3765 "CollectionPage.c" - } -#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp26_ = g_strdup (_tmp22_); -#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala" + GeeCollection* _tmp21_; + gint _tmp22_; + gint _tmp23_; + gchar* _tmp24_; +#line 412 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp21_ = export_list; +#line 412 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp22_ = gee_collection_get_size (_tmp21_); +#line 412 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp23_ = _tmp22_; +#line 412 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp24_ = g_strdup (ngettext ("Export Photo", "Export Photos", (gulong) _tmp23_)); +#line 412 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_free0 (title); -#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala" - title = _tmp26_; -#line 3773 "CollectionPage.c" +#line 412 "/home/jens/Source/shotwell/src/CollectionPage.vala" + title = _tmp24_; +#line 3730 "CollectionPage.c" } -#line 418 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp27_ = title; -#line 418 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp28_ = export_dialog_new (_tmp27_); -#line 418 "/home/jens/Source/shotwell/src/CollectionPage.vala" - g_object_ref_sink (_tmp28_); -#line 418 "/home/jens/Source/shotwell/src/CollectionPage.vala" - export_dialog = _tmp28_; +#line 413 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp25_ = title; +#line 413 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp26_ = export_dialog_new (_tmp25_); +#line 413 "/home/jens/Source/shotwell/src/CollectionPage.vala" + g_object_ref_sink (_tmp26_); +#line 413 "/home/jens/Source/shotwell/src/CollectionPage.vala" + export_dialog = _tmp26_; +#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp28_ = has_some_videos; +#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala" + if (_tmp28_) { +#line 3744 "CollectionPage.c" + ExportFormatParameters _tmp29_ = {0}; +#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala" + export_format_parameters_current (&_tmp29_); +#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp27_ = _tmp29_; +#line 3750 "CollectionPage.c" + } else { + ExportFormatParameters _tmp30_ = {0}; +#line 424 "/home/jens/Source/shotwell/src/CollectionPage.vala" + export_format_parameters_last (&_tmp30_); +#line 424 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp27_ = _tmp30_; +#line 3757 "CollectionPage.c" + } +#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala" + export_params = _tmp27_; #line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp30_ = has_some_videos; + _tmp31_ = export_dialog; #line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (_tmp30_) { -#line 3787 "CollectionPage.c" - ExportFormatParameters _tmp31_ = {0}; + _tmp34_ = export_dialog_execute (_tmp31_, &_tmp32_, &_tmp33_, &export_params); #line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala" - export_format_parameters_current (&_tmp31_); + scale = _tmp32_; #line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp29_ = _tmp31_; -#line 3793 "CollectionPage.c" - } else { - ExportFormatParameters _tmp32_ = {0}; + constraint = _tmp33_; +#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala" + if (!_tmp34_) { #line 429 "/home/jens/Source/shotwell/src/CollectionPage.vala" - export_format_parameters_last (&_tmp32_); + _g_object_unref0 (export_dialog); +#line 429 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _g_free0 (title); +#line 429 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _g_object_unref0 (export_list); #line 429 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp29_ = _tmp32_; -#line 3800 "CollectionPage.c" + return; +#line 3779 "CollectionPage.c" } -#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala" - export_params = _tmp29_; -#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp33_ = export_dialog; -#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp36_ = export_dialog_execute (_tmp33_, &_tmp34_, &_tmp35_, &export_params); -#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala" - scale = _tmp34_; -#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala" - constraint = _tmp35_; -#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (!_tmp36_) { +#line 431 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp35_ = constraint; +#line 431 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp36_ = scale; +#line 431 "/home/jens/Source/shotwell/src/CollectionPage.vala" + scaling_for_constraint (_tmp35_, _tmp36_, FALSE, &_tmp37_); +#line 431 "/home/jens/Source/shotwell/src/CollectionPage.vala" + scaling = _tmp37_; #line 434 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _g_object_unref0 (export_dialog); + _tmp38_ = export_list; #line 434 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _g_free0 (title); + _tmp39_ = gee_collection_get_size (_tmp38_); #line 434 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _g_object_unref0 (export_list); + _tmp40_ = _tmp39_; #line 434 "/home/jens/Source/shotwell/src/CollectionPage.vala" - return; -#line 3822 "CollectionPage.c" - } -#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp37_ = constraint; -#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp38_ = scale; -#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala" - scaling_for_constraint (_tmp37_, _tmp38_, FALSE, &_tmp39_); -#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala" - scaling = _tmp39_; -#line 439 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp40_ = export_list; -#line 439 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp41_ = gee_collection_get_size (_tmp40_); -#line 439 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp42_ = _tmp41_; -#line 439 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (_tmp42_ == 1) { -#line 3840 "CollectionPage.c" + if (_tmp40_ == 1) { +#line 3797 "CollectionPage.c" LibraryPhoto* photo = NULL; GFile* save_as = NULL; - LibraryPhoto* _tmp51_; - ExportFormatParameters _tmp52_; - gchar* _tmp53_; - gchar* _tmp54_; + LibraryPhoto* _tmp49_; + ExportFormatParameters _tmp50_; + gchar* _tmp51_; + gchar* _tmp52_; + GFile* _tmp53_; + GFile* _tmp54_; GFile* _tmp55_; - GFile* _tmp56_; - GFile* _tmp57_; -#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala" photo = NULL; -#line 3852 "CollectionPage.c" +#line 3809 "CollectionPage.c" { GeeIterator* _p_it = NULL; - GeeCollection* _tmp43_; - GeeIterator* _tmp44_; -#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp43_ = export_list; -#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp44_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, GEE_TYPE_COLLECTION, GeeCollection), GEE_TYPE_ITERABLE, GeeIterable)); -#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _p_it = _tmp44_; -#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala" + GeeCollection* _tmp41_; + GeeIterator* _tmp42_; +#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp41_ = export_list; +#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp42_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, GEE_TYPE_COLLECTION, GeeCollection), GEE_TYPE_ITERABLE, GeeIterable)); +#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _p_it = _tmp42_; +#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala" while (TRUE) { -#line 3865 "CollectionPage.c" - GeeIterator* _tmp45_; - gboolean _tmp46_; +#line 3822 "CollectionPage.c" + GeeIterator* _tmp43_; + gboolean _tmp44_; LibraryPhoto* p = NULL; - GeeIterator* _tmp47_; - gpointer _tmp48_; - LibraryPhoto* _tmp49_; - LibraryPhoto* _tmp50_; -#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp45_ = _p_it; -#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp46_ = gee_iterator_next (_tmp45_); -#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (!_tmp46_) { -#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala" + GeeIterator* _tmp45_; + gpointer _tmp46_; + LibraryPhoto* _tmp47_; + LibraryPhoto* _tmp48_; +#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp43_ = _p_it; +#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp44_ = gee_iterator_next (_tmp43_); +#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala" + if (!_tmp44_) { +#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala" break; -#line 3881 "CollectionPage.c" +#line 3838 "CollectionPage.c" } -#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp47_ = _p_it; -#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp48_ = gee_iterator_get (_tmp47_); -#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala" - p = (LibraryPhoto*) _tmp48_; -#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp49_ = p; -#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp50_ = _g_object_ref0 (_tmp49_); -#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp45_ = _p_it; +#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp46_ = gee_iterator_get (_tmp45_); +#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala" + p = (LibraryPhoto*) _tmp46_; +#line 437 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp47_ = p; +#line 437 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp48_ = _g_object_ref0 (_tmp47_); +#line 437 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo); -#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala" - photo = _tmp50_; -#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 437 "/home/jens/Source/shotwell/src/CollectionPage.vala" + photo = _tmp48_; +#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (p); -#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala" break; -#line 3901 "CollectionPage.c" +#line 3858 "CollectionPage.c" } -#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_p_it); -#line 3905 "CollectionPage.c" +#line 3862 "CollectionPage.c" } -#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp51_ = photo; -#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp52_ = export_params; -#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp53_ = photo_get_export_basename_for_parameters (G_TYPE_CHECK_INSTANCE_CAST (_tmp51_, TYPE_PHOTO, Photo), &_tmp52_); -#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp49_ = photo; +#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp50_ = export_params; +#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp51_ = photo_get_export_basename_for_parameters (G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, TYPE_PHOTO, Photo), &_tmp50_); +#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp52_ = _tmp51_; +#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp53_ = export_ui_choose_file (_tmp52_); +#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp54_ = _tmp53_; -#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp55_ = export_ui_choose_file (_tmp54_); -#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp56_ = _tmp55_; -#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _g_free0 (_tmp54_); -#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala" - save_as = _tmp56_; -#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp57_ = save_as; -#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (_tmp57_ == NULL) { -#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _g_free0 (_tmp52_); +#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala" + save_as = _tmp54_; +#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp55_ = save_as; +#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala" + if (_tmp55_ == NULL) { +#line 444 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (save_as); -#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 444 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo); -#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 444 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (export_dialog); -#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 444 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_free0 (title); -#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 444 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (export_list); -#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 444 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 3939 "CollectionPage.c" +#line 3896 "CollectionPage.c" } { - AppWindow* _tmp58_; - AppWindow* _tmp59_; - LibraryPhoto* _tmp60_; - GFile* _tmp61_; - Scaling _tmp62_; - ExportFormatParameters _tmp63_; - JpegQuality _tmp64_; - LibraryPhoto* _tmp65_; + AppWindow* _tmp56_; + AppWindow* _tmp57_; + LibraryPhoto* _tmp58_; + GFile* _tmp59_; + Scaling _tmp60_; + ExportFormatParameters _tmp61_; + JpegQuality _tmp62_; + LibraryPhoto* _tmp63_; + ExportFormatParameters _tmp64_; + PhotoFileFormat _tmp65_; ExportFormatParameters _tmp66_; - PhotoFileFormat _tmp67_; + ExportFormatMode _tmp67_; ExportFormatParameters _tmp68_; - ExportFormatMode _tmp69_; - ExportFormatParameters _tmp70_; - gboolean _tmp71_; - AppWindow* _tmp72_; - AppWindow* _tmp73_; -#line 452 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp58_ = app_window_get_instance (); -#line 452 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp59_ = _tmp58_; -#line 452 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp59_, TYPE_PAGE_WINDOW, PageWindow)); -#line 452 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _g_object_unref0 (_tmp59_); -#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp60_ = photo; -#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp61_ = save_as; -#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp62_ = scaling; -#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp63_ = export_params; -#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp64_ = _tmp63_.quality; -#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp65_ = photo; -#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala" + gboolean _tmp69_; + AppWindow* _tmp70_; + AppWindow* _tmp71_; +#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp56_ = app_window_get_instance (); +#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp57_ = _tmp56_; +#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala" + page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp57_, TYPE_PAGE_WINDOW, PageWindow)); +#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _g_object_unref0 (_tmp57_); +#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp58_ = photo; +#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp59_ = save_as; +#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp60_ = scaling; +#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp61_ = export_params; +#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp62_ = _tmp61_.quality; +#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp63_ = photo; +#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp64_ = export_params; +#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp65_ = photo_get_export_format_for_parameters (G_TYPE_CHECK_INSTANCE_CAST (_tmp63_, TYPE_PHOTO, Photo), &_tmp64_); +#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp66_ = export_params; -#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp67_ = photo_get_export_format_for_parameters (G_TYPE_CHECK_INSTANCE_CAST (_tmp65_, TYPE_PHOTO, Photo), &_tmp66_); -#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp67_ = _tmp66_.mode; +#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp68_ = export_params; -#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp69_ = _tmp68_.mode; -#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp70_ = export_params; -#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp71_ = _tmp70_.export_metadata; -#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala" - photo_export (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, TYPE_PHOTO, Photo), _tmp61_, &_tmp62_, _tmp64_, _tmp67_, _tmp69_ == EXPORT_FORMAT_MODE_UNMODIFIED, _tmp71_, &_inner_error_); -#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp69_ = _tmp68_.export_metadata; +#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala" + photo_export (G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, TYPE_PHOTO, Photo), _tmp59_, &_tmp60_, _tmp62_, _tmp65_, _tmp67_ == EXPORT_FORMAT_MODE_UNMODIFIED, _tmp69_, &_inner_error_); +#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 3994 "CollectionPage.c" - goto __catch234_g_error; +#line 3951 "CollectionPage.c" + goto __catch245_g_error; } -#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp72_ = app_window_get_instance (); -#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp73_ = _tmp72_; -#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, TYPE_PAGE_WINDOW, PageWindow)); -#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _g_object_unref0 (_tmp73_); -#line 4005 "CollectionPage.c" +#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp70_ = app_window_get_instance (); +#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp71_ = _tmp70_; +#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala" + page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp71_, TYPE_PAGE_WINDOW, PageWindow)); +#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _g_object_unref0 (_tmp71_); +#line 3962 "CollectionPage.c" } - goto __finally234; - __catch234_g_error: + goto __finally245; + __catch245_g_error: { GError* err = NULL; - AppWindow* _tmp74_; - AppWindow* _tmp75_; - GFile* _tmp76_; -#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala" + AppWindow* _tmp72_; + AppWindow* _tmp73_; + GFile* _tmp74_; +#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala" err = _inner_error_; -#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala" _inner_error_ = NULL; -#line 458 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp74_ = app_window_get_instance (); -#line 458 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp75_ = _tmp74_; -#line 458 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp75_, TYPE_PAGE_WINDOW, PageWindow)); -#line 458 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _g_object_unref0 (_tmp75_); -#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp76_ = save_as; -#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala" - export_error_dialog (_tmp76_, FALSE); -#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp72_ = app_window_get_instance (); +#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp73_ = _tmp72_; +#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala" + page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, TYPE_PAGE_WINDOW, PageWindow)); +#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _g_object_unref0 (_tmp73_); +#line 454 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp74_ = save_as; +#line 454 "/home/jens/Source/shotwell/src/CollectionPage.vala" + export_error_dialog (_tmp74_, FALSE); +#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_error_free0 (err); -#line 4032 "CollectionPage.c" +#line 3989 "CollectionPage.c" } - __finally234: -#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala" + __finally245: +#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (save_as); -#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo); -#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (export_dialog); -#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_free0 (title); -#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (export_list); -#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 446 "/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 451 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_clear_error (&_inner_error_); -#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 4053 "CollectionPage.c" +#line 4010 "CollectionPage.c" } -#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (save_as); -#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo); -#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (export_dialog); -#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_free0 (title); -#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (export_list); -#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 4067 "CollectionPage.c" +#line 4024 "CollectionPage.c" } -#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp77_ = title; -#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp78_ = export_ui_choose_dir (_tmp77_); -#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala" - export_dir = _tmp78_; -#line 467 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp79_ = export_dir; -#line 467 "/home/jens/Source/shotwell/src/CollectionPage.vala" - if (_tmp79_ == NULL) { -#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 461 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp75_ = title; +#line 461 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp76_ = export_ui_choose_dir (_tmp75_); +#line 461 "/home/jens/Source/shotwell/src/CollectionPage.vala" + export_dir = _tmp76_; +#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp77_ = export_dir; +#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala" + if (_tmp77_ == NULL) { +#line 463 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (export_dir); -#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 463 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (export_dialog); -#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 463 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_free0 (title); -#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 463 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (export_list); -#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 463 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 4089 "CollectionPage.c" +#line 4046 "CollectionPage.c" } -#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp80_ = export_list; -#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp81_ = export_dir; -#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp82_ = scaling; -#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp83_ = export_params; -#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp84_ = exporter_new (_tmp80_, _tmp81_, &_tmp82_, &_tmp83_, FALSE); -#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp85_ = _tmp84_; -#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp86_ = exporter_ui_new (_tmp85_); -#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 465 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp78_ = export_list; +#line 465 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp79_ = export_dir; +#line 465 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp80_ = scaling; +#line 465 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp81_ = export_params; +#line 465 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp82_ = exporter_new (_tmp78_, _tmp79_, &_tmp80_, &_tmp81_, FALSE); +#line 465 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp83_ = _tmp82_; +#line 465 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp84_ = exporter_ui_new (_tmp83_); +#line 465 "/home/jens/Source/shotwell/src/CollectionPage.vala" _exporter_ui_unref0 (self->priv->exporter); -#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala" - self->priv->exporter = _tmp86_; -#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _g_object_unref0 (_tmp85_); -#line 471 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _tmp87_ = self->priv->exporter; -#line 471 "/home/jens/Source/shotwell/src/CollectionPage.vala" - exporter_ui_export (_tmp87_, _collection_page_on_export_completed_exporter_completion_callback, self); -#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 465 "/home/jens/Source/shotwell/src/CollectionPage.vala" + self->priv->exporter = _tmp84_; +#line 465 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _g_object_unref0 (_tmp83_); +#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _tmp85_ = self->priv->exporter; +#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala" + exporter_ui_export (_tmp85_, _collection_page_on_export_completed_exporter_completion_callback, self); +#line 388 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (export_dir); -#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 388 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (export_dialog); -#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 388 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_free0 (title); -#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 388 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (export_list); -#line 4123 "CollectionPage.c" +#line 4080 "CollectionPage.c" } static void collection_page_on_export_completed (CollectionPage* self) { -#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (IS_COLLECTION_PAGE (self)); -#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala" _exporter_ui_unref0 (self->priv->exporter); -#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala" self->priv->exporter = NULL; -#line 4134 "CollectionPage.c" +#line 4091 "CollectionPage.c" } static gboolean collection_page_can_revert_selected (CollectionPage* self) { gboolean result = FALSE; -#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 473 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_val_if_fail (IS_COLLECTION_PAGE (self), FALSE); -#line 4142 "CollectionPage.c" +#line 4099 "CollectionPage.c" { GeeList* _source_list = NULL; ViewCollection* _tmp0_; @@ -4150,31 +4107,31 @@ static gboolean collection_page_can_revert_selected (CollectionPage* self) { gint _tmp5_; gint _tmp6_; gint _source_index = 0; -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _tmp0_; -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = view_collection_get_selected_sources (_tmp1_); -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_; -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp1_); -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _source_list = _tmp3_; -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = _source_list; -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = _tmp5_; -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _source_size = _tmp6_; -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _source_index = -1; -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" while (TRUE) { -#line 4178 "CollectionPage.c" +#line 4135 "CollectionPage.c" gint _tmp7_; gint _tmp8_; gint _tmp9_; @@ -4187,107 +4144,107 @@ static gboolean collection_page_can_revert_selected (CollectionPage* self) { LibraryPhoto* _tmp14_; gboolean _tmp15_ = FALSE; LibraryPhoto* _tmp16_; -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = _source_index; -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _source_index = _tmp7_ + 1; -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = _source_index; -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = _source_size; -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (!(_tmp8_ < _tmp9_)) { -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" break; -#line 4203 "CollectionPage.c" +#line 4160 "CollectionPage.c" } -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = _source_list; -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp11_ = _source_index; -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp12_ = gee_list_get (_tmp10_, _tmp11_); -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" source = (DataSource*) _tmp12_; -#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp13_ = source; -#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp13_) : NULL); -#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala" photo = _tmp14_; -#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp16_ = photo; -#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp16_ != NULL) { -#line 4223 "CollectionPage.c" +#line 4180 "CollectionPage.c" gboolean _tmp17_ = FALSE; LibraryPhoto* _tmp18_; gboolean _tmp19_; -#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp18_ = photo; -#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp19_ = photo_has_transformations (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_PHOTO, Photo)); -#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp19_) { -#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp17_ = TRUE; -#line 4235 "CollectionPage.c" +#line 4192 "CollectionPage.c" } else { LibraryPhoto* _tmp20_; gboolean _tmp21_; -#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp20_ = photo; -#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp21_ = photo_has_editable (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_PHOTO, Photo)); -#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp17_ = _tmp21_; -#line 4245 "CollectionPage.c" +#line 4202 "CollectionPage.c" } -#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp15_ = _tmp17_; -#line 4249 "CollectionPage.c" +#line 4206 "CollectionPage.c" } else { -#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp15_ = FALSE; -#line 4253 "CollectionPage.c" +#line 4210 "CollectionPage.c" } -#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp15_) { -#line 482 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 477 "/home/jens/Source/shotwell/src/CollectionPage.vala" result = TRUE; -#line 482 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 477 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo); -#line 482 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 477 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (source); -#line 482 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 477 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_source_list); -#line 482 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 477 "/home/jens/Source/shotwell/src/CollectionPage.vala" return result; -#line 4267 "CollectionPage.c" +#line 4224 "CollectionPage.c" } -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo); -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (source); -#line 4273 "CollectionPage.c" +#line 4230 "CollectionPage.c" } -#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_source_list); -#line 4277 "CollectionPage.c" +#line 4234 "CollectionPage.c" } -#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala" result = FALSE; -#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala" return result; -#line 4283 "CollectionPage.c" +#line 4240 "CollectionPage.c" } static gboolean collection_page_can_revert_editable_selected (CollectionPage* self) { gboolean result = FALSE; -#line 488 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 483 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_val_if_fail (IS_COLLECTION_PAGE (self), FALSE); -#line 4291 "CollectionPage.c" +#line 4248 "CollectionPage.c" { GeeList* _source_list = NULL; ViewCollection* _tmp0_; @@ -4299,31 +4256,31 @@ static gboolean collection_page_can_revert_editable_selected (CollectionPage* se gint _tmp5_; gint _tmp6_; gint _source_index = 0; -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _tmp0_; -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = view_collection_get_selected_sources (_tmp1_); -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_; -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp1_); -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _source_list = _tmp3_; -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = _source_list; -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = _tmp5_; -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _source_size = _tmp6_; -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _source_index = -1; -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" while (TRUE) { -#line 4327 "CollectionPage.c" +#line 4284 "CollectionPage.c" gint _tmp7_; gint _tmp8_; gint _tmp9_; @@ -4336,82 +4293,82 @@ static gboolean collection_page_can_revert_editable_selected (CollectionPage* se LibraryPhoto* _tmp14_; gboolean _tmp15_ = FALSE; LibraryPhoto* _tmp16_; -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = _source_index; -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _source_index = _tmp7_ + 1; -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = _source_index; -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = _source_size; -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (!(_tmp8_ < _tmp9_)) { -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" break; -#line 4352 "CollectionPage.c" +#line 4309 "CollectionPage.c" } -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = _source_list; -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp11_ = _source_index; -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp12_ = gee_list_get (_tmp10_, _tmp11_); -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" source = (DataSource*) _tmp12_; -#line 490 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp13_ = source; -#line 490 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp13_) : NULL); -#line 490 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala" photo = _tmp14_; -#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp16_ = photo; -#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp16_ != NULL) { -#line 4372 "CollectionPage.c" +#line 4329 "CollectionPage.c" LibraryPhoto* _tmp17_; gboolean _tmp18_; -#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp17_ = photo; -#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp18_ = photo_has_editable (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_PHOTO, Photo)); -#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp15_ = _tmp18_; -#line 4381 "CollectionPage.c" +#line 4338 "CollectionPage.c" } else { -#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp15_ = FALSE; -#line 4385 "CollectionPage.c" +#line 4342 "CollectionPage.c" } -#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp15_) { -#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 487 "/home/jens/Source/shotwell/src/CollectionPage.vala" result = TRUE; -#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 487 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo); -#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 487 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (source); -#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 487 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_source_list); -#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 487 "/home/jens/Source/shotwell/src/CollectionPage.vala" return result; -#line 4399 "CollectionPage.c" +#line 4356 "CollectionPage.c" } -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo); -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (source); -#line 4405 "CollectionPage.c" +#line 4362 "CollectionPage.c" } -#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_source_list); -#line 4409 "CollectionPage.c" +#line 4366 "CollectionPage.c" } -#line 495 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 490 "/home/jens/Source/shotwell/src/CollectionPage.vala" result = FALSE; -#line 495 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 490 "/home/jens/Source/shotwell/src/CollectionPage.vala" return result; -#line 4415 "CollectionPage.c" +#line 4372 "CollectionPage.c" } @@ -4430,55 +4387,55 @@ static void collection_page_on_rotate_clockwise (CollectionPage* self) { CommandManager* _tmp10_; CommandManager* _tmp11_; RotateMultipleCommand* _tmp12_; -#line 498 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 493 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (IS_COLLECTION_PAGE (self)); -#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 494 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 494 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _tmp0_; -#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 494 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 494 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_ == 0; -#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 494 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp1_); -#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 494 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp3_) { -#line 500 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 495 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 4450 "CollectionPage.c" +#line 4407 "CollectionPage.c" } -#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = _tmp4_; -#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = view_collection_get_selected (_tmp5_); -#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = _tmp6_; -#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = 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, _ ("Rotating"), _ ("Undoing Rotate")); -#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = _tmp8_; -#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp7_); -#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp5_); -#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala" command = _tmp9_; -#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 500 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 500 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp11_ = _tmp10_; -#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 500 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp12_ = command; -#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 500 "/home/jens/Source/shotwell/src/CollectionPage.vala" command_manager_execute (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_COMMAND, Command)); -#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 500 "/home/jens/Source/shotwell/src/CollectionPage.vala" _command_manager_unref0 (_tmp11_); -#line 498 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 493 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (command); -#line 4482 "CollectionPage.c" +#line 4439 "CollectionPage.c" } @@ -4487,40 +4444,40 @@ static void collection_page_on_publish (CollectionPage* self) { ViewCollection* _tmp1_; gint _tmp2_; gboolean _tmp3_; -#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 503 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (IS_COLLECTION_PAGE (self)); -#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _tmp0_; -#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_ > 0; -#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp1_); -#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp3_) { -#line 4505 "CollectionPage.c" +#line 4462 "CollectionPage.c" ViewCollection* _tmp4_; ViewCollection* _tmp5_; GeeList* _tmp6_; GeeCollection* _tmp7_; -#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = _tmp4_; -#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = view_collection_get_selected_sources (_tmp5_); -#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection); -#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala" publishing_ui_publishing_dialog_go (_tmp7_); -#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp7_); -#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp5_); -#line 4524 "CollectionPage.c" +#line 4481 "CollectionPage.c" } } @@ -4540,55 +4497,55 @@ static void collection_page_on_rotate_counterclockwise (CollectionPage* self) { CommandManager* _tmp10_; CommandManager* _tmp11_; RotateMultipleCommand* _tmp12_; -#line 514 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (IS_COLLECTION_PAGE (self)); -#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _tmp0_; -#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_ == 0; -#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp1_); -#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp3_) { -#line 516 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 511 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 4560 "CollectionPage.c" +#line 4517 "CollectionPage.c" } -#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 513 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 513 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = _tmp4_; -#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 513 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = view_collection_get_selected (_tmp5_); -#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 513 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = _tmp6_; -#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 513 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = 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, _ ("Rotating"), _ ("Undoing Rotate")); -#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 513 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = _tmp8_; -#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 513 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp7_); -#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 513 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp5_); -#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 513 "/home/jens/Source/shotwell/src/CollectionPage.vala" command = _tmp9_; -#line 521 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 516 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 521 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 516 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp11_ = _tmp10_; -#line 521 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 516 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp12_ = command; -#line 521 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 516 "/home/jens/Source/shotwell/src/CollectionPage.vala" command_manager_execute (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_COMMAND, Command)); -#line 521 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 516 "/home/jens/Source/shotwell/src/CollectionPage.vala" _command_manager_unref0 (_tmp11_); -#line 514 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 509 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (command); -#line 4592 "CollectionPage.c" +#line 4549 "CollectionPage.c" } @@ -4607,55 +4564,55 @@ static void collection_page_on_flip_horizontally (CollectionPage* self) { CommandManager* _tmp10_; CommandManager* _tmp11_; RotateMultipleCommand* _tmp12_; -#line 524 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 519 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (IS_COLLECTION_PAGE (self)); -#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 520 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 520 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _tmp0_; -#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 520 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 520 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_ == 0; -#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 520 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp1_); -#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 520 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp3_) { -#line 526 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 521 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 4627 "CollectionPage.c" +#line 4584 "CollectionPage.c" } -#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 523 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 523 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = _tmp4_; -#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 523 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = view_collection_get_selected (_tmp5_); -#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 523 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = _tmp6_; -#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 523 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = rotate_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable), ROTATION_MIRROR, RESOURCES_HFLIP_LABEL, "", _ ("Flipping Horizontally"), _ ("Undoing Flip Horizontally")); -#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 523 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = _tmp8_; -#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 523 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp7_); -#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 523 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp5_); -#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 523 "/home/jens/Source/shotwell/src/CollectionPage.vala" command = _tmp9_; -#line 531 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 526 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 531 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 526 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp11_ = _tmp10_; -#line 531 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 526 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp12_ = command; -#line 531 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 526 "/home/jens/Source/shotwell/src/CollectionPage.vala" command_manager_execute (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_COMMAND, Command)); -#line 531 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 526 "/home/jens/Source/shotwell/src/CollectionPage.vala" _command_manager_unref0 (_tmp11_); -#line 524 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 519 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (command); -#line 4659 "CollectionPage.c" +#line 4616 "CollectionPage.c" } @@ -4674,55 +4631,55 @@ static void collection_page_on_flip_vertically (CollectionPage* self) { CommandManager* _tmp10_; CommandManager* _tmp11_; RotateMultipleCommand* _tmp12_; -#line 534 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 529 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (IS_COLLECTION_PAGE (self)); -#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 530 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 530 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _tmp0_; -#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 530 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 530 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_ == 0; -#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 530 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp1_); -#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 530 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp3_) { -#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 531 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 4694 "CollectionPage.c" +#line 4651 "CollectionPage.c" } -#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 533 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 533 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = _tmp4_; -#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 533 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = view_collection_get_selected (_tmp5_); -#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 533 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = _tmp6_; -#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 533 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = rotate_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable), ROTATION_UPSIDE_DOWN, RESOURCES_VFLIP_LABEL, "", _ ("Flipping Vertically"), _ ("Undoing Flip Vertically")); -#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 533 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = _tmp8_; -#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 533 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp7_); -#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 533 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp5_); -#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 533 "/home/jens/Source/shotwell/src/CollectionPage.vala" command = _tmp9_; -#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp11_ = _tmp10_; -#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp12_ = command; -#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala" command_manager_execute (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_COMMAND, Command)); -#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala" _command_manager_unref0 (_tmp11_); -#line 534 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 529 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (command); -#line 4726 "CollectionPage.c" +#line 4683 "CollectionPage.c" } @@ -4742,29 +4699,29 @@ static void collection_page_on_revert (CollectionPage* self) { CommandManager* _tmp33_; CommandManager* _tmp34_; RevertMultipleCommand* _tmp35_; -#line 544 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 539 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (IS_COLLECTION_PAGE (self)); -#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 540 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 540 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _tmp0_; -#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 540 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 540 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_ == 0; -#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 540 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp1_); -#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 540 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp3_) { -#line 546 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 4762 "CollectionPage.c" +#line 4719 "CollectionPage.c" } -#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = collection_page_can_revert_editable_selected (self); -#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp4_) { -#line 4768 "CollectionPage.c" +#line 4725 "CollectionPage.c" AppWindow* _tmp5_; AppWindow* _tmp6_; ViewCollection* _tmp7_; @@ -4773,33 +4730,33 @@ static void collection_page_on_revert (CollectionPage* self) { GeeCollection* _tmp10_; gboolean _tmp11_; gboolean _tmp12_; -#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 544 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = app_window_get_instance (); -#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 544 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = _tmp5_; -#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 544 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 544 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = _tmp7_; -#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 544 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = view_collection_get_selected_sources (_tmp8_); -#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 544 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_COLLECTION, GeeCollection); -#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 544 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp11_ = revert_editable_dialog (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_window_get_type (), GtkWindow), _tmp10_); -#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 544 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp12_ = !_tmp11_; -#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 544 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp10_); -#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 544 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp8_); -#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 544 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp6_); -#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 544 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp12_) { -#line 551 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 546 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 4803 "CollectionPage.c" +#line 4760 "CollectionPage.c" } { GeeList* _object_list = NULL; @@ -4812,31 +4769,31 @@ static void collection_page_on_revert (CollectionPage* self) { gint _tmp18_; gint _tmp19_; gint _object_index = 0; -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp13_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp14_ = _tmp13_; -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp15_ = view_collection_get_selected_sources (_tmp14_); -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp16_ = _tmp15_; -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp14_); -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" _object_list = _tmp16_; -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp17_ = _object_list; -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp18_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp19_ = _tmp18_; -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" _object_size = _tmp19_; -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" _object_index = -1; -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" while (TRUE) { -#line 4840 "CollectionPage.c" +#line 4797 "CollectionPage.c" gint _tmp20_; gint _tmp21_; gint _tmp22_; @@ -4845,72 +4802,72 @@ static void collection_page_on_revert (CollectionPage* self) { gint _tmp24_; gpointer _tmp25_; DataObject* _tmp26_; -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp20_ = _object_index; -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" _object_index = _tmp20_ + 1; -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp21_ = _object_index; -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp22_ = _object_size; -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (!(_tmp21_ < _tmp22_)) { -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" break; -#line 4861 "CollectionPage.c" +#line 4818 "CollectionPage.c" } -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp23_ = _object_list; -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp24_ = _object_index; -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp25_ = gee_list_get (_tmp23_, _tmp24_); -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" object = G_TYPE_CHECK_INSTANCE_CAST ((DataSource*) _tmp25_, TYPE_DATA_OBJECT, DataObject); -#line 555 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 550 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp26_ = object; -#line 555 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 550 "/home/jens/Source/shotwell/src/CollectionPage.vala" photo_revert_to_master (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, TYPE_PHOTO, Photo), TRUE); -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (object); -#line 4877 "CollectionPage.c" +#line 4834 "CollectionPage.c" } -#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_object_list); -#line 4881 "CollectionPage.c" +#line 4838 "CollectionPage.c" } } -#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp27_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp28_ = _tmp27_; -#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp29_ = view_collection_get_selected (_tmp28_); -#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp30_ = _tmp29_; -#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp31_ = revert_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp32_ = _tmp31_; -#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp30_); -#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp28_); -#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala" command = _tmp32_; -#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp33_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp34_ = _tmp33_; -#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp35_ = command; -#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" command_manager_execute (_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, TYPE_COMMAND, Command)); -#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala" _command_manager_unref0 (_tmp34_); -#line 544 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 539 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (command); -#line 4914 "CollectionPage.c" +#line 4871 "CollectionPage.c" } @@ -4929,57 +4886,57 @@ void collection_page_on_copy_adjustments (CollectionPage* self) { Photo* _tmp10_; PixelTransformationBundle* _tmp11_; PixelTransformationBundle* _tmp12_; -#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (IS_COLLECTION_PAGE (self)); -#line 563 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 563 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _tmp0_; -#line 563 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 563 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_ != 1; -#line 563 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp1_); -#line 563 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp3_) { -#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 4949 "CollectionPage.c" +#line 4906 "CollectionPage.c" } -#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = _tmp4_; -#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = view_collection_get_selected_at (_tmp5_, 0); -#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = _tmp6_; -#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = data_view_get_source (_tmp7_); -#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_PHOTO, Photo); -#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp7_); -#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp5_); -#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala" photo = _tmp9_; -#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = photo; -#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp11_ = photo_get_color_adjustments (_tmp10_); -#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp12_ = _tmp11_; -#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala" pixel_transformation_bundle_set_copied_color_adjustments (_tmp12_); -#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala" _pixel_transformation_bundle_unref0 (_tmp12_); -#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala" - page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "PasteColorAdjustments", TRUE); #line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala" + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "PasteColorAdjustments", TRUE); +#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo); -#line 4983 "CollectionPage.c" +#line 4940 "CollectionPage.c" } @@ -5002,78 +4959,78 @@ void collection_page_on_paste_adjustments (CollectionPage* self) { CommandManager* _tmp14_; CommandManager* _tmp15_; AdjustColorsMultipleCommand* _tmp16_; -#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (IS_COLLECTION_PAGE (self)); -#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = pixel_transformation_bundle_get_copied_color_adjustments (); -#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala" copied_adjustments = _tmp0_; -#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_; -#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = view_collection_get_selected_count (_tmp3_); -#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = _tmp4_ == 0; -#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp3_); -#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp5_) { -#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = TRUE; -#line 5026 "CollectionPage.c" +#line 4983 "CollectionPage.c" } else { PixelTransformationBundle* _tmp6_; -#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = copied_adjustments; -#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _tmp6_ == NULL; -#line 5033 "CollectionPage.c" +#line 4990 "CollectionPage.c" } -#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp1_) { -#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 568 "/home/jens/Source/shotwell/src/CollectionPage.vala" _pixel_transformation_bundle_unref0 (copied_adjustments); -#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 568 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 5041 "CollectionPage.c" +#line 4998 "CollectionPage.c" } -#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = _tmp7_; -#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = view_collection_get_selected (_tmp8_); -#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = _tmp9_; -#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp11_ = copied_adjustments; -#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 570 "/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 575 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp13_ = _tmp12_; -#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp10_); -#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp8_); -#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala" command = _tmp13_; -#line 577 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp14_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 577 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp15_ = _tmp14_; -#line 577 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp16_ = command; -#line 577 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala" command_manager_execute (_tmp15_, G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_COMMAND, Command)); -#line 577 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala" _command_manager_unref0 (_tmp15_); -#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (command); -#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 565 "/home/jens/Source/shotwell/src/CollectionPage.vala" _pixel_transformation_bundle_unref0 (copied_adjustments); -#line 5077 "CollectionPage.c" +#line 5034 "CollectionPage.c" } @@ -5092,55 +5049,55 @@ static void collection_page_on_enhance (CollectionPage* self) { CommandManager* _tmp10_; CommandManager* _tmp11_; EnhanceMultipleCommand* _tmp12_; -#line 580 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (IS_COLLECTION_PAGE (self)); -#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _tmp0_; -#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_ == 0; -#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp1_); -#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp3_) { -#line 582 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 577 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 5112 "CollectionPage.c" +#line 5069 "CollectionPage.c" } -#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = _tmp4_; -#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = view_collection_get_selected (_tmp5_); -#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = _tmp6_; -#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = enhance_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = _tmp8_; -#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp7_); -#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp5_); -#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala" command = _tmp9_; -#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 580 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 580 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp11_ = _tmp10_; -#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 580 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp12_ = command; -#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 580 "/home/jens/Source/shotwell/src/CollectionPage.vala" command_manager_execute (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_COMMAND, Command)); -#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala" - _command_manager_unref0 (_tmp11_); #line 580 "/home/jens/Source/shotwell/src/CollectionPage.vala" + _command_manager_unref0 (_tmp11_); +#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (command); -#line 5144 "CollectionPage.c" +#line 5101 "CollectionPage.c" } @@ -5159,55 +5116,55 @@ static void collection_page_on_duplicate_photo (CollectionPage* self) { CommandManager* _tmp10_; CommandManager* _tmp11_; DuplicateMultiplePhotosCommand* _tmp12_; -#line 588 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (IS_COLLECTION_PAGE (self)); -#line 589 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 589 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _tmp0_; -#line 589 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 589 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_ == 0; -#line 589 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp1_); -#line 589 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp3_) { -#line 590 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 5179 "CollectionPage.c" +#line 5136 "CollectionPage.c" } -#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = _tmp4_; -#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = view_collection_get_selected (_tmp5_); -#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = _tmp6_; -#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = duplicate_multiple_photos_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = _tmp8_; -#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp7_); -#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp5_); -#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala" command = _tmp9_; -#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 589 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 589 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp11_ = _tmp10_; -#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 589 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp12_ = command; -#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 589 "/home/jens/Source/shotwell/src/CollectionPage.vala" command_manager_execute (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_COMMAND, Command)); -#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 589 "/home/jens/Source/shotwell/src/CollectionPage.vala" _command_manager_unref0 (_tmp11_); -#line 588 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (command); -#line 5211 "CollectionPage.c" +#line 5168 "CollectionPage.c" } @@ -5242,29 +5199,29 @@ static void collection_page_on_adjust_date_time (CollectionPage* self) { gboolean _tmp37_ = FALSE; gboolean _tmp38_ = FALSE; gboolean _tmp39_; -#line 597 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (IS_COLLECTION_PAGE (self)); -#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _tmp0_; -#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_ == 0; -#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp1_); -#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp3_) { -#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 5262 "CollectionPage.c" +#line 5219 "CollectionPage.c" } -#line 601 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 596 "/home/jens/Source/shotwell/src/CollectionPage.vala" selected_has_videos = FALSE; -#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 597 "/home/jens/Source/shotwell/src/CollectionPage.vala" only_videos_selected = TRUE; -#line 5268 "CollectionPage.c" +#line 5225 "CollectionPage.c" { GeeList* _dv_list = NULL; ViewCollection* _tmp4_; @@ -5276,31 +5233,31 @@ static void collection_page_on_adjust_date_time (CollectionPage* self) { gint _tmp9_; gint _tmp10_; gint _dv_index = 0; -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = _tmp4_; -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = view_collection_get_selected (_tmp5_); -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = _tmp6_; -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp5_); -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" _dv_list = _tmp7_; -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = _dv_list; -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = _tmp9_; -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" _dv_size = _tmp10_; -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" _dv_index = -1; -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" while (TRUE) { -#line 5304 "CollectionPage.c" +#line 5261 "CollectionPage.c" gint _tmp11_; gint _tmp12_; gint _tmp13_; @@ -5312,109 +5269,109 @@ static void collection_page_on_adjust_date_time (CollectionPage* self) { DataSource* _tmp18_; DataSource* _tmp19_; gboolean _tmp20_; -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp11_ = _dv_index; -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" _dv_index = _tmp11_ + 1; -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp12_ = _dv_index; -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp13_ = _dv_size; -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (!(_tmp12_ < _tmp13_)) { -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" break; -#line 5328 "CollectionPage.c" +#line 5285 "CollectionPage.c" } -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp14_ = _dv_list; -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp15_ = _dv_index; -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp16_ = gee_list_get (_tmp14_, _tmp15_); -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" dv = (DataView*) _tmp16_; -#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp17_ = dv; -#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp18_ = data_view_get_source (_tmp17_); -#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp19_ = _tmp18_; -#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp20_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, TYPE_VIDEO); -#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp19_); -#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp20_) { -#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 601 "/home/jens/Source/shotwell/src/CollectionPage.vala" selected_has_videos = TRUE; -#line 5352 "CollectionPage.c" +#line 5309 "CollectionPage.c" } else { -#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 603 "/home/jens/Source/shotwell/src/CollectionPage.vala" only_videos_selected = FALSE; -#line 5356 "CollectionPage.c" +#line 5313 "CollectionPage.c" } -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (dv); -#line 5360 "CollectionPage.c" +#line 5317 "CollectionPage.c" } -#line 604 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 599 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_dv_list); -#line 5364 "CollectionPage.c" +#line 5321 "CollectionPage.c" } -#line 611 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp21_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 611 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp22_ = _tmp21_; -#line 611 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp23_ = view_collection_get_selected_at (_tmp22_, 0); -#line 611 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp24_ = _tmp23_; -#line 611 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp25_ = data_view_get_source (_tmp24_); -#line 611 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp26_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, TYPE_DATEABLE, Dateable); -#line 611 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp24_); -#line 611 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp22_); -#line 611 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala" photo_source = _tmp26_; -#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp27_ = photo_source; -#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp28_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp29_ = _tmp28_; -#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp30_ = view_collection_get_selected_count (_tmp29_); -#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp31_ = selected_has_videos; -#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp32_ = only_videos_selected; -#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp33_ = adjust_date_time_dialog_new (_tmp27_, _tmp30_, TRUE, _tmp31_, _tmp32_); -#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_object_ref_sink (_tmp33_); -#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp34_ = _tmp33_; -#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp29_); -#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala" dialog = _tmp34_; -#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp35_ = dialog; -#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp39_ = adjust_date_time_dialog_execute (_tmp35_, &_tmp36_, &_tmp37_, &_tmp38_); -#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala" time_shift = _tmp36_; -#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala" keep_relativity = _tmp37_; -#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala" modify_originals = _tmp38_; -#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp39_) { -#line 5418 "CollectionPage.c" +#line 5375 "CollectionPage.c" AdjustDateTimePhotosCommand* command = NULL; ViewCollection* _tmp40_; ViewCollection* _tmp41_; @@ -5428,49 +5385,49 @@ static void collection_page_on_adjust_date_time (CollectionPage* self) { CommandManager* _tmp49_; CommandManager* _tmp50_; AdjustDateTimePhotosCommand* _tmp51_; -#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 614 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp40_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 614 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp41_ = _tmp40_; -#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 614 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp42_ = view_collection_get_selected (_tmp41_); -#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 614 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp43_ = _tmp42_; -#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 614 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp44_ = time_shift; -#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 614 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp45_ = keep_relativity; -#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 614 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp46_ = modify_originals; -#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 614 "/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 619 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 614 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp48_ = _tmp47_; -#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 614 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp43_); -#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 614 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp41_); -#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 614 "/home/jens/Source/shotwell/src/CollectionPage.vala" command = _tmp48_; -#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp49_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp50_ = _tmp49_; -#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp51_ = command; -#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala" command_manager_execute (_tmp50_, G_TYPE_CHECK_INSTANCE_CAST (_tmp51_, TYPE_COMMAND, Command)); -#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala" _command_manager_unref0 (_tmp50_); -#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (command); -#line 5468 "CollectionPage.c" +#line 5425 "CollectionPage.c" } -#line 597 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (dialog); -#line 597 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo_source); -#line 5474 "CollectionPage.c" +#line 5431 "CollectionPage.c" } @@ -5487,122 +5444,122 @@ static void collection_page_on_external_edit (CollectionPage* self) { DataSource* _tmp8_; Photo* _tmp9_; GError * _inner_error_ = NULL; -#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (IS_COLLECTION_PAGE (self)); -#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _tmp0_; -#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_ != 1; -#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp1_); -#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp3_) { -#line 627 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 5507 "CollectionPage.c" +#line 5464 "CollectionPage.c" } -#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = _tmp4_; -#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = view_collection_get_selected_at (_tmp5_, 0); -#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = _tmp6_; -#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = data_view_get_source (_tmp7_); -#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_PHOTO, Photo); -#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp7_); -#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp5_); -#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala" photo = _tmp9_; -#line 5527 "CollectionPage.c" +#line 5484 "CollectionPage.c" { AppWindow* _tmp10_; AppWindow* _tmp11_; Photo* _tmp12_; AppWindow* _tmp13_; AppWindow* _tmp14_; -#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = app_window_get_instance (); -#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp11_ = _tmp10_; -#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala" page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_PAGE_WINDOW, PageWindow)); -#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 626 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp11_); -#line 632 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 627 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp12_ = photo; -#line 632 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 627 "/home/jens/Source/shotwell/src/CollectionPage.vala" photo_open_with_external_editor (_tmp12_, &_inner_error_); -#line 632 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 627 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 5548 "CollectionPage.c" - goto __catch235_g_error; +#line 5505 "CollectionPage.c" + goto __catch246_g_error; } -#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp13_ = app_window_get_instance (); -#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp14_ = _tmp13_; -#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala" page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_PAGE_WINDOW, PageWindow)); -#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp14_); -#line 5559 "CollectionPage.c" +#line 5516 "CollectionPage.c" } - goto __finally235; - __catch235_g_error: + goto __finally246; + __catch246_g_error: { GError* err = NULL; AppWindow* _tmp15_; AppWindow* _tmp16_; GError* _tmp17_; Photo* _tmp18_; -#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala" err = _inner_error_; -#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala" _inner_error_ = NULL; -#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp15_ = app_window_get_instance (); -#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp16_ = _tmp15_; -#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala" page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_PAGE_WINDOW, PageWindow)); -#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp16_); -#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp17_ = err; -#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp18_ = photo; -#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala" open_external_editor_error_dialog (_tmp17_, _tmp18_); -#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_error_free0 (err); -#line 5589 "CollectionPage.c" +#line 5546 "CollectionPage.c" } - __finally235: -#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala" + __finally246: +#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo); -#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 625 "/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 630 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_clear_error (&_inner_error_); -#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 5602 "CollectionPage.c" +#line 5559 "CollectionPage.c" } -#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo); -#line 5606 "CollectionPage.c" +#line 5563 "CollectionPage.c" } @@ -5621,53 +5578,53 @@ static void collection_page_on_external_edit_raw (CollectionPage* self) { Photo* _tmp10_; PhotoFileFormat _tmp11_; GError * _inner_error_ = NULL; -#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (IS_COLLECTION_PAGE (self)); -#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _tmp0_; -#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_ != 1; -#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp1_); -#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp3_) { -#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 5641 "CollectionPage.c" +#line 5598 "CollectionPage.c" } -#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = _tmp4_; -#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = view_collection_get_selected_at (_tmp5_, 0); -#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = _tmp6_; -#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = data_view_get_source (_tmp7_); -#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_PHOTO, Photo); -#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp7_); -#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp5_); -#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala" photo = _tmp9_; -#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = photo; -#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp11_ = photo_get_master_file_format (_tmp10_); -#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp11_ != PHOTO_FILE_FORMAT_RAW) { -#line 646 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo); -#line 646 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 5671 "CollectionPage.c" +#line 5628 "CollectionPage.c" } { AppWindow* _tmp12_; @@ -5675,35 +5632,35 @@ static void collection_page_on_external_edit_raw (CollectionPage* self) { Photo* _tmp14_; AppWindow* _tmp15_; AppWindow* _tmp16_; -#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp12_ = app_window_get_instance (); -#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp13_ = _tmp12_; -#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala" page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_PAGE_WINDOW, PageWindow)); -#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 644 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp13_); -#line 650 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp14_ = photo; -#line 650 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala" photo_open_with_raw_external_editor (_tmp14_, &_inner_error_); -#line 650 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 5693 "CollectionPage.c" - goto __catch236_g_error; +#line 5650 "CollectionPage.c" + goto __catch247_g_error; } -#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 646 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp15_ = app_window_get_instance (); -#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 646 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp16_ = _tmp15_; -#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 646 "/home/jens/Source/shotwell/src/CollectionPage.vala" page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_PAGE_WINDOW, PageWindow)); -#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 646 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp16_); -#line 5704 "CollectionPage.c" +#line 5661 "CollectionPage.c" } - goto __finally236; - __catch236_g_error: + goto __finally247; + __catch247_g_error: { GError* err = NULL; AppWindow* _tmp17_; @@ -5711,48 +5668,48 @@ static void collection_page_on_external_edit_raw (CollectionPage* self) { GError* _tmp19_; gchar* _tmp20_; gchar* _tmp21_; -#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala" err = _inner_error_; -#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala" _inner_error_ = NULL; -#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp17_ = app_window_get_instance (); -#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp18_ = _tmp17_; -#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala" page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_PAGE_WINDOW, PageWindow)); -#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp18_); -#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp19_ = err; -#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp20_ = resources_launch_editor_failed (_tmp19_); -#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp21_ = _tmp20_; -#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala" app_window_error_message (_tmp21_, NULL); -#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_free0 (_tmp21_); -#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_error_free0 (err); -#line 5739 "CollectionPage.c" +#line 5696 "CollectionPage.c" } - __finally236: -#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala" + __finally247: +#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo); -#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 643 "/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 648 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_clear_error (&_inner_error_); -#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 5752 "CollectionPage.c" +#line 5709 "CollectionPage.c" } -#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo); -#line 5756 "CollectionPage.c" +#line 5713 "CollectionPage.c" } @@ -5769,60 +5726,60 @@ void collection_page_on_set_background (CollectionPage* self) { GeeArrayList* _tmp6_; gint _tmp7_; gint _tmp8_; -#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (IS_COLLECTION_PAGE (self)); -#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = gee_array_list_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL); -#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala" photos = _tmp0_; -#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = _tmp1_; -#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = view_collection_get_selected_sources (_tmp2_); -#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection); -#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = photos; -#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 655 "/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 660 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp4_); -#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp2_); -#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = photos; -#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection)); -#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = _tmp7_; -#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp8_ == 1) { -#line 5803 "CollectionPage.c" +#line 5760 "CollectionPage.c" SetBackgroundPhotoDialog* dialog = NULL; SetBackgroundPhotoDialog* _tmp9_; SetBackgroundPhotoDialog* _tmp10_; gboolean _tmp11_ = FALSE; gboolean _tmp12_ = FALSE; gboolean _tmp13_; -#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = set_background_photo_dialog_new (); -#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_object_ref_sink (_tmp9_); -#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala" dialog = _tmp9_; -#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = dialog; -#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp13_ = set_background_photo_dialog_execute (_tmp10_, &_tmp11_, &_tmp12_); -#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala" desktop = _tmp11_; -#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala" screensaver = _tmp12_; -#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp13_) { -#line 5826 "CollectionPage.c" +#line 5783 "CollectionPage.c" AppWindow* _tmp14_; AppWindow* _tmp15_; GeeArrayList* _tmp16_; @@ -5832,54 +5789,54 @@ void collection_page_on_set_background (CollectionPage* self) { gboolean _tmp20_; AppWindow* _tmp21_; AppWindow* _tmp22_; -#line 667 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp14_ = app_window_get_instance (); -#line 667 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp15_ = _tmp14_; -#line 667 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala" page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_PAGE_WINDOW, PageWindow)); -#line 667 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp15_); -#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp16_ = photos; -#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 663 "/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 668 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp18_ = (LibraryPhoto*) _tmp17_; -#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp19_ = desktop; -#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp20_ = screensaver; -#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala" desktop_integration_set_background (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_PHOTO, Photo), _tmp19_, _tmp20_); -#line 668 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp18_); -#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp21_ = app_window_get_instance (); -#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp22_ = _tmp21_; -#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala" page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_PAGE_WINDOW, PageWindow)); -#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp22_); -#line 5866 "CollectionPage.c" +#line 5823 "CollectionPage.c" } -#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (dialog); -#line 5870 "CollectionPage.c" +#line 5827 "CollectionPage.c" } else { GeeArrayList* _tmp23_; gint _tmp24_; gint _tmp25_; -#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp23_ = photos; -#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp24_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection)); -#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp25_ = _tmp24_; -#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp25_ > 1) { -#line 5883 "CollectionPage.c" +#line 5840 "CollectionPage.c" SetBackgroundSlideshowDialog* dialog = NULL; SetBackgroundSlideshowDialog* _tmp26_; gint delay = 0; @@ -5888,25 +5845,25 @@ void collection_page_on_set_background (CollectionPage* self) { gboolean _tmp29_ = FALSE; gboolean _tmp30_ = FALSE; gboolean _tmp31_; -#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 667 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp26_ = set_background_slideshow_dialog_new (); -#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 667 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_object_ref_sink (_tmp26_); -#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 667 "/home/jens/Source/shotwell/src/CollectionPage.vala" dialog = _tmp26_; -#line 674 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp27_ = dialog; -#line 674 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp31_ = set_background_slideshow_dialog_execute (_tmp27_, &_tmp28_, &_tmp29_, &_tmp30_); -#line 674 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala" delay = _tmp28_; -#line 674 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala" desktop = _tmp29_; -#line 674 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala" screensaver = _tmp30_; -#line 674 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 669 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp31_) { -#line 5910 "CollectionPage.c" +#line 5867 "CollectionPage.c" AppWindow* _tmp32_; AppWindow* _tmp33_; GeeArrayList* _tmp34_; @@ -5915,42 +5872,42 @@ void collection_page_on_set_background (CollectionPage* self) { gboolean _tmp37_; AppWindow* _tmp38_; AppWindow* _tmp39_; -#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp32_ = app_window_get_instance (); -#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp33_ = _tmp32_; -#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala" page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, TYPE_PAGE_WINDOW, PageWindow)); -#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp33_); -#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp34_ = photos; -#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp35_ = delay; -#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp36_ = desktop; -#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp37_ = screensaver; -#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 671 "/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 678 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 673 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp38_ = app_window_get_instance (); -#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 673 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp39_ = _tmp38_; -#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 673 "/home/jens/Source/shotwell/src/CollectionPage.vala" page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, TYPE_PAGE_WINDOW, PageWindow)); -#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 673 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp39_); -#line 5945 "CollectionPage.c" +#line 5902 "CollectionPage.c" } -#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 666 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (dialog); -#line 5949 "CollectionPage.c" +#line 5906 "CollectionPage.c" } } -#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photos); -#line 5954 "CollectionPage.c" +#line 5911 "CollectionPage.c" } @@ -5990,205 +5947,205 @@ static void collection_page_on_slideshow (CollectionPage* self) { LibraryPhoto* _tmp38_; SlideshowPage* _tmp39_; SlideshowPage* _tmp40_; -#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_return_if_fail (IS_COLLECTION_PAGE (self)); -#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _tmp0_; -#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection)); -#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = _tmp2_ == 0; -#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp1_); -#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp3_) { -#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 680 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 6010 "CollectionPage.c" +#line 5967 "CollectionPage.c" } -#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = _tmp5_; -#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = view_collection_get_selected_count (_tmp6_); -#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp8_ = _tmp7_ > 0; -#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp6_); -#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp8_) { -#line 6024 "CollectionPage.c" +#line 5981 "CollectionPage.c" ViewCollection* _tmp9_; ViewCollection* _tmp10_; GeeList* _tmp11_; -#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp9_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp10_ = _tmp9_; -#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp11_ = view_collection_get_selected_sources_of_type (_tmp10_, TYPE_LIBRARY_PHOTO); -#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp4_); -#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = _tmp11_; -#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp10_); -#line 6040 "CollectionPage.c" +#line 5997 "CollectionPage.c" } else { ViewCollection* _tmp12_; ViewCollection* _tmp13_; GeeList* _tmp14_; -#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp12_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp13_ = _tmp12_; -#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp14_ = view_collection_get_sources_of_type (_tmp13_, TYPE_LIBRARY_PHOTO); -#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp4_); -#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = _tmp14_; -#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp13_); -#line 6057 "CollectionPage.c" +#line 6014 "CollectionPage.c" } -#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp15_ = _g_object_ref0 (_tmp4_); -#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala" sources = _tmp15_; -#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 686 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp17_ = sources; -#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 686 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp17_ == NULL) { -#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 686 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp16_ = TRUE; -#line 6069 "CollectionPage.c" +#line 6026 "CollectionPage.c" } else { GeeList* _tmp18_; gint _tmp19_; gint _tmp20_; -#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 686 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp18_ = sources; -#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 686 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp19_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 686 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp20_ = _tmp19_; -#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 686 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp16_ = _tmp20_ == 0; -#line 6082 "CollectionPage.c" +#line 6039 "CollectionPage.c" } -#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 686 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp16_) { -#line 692 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (sources); -#line 692 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp4_); -#line 692 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 6092 "CollectionPage.c" +#line 6049 "CollectionPage.c" } -#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp21_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp22_ = _tmp21_; -#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp23_ = sources; -#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp24_ = gee_list_get (_tmp23_, 0); -#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp25_ = (DataSource*) _tmp24_; -#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp26_ = view_collection_get_view_for_source (_tmp22_, _tmp25_); -#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp27_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, TYPE_THUMBNAIL, Thumbnail); -#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp25_); -#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp22_); -#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala" thumbnail = _tmp27_; -#line 695 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp28_ = thumbnail; -#line 695 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 690 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp28_ == NULL) { -#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (thumbnail); -#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (sources); -#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp4_); -#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 6126 "CollectionPage.c" +#line 6083 "CollectionPage.c" } -#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 693 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp29_ = thumbnail; -#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 693 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp30_ = thumbnail_get_media_source (_tmp29_); -#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 693 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp31_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp30_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp30_) : NULL; -#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 693 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp31_ == NULL) { -#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 693 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp30_); -#line 6138 "CollectionPage.c" +#line 6095 "CollectionPage.c" } -#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 693 "/home/jens/Source/shotwell/src/CollectionPage.vala" photo = _tmp31_; -#line 699 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp32_ = photo; -#line 699 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp32_ == NULL) { -#line 700 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 695 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo); -#line 700 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 695 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (thumbnail); -#line 700 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 695 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (sources); -#line 700 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 695 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp4_); -#line 700 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 695 "/home/jens/Source/shotwell/src/CollectionPage.vala" return; -#line 6156 "CollectionPage.c" +#line 6113 "CollectionPage.c" } -#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp33_ = app_window_get_instance (); -#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp34_ = _tmp33_; -#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp35_ = library_photo_global; -#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp36_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp37_ = _tmp36_; -#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp38_ = photo; -#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 697 "/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 702 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala" g_object_ref_sink (_tmp39_); -#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp40_ = _tmp39_; -#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala" app_window_go_fullscreen (_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, TYPE_PAGE, Page)); -#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp40_); -#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala" _data_collection_unref0 (_tmp37_); -#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp34_); -#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (photo); -#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (thumbnail); -#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (sources); -#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (_tmp4_); -#line 6192 "CollectionPage.c" +#line 6149 "CollectionPage.c" } @@ -6202,49 +6159,49 @@ static gboolean collection_page_real_on_ctrl_pressed (Page* base, GdkEventKey* e GtkToolButton* _tmp3_; GdkEventKey* _tmp7_; gboolean _tmp8_; -#line 706 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage); -#line 707 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder; -#line 707 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = gtk_builder_get_object (_tmp0_, "ToolRotate"); -#line 707 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_tool_button_get_type ()) ? ((GtkToolButton*) _tmp1_) : NULL); -#line 707 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 702 "/home/jens/Source/shotwell/src/CollectionPage.vala" rotate_button = _tmp2_; -#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 703 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = rotate_button; -#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 703 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp3_ != NULL) { -#line 6220 "CollectionPage.c" +#line 6177 "CollectionPage.c" GtkToolButton* _tmp4_; GtkToolButton* _tmp5_; GtkToolButton* _tmp6_; -#line 709 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 704 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = rotate_button; -#line 709 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 704 "/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 710 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 705 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = rotate_button; -#line 710 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 705 "/home/jens/Source/shotwell/src/CollectionPage.vala" gtk_tool_button_set_icon_name (_tmp5_, "object-rotate-left"); -#line 711 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 706 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = rotate_button; -#line 711 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 706 "/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 6236 "CollectionPage.c" +#line 6193 "CollectionPage.c" } -#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 709 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = event; -#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 709 "/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 714 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 709 "/home/jens/Source/shotwell/src/CollectionPage.vala" result = _tmp8_; -#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 709 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (rotate_button); -#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 709 "/home/jens/Source/shotwell/src/CollectionPage.vala" return result; -#line 6248 "CollectionPage.c" +#line 6205 "CollectionPage.c" } @@ -6258,56 +6215,56 @@ static gboolean collection_page_real_on_ctrl_released (Page* base, GdkEventKey* GtkToolButton* _tmp3_; GdkEventKey* _tmp7_; gboolean _tmp8_; -#line 717 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage); -#line 718 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 713 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder; -#line 718 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 713 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = gtk_builder_get_object (_tmp0_, "ToolRotate"); -#line 718 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 713 "/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 718 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 713 "/home/jens/Source/shotwell/src/CollectionPage.vala" rotate_button = _tmp2_; -#line 719 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp3_ = rotate_button; -#line 719 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (_tmp3_ != NULL) { -#line 6276 "CollectionPage.c" +#line 6233 "CollectionPage.c" GtkToolButton* _tmp4_; GtkToolButton* _tmp5_; GtkToolButton* _tmp6_; -#line 720 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 715 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp4_ = rotate_button; -#line 720 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 715 "/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 721 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 716 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp5_ = rotate_button; -#line 721 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 716 "/home/jens/Source/shotwell/src/CollectionPage.vala" gtk_tool_button_set_icon_name (_tmp5_, "object-rotate-right"); -#line 722 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 717 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp6_ = rotate_button; -#line 722 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 717 "/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 6292 "CollectionPage.c" +#line 6249 "CollectionPage.c" } -#line 725 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 720 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp7_ = event; -#line 725 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 720 "/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 725 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 720 "/home/jens/Source/shotwell/src/CollectionPage.vala" result = _tmp8_; -#line 725 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 720 "/home/jens/Source/shotwell/src/CollectionPage.vala" _g_object_unref0 (rotate_button); -#line 725 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 720 "/home/jens/Source/shotwell/src/CollectionPage.vala" return result; -#line 6304 "CollectionPage.c" +#line 6261 "CollectionPage.c" } static gpointer _view_filter_ref0 (gpointer self) { -#line 729 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 724 "/home/jens/Source/shotwell/src/CollectionPage.vala" return self ? view_filter_ref (self) : NULL; -#line 6311 "CollectionPage.c" +#line 6268 "CollectionPage.c" } @@ -6316,17 +6273,17 @@ static SearchViewFilter* collection_page_real_get_search_view_filter (Checkerboa SearchViewFilter* result = NULL; CollectionPageCollectionSearchViewFilter* _tmp0_; SearchViewFilter* _tmp1_; -#line 728 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 723 "/home/jens/Source/shotwell/src/CollectionPage.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage); -#line 729 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 724 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp0_ = self->priv->search_filter; -#line 729 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 724 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp1_ = _view_filter_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter)); -#line 729 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 724 "/home/jens/Source/shotwell/src/CollectionPage.vala" result = _tmp1_; -#line 729 "/home/jens/Source/shotwell/src/CollectionPage.vala" +#line 724 "/home/jens/Source/shotwell/src/CollectionPage.vala" return result; -#line 6330 "CollectionPage.c" +#line 6287 "CollectionPage.c" } @@ -6339,7 +6296,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 6343 "CollectionPage.c" +#line 6300 "CollectionPage.c" } @@ -6349,14 +6306,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 6353 "CollectionPage.c" +#line 6310 "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 6360 "CollectionPage.c" +#line 6317 "CollectionPage.c" } @@ -6365,7 +6322,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 = (guint (*) (SearchViewFilter *)) collection_page_collection_search_view_filter_real_get_criteria; -#line 6369 "CollectionPage.c" +#line 6326 "CollectionPage.c" } @@ -6418,7 +6375,7 @@ static void collection_page_class_init (CollectionPageClass * klass) { ((CheckerboardPageClass *) klass)->get_search_view_filter = (SearchViewFilter* (*) (CheckerboardPage *)) 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 6422 "CollectionPage.c" +#line 6379 "CollectionPage.c" } @@ -6432,7 +6389,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 6436 "CollectionPage.c" +#line 6393 "CollectionPage.c" } @@ -6446,7 +6403,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 6450 "CollectionPage.c" +#line 6407 "CollectionPage.c" } |