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/MediaPage.c | |
parent | 211da5fc3048ca2b6ccee2166b0aaaade55cb84f (diff) | |
parent | dc6c76eb04dfe3d4262a1806808f0bc0bf523238 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/MediaPage.c')
-rw-r--r-- | src/MediaPage.c | 4386 |
1 files changed, 2059 insertions, 2327 deletions
diff --git a/src/MediaPage.c b/src/MediaPage.c index 7dd7c65..ae79f6f 100644 --- a/src/MediaPage.c +++ b/src/MediaPage.c @@ -367,9 +367,6 @@ typedef struct _ThumbnailClass ThumbnailClass; #define TYPE_PHOTO_FILE_FORMAT (photo_file_format_get_type ()) #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) -#define TYPE_RATING_FILTER (rating_filter_get_type ()) -#define _view_filter_unref0(var) ((var == NULL) ? NULL : (var = (view_filter_unref (var), NULL))) - #define TYPE_TEXT_ENTRY_DIALOG_MEDIATOR (text_entry_dialog_mediator_get_type ()) #define TEXT_ENTRY_DIALOG_MEDIATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, TextEntryDialogMediator)) #define TEXT_ENTRY_DIALOG_MEDIATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, TextEntryDialogMediatorClass)) @@ -922,24 +919,6 @@ typedef enum { PHOTO_FILE_FORMAT_UNKNOWN } PhotoFileFormat; -typedef enum { - RATING_FILTER_NO_FILTER = 0, - RATING_FILTER_REJECTED_OR_HIGHER = 1, - RATING_FILTER_UNRATED_OR_HIGHER = 2, - RATING_FILTER_ONE_OR_HIGHER = 3, - RATING_FILTER_TWO_OR_HIGHER = 4, - RATING_FILTER_THREE_OR_HIGHER = 5, - RATING_FILTER_FOUR_OR_HIGHER = 6, - RATING_FILTER_FIVE_OR_HIGHER = 7, - RATING_FILTER_REJECTED_ONLY = 8, - RATING_FILTER_UNRATED_ONLY = 9, - RATING_FILTER_ONE_ONLY = 10, - RATING_FILTER_TWO_ONLY = 11, - RATING_FILTER_THREE_ONLY = 12, - RATING_FILTER_FOUR_ONLY = 13, - RATING_FILTER_FIVE_ONLY = 14 -} RatingFilter; - struct _FlaggableIface { GTypeInterface parent_iface; gboolean (*is_flagged) (Flaggable* self); @@ -1181,7 +1160,6 @@ void page_remove_actions (Page* self, GActionMap* map); static void media_page_real_update_actions (Page* base, gint selected_count, gint count); void page_set_action_sensitive (Page* self, const gchar* name, gboolean sensitive); gboolean desktop_integration_is_send_to_installed (void); -void page_set_action_visible (Page* self, const gchar* name, gboolean visible); static void media_page_update_rating_sensitivities (MediaPage* self); static void media_page_update_development_menu_item_sensitivity (MediaPage* self); DataSource* view_collection_get_selected_source_at (ViewCollection* self, gint index); @@ -1225,10 +1203,6 @@ GFile* media_source_get_file (MediaSource* self); void app_window_error_message (const gchar* message, GtkWindow* parent); static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* event); void page_activate_action (Page* self, const gchar* name); -gboolean page_get_ctrl_pressed (Page* self); -SearchViewFilter* checkerboard_page_get_search_view_filter (CheckerboardPage* self); -GType rating_filter_get_type (void) G_GNUC_CONST; -void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter rf); gboolean page_on_app_key_pressed (Page* self, GdkEventKey* event); static void media_page_real_switched_to (Page* base); void page_switched_to (Page* self); @@ -1330,11 +1304,11 @@ GType library_photo_get_type (void) G_GNUC_CONST; void remove_photos_from_library (GeeCollection* photos); static void media_page_real_on_move_to_trash (MediaPage* self); DataView* view_collection_get_next (ViewCollection* self, DataView* view); +gboolean data_collection_contains (DataCollection* self, DataObject* object); +void checkerboard_page_set_cursor (CheckerboardPage* self, CheckerboardItem* item); TrashUntrashPhotosCommand* trash_untrash_photos_command_new (GeeCollection* sources, gboolean to_trash); TrashUntrashPhotosCommand* trash_untrash_photos_command_construct (GType object_type, GeeCollection* sources, gboolean to_trash); GType trash_untrash_photos_command_get_type (void) G_GNUC_CONST; -gboolean data_collection_contains (DataCollection* self, DataObject* object); -void checkerboard_page_set_cursor (CheckerboardPage* self, CheckerboardItem* item); static void media_page_real_on_edit_title (MediaPage* self); GType edit_title_dialog_get_type (void) G_GNUC_CONST; gchar* media_source_get_title (MediaSource* self); @@ -1451,7 +1425,7 @@ static void media_page_finalize (GObject * obj); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); -static const GActionEntry MEDIA_PAGE_entries[30] = {{"Export", _media_page_on_export_gsimple_action_activate_callback}, {"SendTo", _media_page_on_send_to_gsimple_action_activate_callback}, {"SendToContextMenu", _media_page_on_send_to_gsimple_action_activate_callback}, {"RemoveFromLibrary", _media_page_on_remove_from_library_gsimple_action_activate_callback}, {"MoveToTrash", _media_page_on_move_to_trash_gsimple_action_activate_callback}, {"NewEvent", _media_page_on_new_event_gsimple_action_activate_callback}, {"AddTags", _media_page_on_add_tags_gsimple_action_activate_callback}, {"AddTagsContextMenu", _media_page_on_add_tags_gsimple_action_activate_callback}, {"ModifyTags", _media_page_on_modify_tags_gsimple_action_activate_callback}, {"IncreaseSize", _media_page_on_increase_size_gsimple_action_activate_callback}, {"DecreaseSize", _media_page_on_decrease_size_gsimple_action_activate_callback}, {"Flag", _media_page_on_flag_unflag_gsimple_action_activate_callback}, {"IncreaseRating", _media_page_on_increase_rating_gsimple_action_activate_callback}, {"DecreaseRating", _media_page_on_decrease_rating_gsimple_action_activate_callback}, {"RateRejected", _media_page_on_rate_rejected_gsimple_action_activate_callback}, {"RateUnrated", _media_page_on_rate_unrated_gsimple_action_activate_callback}, {"RateOne", _media_page_on_rate_one_gsimple_action_activate_callback}, {"RateTwo", _media_page_on_rate_two_gsimple_action_activate_callback}, {"RateThree", _media_page_on_rate_three_gsimple_action_activate_callback}, {"RateFour", _media_page_on_rate_four_gsimple_action_activate_callback}, {"RateFive", _media_page_on_rate_five_gsimple_action_activate_callback}, {"EditTitle", _media_page_on_edit_title_gsimple_action_activate_callback}, {"EditComment", _media_page_on_edit_comment_gsimple_action_activate_callback}, {"PlayVideo", _media_page_on_play_video_gsimple_action_activate_callback}, {"ViewTitle", _page_on_action_toggle_gsimple_action_activate_callback, NULL, "false", _media_page_on_display_titles_gsimple_action_change_state_callback}, {"ViewComment", _page_on_action_toggle_gsimple_action_activate_callback, NULL, "false", _media_page_on_display_comments_gsimple_action_change_state_callback}, {"ViewRatings", _page_on_action_toggle_gsimple_action_activate_callback, NULL, "false", _media_page_on_display_ratings_gsimple_action_change_state_callback}, {"ViewTags", _page_on_action_toggle_gsimple_action_activate_callback, NULL, "false", _media_page_on_display_tags_gsimple_action_change_state_callback}, {"SortBy", _page_on_action_radio_gsimple_action_activate_callback, "s", "'1'", _media_page_on_sort_changed_gsimple_action_change_state_callback}, {"Sort", _page_on_action_radio_gsimple_action_activate_callback, "s", "'ascending'", _media_page_on_sort_changed_gsimple_action_change_state_callback}}; +static const GActionEntry MEDIA_PAGE_entries[29] = {{"Export", _media_page_on_export_gsimple_action_activate_callback}, {"SendTo", _media_page_on_send_to_gsimple_action_activate_callback}, {"SendToContextMenu", _media_page_on_send_to_gsimple_action_activate_callback}, {"RemoveFromLibrary", _media_page_on_remove_from_library_gsimple_action_activate_callback}, {"MoveToTrash", _media_page_on_move_to_trash_gsimple_action_activate_callback}, {"NewEvent", _media_page_on_new_event_gsimple_action_activate_callback}, {"AddTags", _media_page_on_add_tags_gsimple_action_activate_callback}, {"ModifyTags", _media_page_on_modify_tags_gsimple_action_activate_callback}, {"IncreaseSize", _media_page_on_increase_size_gsimple_action_activate_callback}, {"DecreaseSize", _media_page_on_decrease_size_gsimple_action_activate_callback}, {"Flag", _media_page_on_flag_unflag_gsimple_action_activate_callback}, {"IncreaseRating", _media_page_on_increase_rating_gsimple_action_activate_callback}, {"DecreaseRating", _media_page_on_decrease_rating_gsimple_action_activate_callback}, {"RateRejected", _media_page_on_rate_rejected_gsimple_action_activate_callback}, {"RateUnrated", _media_page_on_rate_unrated_gsimple_action_activate_callback}, {"RateOne", _media_page_on_rate_one_gsimple_action_activate_callback}, {"RateTwo", _media_page_on_rate_two_gsimple_action_activate_callback}, {"RateThree", _media_page_on_rate_three_gsimple_action_activate_callback}, {"RateFour", _media_page_on_rate_four_gsimple_action_activate_callback}, {"RateFive", _media_page_on_rate_five_gsimple_action_activate_callback}, {"EditTitle", _media_page_on_edit_title_gsimple_action_activate_callback}, {"EditComment", _media_page_on_edit_comment_gsimple_action_activate_callback}, {"PlayVideo", _media_page_on_play_video_gsimple_action_activate_callback}, {"ViewTitle", _page_on_action_toggle_gsimple_action_activate_callback, NULL, "false", _media_page_on_display_titles_gsimple_action_change_state_callback}, {"ViewComment", _page_on_action_toggle_gsimple_action_activate_callback, NULL, "false", _media_page_on_display_comments_gsimple_action_change_state_callback}, {"ViewRatings", _page_on_action_toggle_gsimple_action_activate_callback, NULL, "false", _media_page_on_display_ratings_gsimple_action_change_state_callback}, {"ViewTags", _page_on_action_toggle_gsimple_action_activate_callback, NULL, "false", _media_page_on_display_tags_gsimple_action_change_state_callback}, {"SortBy", _page_on_action_radio_gsimple_action_activate_callback, "s", "'1'", _media_page_on_sort_changed_gsimple_action_change_state_callback}, {"Sort", _page_on_action_radio_gsimple_action_activate_callback, "s", "'ascending'", _media_page_on_sort_changed_gsimple_action_change_state_callback}}; MediaSourceItem* media_source_item_construct (GType object_type, ThumbnailSource* source, Dimensions* initial_pixbuf_dim, const gchar* title, const gchar* comment, gboolean marked_up, PangoAlignment alignment) { MediaSourceItem * self = NULL; @@ -1486,7 +1460,7 @@ MediaSourceItem* media_source_item_construct (GType object_type, ThumbnailSource _tmp6_ = media_source_item_basis_sprocket_pixbuf; #line 19 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp6_ == NULL) { -#line 1490 "MediaPage.c" +#line 1464 "MediaPage.c" GdkPixbuf* _tmp7_; #line 20 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = resources_load_icon ("sprocket.png", 0); @@ -1494,18 +1468,18 @@ MediaSourceItem* media_source_item_construct (GType object_type, ThumbnailSource _g_object_unref0 (media_source_item_basis_sprocket_pixbuf); #line 20 "/home/jens/Source/shotwell/src/MediaPage.vala" media_source_item_basis_sprocket_pixbuf = _tmp7_; -#line 1498 "MediaPage.c" +#line 1472 "MediaPage.c" } #line 16 "/home/jens/Source/shotwell/src/MediaPage.vala" return self; -#line 1502 "MediaPage.c" +#line 1476 "MediaPage.c" } MediaSourceItem* media_source_item_new (ThumbnailSource* source, Dimensions* initial_pixbuf_dim, const gchar* title, const gchar* comment, gboolean marked_up, PangoAlignment alignment) { #line 16 "/home/jens/Source/shotwell/src/MediaPage.vala" return media_source_item_construct (TYPE_MEDIA_SOURCE_ITEM, source, initial_pixbuf_dim, title, comment, marked_up, alignment); -#line 1509 "MediaPage.c" +#line 1483 "MediaPage.c" } @@ -1539,7 +1513,7 @@ static void media_source_item_real_paint_image (CheckerboardItem* base, cairo_t* if (!_tmp2_) { #line 31 "/home/jens/Source/shotwell/src/MediaPage.vala" checkerboard_item_set_horizontal_trinket_offset (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), 0); -#line 1543 "MediaPage.c" +#line 1517 "MediaPage.c" } else { gdouble reduction_factor = 0.0; gint _tmp3_; @@ -1573,7 +1547,7 @@ static void media_source_item_real_paint_image (CheckerboardItem* base, cairo_t* if (_tmp9_ == NULL) { #line 37 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = TRUE; -#line 1577 "MediaPage.c" +#line 1551 "MediaPage.c" } else { gint _tmp10_; GdkPixbuf* _tmp11_; @@ -1589,11 +1563,11 @@ static void media_source_item_real_paint_image (CheckerboardItem* base, cairo_t* _tmp13_ = _tmp12_; #line 37 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = _tmp10_ != _tmp13_; -#line 1593 "MediaPage.c" +#line 1567 "MediaPage.c" } #line 37 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp8_) { -#line 1597 "MediaPage.c" +#line 1571 "MediaPage.c" GdkPixbuf* _tmp14_; gint _tmp15_; gint _tmp16_; @@ -1610,7 +1584,7 @@ static void media_source_item_real_paint_image (CheckerboardItem* base, cairo_t* _g_object_unref0 (media_source_item_current_sprocket_pixbuf); #line 38 "/home/jens/Source/shotwell/src/MediaPage.vala" media_source_item_current_sprocket_pixbuf = _tmp17_; -#line 1614 "MediaPage.c" +#line 1588 "MediaPage.c" } #line 42 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp18_ = media_source_item_current_sprocket_pixbuf; @@ -1620,7 +1594,7 @@ static void media_source_item_real_paint_image (CheckerboardItem* base, cairo_t* _tmp20_ = _tmp19_; #line 42 "/home/jens/Source/shotwell/src/MediaPage.vala" checkerboard_item_set_horizontal_trinket_offset (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), _tmp20_); -#line 1624 "MediaPage.c" +#line 1598 "MediaPage.c" } #line 45 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp21_ = ctx; @@ -1634,7 +1608,7 @@ static void media_source_item_real_paint_image (CheckerboardItem* base, cairo_t* _tmp24_ = self->priv->enable_sprockets; #line 47 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp24_) { -#line 1638 "MediaPage.c" +#line 1612 "MediaPage.c" cairo_t* _tmp25_; GdkPoint _tmp26_; Dimensions _tmp27_; @@ -1646,7 +1620,7 @@ static void media_source_item_real_paint_image (CheckerboardItem* base, cairo_t* _tmp27_ = pixbuf_dim; #line 48 "/home/jens/Source/shotwell/src/MediaPage.vala" media_source_item_paint_sprockets (self, _tmp25_, &_tmp26_, &_tmp27_); -#line 1650 "MediaPage.c" +#line 1624 "MediaPage.c" } } @@ -1693,7 +1667,7 @@ void media_source_item_paint_one_sprocket (MediaSourceItem* self, cairo_t* ctx, _tmp8_ = ctx; #line 56 "/home/jens/Source/shotwell/src/MediaPage.vala" cairo_restore (_tmp8_); -#line 1697 "MediaPage.c" +#line 1671 "MediaPage.c" } @@ -1763,19 +1737,19 @@ void media_source_item_paint_sprockets (MediaSourceItem* self, cairo_t* ctx, Gdk _tmp12_ = _tmp11_; #line 65 "/home/jens/Source/shotwell/src/MediaPage.vala" right_paint_location.x = _tmp7_ + (_tmp9_ - _tmp12_); -#line 1767 "MediaPage.c" +#line 1741 "MediaPage.c" { gint i = 0; #line 66 "/home/jens/Source/shotwell/src/MediaPage.vala" i = 0; -#line 1772 "MediaPage.c" +#line 1746 "MediaPage.c" { gboolean _tmp13_ = FALSE; #line 66 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13_ = TRUE; #line 66 "/home/jens/Source/shotwell/src/MediaPage.vala" while (TRUE) { -#line 1779 "MediaPage.c" +#line 1753 "MediaPage.c" gint _tmp15_; gint _tmp16_; cairo_t* _tmp17_; @@ -1792,13 +1766,13 @@ void media_source_item_paint_sprockets (MediaSourceItem* self, cairo_t* ctx, Gdk gint _tmp28_; #line 66 "/home/jens/Source/shotwell/src/MediaPage.vala" if (!_tmp13_) { -#line 1796 "MediaPage.c" +#line 1770 "MediaPage.c" gint _tmp14_; #line 66 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp14_ = i; #line 66 "/home/jens/Source/shotwell/src/MediaPage.vala" i = _tmp14_ + 1; -#line 1802 "MediaPage.c" +#line 1776 "MediaPage.c" } #line 66 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13_ = FALSE; @@ -1810,7 +1784,7 @@ void media_source_item_paint_sprockets (MediaSourceItem* self, cairo_t* ctx, Gdk if (!(_tmp15_ < _tmp16_)) { #line 66 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 1814 "MediaPage.c" +#line 1788 "MediaPage.c" } #line 67 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp17_ = ctx; @@ -1844,7 +1818,7 @@ void media_source_item_paint_sprockets (MediaSourceItem* self, cairo_t* ctx, Gdk _tmp28_ = _tmp27_; #line 71 "/home/jens/Source/shotwell/src/MediaPage.vala" right_paint_location.y = _tmp25_ + _tmp28_; -#line 1848 "MediaPage.c" +#line 1822 "MediaPage.c" } } } @@ -1864,7 +1838,7 @@ void media_source_item_paint_sprockets (MediaSourceItem* self, cairo_t* ctx, Gdk _tmp34_ = straggler_pixels; #line 75 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp34_ > 0) { -#line 1868 "MediaPage.c" +#line 1842 "MediaPage.c" cairo_t* _tmp35_; cairo_t* _tmp36_; GdkPixbuf* _tmp37_; @@ -1977,7 +1951,7 @@ void media_source_item_paint_sprockets (MediaSourceItem* self, cairo_t* ctx, Gdk _tmp66_ = ctx; #line 90 "/home/jens/Source/shotwell/src/MediaPage.vala" cairo_restore (_tmp66_); -#line 1981 "MediaPage.c" +#line 1955 "MediaPage.c" } } @@ -1990,7 +1964,7 @@ void media_source_item_set_enable_sprockets (MediaSourceItem* self, gboolean ena _tmp0_ = enable_sprockets; #line 95 "/home/jens/Source/shotwell/src/MediaPage.vala" self->priv->enable_sprockets = _tmp0_; -#line 1994 "MediaPage.c" +#line 1968 "MediaPage.c" } @@ -2014,7 +1988,7 @@ void media_source_item_set_title (MediaSourceItem* self, const gchar* text, gboo _g_free0 (self->priv->natural_collation_key); #line 101 "/home/jens/Source/shotwell/src/MediaPage.vala" self->priv->natural_collation_key = NULL; -#line 2018 "MediaPage.c" +#line 1992 "MediaPage.c" } @@ -2029,7 +2003,7 @@ gchar* media_source_item_get_natural_collation_key (MediaSourceItem* self) { _tmp0_ = self->priv->natural_collation_key; #line 105 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp0_ == NULL) { -#line 2033 "MediaPage.c" +#line 2007 "MediaPage.c" gchar* _tmp1_; gchar* _tmp2_; #line 106 "/home/jens/Source/shotwell/src/MediaPage.vala" @@ -2040,7 +2014,7 @@ gchar* media_source_item_get_natural_collation_key (MediaSourceItem* self) { _g_free0 (self->priv->natural_collation_key); #line 106 "/home/jens/Source/shotwell/src/MediaPage.vala" self->priv->natural_collation_key = _tmp2_; -#line 2044 "MediaPage.c" +#line 2018 "MediaPage.c" } #line 108 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = self->priv->natural_collation_key; @@ -2050,7 +2024,7 @@ gchar* media_source_item_get_natural_collation_key (MediaSourceItem* self) { result = _tmp4_; #line 108 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 2054 "MediaPage.c" +#line 2028 "MediaPage.c" } @@ -2063,7 +2037,7 @@ static void media_source_item_class_init (MediaSourceItemClass * klass) { ((CheckerboardItemClass *) klass)->paint_image = (void (*) (CheckerboardItem *, cairo_t*, GdkPixbuf*, GdkPoint*)) media_source_item_real_paint_image; #line 7 "/home/jens/Source/shotwell/src/MediaPage.vala" G_OBJECT_CLASS (klass)->finalize = media_source_item_finalize; -#line 2067 "MediaPage.c" +#line 2041 "MediaPage.c" } @@ -2074,7 +2048,7 @@ static void media_source_item_instance_init (MediaSourceItem * self) { self->priv->enable_sprockets = FALSE; #line 12 "/home/jens/Source/shotwell/src/MediaPage.vala" self->priv->natural_collation_key = NULL; -#line 2078 "MediaPage.c" +#line 2052 "MediaPage.c" } @@ -2086,7 +2060,7 @@ static void media_source_item_finalize (GObject * obj) { _g_free0 (self->priv->natural_collation_key); #line 7 "/home/jens/Source/shotwell/src/MediaPage.vala" G_OBJECT_CLASS (media_source_item_parent_class)->finalize (obj); -#line 2090 "MediaPage.c" +#line 2064 "MediaPage.c" } @@ -2117,210 +2091,210 @@ GType media_page_sort_by_get_type (void) { static void _media_page_on_export_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_export ((MediaPage*) self); -#line 2121 "MediaPage.c" +#line 2095 "MediaPage.c" } static void _media_page_on_send_to_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_send_to ((MediaPage*) self); -#line 2128 "MediaPage.c" +#line 2102 "MediaPage.c" } static void _media_page_on_remove_from_library_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_remove_from_library ((MediaPage*) self); -#line 2135 "MediaPage.c" +#line 2109 "MediaPage.c" } static void _media_page_on_move_to_trash_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_move_to_trash ((MediaPage*) self); -#line 2142 "MediaPage.c" +#line 2116 "MediaPage.c" } static void _media_page_on_new_event_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_new_event ((MediaPage*) self); -#line 2149 "MediaPage.c" +#line 2123 "MediaPage.c" } static void _media_page_on_add_tags_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_add_tags ((MediaPage*) self); -#line 2156 "MediaPage.c" +#line 2130 "MediaPage.c" } static void _media_page_on_modify_tags_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_modify_tags ((MediaPage*) self); -#line 2163 "MediaPage.c" +#line 2137 "MediaPage.c" } static void _media_page_on_increase_size_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_increase_size ((MediaPage*) self); -#line 2170 "MediaPage.c" +#line 2144 "MediaPage.c" } static void _media_page_on_decrease_size_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_decrease_size ((MediaPage*) self); -#line 2177 "MediaPage.c" +#line 2151 "MediaPage.c" } static void _media_page_on_flag_unflag_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_flag_unflag ((MediaPage*) self); -#line 2184 "MediaPage.c" +#line 2158 "MediaPage.c" } static void _media_page_on_increase_rating_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_increase_rating ((MediaPage*) self); -#line 2191 "MediaPage.c" +#line 2165 "MediaPage.c" } static void _media_page_on_decrease_rating_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_decrease_rating ((MediaPage*) self); -#line 2198 "MediaPage.c" +#line 2172 "MediaPage.c" } static void _media_page_on_rate_rejected_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_rate_rejected ((MediaPage*) self); -#line 2205 "MediaPage.c" +#line 2179 "MediaPage.c" } static void _media_page_on_rate_unrated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_rate_unrated ((MediaPage*) self); -#line 2212 "MediaPage.c" +#line 2186 "MediaPage.c" } static void _media_page_on_rate_one_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_rate_one ((MediaPage*) self); -#line 2219 "MediaPage.c" +#line 2193 "MediaPage.c" } static void _media_page_on_rate_two_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_rate_two ((MediaPage*) self); -#line 2226 "MediaPage.c" +#line 2200 "MediaPage.c" } static void _media_page_on_rate_three_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_rate_three ((MediaPage*) self); -#line 2233 "MediaPage.c" +#line 2207 "MediaPage.c" } static void _media_page_on_rate_four_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_rate_four ((MediaPage*) self); -#line 2240 "MediaPage.c" +#line 2214 "MediaPage.c" } static void _media_page_on_rate_five_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_rate_five ((MediaPage*) self); -#line 2247 "MediaPage.c" +#line 2221 "MediaPage.c" } static void _media_page_on_edit_title_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_edit_title ((MediaPage*) self); -#line 2254 "MediaPage.c" +#line 2228 "MediaPage.c" } static void _media_page_on_edit_comment_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_edit_comment ((MediaPage*) self); -#line 2261 "MediaPage.c" +#line 2235 "MediaPage.c" } static void _media_page_on_play_video_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_play_video ((MediaPage*) self); -#line 2268 "MediaPage.c" +#line 2242 "MediaPage.c" } static void _page_on_action_toggle_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" page_on_action_toggle ((Page*) self, action, parameter); -#line 2275 "MediaPage.c" +#line 2249 "MediaPage.c" } static void _media_page_on_display_titles_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_display_titles ((MediaPage*) self, action, value); -#line 2282 "MediaPage.c" +#line 2256 "MediaPage.c" } static void _media_page_on_display_comments_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_display_comments ((MediaPage*) self, action, value); -#line 2289 "MediaPage.c" +#line 2263 "MediaPage.c" } static void _media_page_on_display_ratings_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_display_ratings ((MediaPage*) self, action, value); -#line 2296 "MediaPage.c" +#line 2270 "MediaPage.c" } static void _media_page_on_display_tags_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_display_tags ((MediaPage*) self, action, value); -#line 2303 "MediaPage.c" +#line 2277 "MediaPage.c" } static void _page_on_action_radio_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" page_on_action_radio ((Page*) self, action, parameter); -#line 2310 "MediaPage.c" +#line 2284 "MediaPage.c" } static void _media_page_on_sort_changed_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) { #line 286 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_sort_changed ((MediaPage*) self, action, value); -#line 2317 "MediaPage.c" +#line 2291 "MediaPage.c" } static void _media_page_on_media_altered_data_collection_items_altered (DataCollection* _sender, GeeMap* items, gpointer self) { #line 252 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_media_altered ((MediaPage*) self, items); -#line 2324 "MediaPage.c" +#line 2298 "MediaPage.c" } @@ -2519,7 +2493,7 @@ MediaPage* media_page_construct (GType object_type, const gchar* page_name) { self->priv->dnd_handler = _tmp38_; #line 247 "/home/jens/Source/shotwell/src/MediaPage.vala" return self; -#line 2523 "MediaPage.c" +#line 2497 "MediaPage.c" } @@ -2550,7 +2524,7 @@ static gint media_page_compute_zoom_scale_increase (gint current_scale) { result = _tmp5_; #line 272 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 2554 "MediaPage.c" +#line 2528 "MediaPage.c" } @@ -2581,7 +2555,7 @@ static gint media_page_compute_zoom_scale_decrease (gint current_scale) { result = _tmp5_; #line 277 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 2585 "MediaPage.c" +#line 2559 "MediaPage.c" } @@ -2601,63 +2575,63 @@ static void media_page_real_init_collect_ui_filenames (Page* base, GeeList* ui_f _tmp1_ = ui_filenames; #line 283 "/home/jens/Source/shotwell/src/MediaPage.vala" gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection), "media.ui"); -#line 2605 "MediaPage.c" +#line 2579 "MediaPage.c" } static GVariant* _variant_new23 (gboolean value) { -#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 330 "/home/jens/Source/shotwell/src/MediaPage.vala" return g_variant_ref_sink (g_variant_new_boolean (value)); -#line 2612 "MediaPage.c" +#line 2586 "MediaPage.c" } static GVariant* _variant_new24 (gboolean value) { -#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" return g_variant_ref_sink (g_variant_new_boolean (value)); -#line 2619 "MediaPage.c" +#line 2593 "MediaPage.c" } static GVariant* _variant_new25 (gboolean value) { -#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" return g_variant_ref_sink (g_variant_new_boolean (value)); -#line 2626 "MediaPage.c" +#line 2600 "MediaPage.c" } static GVariant* _variant_new26 (gboolean value) { -#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" return g_variant_ref_sink (g_variant_new_boolean (value)); -#line 2633 "MediaPage.c" +#line 2607 "MediaPage.c" } static GVariant* _variant_new27 (gchar* value) { -#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" return g_variant_ref_sink (g_variant_new_string (value)); -#line 2640 "MediaPage.c" +#line 2614 "MediaPage.c" } static GVariant* _variant_new28 (const gchar* value) { -#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" return g_variant_ref_sink (g_variant_new_string (value)); -#line 2647 "MediaPage.c" +#line 2621 "MediaPage.c" } static GVariant* _variant_new29 (const gchar* value) { -#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala" return g_variant_ref_sink (g_variant_new_string (value)); -#line 2654 "MediaPage.c" +#line 2628 "MediaPage.c" } static void _media_page_on_raw_developer_changed_g_simple_action_change_state (GSimpleAction* _sender, GVariant* value, gpointer self) { -#line 341 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_raw_developer_changed ((MediaPage*) self, _sender, value); -#line 2661 "MediaPage.c" +#line 2635 "MediaPage.c" } @@ -2717,239 +2691,239 @@ static void media_page_real_add_actions (Page* base, GActionMap* map) { GSimpleAction* _tmp47_; GSimpleAction* _tmp48_; GActionMap* _tmp49_; -#line 323 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 322 "/home/jens/Source/shotwell/src/MediaPage.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage); -#line 323 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 322 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (G_IS_ACTION_MAP (map)); -#line 324 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 323 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = map; -#line 324 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 323 "/home/jens/Source/shotwell/src/MediaPage.vala" PAGE_CLASS (media_page_parent_class)->add_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page), _tmp0_); -#line 328 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 327 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_get_config_photos_sort (self, &_tmp1_, &_tmp2_); -#line 328 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 327 "/home/jens/Source/shotwell/src/MediaPage.vala" sort_order = _tmp1_; -#line 328 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 327 "/home/jens/Source/shotwell/src/MediaPage.vala" sort_by = _tmp2_; -#line 330 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 329 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = map; -#line 330 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 329 "/home/jens/Source/shotwell/src/MediaPage.vala" g_action_map_add_action_entries (_tmp3_, MEDIA_PAGE_entries, G_N_ELEMENTS (MEDIA_PAGE_entries), self); -#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 330 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewTitle"); -#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 330 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = _tmp4_; -#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 330 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = config_facade_get_instance (); -#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 330 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = _tmp6_; -#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 330 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = configuration_facade_get_display_photo_titles (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 330 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = _variant_new23 (_tmp8_); -#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 330 "/home/jens/Source/shotwell/src/MediaPage.vala" g_action_change_state (_tmp5_, _tmp9_); -#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 330 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_variant_unref0 (_tmp9_); -#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 330 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp7_); -#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 330 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp5_); -#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewComment"); -#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = _tmp10_; -#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = config_facade_get_instance (); -#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13_ = _tmp12_; -#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp14_ = configuration_facade_get_display_photo_comments (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp15_ = _variant_new24 (_tmp14_); -#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" g_action_change_state (_tmp11_, _tmp15_); -#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_variant_unref0 (_tmp15_); -#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp13_); -#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp11_); -#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp16_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewRatings"); -#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp17_ = _tmp16_; -#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp18_ = config_facade_get_instance (); -#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp19_ = _tmp18_; -#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp20_ = configuration_facade_get_display_photo_ratings (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp21_ = _variant_new25 (_tmp20_); -#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" g_action_change_state (_tmp17_, _tmp21_); -#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_variant_unref0 (_tmp21_); -#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp19_); -#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp17_); -#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp22_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewTags"); -#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp23_ = _tmp22_; -#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp24_ = config_facade_get_instance (); -#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp25_ = _tmp24_; -#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp26_ = configuration_facade_get_display_photo_tags (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp27_ = _variant_new26 (_tmp26_); -#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" g_action_change_state (_tmp23_, _tmp27_); -#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_variant_unref0 (_tmp27_); -#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp25_); -#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp23_); -#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp28_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SortBy"); -#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp29_ = _tmp28_; -#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp30_ = sort_by; -#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp31_ = g_strdup_printf ("%d", _tmp30_); -#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp32_ = _tmp31_; -#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp33_ = _variant_new27 (_tmp32_); -#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" g_action_change_state (_tmp29_, _tmp33_); -#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_variant_unref0 (_tmp33_); -#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_free0 (_tmp32_); -#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp29_); -#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp35_ = sort_order; -#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp35_) { -#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp34_ = "ascending"; -#line 2845 "MediaPage.c" +#line 2819 "MediaPage.c" } else { -#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp34_ = "descending"; -#line 2849 "MediaPage.c" +#line 2823 "MediaPage.c" } -#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp36_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Sort"); -#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp37_ = _tmp36_; -#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp38_ = _variant_new28 (_tmp34_); -#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" g_action_change_state (_tmp37_, _tmp38_); -#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_variant_unref0 (_tmp38_); -#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp37_); -#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp39_ = config_facade_get_instance (); -#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp40_ = _tmp39_; -#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp41_ = configuration_facade_get_default_raw_developer (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp42_ = _tmp41_; -#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp40_); -#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala" d = _tmp42_; -#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp44_ = d; -#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp44_ == RAW_DEVELOPER_SHOTWELL) { -#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp43_ = "Shotwell"; -#line 2881 "MediaPage.c" +#line 2855 "MediaPage.c" } else { -#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp43_ = "Camera"; -#line 2885 "MediaPage.c" +#line 2859 "MediaPage.c" } -#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp45_ = G_VARIANT_TYPE_STRING; -#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp46_ = _variant_new29 (_tmp43_); -#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp47_ = g_simple_action_new_stateful ("RawDeveloper", _tmp45_, _tmp46_); -#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp48_ = _tmp47_; -#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_variant_unref0 (_tmp46_); -#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala" action = _tmp48_; -#line 341 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala" g_signal_connect_object (action, "change-state", (GCallback) _media_page_on_raw_developer_changed_g_simple_action_change_state, self, 0); -#line 342 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 341 "/home/jens/Source/shotwell/src/MediaPage.vala" g_simple_action_set_enabled (action, TRUE); -#line 343 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 342 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp49_ = map; -#line 343 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 342 "/home/jens/Source/shotwell/src/MediaPage.vala" g_action_map_add_action (_tmp49_, G_TYPE_CHECK_INSTANCE_CAST (action, g_action_get_type (), GAction)); -#line 323 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 322 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (action); -#line 2909 "MediaPage.c" +#line 2883 "MediaPage.c" } static void media_page_real_remove_actions (Page* base, GActionMap* map) { MediaPage * self; GActionMap* _tmp0_; -#line 346 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 345 "/home/jens/Source/shotwell/src/MediaPage.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage); -#line 346 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 345 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (G_IS_ACTION_MAP (map)); -#line 347 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 346 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = map; -#line 347 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 346 "/home/jens/Source/shotwell/src/MediaPage.vala" PAGE_CLASS (media_page_parent_class)->remove_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page), _tmp0_); -#line 2924 "MediaPage.c" +#line 2898 "MediaPage.c" { GActionEntry* entry_collection = NULL; gint entry_collection_length1 = 0; gint _entry_collection_size_ = 0; gint entry_it = 0; -#line 348 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 347 "/home/jens/Source/shotwell/src/MediaPage.vala" entry_collection = MEDIA_PAGE_entries; -#line 348 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 347 "/home/jens/Source/shotwell/src/MediaPage.vala" entry_collection_length1 = G_N_ELEMENTS (MEDIA_PAGE_entries); -#line 348 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 347 "/home/jens/Source/shotwell/src/MediaPage.vala" for (entry_it = 0; entry_it < G_N_ELEMENTS (MEDIA_PAGE_entries); entry_it = entry_it + 1) { -#line 2936 "MediaPage.c" +#line 2910 "MediaPage.c" GActionEntry entry = {0}; -#line 348 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 347 "/home/jens/Source/shotwell/src/MediaPage.vala" entry = entry_collection[entry_it]; -#line 2940 "MediaPage.c" +#line 2914 "MediaPage.c" { GActionMap* _tmp1_; GActionEntry _tmp2_; const gchar* _tmp3_; -#line 349 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 348 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = map; -#line 349 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 348 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = entry; -#line 349 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 348 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_.name; -#line 349 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 348 "/home/jens/Source/shotwell/src/MediaPage.vala" g_action_map_remove_action (_tmp1_, _tmp3_); -#line 2953 "MediaPage.c" +#line 2927 "MediaPage.c" } } } @@ -2976,119 +2950,119 @@ static void media_page_real_update_actions (Page* base, gint selected_count, gin gint _tmp20_; gint _tmp21_; gint _tmp22_; -#line 353 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 352 "/home/jens/Source/shotwell/src/MediaPage.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage); -#line 354 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 353 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = selected_count; -#line 354 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 353 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Export", _tmp0_ > 0); -#line 355 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 354 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = selected_count; -#line 355 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 354 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "EditTitle", _tmp1_ > 0); -#line 356 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 355 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = selected_count; -#line 356 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 355 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "EditComment", _tmp2_ > 0); -#line 357 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 356 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = media_page_get_thumb_size (self); -#line 357 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 356 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = thumbnail_get_MAX_SCALE (); -#line 357 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 356 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = _tmp4_; -#line 357 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 356 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "IncreaseSize", _tmp3_ < _tmp5_); -#line 358 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 357 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = media_page_get_thumb_size (self); -#line 358 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 357 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = thumbnail_get_MIN_SCALE (); -#line 358 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 357 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = _tmp7_; -#line 358 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 357 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseSize", _tmp6_ > _tmp8_); -#line 359 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 358 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = selected_count; -#line 359 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 358 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RemoveFromLibrary", _tmp9_ > 0); -#line 360 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 359 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = selected_count; -#line 360 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 359 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "MoveToTrash", _tmp10_ > 0); -#line 362 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 361 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = desktop_integration_is_send_to_installed (); -#line 362 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 361 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp11_) { -#line 3022 "MediaPage.c" +#line 2996 "MediaPage.c" gint _tmp12_; -#line 363 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 362 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = selected_count; -#line 363 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 362 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SendTo", _tmp12_ > 0); -#line 3028 "MediaPage.c" +#line 3002 "MediaPage.c" } else { -#line 365 "/home/jens/Source/shotwell/src/MediaPage.vala" - page_set_action_visible (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SendTo", FALSE); -#line 3032 "MediaPage.c" +#line 364 "/home/jens/Source/shotwell/src/MediaPage.vala" + page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SendTo", FALSE); +#line 3006 "MediaPage.c" } -#line 367 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 366 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13_ = selected_count; -#line 367 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 366 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Rate", _tmp13_ > 0); -#line 368 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 367 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_update_rating_sensitivities (self); -#line 370 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 369 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_update_development_menu_item_sensitivity (self); -#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp15_ = selected_count; -#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp15_ == 1) { -#line 3046 "MediaPage.c" +#line 3020 "MediaPage.c" ViewCollection* _tmp16_; ViewCollection* _tmp17_; DataSource* _tmp18_; DataSource* _tmp19_; -#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp16_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp17_ = _tmp16_; -#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp18_ = view_collection_get_selected_source_at (_tmp17_, 0); -#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp19_ = _tmp18_; -#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp14_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, TYPE_VIDEO); -#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp19_); -#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp17_); -#line 3065 "MediaPage.c" +#line 3039 "MediaPage.c" } else { -#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp14_ = FALSE; -#line 3069 "MediaPage.c" +#line 3043 "MediaPage.c" } -#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "PlayVideo", _tmp14_); -#line 375 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 374 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp20_ = selected_count; -#line 375 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 374 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_update_flag_action (self, _tmp20_); -#line 377 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 376 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp21_ = selected_count; -#line 377 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 376 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp22_ = count; -#line 377 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 376 "/home/jens/Source/shotwell/src/MediaPage.vala" PAGE_CLASS (media_page_parent_class)->update_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page), _tmp21_, _tmp22_); -#line 3083 "MediaPage.c" +#line 3057 "MediaPage.c" } static void media_page_on_media_altered (MediaPage* self, GeeMap* altered) { -#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 379 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 379 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (GEE_IS_MAP (altered)); -#line 3092 "MediaPage.c" +#line 3066 "MediaPage.c" { GeeIterator* _object_it = NULL; GeeMap* _tmp0_; @@ -3097,25 +3071,25 @@ static void media_page_on_media_altered (MediaPage* self, GeeMap* altered) { GeeSet* _tmp3_; GeeIterator* _tmp4_; GeeIterator* _tmp5_; -#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = altered; -#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = gee_map_get_keys (_tmp0_); -#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = _tmp1_; -#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_; -#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = _tmp4_; -#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp3_); -#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala" _object_it = _tmp5_; -#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala" while (TRUE) { -#line 3119 "MediaPage.c" +#line 3093 "MediaPage.c" GeeIterator* _tmp6_; gboolean _tmp7_; DataObject* object = NULL; @@ -3127,65 +3101,65 @@ static void media_page_on_media_altered (MediaPage* self, GeeMap* altered) { Alteration* _tmp13_; gboolean _tmp14_; gboolean _tmp15_; -#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = _object_it; -#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = gee_iterator_next (_tmp6_); -#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala" if (!_tmp7_) { -#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 3139 "MediaPage.c" +#line 3113 "MediaPage.c" } -#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = _object_it; -#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = gee_iterator_get (_tmp8_); -#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala" object = (DataObject*) _tmp9_; -#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = altered; -#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = object; -#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = gee_map_get (_tmp10_, _tmp11_); -#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13_ = (Alteration*) _tmp12_; -#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp14_ = alteration_has_detail (_tmp13_, "metadata", "flagged"); -#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp15_ = _tmp14_; -#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" _alteration_unref0 (_tmp13_); -#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp15_) { -#line 3163 "MediaPage.c" +#line 3137 "MediaPage.c" ViewCollection* _tmp16_; ViewCollection* _tmp17_; gint _tmp18_; -#line 383 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp16_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 383 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp17_ = _tmp16_; -#line 383 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp18_ = view_collection_get_selected_count (_tmp17_); -#line 383 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_update_flag_action (self, _tmp18_); -#line 383 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp17_); -#line 385 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 384 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (object); -#line 385 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 384 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 3181 "MediaPage.c" +#line 3155 "MediaPage.c" } -#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (object); -#line 3185 "MediaPage.c" +#line 3159 "MediaPage.c" } -#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_object_it); -#line 3189 "MediaPage.c" +#line 3163 "MediaPage.c" } } @@ -3200,45 +3174,45 @@ static void media_page_update_rating_sensitivities (MediaPage* self) { gboolean _tmp6_; gboolean _tmp7_; gboolean _tmp8_; -#line 390 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 389 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 391 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 390 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = media_page_can_rate_selected (self, RATING_REJECTED); -#line 391 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 390 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateRejected", _tmp0_); -#line 392 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 391 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = media_page_can_rate_selected (self, RATING_UNRATED); -#line 392 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 391 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateUnrated", _tmp1_); -#line 393 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 392 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = media_page_can_rate_selected (self, RATING_ONE); -#line 393 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 392 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateOne", _tmp2_); -#line 394 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 393 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = media_page_can_rate_selected (self, RATING_TWO); -#line 394 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 393 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateTwo", _tmp3_); -#line 395 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 394 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = media_page_can_rate_selected (self, RATING_THREE); -#line 395 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 394 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateThree", _tmp4_); -#line 396 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 395 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = media_page_can_rate_selected (self, RATING_FOUR); -#line 396 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 395 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateFour", _tmp5_); -#line 397 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 396 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = media_page_can_rate_selected (self, RATING_FIVE); -#line 397 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 396 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateFive", _tmp6_); -#line 398 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 397 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = media_page_can_increase_selected_rating (self); -#line 398 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 397 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "IncreaseRating", _tmp7_); -#line 399 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 398 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = media_page_can_decrease_selected_rating (self); -#line 399 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 398 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseRating", _tmp8_); -#line 3242 "MediaPage.c" +#line 3216 "MediaPage.c" } @@ -3252,37 +3226,37 @@ static void media_page_update_development_menu_item_sensitivity (MediaPage* self gboolean _tmp6_; gboolean is_raw = FALSE; gboolean _tmp27_; -#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 401 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = view_collection_get_selected (_tmp1_); -#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_; -#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = _tmp4_; -#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = _tmp5_ == 0; -#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp3_); -#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp1_); -#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp6_) { -#line 404 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RawDeveloper", FALSE); -#line 405 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 404 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 3282 "MediaPage.c" +#line 3256 "MediaPage.c" } -#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 408 "/home/jens/Source/shotwell/src/MediaPage.vala" is_raw = FALSE; -#line 3286 "MediaPage.c" +#line 3260 "MediaPage.c" { GeeList* _view_list = NULL; ViewCollection* _tmp7_; @@ -3294,31 +3268,31 @@ static void media_page_update_development_menu_item_sensitivity (MediaPage* self gint _tmp12_; gint _tmp13_; gint _view_index = 0; -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = _tmp7_; -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = view_collection_get_selected (_tmp8_); -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = _tmp9_; -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp8_); -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _view_list = _tmp10_; -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = _view_list; -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13_ = _tmp12_; -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _view_size = _tmp13_; -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _view_index = -1; -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" while (TRUE) { -#line 3322 "MediaPage.c" +#line 3296 "MediaPage.c" gint _tmp14_; gint _tmp15_; gint _tmp16_; @@ -3332,107 +3306,107 @@ static void media_page_update_development_menu_item_sensitivity (MediaPage* self Photo* _tmp22_; gboolean _tmp23_ = FALSE; Photo* _tmp24_; -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp14_ = _view_index; -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _view_index = _tmp14_ + 1; -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp15_ = _view_index; -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp16_ = _view_size; -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" if (!(_tmp15_ < _tmp16_)) { -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 3348 "MediaPage.c" +#line 3322 "MediaPage.c" } -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp17_ = _view_list; -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp18_ = _view_index; -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp19_ = gee_list_get (_tmp17_, _tmp18_); -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" view = (DataView*) _tmp19_; -#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp20_ = view; -#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp21_ = thumbnail_get_media_source (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_THUMBNAIL, Thumbnail)); -#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp22_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp21_, TYPE_PHOTO) ? ((Photo*) _tmp21_) : NULL; -#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp22_ == NULL) { -#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp21_); -#line 3368 "MediaPage.c" +#line 3342 "MediaPage.c" } -#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" photo = _tmp22_; -#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp24_ = photo; -#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp24_ != NULL) { -#line 3376 "MediaPage.c" +#line 3350 "MediaPage.c" Photo* _tmp25_; PhotoFileFormat _tmp26_; -#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp25_ = photo; -#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp26_ = photo_get_master_file_format (_tmp25_); -#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp23_ = _tmp26_ == PHOTO_FILE_FORMAT_RAW; -#line 3385 "MediaPage.c" +#line 3359 "MediaPage.c" } else { -#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp23_ = FALSE; -#line 3389 "MediaPage.c" +#line 3363 "MediaPage.c" } -#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp23_) { -#line 413 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala" is_raw = TRUE; -#line 415 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 414 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (photo); -#line 415 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 414 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (view); -#line 415 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 414 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 3401 "MediaPage.c" +#line 3375 "MediaPage.c" } -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (photo); -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (view); -#line 3407 "MediaPage.c" +#line 3381 "MediaPage.c" } -#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_view_list); -#line 3411 "MediaPage.c" +#line 3385 "MediaPage.c" } -#line 420 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 419 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp27_ = is_raw; -#line 420 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 419 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RawDeveloper", _tmp27_); -#line 3417 "MediaPage.c" +#line 3391 "MediaPage.c" } static void media_page_update_flag_action (MediaPage* self, gint selected_count) { gint _tmp0_; -#line 423 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 422 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 424 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 423 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = selected_count; -#line 424 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 423 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Flag", _tmp0_ > 0); -#line 3429 "MediaPage.c" +#line 3403 "MediaPage.c" } static gpointer _core_tracker_ref0 (gpointer self) { -#line 428 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 427 "/home/jens/Source/shotwell/src/MediaPage.vala" return self ? core_tracker_ref (self) : NULL; -#line 3436 "MediaPage.c" +#line 3410 "MediaPage.c" } @@ -3441,17 +3415,17 @@ static CoreViewTracker* media_page_real_get_view_tracker (CheckerboardPage* base CoreViewTracker* result = NULL; MediaViewTracker* _tmp0_; CoreViewTracker* _tmp1_; -#line 427 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 426 "/home/jens/Source/shotwell/src/MediaPage.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage); -#line 428 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 427 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = self->priv->tracker; -#line 428 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 427 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _core_tracker_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, CORE_TYPE_VIEW_TRACKER, CoreViewTracker)); -#line 428 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 427 "/home/jens/Source/shotwell/src/MediaPage.vala" result = _tmp1_; -#line 428 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 427 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 3455 "MediaPage.c" +#line 3429 "MediaPage.c" } @@ -3465,53 +3439,53 @@ void media_page_set_display_ratings (MediaPage* self, gboolean display) { ViewCollection* _tmp6_; ViewCollection* _tmp7_; gboolean _tmp8_; -#line 431 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 431 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 431 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 431 "/home/jens/Source/shotwell/src/MediaPage.vala" data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection)); -#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 431 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp1_); -#line 433 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 433 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_; -#line 433 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = display; -#line 433 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala" g_value_init (&_tmp5_, G_TYPE_BOOLEAN); -#line 433 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala" g_value_set_boolean (&_tmp5_, _tmp4_); -#line 433 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala" data_collection_set_property (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_COLLECTION, DataCollection), THUMBNAIL_PROP_SHOW_RATINGS, &_tmp5_, NULL, NULL); -#line 433 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala" G_IS_VALUE (&_tmp5_) ? (g_value_unset (&_tmp5_), NULL) : NULL; -#line 433 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp3_); -#line 434 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 433 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 434 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 433 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = _tmp6_; -#line 434 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 433 "/home/jens/Source/shotwell/src/MediaPage.vala" data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DATA_COLLECTION, DataCollection)); -#line 434 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 433 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp7_); -#line 436 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 435 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = display; -#line 436 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 435 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_active (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewRatings", _tmp8_); -#line 3507 "MediaPage.c" +#line 3481 "MediaPage.c" } static gboolean media_page_can_rate_selected (MediaPage* self, Rating rating) { gboolean result = FALSE; -#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 438 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_val_if_fail (IS_MEDIA_PAGE (self), FALSE); -#line 3515 "MediaPage.c" +#line 3489 "MediaPage.c" { GeeList* _view_list = NULL; ViewCollection* _tmp0_; @@ -3523,31 +3497,31 @@ static gboolean media_page_can_rate_selected (MediaPage* self, Rating rating) { gint _tmp5_; gint _tmp6_; gint _view_index = 0; -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = view_collection_get_selected (_tmp1_); -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_; -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp1_); -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" _view_list = _tmp3_; -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = _view_list; -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = _tmp5_; -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" _view_size = _tmp6_; -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" _view_index = -1; -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" while (TRUE) { -#line 3551 "MediaPage.c" +#line 3525 "MediaPage.c" gint _tmp7_; gint _tmp8_; gint _tmp9_; @@ -3561,75 +3535,75 @@ static gboolean media_page_can_rate_selected (MediaPage* self, Rating rating) { Rating _tmp16_; Rating _tmp17_; gboolean _tmp18_; -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = _view_index; -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" _view_index = _tmp7_ + 1; -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = _view_index; -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = _view_size; -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" if (!(_tmp8_ < _tmp9_)) { -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 3577 "MediaPage.c" +#line 3551 "MediaPage.c" } -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = _view_list; -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = _view_index; -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = gee_list_get (_tmp10_, _tmp11_); -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" view = (DataView*) _tmp12_; -#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13_ = view; -#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp14_ = thumbnail_get_media_source (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_THUMBNAIL, Thumbnail)); -#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp15_ = _tmp14_; -#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp16_ = media_source_get_rating (_tmp15_); -#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp17_ = rating; -#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp18_ = _tmp16_ != _tmp17_; -#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp15_); -#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp18_) { -#line 442 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala" result = TRUE; -#line 442 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (view); -#line 442 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_view_list); -#line 442 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 3611 "MediaPage.c" +#line 3585 "MediaPage.c" } -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (view); -#line 3615 "MediaPage.c" +#line 3589 "MediaPage.c" } -#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_view_list); -#line 3619 "MediaPage.c" +#line 3593 "MediaPage.c" } -#line 445 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 444 "/home/jens/Source/shotwell/src/MediaPage.vala" result = FALSE; -#line 445 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 444 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 3625 "MediaPage.c" +#line 3599 "MediaPage.c" } static gboolean media_page_can_increase_selected_rating (MediaPage* self) { gboolean result = FALSE; -#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 447 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_val_if_fail (IS_MEDIA_PAGE (self), FALSE); -#line 3633 "MediaPage.c" +#line 3607 "MediaPage.c" { GeeList* _view_list = NULL; ViewCollection* _tmp0_; @@ -3641,31 +3615,31 @@ static gboolean media_page_can_increase_selected_rating (MediaPage* self) { gint _tmp5_; gint _tmp6_; gint _view_index = 0; -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = view_collection_get_selected (_tmp1_); -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_; -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp1_); -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" _view_list = _tmp3_; -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = _view_list; -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = _tmp5_; -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" _view_size = _tmp6_; -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" _view_index = -1; -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" while (TRUE) { -#line 3669 "MediaPage.c" +#line 3643 "MediaPage.c" gint _tmp7_; gint _tmp8_; gint _tmp9_; @@ -3679,75 +3653,75 @@ static gboolean media_page_can_increase_selected_rating (MediaPage* self) { Rating _tmp16_; gboolean _tmp17_; gboolean _tmp18_; -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = _view_index; -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" _view_index = _tmp7_ + 1; -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = _view_index; -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = _view_size; -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" if (!(_tmp8_ < _tmp9_)) { -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 3695 "MediaPage.c" +#line 3669 "MediaPage.c" } -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = _view_list; -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = _view_index; -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = gee_list_get (_tmp10_, _tmp11_); -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" view = (DataView*) _tmp12_; -#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13_ = view; -#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp14_ = thumbnail_get_media_source (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_THUMBNAIL, Thumbnail)); -#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp15_ = _tmp14_; -#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp16_ = media_source_get_rating (_tmp15_); -#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp17_ = rating_can_increase (_tmp16_); -#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp18_ = _tmp17_; -#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp15_); -#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp18_) { -#line 451 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala" result = TRUE; -#line 451 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (view); -#line 451 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_view_list); -#line 451 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 3729 "MediaPage.c" +#line 3703 "MediaPage.c" } -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (view); -#line 3733 "MediaPage.c" +#line 3707 "MediaPage.c" } -#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_view_list); -#line 3737 "MediaPage.c" +#line 3711 "MediaPage.c" } -#line 454 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 453 "/home/jens/Source/shotwell/src/MediaPage.vala" result = FALSE; -#line 454 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 453 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 3743 "MediaPage.c" +#line 3717 "MediaPage.c" } static gboolean media_page_can_decrease_selected_rating (MediaPage* self) { gboolean result = FALSE; -#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 456 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_val_if_fail (IS_MEDIA_PAGE (self), FALSE); -#line 3751 "MediaPage.c" +#line 3725 "MediaPage.c" { GeeList* _view_list = NULL; ViewCollection* _tmp0_; @@ -3759,31 +3733,31 @@ static gboolean media_page_can_decrease_selected_rating (MediaPage* self) { gint _tmp5_; gint _tmp6_; gint _view_index = 0; -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = view_collection_get_selected (_tmp1_); -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_; -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp1_); -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" _view_list = _tmp3_; -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = _view_list; -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = _tmp5_; -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" _view_size = _tmp6_; -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" _view_index = -1; -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" while (TRUE) { -#line 3787 "MediaPage.c" +#line 3761 "MediaPage.c" gint _tmp7_; gint _tmp8_; gint _tmp9_; @@ -3797,84 +3771,84 @@ static gboolean media_page_can_decrease_selected_rating (MediaPage* self) { Rating _tmp16_; gboolean _tmp17_; gboolean _tmp18_; -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = _view_index; -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" _view_index = _tmp7_ + 1; -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = _view_index; -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = _view_size; -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" if (!(_tmp8_ < _tmp9_)) { -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 3813 "MediaPage.c" +#line 3787 "MediaPage.c" } -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = _view_list; -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = _view_index; -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = gee_list_get (_tmp10_, _tmp11_); -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" view = (DataView*) _tmp12_; -#line 459 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13_ = view; -#line 459 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp14_ = thumbnail_get_media_source (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_THUMBNAIL, Thumbnail)); -#line 459 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp15_ = _tmp14_; -#line 459 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp16_ = media_source_get_rating (_tmp15_); -#line 459 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp17_ = rating_can_decrease (_tmp16_); -#line 459 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp18_ = _tmp17_; -#line 459 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp15_); -#line 459 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp18_) { -#line 460 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 459 "/home/jens/Source/shotwell/src/MediaPage.vala" result = TRUE; -#line 460 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 459 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (view); -#line 460 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 459 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_view_list); -#line 460 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 459 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 3847 "MediaPage.c" +#line 3821 "MediaPage.c" } -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (view); -#line 3851 "MediaPage.c" +#line 3825 "MediaPage.c" } -#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_view_list); -#line 3855 "MediaPage.c" +#line 3829 "MediaPage.c" } -#line 463 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 462 "/home/jens/Source/shotwell/src/MediaPage.vala" result = FALSE; -#line 463 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 462 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 3861 "MediaPage.c" +#line 3835 "MediaPage.c" } MediaPageZoomSliderAssembly* media_page_create_zoom_slider_assembly (MediaPage* self) { MediaPageZoomSliderAssembly* result = NULL; MediaPageZoomSliderAssembly* _tmp0_; -#line 466 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 465 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_val_if_fail (IS_MEDIA_PAGE (self), NULL); -#line 467 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 466 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = media_page_zoom_slider_assembly_new (); -#line 467 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 466 "/home/jens/Source/shotwell/src/MediaPage.vala" g_object_ref_sink (_tmp0_); -#line 467 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 466 "/home/jens/Source/shotwell/src/MediaPage.vala" result = _tmp0_; -#line 467 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 466 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 3878 "MediaPage.c" +#line 3852 "MediaPage.c" } @@ -3883,35 +3857,35 @@ static gboolean media_page_real_on_mousewheel_up (Page* base, GdkEventScroll* ev gboolean result = FALSE; GdkEventScroll* _tmp0_; GdkModifierType _tmp1_; -#line 470 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 469 "/home/jens/Source/shotwell/src/MediaPage.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage); -#line 470 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 469 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 471 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 470 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = event; -#line 471 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 470 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_->state; -#line 471 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 470 "/home/jens/Source/shotwell/src/MediaPage.vala" if ((_tmp1_ & GDK_CONTROL_MASK) != 0) { -#line 472 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 471 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_increase_zoom_level (self); -#line 473 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 472 "/home/jens/Source/shotwell/src/MediaPage.vala" result = TRUE; -#line 473 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 472 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 3903 "MediaPage.c" +#line 3877 "MediaPage.c" } else { GdkEventScroll* _tmp2_; gboolean _tmp3_; -#line 475 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 474 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = event; -#line 475 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 474 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = PAGE_CLASS (media_page_parent_class)->on_mousewheel_up (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page), _tmp2_); -#line 475 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 474 "/home/jens/Source/shotwell/src/MediaPage.vala" result = _tmp3_; -#line 475 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 474 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 3915 "MediaPage.c" +#line 3889 "MediaPage.c" } } @@ -3921,35 +3895,35 @@ static gboolean media_page_real_on_mousewheel_down (Page* base, GdkEventScroll* gboolean result = FALSE; GdkEventScroll* _tmp0_; GdkModifierType _tmp1_; -#line 479 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 478 "/home/jens/Source/shotwell/src/MediaPage.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage); -#line 479 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 478 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 480 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 479 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = event; -#line 480 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 479 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_->state; -#line 480 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 479 "/home/jens/Source/shotwell/src/MediaPage.vala" if ((_tmp1_ & GDK_CONTROL_MASK) != 0) { -#line 481 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 480 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_decrease_zoom_level (self); -#line 482 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 481 "/home/jens/Source/shotwell/src/MediaPage.vala" result = TRUE; -#line 482 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 481 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 3941 "MediaPage.c" +#line 3915 "MediaPage.c" } else { GdkEventScroll* _tmp2_; gboolean _tmp3_; -#line 484 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 483 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = event; -#line 484 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 483 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = PAGE_CLASS (media_page_parent_class)->on_mousewheel_down (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page), _tmp2_); -#line 484 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 483 "/home/jens/Source/shotwell/src/MediaPage.vala" result = _tmp3_; -#line 484 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 483 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 3953 "MediaPage.c" +#line 3927 "MediaPage.c" } } @@ -3959,23 +3933,23 @@ static void media_page_on_send_to (MediaPage* self) { ViewCollection* _tmp1_; GeeList* _tmp2_; GeeCollection* _tmp3_; -#line 488 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 487 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 489 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 488 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 489 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 488 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 489 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 488 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = view_collection_get_selected_sources (_tmp1_); -#line 489 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 488 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection); -#line 489 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 488 "/home/jens/Source/shotwell/src/MediaPage.vala" desktop_integration_send_to (_tmp3_); -#line 489 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 488 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp3_); -#line 489 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 488 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp1_); -#line 3979 "MediaPage.c" +#line 3953 "MediaPage.c" } @@ -3994,59 +3968,59 @@ void media_page_on_play_video (MediaPage* self) { Video* _tmp10_; Video* _tmp11_; GError * _inner_error_ = NULL; -#line 492 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 491 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 493 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 492 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 493 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 492 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 493 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 492 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 493 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 492 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_ != 1; -#line 493 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 492 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp1_); -#line 493 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 492 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp3_) { -#line 494 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 493 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 4014 "MediaPage.c" +#line 3988 "MediaPage.c" } -#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 495 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 495 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = _tmp4_; -#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 495 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = view_collection_get_selected_at (_tmp5_, 0); -#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 495 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = _tmp6_; -#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 495 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = data_view_get_source (_tmp7_); -#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 495 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, TYPE_VIDEO) ? ((Video*) _tmp8_) : NULL; -#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 495 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp9_ == NULL) { -#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 495 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp8_); -#line 4032 "MediaPage.c" +#line 4006 "MediaPage.c" } -#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 495 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = _tmp9_; -#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 495 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp7_); -#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 495 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp5_); -#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 495 "/home/jens/Source/shotwell/src/MediaPage.vala" video = _tmp10_; -#line 497 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = video; -#line 497 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp11_ == NULL) { -#line 498 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 497 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (video); -#line 498 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 497 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 4050 "MediaPage.c" +#line 4024 "MediaPage.c" } { Video* _tmp12_; @@ -4054,72 +4028,72 @@ void media_page_on_play_video (MediaPage* self) { GFile* _tmp14_; gchar* _tmp15_; gchar* _tmp16_; -#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = video; -#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13_ = media_source_get_file (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_MEDIA_SOURCE, MediaSource)); -#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp14_ = _tmp13_; -#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp15_ = g_file_get_uri (_tmp14_); -#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp16_ = _tmp15_; -#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala" g_app_info_launch_default_for_uri (_tmp16_, NULL, &_inner_error_); -#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_free0 (_tmp16_); -#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp14_); -#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 4076 "MediaPage.c" - goto __catch561_g_error; +#line 4050 "MediaPage.c" + goto __catch570_g_error; } } - goto __finally561; - __catch561_g_error: + goto __finally570; + __catch570_g_error: { GError* e = NULL; GError* _tmp17_; const gchar* _tmp18_; gchar* _tmp19_; gchar* _tmp20_; -#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 499 "/home/jens/Source/shotwell/src/MediaPage.vala" e = _inner_error_; -#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 499 "/home/jens/Source/shotwell/src/MediaPage.vala" _inner_error_ = NULL; -#line 503 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 502 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp17_ = e; -#line 503 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 502 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp18_ = _tmp17_->message; -#line 503 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 502 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp19_ = g_strdup_printf (_ ("Shotwell was unable to play the selected video:\n%s"), _tmp18_); -#line 503 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 502 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp20_ = _tmp19_; -#line 503 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 502 "/home/jens/Source/shotwell/src/MediaPage.vala" app_window_error_message (_tmp20_, NULL); -#line 503 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 502 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_free0 (_tmp20_); -#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 499 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_error_free0 (e); -#line 4106 "MediaPage.c" +#line 4080 "MediaPage.c" } - __finally561: -#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala" + __finally570: +#line 499 "/home/jens/Source/shotwell/src/MediaPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 499 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (video); -#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 499 "/home/jens/Source/shotwell/src/MediaPage.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 500 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 499 "/home/jens/Source/shotwell/src/MediaPage.vala" g_clear_error (&_inner_error_); -#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 499 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 4119 "MediaPage.c" +#line 4093 "MediaPage.c" } -#line 492 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 491 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (video); -#line 4123 "MediaPage.c" +#line 4097 "MediaPage.c" } @@ -4132,499 +4106,251 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve const gchar* _tmp2_; const gchar* _tmp3_; GQuark _tmp5_ = 0U; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" static GQuark _tmp4_label0 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" static GQuark _tmp4_label1 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" static GQuark _tmp4_label2 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" static GQuark _tmp4_label3 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" static GQuark _tmp4_label4 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" static GQuark _tmp4_label5 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" static GQuark _tmp4_label6 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" static GQuark _tmp4_label7 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" static GQuark _tmp4_label8 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" static GQuark _tmp4_label9 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" static GQuark _tmp4_label10 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" static GQuark _tmp4_label11 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" static GQuark _tmp4_label12 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" static GQuark _tmp4_label13 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" static GQuark _tmp4_label14 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" static GQuark _tmp4_label15 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" - static GQuark _tmp4_label16 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" - static GQuark _tmp4_label17 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" - static GQuark _tmp4_label18 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" - static GQuark _tmp4_label19 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" - static GQuark _tmp4_label20 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" - static GQuark _tmp4_label21 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" - static GQuark _tmp4_label22 = 0; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" - static GQuark _tmp4_label23 = 0; -#line 4184 "MediaPage.c" - gboolean _tmp30_ = FALSE; - gboolean _tmp31_; -#line 508 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 4142 "MediaPage.c" + gboolean _tmp6_ = FALSE; + gboolean _tmp7_; +#line 507 "/home/jens/Source/shotwell/src/MediaPage.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage); -#line 508 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 507 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 508 "/home/jens/Source/shotwell/src/MediaPage.vala" handled = TRUE; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = event; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_->keyval; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = gdk_keyval_name (_tmp1_); -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_; -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = (NULL == _tmp3_) ? 0 : g_quark_from_string (_tmp3_); -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" if (((_tmp5_ == ((0 != _tmp4_label0) ? _tmp4_label0 : (_tmp4_label0 = g_quark_from_static_string ("equal")))) || (_tmp5_ == ((0 != _tmp4_label1) ? _tmp4_label1 : (_tmp4_label1 = g_quark_from_static_string ("plus"))))) || (_tmp5_ == ((0 != _tmp4_label2) ? _tmp4_label2 : (_tmp4_label2 = g_quark_from_static_string ("KP_Add"))))) { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" switch (0) { -#line 4207 "MediaPage.c" +#line 4165 "MediaPage.c" default: { -#line 514 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 513 "/home/jens/Source/shotwell/src/MediaPage.vala" page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "IncreaseSize"); -#line 515 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 514 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 4214 "MediaPage.c" +#line 4172 "MediaPage.c" } } } else if (((_tmp5_ == ((0 != _tmp4_label3) ? _tmp4_label3 : (_tmp4_label3 = g_quark_from_static_string ("minus")))) || (_tmp5_ == ((0 != _tmp4_label4) ? _tmp4_label4 : (_tmp4_label4 = g_quark_from_static_string ("underscore"))))) || (_tmp5_ == ((0 != _tmp4_label5) ? _tmp4_label5 : (_tmp4_label5 = g_quark_from_static_string ("KP_Subtract"))))) { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" switch (0) { -#line 4220 "MediaPage.c" +#line 4178 "MediaPage.c" default: { -#line 520 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 519 "/home/jens/Source/shotwell/src/MediaPage.vala" page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseSize"); -#line 521 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 520 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 4227 "MediaPage.c" +#line 4185 "MediaPage.c" } } } else if (_tmp5_ == ((0 != _tmp4_label6) ? _tmp4_label6 : (_tmp4_label6 = g_quark_from_static_string ("period")))) { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" switch (0) { -#line 4233 "MediaPage.c" +#line 4191 "MediaPage.c" default: { -#line 524 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 523 "/home/jens/Source/shotwell/src/MediaPage.vala" page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "IncreaseRating"); -#line 525 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 524 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 4240 "MediaPage.c" +#line 4198 "MediaPage.c" } } } else if (_tmp5_ == ((0 != _tmp4_label7) ? _tmp4_label7 : (_tmp4_label7 = g_quark_from_static_string ("comma")))) { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" switch (0) { -#line 4246 "MediaPage.c" +#line 4204 "MediaPage.c" default: { -#line 528 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 527 "/home/jens/Source/shotwell/src/MediaPage.vala" page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseRating"); -#line 529 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 528 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 4253 "MediaPage.c" +#line 4211 "MediaPage.c" } } } else if (_tmp5_ == ((0 != _tmp4_label8) ? _tmp4_label8 : (_tmp4_label8 = g_quark_from_static_string ("KP_1")))) { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" switch (0) { -#line 4259 "MediaPage.c" +#line 4217 "MediaPage.c" default: { -#line 532 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 531 "/home/jens/Source/shotwell/src/MediaPage.vala" page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateOne"); -#line 533 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 532 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 4266 "MediaPage.c" +#line 4224 "MediaPage.c" } } } else if (_tmp5_ == ((0 != _tmp4_label9) ? _tmp4_label9 : (_tmp4_label9 = g_quark_from_static_string ("KP_2")))) { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" switch (0) { -#line 4272 "MediaPage.c" +#line 4230 "MediaPage.c" default: { -#line 536 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 535 "/home/jens/Source/shotwell/src/MediaPage.vala" page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateTwo"); -#line 537 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 536 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 4279 "MediaPage.c" +#line 4237 "MediaPage.c" } } } else if (_tmp5_ == ((0 != _tmp4_label10) ? _tmp4_label10 : (_tmp4_label10 = g_quark_from_static_string ("KP_3")))) { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" switch (0) { -#line 4285 "MediaPage.c" +#line 4243 "MediaPage.c" default: { -#line 540 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 539 "/home/jens/Source/shotwell/src/MediaPage.vala" page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateThree"); -#line 541 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 540 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 4292 "MediaPage.c" +#line 4250 "MediaPage.c" } } } else if (_tmp5_ == ((0 != _tmp4_label11) ? _tmp4_label11 : (_tmp4_label11 = g_quark_from_static_string ("KP_4")))) { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" switch (0) { -#line 4298 "MediaPage.c" +#line 4256 "MediaPage.c" default: { -#line 544 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 543 "/home/jens/Source/shotwell/src/MediaPage.vala" page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateFour"); -#line 545 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 544 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 4305 "MediaPage.c" +#line 4263 "MediaPage.c" } } } else if (_tmp5_ == ((0 != _tmp4_label12) ? _tmp4_label12 : (_tmp4_label12 = g_quark_from_static_string ("KP_5")))) { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" switch (0) { -#line 4311 "MediaPage.c" +#line 4269 "MediaPage.c" default: { -#line 548 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 547 "/home/jens/Source/shotwell/src/MediaPage.vala" page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateFive"); -#line 549 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 548 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 4318 "MediaPage.c" +#line 4276 "MediaPage.c" } } } else if (_tmp5_ == ((0 != _tmp4_label13) ? _tmp4_label13 : (_tmp4_label13 = g_quark_from_static_string ("KP_0")))) { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" switch (0) { -#line 4324 "MediaPage.c" +#line 4282 "MediaPage.c" default: { -#line 552 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 551 "/home/jens/Source/shotwell/src/MediaPage.vala" page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateUnrated"); -#line 553 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 552 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 4331 "MediaPage.c" +#line 4289 "MediaPage.c" } } } else if (_tmp5_ == ((0 != _tmp4_label14) ? _tmp4_label14 : (_tmp4_label14 = g_quark_from_static_string ("KP_9")))) { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" switch (0) { -#line 4337 "MediaPage.c" +#line 4295 "MediaPage.c" default: { -#line 556 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 555 "/home/jens/Source/shotwell/src/MediaPage.vala" page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateRejected"); -#line 557 "/home/jens/Source/shotwell/src/MediaPage.vala" - break; -#line 4344 "MediaPage.c" - } - } - } else if (_tmp5_ == ((0 != _tmp4_label15) ? _tmp4_label15 : (_tmp4_label15 = g_quark_from_static_string ("exclam")))) { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" - switch (0) { -#line 4350 "MediaPage.c" - default: - { - gboolean _tmp6_; -#line 560 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp6_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 560 "/home/jens/Source/shotwell/src/MediaPage.vala" - if (_tmp6_) { -#line 4358 "MediaPage.c" - SearchViewFilter* _tmp7_; - SearchViewFilter* _tmp8_; -#line 561 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp7_ = checkerboard_page_get_search_view_filter (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage)); -#line 561 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp8_ = _tmp7_; -#line 561 "/home/jens/Source/shotwell/src/MediaPage.vala" - search_view_filter_set_rating_filter (_tmp8_, RATING_FILTER_ONE_OR_HIGHER); -#line 561 "/home/jens/Source/shotwell/src/MediaPage.vala" - _view_filter_unref0 (_tmp8_); -#line 4369 "MediaPage.c" - } -#line 562 "/home/jens/Source/shotwell/src/MediaPage.vala" - break; -#line 4373 "MediaPage.c" - } - } - } else if (_tmp5_ == ((0 != _tmp4_label16) ? _tmp4_label16 : (_tmp4_label16 = g_quark_from_static_string ("at")))) { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" - switch (0) { -#line 4379 "MediaPage.c" - default: - { - gboolean _tmp9_; -#line 565 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp9_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 565 "/home/jens/Source/shotwell/src/MediaPage.vala" - if (_tmp9_) { -#line 4387 "MediaPage.c" - SearchViewFilter* _tmp10_; - SearchViewFilter* _tmp11_; -#line 566 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp10_ = checkerboard_page_get_search_view_filter (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage)); -#line 566 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp11_ = _tmp10_; -#line 566 "/home/jens/Source/shotwell/src/MediaPage.vala" - search_view_filter_set_rating_filter (_tmp11_, RATING_FILTER_TWO_OR_HIGHER); -#line 566 "/home/jens/Source/shotwell/src/MediaPage.vala" - _view_filter_unref0 (_tmp11_); -#line 4398 "MediaPage.c" - } -#line 567 "/home/jens/Source/shotwell/src/MediaPage.vala" - break; -#line 4402 "MediaPage.c" - } - } - } else if (_tmp5_ == ((0 != _tmp4_label17) ? _tmp4_label17 : (_tmp4_label17 = g_quark_from_static_string ("numbersign")))) { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" - switch (0) { -#line 4408 "MediaPage.c" - default: - { - gboolean _tmp12_; -#line 570 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp12_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 570 "/home/jens/Source/shotwell/src/MediaPage.vala" - if (_tmp12_) { -#line 4416 "MediaPage.c" - SearchViewFilter* _tmp13_; - SearchViewFilter* _tmp14_; -#line 571 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp13_ = checkerboard_page_get_search_view_filter (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage)); -#line 571 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp14_ = _tmp13_; -#line 571 "/home/jens/Source/shotwell/src/MediaPage.vala" - search_view_filter_set_rating_filter (_tmp14_, RATING_FILTER_THREE_OR_HIGHER); -#line 571 "/home/jens/Source/shotwell/src/MediaPage.vala" - _view_filter_unref0 (_tmp14_); -#line 4427 "MediaPage.c" - } -#line 572 "/home/jens/Source/shotwell/src/MediaPage.vala" - break; -#line 4431 "MediaPage.c" - } - } - } else if (_tmp5_ == ((0 != _tmp4_label18) ? _tmp4_label18 : (_tmp4_label18 = g_quark_from_static_string ("dollar")))) { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" - switch (0) { -#line 4437 "MediaPage.c" - default: - { - gboolean _tmp15_; -#line 575 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp15_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 575 "/home/jens/Source/shotwell/src/MediaPage.vala" - if (_tmp15_) { -#line 4445 "MediaPage.c" - SearchViewFilter* _tmp16_; - SearchViewFilter* _tmp17_; -#line 576 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp16_ = checkerboard_page_get_search_view_filter (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage)); -#line 576 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp17_ = _tmp16_; -#line 576 "/home/jens/Source/shotwell/src/MediaPage.vala" - search_view_filter_set_rating_filter (_tmp17_, RATING_FILTER_FOUR_OR_HIGHER); -#line 576 "/home/jens/Source/shotwell/src/MediaPage.vala" - _view_filter_unref0 (_tmp17_); -#line 4456 "MediaPage.c" - } -#line 577 "/home/jens/Source/shotwell/src/MediaPage.vala" - break; -#line 4460 "MediaPage.c" - } - } - } else if (_tmp5_ == ((0 != _tmp4_label19) ? _tmp4_label19 : (_tmp4_label19 = g_quark_from_static_string ("percent")))) { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" - switch (0) { -#line 4466 "MediaPage.c" - default: - { - gboolean _tmp18_; -#line 580 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp18_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 580 "/home/jens/Source/shotwell/src/MediaPage.vala" - if (_tmp18_) { -#line 4474 "MediaPage.c" - SearchViewFilter* _tmp19_; - SearchViewFilter* _tmp20_; -#line 581 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp19_ = checkerboard_page_get_search_view_filter (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage)); -#line 581 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp20_ = _tmp19_; -#line 581 "/home/jens/Source/shotwell/src/MediaPage.vala" - search_view_filter_set_rating_filter (_tmp20_, RATING_FILTER_FIVE_OR_HIGHER); -#line 581 "/home/jens/Source/shotwell/src/MediaPage.vala" - _view_filter_unref0 (_tmp20_); -#line 4485 "MediaPage.c" - } -#line 582 "/home/jens/Source/shotwell/src/MediaPage.vala" - break; -#line 4489 "MediaPage.c" - } - } - } else if (_tmp5_ == ((0 != _tmp4_label20) ? _tmp4_label20 : (_tmp4_label20 = g_quark_from_static_string ("parenright")))) { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" - switch (0) { -#line 4495 "MediaPage.c" - default: - { - gboolean _tmp21_; -#line 585 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp21_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 585 "/home/jens/Source/shotwell/src/MediaPage.vala" - if (_tmp21_) { -#line 4503 "MediaPage.c" - SearchViewFilter* _tmp22_; - SearchViewFilter* _tmp23_; -#line 586 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp22_ = checkerboard_page_get_search_view_filter (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage)); -#line 586 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp23_ = _tmp22_; -#line 586 "/home/jens/Source/shotwell/src/MediaPage.vala" - search_view_filter_set_rating_filter (_tmp23_, RATING_FILTER_UNRATED_OR_HIGHER); -#line 586 "/home/jens/Source/shotwell/src/MediaPage.vala" - _view_filter_unref0 (_tmp23_); -#line 4514 "MediaPage.c" - } -#line 587 "/home/jens/Source/shotwell/src/MediaPage.vala" - break; -#line 4518 "MediaPage.c" - } - } - } else if (_tmp5_ == ((0 != _tmp4_label21) ? _tmp4_label21 : (_tmp4_label21 = g_quark_from_static_string ("parenleft")))) { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" - switch (0) { -#line 4524 "MediaPage.c" - default: - { - gboolean _tmp24_; -#line 590 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp24_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 590 "/home/jens/Source/shotwell/src/MediaPage.vala" - if (_tmp24_) { -#line 4532 "MediaPage.c" - SearchViewFilter* _tmp25_; - SearchViewFilter* _tmp26_; -#line 591 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp25_ = checkerboard_page_get_search_view_filter (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage)); -#line 591 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp26_ = _tmp25_; -#line 591 "/home/jens/Source/shotwell/src/MediaPage.vala" - search_view_filter_set_rating_filter (_tmp26_, RATING_FILTER_REJECTED_OR_HIGHER); -#line 591 "/home/jens/Source/shotwell/src/MediaPage.vala" - _view_filter_unref0 (_tmp26_); -#line 4543 "MediaPage.c" - } -#line 592 "/home/jens/Source/shotwell/src/MediaPage.vala" - break; -#line 4547 "MediaPage.c" - } - } - } else if (_tmp5_ == ((0 != _tmp4_label22) ? _tmp4_label22 : (_tmp4_label22 = g_quark_from_static_string ("asterisk")))) { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" - switch (0) { -#line 4553 "MediaPage.c" - default: - { - gboolean _tmp27_; -#line 595 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp27_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 595 "/home/jens/Source/shotwell/src/MediaPage.vala" - if (_tmp27_) { -#line 4561 "MediaPage.c" - SearchViewFilter* _tmp28_; - SearchViewFilter* _tmp29_; -#line 596 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp28_ = checkerboard_page_get_search_view_filter (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage)); -#line 596 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp29_ = _tmp28_; -#line 596 "/home/jens/Source/shotwell/src/MediaPage.vala" - search_view_filter_set_rating_filter (_tmp29_, RATING_FILTER_REJECTED_ONLY); -#line 596 "/home/jens/Source/shotwell/src/MediaPage.vala" - _view_filter_unref0 (_tmp29_); -#line 4572 "MediaPage.c" - } -#line 597 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 556 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 4576 "MediaPage.c" +#line 4302 "MediaPage.c" } } - } else if (_tmp5_ == ((0 != _tmp4_label23) ? _tmp4_label23 : (_tmp4_label23 = g_quark_from_static_string ("slash")))) { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" + } else if (_tmp5_ == ((0 != _tmp4_label15) ? _tmp4_label15 : (_tmp4_label15 = g_quark_from_static_string ("slash")))) { +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" switch (0) { -#line 4582 "MediaPage.c" +#line 4308 "MediaPage.c" default: { -#line 600 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 559 "/home/jens/Source/shotwell/src/MediaPage.vala" page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Flag"); -#line 601 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 560 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 4589 "MediaPage.c" +#line 4315 "MediaPage.c" } } } else { -#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala" switch (0) { -#line 4595 "MediaPage.c" +#line 4321 "MediaPage.c" default: { -#line 604 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 563 "/home/jens/Source/shotwell/src/MediaPage.vala" handled = FALSE; -#line 605 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 564 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 4602 "MediaPage.c" +#line 4328 "MediaPage.c" } } } -#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp31_ = handled; -#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala" - if (_tmp31_) { -#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp30_ = TRUE; -#line 4612 "MediaPage.c" +#line 567 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp7_ = handled; +#line 567 "/home/jens/Source/shotwell/src/MediaPage.vala" + if (_tmp7_) { +#line 567 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp6_ = TRUE; +#line 4338 "MediaPage.c" } else { - GdkEventKey* _tmp32_; - gboolean _tmp33_; -#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp32_ = event; -#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp33_ = PAGE_CLASS (media_page_parent_class)->on_app_key_pressed (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page), _tmp32_); -#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp30_ = _tmp33_; -#line 4622 "MediaPage.c" + GdkEventKey* _tmp8_; + gboolean _tmp9_; +#line 567 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp8_ = event; +#line 567 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp9_ = PAGE_CLASS (media_page_parent_class)->on_app_key_pressed (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page), _tmp8_); +#line 567 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp6_ = _tmp9_; +#line 4348 "MediaPage.c" } -#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala" - result = _tmp30_; -#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 567 "/home/jens/Source/shotwell/src/MediaPage.vala" + result = _tmp6_; +#line 567 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 4628 "MediaPage.c" +#line 4354 "MediaPage.c" } @@ -4650,142 +4376,142 @@ static void media_page_real_switched_to (Page* base) { ViewCollection* _tmp17_; gint _tmp18_; gboolean _tmp19_; -#line 611 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 570 "/home/jens/Source/shotwell/src/MediaPage.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage); -#line 612 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 571 "/home/jens/Source/shotwell/src/MediaPage.vala" PAGE_CLASS (media_page_parent_class)->switched_to (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page)); -#line 615 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 574 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 615 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 574 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 615 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 574 "/home/jens/Source/shotwell/src/MediaPage.vala" data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection)); -#line 615 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 574 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp1_); -#line 616 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 575 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = config_facade_get_instance (); -#line 616 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 575 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_; -#line 616 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 575 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = configuration_facade_get_display_photo_titles (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 616 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 575 "/home/jens/Source/shotwell/src/MediaPage.vala" checkerboard_page_set_display_titles (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp4_); -#line 616 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 575 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp3_); -#line 617 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 576 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = config_facade_get_instance (); -#line 617 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 576 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = _tmp5_; -#line 617 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 576 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = configuration_facade_get_display_photo_comments (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 617 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 576 "/home/jens/Source/shotwell/src/MediaPage.vala" checkerboard_page_set_display_comments (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp7_); -#line 617 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 576 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp6_); -#line 618 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 577 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = config_facade_get_instance (); -#line 618 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 577 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = _tmp8_; -#line 618 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 577 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = configuration_facade_get_display_photo_ratings (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 618 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 577 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_set_display_ratings (self, _tmp10_); -#line 618 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 577 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp9_); -#line 619 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 578 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = config_facade_get_instance (); -#line 619 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 578 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = _tmp11_; -#line 619 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 578 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13_ = configuration_facade_get_display_photo_tags (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 619 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 578 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_set_display_tags (self, _tmp13_); -#line 619 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 578 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp12_); -#line 620 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 579 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp14_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 620 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 579 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp15_ = _tmp14_; -#line 620 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 579 "/home/jens/Source/shotwell/src/MediaPage.vala" data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_DATA_COLLECTION, DataCollection)); -#line 620 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 579 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp15_); -#line 624 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 583 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp16_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 624 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 583 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp17_ = _tmp16_; -#line 624 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 583 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp18_ = view_collection_get_selected_count (_tmp17_); -#line 624 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 583 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp19_ = _tmp18_ > 0; -#line 624 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 583 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp17_); -#line 624 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 583 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp19_) { -#line 4726 "MediaPage.c" +#line 4452 "MediaPage.c" CheckerboardItem* selected = NULL; ViewCollection* _tmp20_; ViewCollection* _tmp21_; DataView* _tmp22_; CheckerboardItem* _tmp23_; CheckerboardItem* _tmp24_; -#line 625 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 584 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp20_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 625 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 584 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp21_ = _tmp20_; -#line 625 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 584 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp22_ = view_collection_get_selected_at (_tmp21_, 0); -#line 625 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 584 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp23_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem); -#line 625 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 584 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp21_); -#line 625 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 584 "/home/jens/Source/shotwell/src/MediaPage.vala" selected = _tmp23_; -#line 626 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 585 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp24_ = selected; -#line 626 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 585 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp24_ != NULL) { -#line 4749 "MediaPage.c" +#line 4475 "MediaPage.c" CheckerboardItem* _tmp25_; -#line 627 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 586 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp25_ = selected; -#line 627 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 586 "/home/jens/Source/shotwell/src/MediaPage.vala" checkerboard_page_cursor_to_item (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp25_); -#line 4755 "MediaPage.c" +#line 4481 "MediaPage.c" } -#line 624 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 583 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (selected); -#line 4759 "MediaPage.c" +#line 4485 "MediaPage.c" } -#line 630 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 589 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_sync_sort (self); -#line 4763 "MediaPage.c" +#line 4489 "MediaPage.c" } static void media_page_real_switching_from (Page* base) { MediaPage * self; -#line 633 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 592 "/home/jens/Source/shotwell/src/MediaPage.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage); -#line 634 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 593 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_disconnect_slider (self); -#line 636 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 595 "/home/jens/Source/shotwell/src/MediaPage.vala" PAGE_CLASS (media_page_parent_class)->switching_from (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page)); -#line 4775 "MediaPage.c" +#line 4501 "MediaPage.c" } static gpointer _g_object_ref0 (gpointer self) { -#line 640 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 599 "/home/jens/Source/shotwell/src/MediaPage.vala" return self ? g_object_ref (self) : NULL; -#line 4782 "MediaPage.c" +#line 4508 "MediaPage.c" } static void _media_page_on_zoom_changed_media_page_zoom_slider_assembly_zoom_changed (MediaPageZoomSliderAssembly* _sender, gpointer self) { -#line 641 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 600 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_zoom_changed ((MediaPage*) self); -#line 4789 "MediaPage.c" +#line 4515 "MediaPage.c" } @@ -4793,25 +4519,25 @@ void media_page_connect_slider (MediaPage* self, MediaPageZoomSliderAssembly* sl MediaPageZoomSliderAssembly* _tmp0_; MediaPageZoomSliderAssembly* _tmp1_; MediaPageZoomSliderAssembly* _tmp2_; -#line 639 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 598 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 639 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 598 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (MEDIA_PAGE_IS_ZOOM_SLIDER_ASSEMBLY (slider)); -#line 640 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 599 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = slider; -#line 640 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 599 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 640 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 599 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (self->priv->connected_slider); -#line 640 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 599 "/home/jens/Source/shotwell/src/MediaPage.vala" self->priv->connected_slider = _tmp1_; -#line 641 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 600 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = self->priv->connected_slider; -#line 641 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 600 "/home/jens/Source/shotwell/src/MediaPage.vala" g_signal_connect_object (_tmp2_, "zoom-changed", (GCallback) _media_page_on_zoom_changed_media_page_zoom_slider_assembly_zoom_changed, self, 0); -#line 642 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 601 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_load_persistent_thumbnail_scale (self); -#line 4815 "MediaPage.c" +#line 4541 "MediaPage.c" } @@ -4821,29 +4547,29 @@ static void media_page_save_persistent_thumbnail_scale (MediaPage* self) { ConfigFacade* _tmp2_; MediaPageZoomSliderAssembly* _tmp3_; gint _tmp4_; -#line 645 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 604 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 646 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 605 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = self->priv->connected_slider; -#line 646 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 605 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp0_ == NULL) { -#line 647 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 606 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 4833 "MediaPage.c" +#line 4559 "MediaPage.c" } -#line 649 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = config_facade_get_instance (); -#line 649 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = _tmp1_; -#line 649 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = self->priv->connected_slider; -#line 649 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = media_page_zoom_slider_assembly_get_scale (_tmp3_); -#line 649 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala" configuration_facade_set_photo_thumbnail_scale (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp4_); -#line 649 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp2_); -#line 4847 "MediaPage.c" +#line 4573 "MediaPage.c" } @@ -4857,39 +4583,39 @@ static void media_page_load_persistent_thumbnail_scale (MediaPage* self) { MediaPageZoomSliderAssembly* _tmp5_; gint _tmp6_; gint _tmp7_; -#line 652 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 611 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 653 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 612 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = self->priv->connected_slider; -#line 653 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 612 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp0_ == NULL) { -#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 613 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 4869 "MediaPage.c" +#line 4595 "MediaPage.c" } -#line 656 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 615 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = config_facade_get_instance (); -#line 656 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 615 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = _tmp1_; -#line 656 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 615 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = configuration_facade_get_photo_thumbnail_scale (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 656 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 615 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = _tmp3_; -#line 656 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 615 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp2_); -#line 656 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 615 "/home/jens/Source/shotwell/src/MediaPage.vala" persistent_scale = _tmp4_; -#line 658 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 617 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = self->priv->connected_slider; -#line 658 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 617 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = persistent_scale; -#line 658 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 617 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_zoom_slider_assembly_set_scale (_tmp5_, _tmp6_); -#line 659 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 618 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = persistent_scale; -#line 659 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 618 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_set_thumb_size (self, _tmp7_); -#line 4893 "MediaPage.c" +#line 4619 "MediaPage.c" } @@ -4897,109 +4623,109 @@ void media_page_disconnect_slider (MediaPage* self) { MediaPageZoomSliderAssembly* _tmp0_; MediaPageZoomSliderAssembly* _tmp1_; guint _tmp2_; -#line 662 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 621 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 663 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 622 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = self->priv->connected_slider; -#line 663 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 622 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp0_ == NULL) { -#line 664 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 623 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 4909 "MediaPage.c" +#line 4635 "MediaPage.c" } -#line 666 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 625 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = self->priv->connected_slider; -#line 666 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 625 "/home/jens/Source/shotwell/src/MediaPage.vala" g_signal_parse_name ("zoom-changed", MEDIA_PAGE_TYPE_ZOOM_SLIDER_ASSEMBLY, &_tmp2_, NULL, FALSE); -#line 666 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 625 "/home/jens/Source/shotwell/src/MediaPage.vala" g_signal_handlers_disconnect_matched (_tmp1_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _media_page_on_zoom_changed_media_page_zoom_slider_assembly_zoom_changed, self); -#line 667 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 626 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (self->priv->connected_slider); -#line 667 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 626 "/home/jens/Source/shotwell/src/MediaPage.vala" self->priv->connected_slider = NULL; -#line 4921 "MediaPage.c" +#line 4647 "MediaPage.c" } static void media_page_real_on_zoom_changed (MediaPage* self) { MediaPageZoomSliderAssembly* _tmp0_; -#line 671 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 630 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = self->priv->connected_slider; -#line 671 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 630 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp0_ != NULL) { -#line 4931 "MediaPage.c" +#line 4657 "MediaPage.c" MediaPageZoomSliderAssembly* _tmp1_; gint _tmp2_; -#line 672 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 631 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = self->priv->connected_slider; -#line 672 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 631 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = media_page_zoom_slider_assembly_get_scale (_tmp1_); -#line 672 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 631 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_set_thumb_size (self, _tmp2_); -#line 4940 "MediaPage.c" +#line 4666 "MediaPage.c" } -#line 674 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 633 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_save_persistent_thumbnail_scale (self); -#line 4944 "MediaPage.c" +#line 4670 "MediaPage.c" } void media_page_on_zoom_changed (MediaPage* self) { -#line 670 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 629 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 670 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 629 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_zoom_changed (self); -#line 4953 "MediaPage.c" +#line 4679 "MediaPage.c" } static void media_page_real_on_export (MediaPage* self) { -#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 636 "/home/jens/Source/shotwell/src/MediaPage.vala" g_critical ("Type `%s' does not implement abstract method `media_page_on_export'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 636 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 4962 "MediaPage.c" +#line 4688 "MediaPage.c" } void media_page_on_export (MediaPage* self) { -#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 636 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 636 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_export (self); -#line 4971 "MediaPage.c" +#line 4697 "MediaPage.c" } static void media_page_real_on_increase_size (MediaPage* self) { -#line 680 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 639 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_increase_zoom_level (self); -#line 4978 "MediaPage.c" +#line 4704 "MediaPage.c" } void media_page_on_increase_size (MediaPage* self) { -#line 679 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 638 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 679 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 638 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_increase_size (self); -#line 4987 "MediaPage.c" +#line 4713 "MediaPage.c" } static void media_page_real_on_decrease_size (MediaPage* self) { -#line 684 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 643 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_decrease_zoom_level (self); -#line 4994 "MediaPage.c" +#line 4720 "MediaPage.c" } void media_page_on_decrease_size (MediaPage* self) { -#line 683 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 642 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 683 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 642 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_decrease_size (self); -#line 5003 "MediaPage.c" +#line 4729 "MediaPage.c" } @@ -5018,45 +4744,45 @@ static void media_page_on_add_tags (MediaPage* self) { gint _names_size_; gchar** _tmp8_; gint _tmp8__length1; -#line 687 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 646 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 688 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 647 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 688 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 647 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 688 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 647 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 688 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 647 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_ == 0; -#line 688 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 647 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp1_); -#line 688 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 647 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp3_) { -#line 689 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 648 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 5038 "MediaPage.c" +#line 4764 "MediaPage.c" } -#line 691 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 650 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = add_tags_dialog_new (); -#line 691 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 650 "/home/jens/Source/shotwell/src/MediaPage.vala" dialog = _tmp4_; -#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 651 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = dialog; -#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 651 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = add_tags_dialog_execute (_tmp5_, &_tmp6_); -#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 651 "/home/jens/Source/shotwell/src/MediaPage.vala" names = _tmp7_; -#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 651 "/home/jens/Source/shotwell/src/MediaPage.vala" names_length1 = _tmp6_; -#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 651 "/home/jens/Source/shotwell/src/MediaPage.vala" _names_size_ = names_length1; -#line 694 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 653 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = names; -#line 694 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 653 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8__length1 = names_length1; -#line 694 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 653 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp8_ != NULL) { -#line 5060 "MediaPage.c" +#line 4786 "MediaPage.c" CommandManager* _tmp9_; CommandManager* _tmp10_; HierarchicalTagIndex* _tmp11_; @@ -5073,57 +4799,57 @@ static void media_page_on_add_tags (MediaPage* self) { GeeCollection* _tmp20_; AddTagsCommand* _tmp21_; AddTagsCommand* _tmp22_; -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = _tmp9_; -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = hierarchical_tag_index_get_global_index (); -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = _tmp11_; -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13_ = names; -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13__length1 = names_length1; -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp15_ = hierarchical_tag_index_get_paths_for_names_array (_tmp12_, _tmp13_, _tmp13__length1, &_tmp14_); -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp16_ = _tmp15_; -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp16__length1 = _tmp14_; -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp17_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp18_ = _tmp17_; -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp19_ = view_collection_get_selected_sources (_tmp18_); -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp20_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GEE_TYPE_COLLECTION, GeeCollection); -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp21_ = add_tags_command_new (_tmp16_, _tmp14_, _tmp20_); -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp22_ = _tmp21_; -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" command_manager_execute (_tmp10_, G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_COMMAND, Command)); -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp22_); -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp20_); -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp18_); -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp16_ = (_vala_array_free (_tmp16_, _tmp16__length1, (GDestroyNotify) g_free), NULL); -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _hierarchical_tag_index_unref0 (_tmp12_); -#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala" _command_manager_unref0 (_tmp10_); -#line 5121 "MediaPage.c" +#line 4847 "MediaPage.c" } -#line 687 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 646 "/home/jens/Source/shotwell/src/MediaPage.vala" names = (_vala_array_free (names, names_length1, (GDestroyNotify) g_free), NULL); -#line 687 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 646 "/home/jens/Source/shotwell/src/MediaPage.vala" _text_entry_dialog_mediator_unref0 (dialog); -#line 5127 "MediaPage.c" +#line 4853 "MediaPage.c" } @@ -5152,93 +4878,93 @@ static void media_page_on_modify_tags (MediaPage* self) { GeeArrayList* _tmp18_; ModifyTagsCommand* _tmp19_; ModifyTagsCommand* _tmp20_; -#line 701 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 660 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 702 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 661 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 702 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 661 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 702 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 661 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 702 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 661 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_ != 1; -#line 702 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 661 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp1_); -#line 702 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 661 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp3_) { -#line 703 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 662 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 5172 "MediaPage.c" +#line 4898 "MediaPage.c" } -#line 705 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 664 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 705 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 664 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = _tmp4_; -#line 705 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 664 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = view_collection_get_selected_at (_tmp5_, 0); -#line 705 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 664 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = _tmp6_; -#line 705 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 664 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = data_view_get_source (_tmp7_); -#line 705 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 664 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_MEDIA_SOURCE, MediaSource); -#line 705 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 664 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp7_); -#line 705 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 664 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp5_); -#line 705 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 664 "/home/jens/Source/shotwell/src/MediaPage.vala" media = _tmp9_; -#line 707 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 666 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = media; -#line 707 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 666 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = modify_tags_dialog_new (_tmp10_); -#line 707 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 666 "/home/jens/Source/shotwell/src/MediaPage.vala" dialog = _tmp11_; -#line 708 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 667 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = dialog; -#line 708 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 667 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13_ = modify_tags_dialog_execute (_tmp12_); -#line 708 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 667 "/home/jens/Source/shotwell/src/MediaPage.vala" new_tags = _tmp13_; -#line 710 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 669 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp14_ = new_tags; -#line 710 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 669 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp14_ == NULL) { -#line 711 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 670 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (new_tags); -#line 711 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 670 "/home/jens/Source/shotwell/src/MediaPage.vala" _text_entry_dialog_mediator_unref0 (dialog); -#line 711 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 670 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (media); -#line 711 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 670 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 5216 "MediaPage.c" +#line 4942 "MediaPage.c" } -#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 672 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp15_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 672 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp16_ = _tmp15_; -#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 672 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp17_ = media; -#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 672 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp18_ = new_tags; -#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 672 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp19_ = modify_tags_command_new (_tmp17_, G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 672 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp20_ = _tmp19_; -#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 672 "/home/jens/Source/shotwell/src/MediaPage.vala" command_manager_execute (_tmp16_, G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_COMMAND, Command)); -#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 672 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp20_); -#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 672 "/home/jens/Source/shotwell/src/MediaPage.vala" _command_manager_unref0 (_tmp16_); -#line 701 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 660 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (new_tags); -#line 701 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 660 "/home/jens/Source/shotwell/src/MediaPage.vala" _text_entry_dialog_mediator_unref0 (dialog); -#line 701 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 660 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (media); -#line 5242 "MediaPage.c" +#line 4968 "MediaPage.c" } @@ -5252,45 +4978,45 @@ static void media_page_set_display_tags (MediaPage* self, gboolean display) { ViewCollection* _tmp6_; ViewCollection* _tmp7_; gboolean _tmp8_; -#line 716 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 675 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 717 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 676 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 717 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 676 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 717 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 676 "/home/jens/Source/shotwell/src/MediaPage.vala" data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection)); -#line 717 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 676 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp1_); -#line 718 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 718 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_; -#line 718 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = display; -#line 718 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala" g_value_init (&_tmp5_, G_TYPE_BOOLEAN); -#line 718 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala" g_value_set_boolean (&_tmp5_, _tmp4_); -#line 718 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala" data_collection_set_property (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_COLLECTION, DataCollection), THUMBNAIL_PROP_SHOW_TAGS, &_tmp5_, NULL, NULL); -#line 718 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala" G_IS_VALUE (&_tmp5_) ? (g_value_unset (&_tmp5_), NULL) : NULL; -#line 718 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp3_); -#line 719 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 678 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 719 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 678 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = _tmp6_; -#line 719 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 678 "/home/jens/Source/shotwell/src/MediaPage.vala" data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DATA_COLLECTION, DataCollection)); -#line 719 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 678 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp7_); -#line 721 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 680 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = display; -#line 721 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 680 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_active (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewTags", _tmp8_); -#line 5294 "MediaPage.c" +#line 5020 "MediaPage.c" } @@ -5299,21 +5025,21 @@ static void media_page_on_new_event (MediaPage* self) { ViewCollection* _tmp1_; gint _tmp2_; gboolean _tmp3_; -#line 724 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 683 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 725 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 684 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 725 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 684 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 725 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 684 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 725 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 684 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_ > 0; -#line 725 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 684 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp1_); -#line 725 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 684 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp3_) { -#line 5317 "MediaPage.c" +#line 5043 "MediaPage.c" CommandManager* _tmp4_; CommandManager* _tmp5_; ViewCollection* _tmp6_; @@ -5322,33 +5048,33 @@ static void media_page_on_new_event (MediaPage* self) { GeeList* _tmp9_; NewEventCommand* _tmp10_; NewEventCommand* _tmp11_; -#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = _tmp4_; -#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = _tmp6_; -#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = view_collection_get_selected (_tmp7_); -#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = _tmp8_; -#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = new_event_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = _tmp10_; -#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala" command_manager_execute (_tmp5_, G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_COMMAND, Command)); -#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp11_); -#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp9_); -#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp7_); -#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala" _command_manager_unref0 (_tmp5_); -#line 5352 "MediaPage.c" +#line 5078 "MediaPage.c" } } @@ -5370,52 +5096,52 @@ static void media_page_on_flag_unflag (MediaPage* self) { gboolean _tmp23_; FlagUnflagCommand* _tmp24_; FlagUnflagCommand* _tmp25_; -#line 729 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 688 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 689 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 689 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 689 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 689 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_ == 0; -#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 689 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp1_); -#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 689 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp3_) { -#line 731 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 690 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 5390 "MediaPage.c" +#line 5116 "MediaPage.c" } -#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = _tmp4_; -#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = view_collection_get_selected_sources_of_type (_tmp5_, TYPE_MEDIA_SOURCE); -#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection); -#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp5_); -#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala" sources = _tmp7_; -#line 737 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 696 "/home/jens/Source/shotwell/src/MediaPage.vala" flag = FALSE; -#line 5406 "MediaPage.c" +#line 5132 "MediaPage.c" { GeeIterator* _source_it = NULL; GeeCollection* _tmp8_; GeeIterator* _tmp9_; -#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 697 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = sources; -#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 697 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 697 "/home/jens/Source/shotwell/src/MediaPage.vala" _source_it = _tmp9_; -#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 697 "/home/jens/Source/shotwell/src/MediaPage.vala" while (TRUE) { -#line 5419 "MediaPage.c" +#line 5145 "MediaPage.c" GeeIterator* _tmp10_; gboolean _tmp11_; MediaSource* source = NULL; @@ -5426,90 +5152,90 @@ static void media_page_on_flag_unflag (MediaPage* self) { Flaggable* _tmp15_; gboolean _tmp16_ = FALSE; Flaggable* _tmp17_; -#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 697 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = _source_it; -#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 697 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = gee_iterator_next (_tmp10_); -#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 697 "/home/jens/Source/shotwell/src/MediaPage.vala" if (!_tmp11_) { -#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 697 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 5438 "MediaPage.c" +#line 5164 "MediaPage.c" } -#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 697 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = _source_it; -#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 697 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13_ = gee_iterator_get (_tmp12_); -#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 697 "/home/jens/Source/shotwell/src/MediaPage.vala" source = (MediaSource*) _tmp13_; -#line 739 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 698 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp14_ = source; -#line 739 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 698 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp15_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp14_, TYPE_FLAGGABLE) ? ((Flaggable*) _tmp14_) : NULL); -#line 739 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 698 "/home/jens/Source/shotwell/src/MediaPage.vala" flaggable = _tmp15_; -#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 699 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp17_ = flaggable; -#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 699 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp17_ != NULL) { -#line 5456 "MediaPage.c" +#line 5182 "MediaPage.c" Flaggable* _tmp18_; gboolean _tmp19_; -#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 699 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp18_ = flaggable; -#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 699 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp19_ = flaggable_is_flagged (_tmp18_); -#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 699 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp16_ = !_tmp19_; -#line 5465 "MediaPage.c" +#line 5191 "MediaPage.c" } else { -#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 699 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp16_ = FALSE; -#line 5469 "MediaPage.c" +#line 5195 "MediaPage.c" } -#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 699 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp16_) { -#line 741 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 700 "/home/jens/Source/shotwell/src/MediaPage.vala" flag = TRUE; -#line 743 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 702 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (flaggable); -#line 743 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 702 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (source); -#line 743 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 702 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 5481 "MediaPage.c" +#line 5207 "MediaPage.c" } -#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 697 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (flaggable); -#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 697 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (source); -#line 5487 "MediaPage.c" +#line 5213 "MediaPage.c" } -#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 697 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_source_it); -#line 5491 "MediaPage.c" +#line 5217 "MediaPage.c" } -#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 706 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp20_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 706 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp21_ = _tmp20_; -#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 706 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp22_ = sources; -#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 706 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp23_ = flag; -#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 706 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp24_ = flag_unflag_command_new (_tmp22_, _tmp23_); -#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 706 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp25_ = _tmp24_; -#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 706 "/home/jens/Source/shotwell/src/MediaPage.vala" command_manager_execute (_tmp21_, G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, TYPE_COMMAND, Command)); -#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 706 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp25_); -#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 706 "/home/jens/Source/shotwell/src/MediaPage.vala" _command_manager_unref0 (_tmp21_); -#line 729 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 688 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (sources); -#line 5513 "MediaPage.c" +#line 5239 "MediaPage.c" } @@ -5528,64 +5254,64 @@ static void media_page_real_on_increase_rating (MediaPage* self) { CommandManager* _tmp10_; CommandManager* _tmp11_; SetRatingCommand* _tmp12_; -#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 710 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 710 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 710 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 710 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_ == 0; -#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 710 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp1_); -#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 710 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp3_) { -#line 752 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 711 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 5546 "MediaPage.c" +#line 5272 "MediaPage.c" } -#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = _tmp4_; -#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = view_collection_get_selected (_tmp5_); -#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = _tmp6_; -#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = set_rating_command_new_inc_dec (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable), TRUE); -#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = _tmp8_; -#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp7_); -#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp5_); -#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala" command = _tmp9_; -#line 755 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 714 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 755 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 714 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = _tmp10_; -#line 755 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 714 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = command; -#line 755 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 714 "/home/jens/Source/shotwell/src/MediaPage.vala" command_manager_execute (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_COMMAND, Command)); -#line 755 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 714 "/home/jens/Source/shotwell/src/MediaPage.vala" _command_manager_unref0 (_tmp11_); -#line 757 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 716 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_update_rating_sensitivities (self); -#line 750 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 709 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (command); -#line 5580 "MediaPage.c" +#line 5306 "MediaPage.c" } void media_page_on_increase_rating (MediaPage* self) { -#line 750 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 709 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 750 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 709 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_increase_rating (self); -#line 5589 "MediaPage.c" +#line 5315 "MediaPage.c" } @@ -5604,64 +5330,64 @@ static void media_page_real_on_decrease_rating (MediaPage* self) { CommandManager* _tmp10_; CommandManager* _tmp11_; SetRatingCommand* _tmp12_; -#line 761 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 720 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 761 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 720 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 761 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 720 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 761 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 720 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_ == 0; -#line 761 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 720 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp1_); -#line 761 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 720 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp3_) { -#line 762 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 721 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 5622 "MediaPage.c" +#line 5348 "MediaPage.c" } -#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 723 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 723 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = _tmp4_; -#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 723 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = view_collection_get_selected (_tmp5_); -#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 723 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = _tmp6_; -#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 723 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = set_rating_command_new_inc_dec (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable), FALSE); -#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 723 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = _tmp8_; -#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 723 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp7_); -#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 723 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp5_); -#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 723 "/home/jens/Source/shotwell/src/MediaPage.vala" command = _tmp9_; -#line 765 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 724 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 765 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 724 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = _tmp10_; -#line 765 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 724 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = command; -#line 765 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 724 "/home/jens/Source/shotwell/src/MediaPage.vala" command_manager_execute (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_COMMAND, Command)); -#line 765 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 724 "/home/jens/Source/shotwell/src/MediaPage.vala" _command_manager_unref0 (_tmp11_); -#line 767 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_update_rating_sensitivities (self); -#line 760 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 719 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (command); -#line 5656 "MediaPage.c" +#line 5382 "MediaPage.c" } void media_page_on_decrease_rating (MediaPage* self) { -#line 760 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 719 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 760 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 719 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_decrease_rating (self); -#line 5665 "MediaPage.c" +#line 5391 "MediaPage.c" } @@ -5681,178 +5407,178 @@ static void media_page_real_on_set_rating (MediaPage* self, Rating rating) { CommandManager* _tmp11_; CommandManager* _tmp12_; SetRatingCommand* _tmp13_; -#line 771 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 771 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 771 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 771 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_ == 0; -#line 771 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp1_); -#line 771 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp3_) { -#line 772 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 731 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 5699 "MediaPage.c" +#line 5425 "MediaPage.c" } -#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = _tmp4_; -#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = view_collection_get_selected (_tmp5_); -#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = _tmp6_; -#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = rating; -#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = set_rating_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable), _tmp8_); -#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = _tmp9_; -#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp7_); -#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp5_); -#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala" command = _tmp10_; -#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 734 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 734 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = _tmp11_; -#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 734 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13_ = command; -#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 734 "/home/jens/Source/shotwell/src/MediaPage.vala" command_manager_execute (_tmp12_, G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_COMMAND, Command)); -#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 734 "/home/jens/Source/shotwell/src/MediaPage.vala" _command_manager_unref0 (_tmp12_); -#line 777 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 736 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_update_rating_sensitivities (self); -#line 770 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 729 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (command); -#line 5735 "MediaPage.c" +#line 5461 "MediaPage.c" } void media_page_on_set_rating (MediaPage* self, Rating rating) { -#line 770 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 729 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 770 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 729 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_set_rating (self, rating); -#line 5744 "MediaPage.c" +#line 5470 "MediaPage.c" } static void media_page_real_on_rate_rejected (MediaPage* self) { -#line 781 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_set_rating (self, RATING_REJECTED); -#line 5751 "MediaPage.c" +#line 5477 "MediaPage.c" } void media_page_on_rate_rejected (MediaPage* self) { -#line 780 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 739 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 780 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 739 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_rate_rejected (self); -#line 5760 "MediaPage.c" +#line 5486 "MediaPage.c" } static void media_page_real_on_rate_unrated (MediaPage* self) { -#line 785 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 744 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_set_rating (self, RATING_UNRATED); -#line 5767 "MediaPage.c" +#line 5493 "MediaPage.c" } void media_page_on_rate_unrated (MediaPage* self) { -#line 784 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 743 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 784 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 743 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_rate_unrated (self); -#line 5776 "MediaPage.c" +#line 5502 "MediaPage.c" } static void media_page_real_on_rate_one (MediaPage* self) { -#line 789 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 748 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_set_rating (self, RATING_ONE); -#line 5783 "MediaPage.c" +#line 5509 "MediaPage.c" } void media_page_on_rate_one (MediaPage* self) { -#line 788 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 788 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_rate_one (self); -#line 5792 "MediaPage.c" +#line 5518 "MediaPage.c" } static void media_page_real_on_rate_two (MediaPage* self) { -#line 793 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 752 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_set_rating (self, RATING_TWO); -#line 5799 "MediaPage.c" +#line 5525 "MediaPage.c" } void media_page_on_rate_two (MediaPage* self) { -#line 792 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 792 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_rate_two (self); -#line 5808 "MediaPage.c" +#line 5534 "MediaPage.c" } static void media_page_real_on_rate_three (MediaPage* self) { -#line 797 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 756 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_set_rating (self, RATING_THREE); -#line 5815 "MediaPage.c" +#line 5541 "MediaPage.c" } void media_page_on_rate_three (MediaPage* self) { -#line 796 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 755 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 796 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 755 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_rate_three (self); -#line 5824 "MediaPage.c" +#line 5550 "MediaPage.c" } static void media_page_real_on_rate_four (MediaPage* self) { -#line 801 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 760 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_set_rating (self, RATING_FOUR); -#line 5831 "MediaPage.c" +#line 5557 "MediaPage.c" } void media_page_on_rate_four (MediaPage* self) { -#line 800 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 759 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 800 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 759 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_rate_four (self); -#line 5840 "MediaPage.c" +#line 5566 "MediaPage.c" } static void media_page_real_on_rate_five (MediaPage* self) { -#line 805 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_on_set_rating (self, RATING_FIVE); -#line 5847 "MediaPage.c" +#line 5573 "MediaPage.c" } void media_page_on_rate_five (MediaPage* self) { -#line 804 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 763 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 804 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 763 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_rate_five (self); -#line 5856 "MediaPage.c" +#line 5582 "MediaPage.c" } @@ -5861,169 +5587,175 @@ static void media_page_on_remove_from_library (MediaPage* self) { ViewCollection* _tmp1_; GeeList* _tmp2_; GeeCollection* _tmp3_; -#line 808 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 767 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 768 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 768 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 768 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = view_collection_get_selected_sources (_tmp1_); -#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 768 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection); -#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 768 "/home/jens/Source/shotwell/src/MediaPage.vala" remove_photos_from_library (_tmp3_); -#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 768 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp3_); -#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 768 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp1_); -#line 5881 "MediaPage.c" +#line 5607 "MediaPage.c" } static void media_page_real_on_move_to_trash (MediaPage* self) { CheckerboardItem* restore_point = NULL; CheckerboardItem* _tmp0_; + GeeList* sources = NULL; ViewCollection* _tmp6_; ViewCollection* _tmp7_; - gint _tmp8_; - gboolean _tmp9_; - gboolean _tmp18_ = FALSE; - CheckerboardItem* _tmp19_; -#line 813 "/home/jens/Source/shotwell/src/MediaPage.vala" + GeeList* _tmp8_; + GeeList* _tmp9_; + gboolean _tmp10_ = FALSE; + CheckerboardItem* _tmp11_; + ViewCollection* _tmp17_; + ViewCollection* _tmp18_; + gint _tmp19_; + gboolean _tmp20_; +#line 772 "/home/jens/Source/shotwell/src/MediaPage.vala" restore_point = NULL; -#line 815 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage)->cursor; -#line 815 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp0_ != NULL) { -#line 5900 "MediaPage.c" +#line 5631 "MediaPage.c" ViewCollection* _tmp1_; ViewCollection* _tmp2_; CheckerboardItem* _tmp3_; DataView* _tmp4_; CheckerboardItem* _tmp5_; -#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = _tmp1_; -#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage)->cursor; -#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = view_collection_get_next (_tmp2_, G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_VIEW, DataView)); -#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, TYPE_CHECKERBOARD_ITEM) ? ((CheckerboardItem*) _tmp4_) : NULL; -#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp5_ == NULL) { -#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp4_); -#line 5920 "MediaPage.c" +#line 5651 "MediaPage.c" } -#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (restore_point); -#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala" restore_point = _tmp5_; -#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp2_); -#line 5928 "MediaPage.c" +#line 5659 "MediaPage.c" } -#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 778 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 778 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = _tmp6_; -#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp8_ = view_collection_get_selected_count (_tmp7_); -#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp9_ = _tmp8_ > 0; -#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 778 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp8_ = view_collection_get_selected_sources (_tmp7_); +#line 778 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp9_ = _tmp8_; +#line 778 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp7_); -#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala" - if (_tmp9_) { -#line 5942 "MediaPage.c" - CommandManager* _tmp10_; - CommandManager* _tmp11_; +#line 778 "/home/jens/Source/shotwell/src/MediaPage.vala" + sources = _tmp9_; +#line 780 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp11_ = restore_point; +#line 780 "/home/jens/Source/shotwell/src/MediaPage.vala" + if (_tmp11_ != NULL) { +#line 5677 "MediaPage.c" ViewCollection* _tmp12_; ViewCollection* _tmp13_; - GeeList* _tmp14_; - GeeCollection* _tmp15_; - TrashUntrashPhotosCommand* _tmp16_; - TrashUntrashPhotosCommand* _tmp17_; -#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp10_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp11_ = _tmp10_; -#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala" + CheckerboardItem* _tmp14_; + gboolean _tmp15_; +#line 780 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 780 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13_ = _tmp12_; -#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp14_ = view_collection_get_selected_sources (_tmp13_); -#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp15_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GEE_TYPE_COLLECTION, GeeCollection); -#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp16_ = trash_untrash_photos_command_new (_tmp15_, TRUE); -#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp17_ = _tmp16_; -#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala" - command_manager_execute (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_COMMAND, Command)); -#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala" - _g_object_unref0 (_tmp17_); -#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala" - _g_object_unref0 (_tmp15_); -#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 780 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp14_ = restore_point; +#line 780 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp15_ = data_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_DATA_OBJECT, DataObject)); +#line 780 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp10_ = _tmp15_; +#line 780 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp13_); -#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala" - _command_manager_unref0 (_tmp11_); -#line 5977 "MediaPage.c" - } -#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp19_ = restore_point; -#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala" - if (_tmp19_ != NULL) { -#line 5983 "MediaPage.c" - ViewCollection* _tmp20_; - ViewCollection* _tmp21_; - CheckerboardItem* _tmp22_; - gboolean _tmp23_; -#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp20_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp21_ = _tmp20_; -#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp22_ = restore_point; -#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp23_ = data_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_DATA_OBJECT, DataObject)); -#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp18_ = _tmp23_; -#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala" - _data_collection_unref0 (_tmp21_); -#line 6000 "MediaPage.c" +#line 5694 "MediaPage.c" } else { -#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp18_ = FALSE; -#line 6004 "MediaPage.c" +#line 780 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp10_ = FALSE; +#line 5698 "MediaPage.c" } -#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala" - if (_tmp18_) { -#line 6008 "MediaPage.c" - CheckerboardItem* _tmp24_; -#line 825 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp24_ = restore_point; -#line 825 "/home/jens/Source/shotwell/src/MediaPage.vala" - checkerboard_page_set_cursor (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp24_); -#line 6014 "MediaPage.c" +#line 780 "/home/jens/Source/shotwell/src/MediaPage.vala" + if (_tmp10_) { +#line 5702 "MediaPage.c" + CheckerboardItem* _tmp16_; +#line 781 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp16_ = restore_point; +#line 781 "/home/jens/Source/shotwell/src/MediaPage.vala" + checkerboard_page_set_cursor (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp16_); +#line 5708 "MediaPage.c" } -#line 812 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 784 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp17_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); +#line 784 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp18_ = _tmp17_; +#line 784 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp19_ = view_collection_get_selected_count (_tmp18_); +#line 784 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp20_ = _tmp19_ > 0; +#line 784 "/home/jens/Source/shotwell/src/MediaPage.vala" + _data_collection_unref0 (_tmp18_); +#line 784 "/home/jens/Source/shotwell/src/MediaPage.vala" + if (_tmp20_) { +#line 5722 "MediaPage.c" + CommandManager* _tmp21_; + CommandManager* _tmp22_; + GeeList* _tmp23_; + TrashUntrashPhotosCommand* _tmp24_; + TrashUntrashPhotosCommand* _tmp25_; +#line 785 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp21_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); +#line 785 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp22_ = _tmp21_; +#line 785 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp23_ = sources; +#line 785 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp24_ = trash_untrash_photos_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_COLLECTION, GeeCollection), TRUE); +#line 785 "/home/jens/Source/shotwell/src/MediaPage.vala" + _tmp25_ = _tmp24_; +#line 785 "/home/jens/Source/shotwell/src/MediaPage.vala" + command_manager_execute (_tmp22_, G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, TYPE_COMMAND, Command)); +#line 785 "/home/jens/Source/shotwell/src/MediaPage.vala" + _g_object_unref0 (_tmp25_); +#line 785 "/home/jens/Source/shotwell/src/MediaPage.vala" + _command_manager_unref0 (_tmp22_); +#line 5744 "MediaPage.c" + } +#line 771 "/home/jens/Source/shotwell/src/MediaPage.vala" + _g_object_unref0 (sources); +#line 771 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (restore_point); -#line 6018 "MediaPage.c" +#line 5750 "MediaPage.c" } void media_page_on_move_to_trash (MediaPage* self) { -#line 812 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 771 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 812 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 771 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_move_to_trash (self); -#line 6027 "MediaPage.c" +#line 5759 "MediaPage.c" } @@ -6049,107 +5781,107 @@ static void media_page_real_on_edit_title (MediaPage* self) { EditTitleDialog* _tmp15_; gchar* _tmp16_; const gchar* _tmp17_; -#line 830 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 792 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 830 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 792 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 830 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 792 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 830 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 792 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_ == 0; -#line 830 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 792 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp1_); -#line 830 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 792 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp3_) { -#line 831 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 793 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 6067 "MediaPage.c" +#line 5799 "MediaPage.c" } -#line 833 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 795 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 833 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 795 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = _tmp4_; -#line 833 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 795 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = view_collection_get_selected_sources (_tmp5_); -#line 833 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 795 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_LIST, GeeList); -#line 833 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 795 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp5_); -#line 833 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 795 "/home/jens/Source/shotwell/src/MediaPage.vala" media_sources = _tmp7_; -#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 797 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = media_sources; -#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 797 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = gee_list_get (_tmp8_, 0); -#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 797 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = (MediaSource*) _tmp9_; -#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 797 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = media_source_get_title (_tmp10_); -#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 797 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = _tmp11_; -#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 797 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13_ = edit_title_dialog_new (_tmp12_); -#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 797 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp14_ = _tmp13_; -#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 797 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_free0 (_tmp12_); -#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 797 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp10_); -#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 797 "/home/jens/Source/shotwell/src/MediaPage.vala" edit_title_dialog = _tmp14_; -#line 836 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 798 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp15_ = edit_title_dialog; -#line 836 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 798 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp16_ = edit_title_dialog_execute (_tmp15_); -#line 836 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 798 "/home/jens/Source/shotwell/src/MediaPage.vala" new_title = _tmp16_; -#line 837 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 799 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp17_ = new_title; -#line 837 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 799 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp17_ != NULL) { -#line 6111 "MediaPage.c" +#line 5843 "MediaPage.c" CommandManager* _tmp18_; CommandManager* _tmp19_; GeeList* _tmp20_; const gchar* _tmp21_; EditMultipleTitlesCommand* _tmp22_; EditMultipleTitlesCommand* _tmp23_; -#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 800 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp18_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 800 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp19_ = _tmp18_; -#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 800 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp20_ = media_sources; -#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 800 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp21_ = new_title; -#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 800 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp22_ = edit_multiple_titles_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GEE_TYPE_COLLECTION, GeeCollection), _tmp21_); -#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 800 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp23_ = _tmp22_; -#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 800 "/home/jens/Source/shotwell/src/MediaPage.vala" command_manager_execute (_tmp19_, G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, TYPE_COMMAND, Command)); -#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 800 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp23_); -#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 800 "/home/jens/Source/shotwell/src/MediaPage.vala" _command_manager_unref0 (_tmp19_); -#line 6136 "MediaPage.c" +#line 5868 "MediaPage.c" } -#line 829 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 791 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_free0 (new_title); -#line 829 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 791 "/home/jens/Source/shotwell/src/MediaPage.vala" _text_entry_dialog_mediator_unref0 (edit_title_dialog); -#line 829 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 791 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (media_sources); -#line 6144 "MediaPage.c" +#line 5876 "MediaPage.c" } void media_page_on_edit_title (MediaPage* self) { -#line 829 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 791 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 829 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 791 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_edit_title (self); -#line 6153 "MediaPage.c" +#line 5885 "MediaPage.c" } @@ -6175,107 +5907,107 @@ static void media_page_real_on_edit_comment (MediaPage* self) { EditCommentDialog* _tmp15_; gchar* _tmp16_; const gchar* _tmp17_; -#line 842 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 804 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 842 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 804 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 842 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 804 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 842 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 804 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_ == 0; -#line 842 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 804 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp1_); -#line 842 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 804 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp3_) { -#line 843 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 805 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 6193 "MediaPage.c" +#line 5925 "MediaPage.c" } -#line 845 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 807 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 845 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 807 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = _tmp4_; -#line 845 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 807 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = view_collection_get_selected_sources (_tmp5_); -#line 845 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 807 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_LIST, GeeList); -#line 845 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 807 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp5_); -#line 845 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 807 "/home/jens/Source/shotwell/src/MediaPage.vala" media_sources = _tmp7_; -#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = media_sources; -#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = gee_list_get (_tmp8_, 0); -#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = (MediaSource*) _tmp9_; -#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = media_source_get_comment (_tmp10_); -#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = _tmp11_; -#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13_ = edit_comment_dialog_new (_tmp12_, FALSE); -#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp14_ = _tmp13_; -#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_free0 (_tmp12_); -#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp10_); -#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala" edit_comment_dialog = _tmp14_; -#line 848 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 810 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp15_ = edit_comment_dialog; -#line 848 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 810 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp16_ = edit_comment_dialog_execute (_tmp15_); -#line 848 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 810 "/home/jens/Source/shotwell/src/MediaPage.vala" new_comment = _tmp16_; -#line 849 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 811 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp17_ = new_comment; -#line 849 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 811 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp17_ != NULL) { -#line 6237 "MediaPage.c" +#line 5969 "MediaPage.c" CommandManager* _tmp18_; CommandManager* _tmp19_; GeeList* _tmp20_; const gchar* _tmp21_; EditMultipleCommentsCommand* _tmp22_; EditMultipleCommentsCommand* _tmp23_; -#line 850 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 812 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp18_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 850 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 812 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp19_ = _tmp18_; -#line 850 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 812 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp20_ = media_sources; -#line 850 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 812 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp21_ = new_comment; -#line 850 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 812 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp22_ = edit_multiple_comments_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GEE_TYPE_COLLECTION, GeeCollection), _tmp21_); -#line 850 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 812 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp23_ = _tmp22_; -#line 850 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 812 "/home/jens/Source/shotwell/src/MediaPage.vala" command_manager_execute (_tmp19_, G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, TYPE_COMMAND, Command)); -#line 850 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 812 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp23_); -#line 850 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 812 "/home/jens/Source/shotwell/src/MediaPage.vala" _command_manager_unref0 (_tmp19_); -#line 6262 "MediaPage.c" +#line 5994 "MediaPage.c" } -#line 841 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 803 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_free0 (new_comment); -#line 841 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 803 "/home/jens/Source/shotwell/src/MediaPage.vala" _multi_text_entry_dialog_mediator_unref0 (edit_comment_dialog); -#line 841 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 803 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (media_sources); -#line 6270 "MediaPage.c" +#line 6002 "MediaPage.c" } void media_page_on_edit_comment (MediaPage* self) { -#line 841 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 803 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 841 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 803 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_edit_comment (self); -#line 6279 "MediaPage.c" +#line 6011 "MediaPage.c" } @@ -6287,40 +6019,40 @@ static void media_page_real_on_display_titles (MediaPage* self, GSimpleAction* a ConfigFacade* _tmp3_; GSimpleAction* _tmp4_; GVariant* _tmp5_; -#line 853 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 815 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (G_IS_SIMPLE_ACTION (action)); -#line 854 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = value; -#line 854 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = g_variant_get_boolean (_tmp0_); -#line 854 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala" display = _tmp1_; -#line 856 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 818 "/home/jens/Source/shotwell/src/MediaPage.vala" checkerboard_page_set_display_titles (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), display); -#line 858 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = config_facade_get_instance (); -#line 858 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_; -#line 858 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala" configuration_facade_set_display_photo_titles (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), display); -#line 858 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp3_); -#line 859 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 821 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = action; -#line 859 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 821 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = value; -#line 859 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 821 "/home/jens/Source/shotwell/src/MediaPage.vala" g_simple_action_set_state (_tmp4_, _tmp5_); -#line 6315 "MediaPage.c" +#line 6047 "MediaPage.c" } void media_page_on_display_titles (MediaPage* self, GSimpleAction* action, GVariant* value) { -#line 853 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 815 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 853 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 815 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_display_titles (self, action, value); -#line 6324 "MediaPage.c" +#line 6056 "MediaPage.c" } @@ -6332,40 +6064,40 @@ static void media_page_real_on_display_comments (MediaPage* self, GSimpleAction* ConfigFacade* _tmp3_; GSimpleAction* _tmp4_; GVariant* _tmp5_; -#line 862 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (G_IS_SIMPLE_ACTION (action)); -#line 863 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 825 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = value; -#line 863 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 825 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = g_variant_get_boolean (_tmp0_); -#line 863 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 825 "/home/jens/Source/shotwell/src/MediaPage.vala" display = _tmp1_; -#line 865 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 827 "/home/jens/Source/shotwell/src/MediaPage.vala" checkerboard_page_set_display_comments (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), display); -#line 867 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 829 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = config_facade_get_instance (); -#line 867 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 829 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_; -#line 867 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 829 "/home/jens/Source/shotwell/src/MediaPage.vala" configuration_facade_set_display_photo_comments (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), display); -#line 867 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 829 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp3_); -#line 868 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 830 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = action; -#line 868 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 830 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = value; -#line 868 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 830 "/home/jens/Source/shotwell/src/MediaPage.vala" g_simple_action_set_state (_tmp4_, _tmp5_); -#line 6360 "MediaPage.c" +#line 6092 "MediaPage.c" } void media_page_on_display_comments (MediaPage* self, GSimpleAction* action, GVariant* value) { -#line 862 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 862 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_display_comments (self, action, value); -#line 6369 "MediaPage.c" +#line 6101 "MediaPage.c" } @@ -6377,40 +6109,40 @@ static void media_page_real_on_display_ratings (MediaPage* self, GSimpleAction* ConfigFacade* _tmp3_; GSimpleAction* _tmp4_; GVariant* _tmp5_; -#line 871 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 833 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (G_IS_SIMPLE_ACTION (action)); -#line 872 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 834 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = value; -#line 872 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 834 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = g_variant_get_boolean (_tmp0_); -#line 872 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 834 "/home/jens/Source/shotwell/src/MediaPage.vala" display = _tmp1_; -#line 874 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 836 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_set_display_ratings (self, display); -#line 876 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = config_facade_get_instance (); -#line 876 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_; -#line 876 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala" configuration_facade_set_display_photo_ratings (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), display); -#line 876 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp3_); -#line 877 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 839 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = action; -#line 877 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 839 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = value; -#line 877 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 839 "/home/jens/Source/shotwell/src/MediaPage.vala" g_simple_action_set_state (_tmp4_, _tmp5_); -#line 6405 "MediaPage.c" +#line 6137 "MediaPage.c" } void media_page_on_display_ratings (MediaPage* self, GSimpleAction* action, GVariant* value) { -#line 871 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 833 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 871 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 833 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_display_ratings (self, action, value); -#line 6414 "MediaPage.c" +#line 6146 "MediaPage.c" } @@ -6422,76 +6154,76 @@ static void media_page_real_on_display_tags (MediaPage* self, GSimpleAction* act ConfigFacade* _tmp3_; GSimpleAction* _tmp4_; GVariant* _tmp5_; -#line 880 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 842 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (G_IS_SIMPLE_ACTION (action)); -#line 881 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 843 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = value; -#line 881 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 843 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = g_variant_get_boolean (_tmp0_); -#line 881 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 843 "/home/jens/Source/shotwell/src/MediaPage.vala" display = _tmp1_; -#line 883 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 845 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_set_display_tags (self, display); -#line 885 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = config_facade_get_instance (); -#line 885 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_; -#line 885 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala" configuration_facade_set_display_photo_tags (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), display); -#line 885 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp3_); -#line 886 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 848 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = action; -#line 886 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 848 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = value; -#line 886 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 848 "/home/jens/Source/shotwell/src/MediaPage.vala" g_simple_action_set_state (_tmp4_, _tmp5_); -#line 6450 "MediaPage.c" +#line 6182 "MediaPage.c" } void media_page_on_display_tags (MediaPage* self, GSimpleAction* action, GVariant* value) { -#line 880 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 842 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 880 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 842 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_display_tags (self, action, value); -#line 6459 "MediaPage.c" +#line 6191 "MediaPage.c" } static void media_page_real_get_config_photos_sort (MediaPage* self, gboolean* sort_order, gint* sort_by) { -#line 889 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 851 "/home/jens/Source/shotwell/src/MediaPage.vala" g_critical ("Type `%s' does not implement abstract method `media_page_get_config_photos_sort'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 889 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 851 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 6468 "MediaPage.c" +#line 6200 "MediaPage.c" } void media_page_get_config_photos_sort (MediaPage* self, gboolean* sort_order, gint* sort_by) { -#line 889 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 851 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 889 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 851 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->get_config_photos_sort (self, sort_order, sort_by); -#line 6477 "MediaPage.c" +#line 6209 "MediaPage.c" } static void media_page_real_set_config_photos_sort (MediaPage* self, gboolean sort_order, gint sort_by) { -#line 891 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 853 "/home/jens/Source/shotwell/src/MediaPage.vala" g_critical ("Type `%s' does not implement abstract method `media_page_set_config_photos_sort'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 891 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 853 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 6486 "MediaPage.c" +#line 6218 "MediaPage.c" } void media_page_set_config_photos_sort (MediaPage* self, gboolean sort_order, gint sort_by) { -#line 891 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 853 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 891 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 853 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->set_config_photos_sort (self, sort_order, sort_by); -#line 6495 "MediaPage.c" +#line 6227 "MediaPage.c" } @@ -6502,36 +6234,36 @@ static void media_page_real_on_sort_changed (MediaPage* self, GSimpleAction* act gint _tmp2_; gboolean sort_order = FALSE; gboolean _tmp3_; -#line 893 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 855 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (G_IS_SIMPLE_ACTION (action)); -#line 894 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 856 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = action; -#line 894 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 856 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = value; -#line 894 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 856 "/home/jens/Source/shotwell/src/MediaPage.vala" g_simple_action_set_state (_tmp0_, _tmp1_); -#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 858 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = media_page_get_menu_sort_by (self); -#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 858 "/home/jens/Source/shotwell/src/MediaPage.vala" sort_by = _tmp2_; -#line 897 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 859 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = media_page_get_menu_sort_order (self); -#line 897 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 859 "/home/jens/Source/shotwell/src/MediaPage.vala" sort_order = _tmp3_; -#line 899 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 861 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_set_view_comparator (self, sort_by, sort_order); -#line 900 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 862 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_set_config_photos_sort (self, sort_order, sort_by); -#line 6526 "MediaPage.c" +#line 6258 "MediaPage.c" } void media_page_on_sort_changed (MediaPage* self, GSimpleAction* action, GVariant* value) { -#line 893 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 855 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 893 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 855 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->on_sort_changed (self, action, value); -#line 6535 "MediaPage.c" +#line 6267 "MediaPage.c" } @@ -6541,78 +6273,78 @@ static void media_page_on_raw_developer_changed (MediaPage* self, GSimpleAction* const gchar* _tmp1_; const gchar* _tmp2_; GQuark _tmp4_ = 0U; -#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 869 "/home/jens/Source/shotwell/src/MediaPage.vala" static GQuark _tmp3_label0 = 0; -#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 869 "/home/jens/Source/shotwell/src/MediaPage.vala" static GQuark _tmp3_label1 = 0; -#line 6549 "MediaPage.c" +#line 6281 "MediaPage.c" RawDeveloper _tmp5_; GSimpleAction* _tmp6_; GVariant* _tmp7_; -#line 903 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 865 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 903 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 865 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (G_IS_SIMPLE_ACTION (action)); -#line 905 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 867 "/home/jens/Source/shotwell/src/MediaPage.vala" developer = RAW_DEVELOPER_SHOTWELL; -#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 869 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = value; -#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 869 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = g_variant_get_string (_tmp0_, NULL); -#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 869 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = _tmp1_; -#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 869 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = (NULL == _tmp2_) ? 0 : g_quark_from_string (_tmp2_); -#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 869 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp4_ == ((0 != _tmp3_label0) ? _tmp3_label0 : (_tmp3_label0 = g_quark_from_static_string ("Shotwell")))) { -#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 869 "/home/jens/Source/shotwell/src/MediaPage.vala" switch (0) { -#line 6571 "MediaPage.c" +#line 6303 "MediaPage.c" default: { -#line 909 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 871 "/home/jens/Source/shotwell/src/MediaPage.vala" developer = RAW_DEVELOPER_SHOTWELL; -#line 910 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 872 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 6578 "MediaPage.c" +#line 6310 "MediaPage.c" } } } else if (_tmp4_ == ((0 != _tmp3_label1) ? _tmp3_label1 : (_tmp3_label1 = g_quark_from_static_string ("Camera")))) { -#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 869 "/home/jens/Source/shotwell/src/MediaPage.vala" switch (0) { -#line 6584 "MediaPage.c" +#line 6316 "MediaPage.c" default: { -#line 912 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 874 "/home/jens/Source/shotwell/src/MediaPage.vala" developer = RAW_DEVELOPER_CAMERA; -#line 913 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 875 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 6591 "MediaPage.c" +#line 6323 "MediaPage.c" } } } else { -#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 869 "/home/jens/Source/shotwell/src/MediaPage.vala" switch (0) { -#line 6597 "MediaPage.c" +#line 6329 "MediaPage.c" default: { -#line 915 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 877 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 6602 "MediaPage.c" +#line 6334 "MediaPage.c" } } } -#line 918 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 880 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = developer; -#line 918 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 880 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_developer_changed (self, _tmp5_); -#line 920 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 882 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = action; -#line 920 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 882 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = value; -#line 920 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 882 "/home/jens/Source/shotwell/src/MediaPage.vala" g_simple_action_set_state (_tmp6_, _tmp7_); -#line 6616 "MediaPage.c" +#line 6348 "MediaPage.c" } @@ -6626,29 +6358,29 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd) GeeArrayList* _tmp4_; gboolean _tmp31_ = FALSE; gboolean _tmp32_; -#line 924 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 886 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 924 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 886 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 924 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 886 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = view_collection_get_selected_count (_tmp1_); -#line 924 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 886 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_ == 0; -#line 924 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 886 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp1_); -#line 924 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 886 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp3_) { -#line 925 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 887 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 6644 "MediaPage.c" +#line 6376 "MediaPage.c" } -#line 930 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 892 "/home/jens/Source/shotwell/src/MediaPage.vala" need_warn = FALSE; -#line 933 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 895 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = gee_array_list_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL); -#line 933 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 895 "/home/jens/Source/shotwell/src/MediaPage.vala" to_set = _tmp4_; -#line 6652 "MediaPage.c" +#line 6384 "MediaPage.c" { GeeList* _view_list = NULL; ViewCollection* _tmp5_; @@ -6660,31 +6392,31 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd) gint _tmp10_; gint _tmp11_; gint _view_index = 0; -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = _tmp5_; -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = view_collection_get_selected (_tmp6_); -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = _tmp7_; -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp6_); -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _view_list = _tmp8_; -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = _view_list; -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = _tmp10_; -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _view_size = _tmp11_; -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _view_index = -1; -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" while (TRUE) { -#line 6688 "MediaPage.c" +#line 6420 "MediaPage.c" gint _tmp12_; gint _tmp13_; gint _tmp14_; @@ -6698,128 +6430,128 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd) Photo* _tmp20_; gboolean _tmp21_ = FALSE; Photo* _tmp22_; -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = _view_index; -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _view_index = _tmp12_ + 1; -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13_ = _view_index; -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp14_ = _view_size; -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" if (!(_tmp13_ < _tmp14_)) { -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 6714 "MediaPage.c" +#line 6446 "MediaPage.c" } -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp15_ = _view_list; -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp16_ = _view_index; -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp17_ = gee_list_get (_tmp15_, _tmp16_); -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" view = (DataView*) _tmp17_; -#line 935 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 897 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp18_ = view; -#line 935 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 897 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp19_ = data_view_get_source (_tmp18_); -#line 935 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 897 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp20_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, TYPE_PHOTO) ? ((Photo*) _tmp19_) : NULL; -#line 935 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 897 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp20_ == NULL) { -#line 935 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 897 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp19_); -#line 6734 "MediaPage.c" +#line 6466 "MediaPage.c" } -#line 935 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 897 "/home/jens/Source/shotwell/src/MediaPage.vala" p = _tmp20_; -#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 898 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp22_ = p; -#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 898 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp22_ != NULL) { -#line 6742 "MediaPage.c" +#line 6474 "MediaPage.c" RawDeveloper _tmp23_; Photo* _tmp24_; RawDeveloper _tmp25_; gboolean _tmp26_; -#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 898 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp23_ = rd; -#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 898 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp24_ = p; -#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 898 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp25_ = photo_get_raw_developer (_tmp24_); -#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 898 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp26_ = raw_developer_is_equivalent (_tmp23_, _tmp25_); -#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 898 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp21_ = !_tmp26_; -#line 6757 "MediaPage.c" +#line 6489 "MediaPage.c" } else { -#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 898 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp21_ = FALSE; -#line 6761 "MediaPage.c" +#line 6493 "MediaPage.c" } -#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 898 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp21_) { -#line 6765 "MediaPage.c" +#line 6497 "MediaPage.c" GeeArrayList* _tmp27_; DataView* _tmp28_; Photo* _tmp29_; gboolean _tmp30_; -#line 937 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 899 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp27_ = to_set; -#line 937 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 899 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp28_ = view; -#line 937 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 899 "/home/jens/Source/shotwell/src/MediaPage.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp28_); -#line 939 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 901 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp29_ = p; -#line 939 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 901 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp30_ = photo_has_transformations (_tmp29_); -#line 939 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 901 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp30_) { -#line 940 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 902 "/home/jens/Source/shotwell/src/MediaPage.vala" need_warn = TRUE; -#line 6784 "MediaPage.c" +#line 6516 "MediaPage.c" } } -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (p); -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (view); -#line 6791 "MediaPage.c" +#line 6523 "MediaPage.c" } -#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_view_list); -#line 6795 "MediaPage.c" +#line 6527 "MediaPage.c" } -#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp32_ = need_warn; -#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala" if (!_tmp32_) { -#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp31_ = TRUE; -#line 6803 "MediaPage.c" +#line 6535 "MediaPage.c" } else { GeeArrayList* _tmp33_; gint _tmp34_; gint _tmp35_; gboolean _tmp36_; -#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp33_ = to_set; -#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp34_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection)); -#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp35_ = _tmp34_; -#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp36_ = dialogs_confirm_warn_developer_changed (_tmp35_); -#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp31_ = _tmp36_; -#line 6819 "MediaPage.c" +#line 6551 "MediaPage.c" } -#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp31_) { -#line 6823 "MediaPage.c" +#line 6555 "MediaPage.c" SetRawDeveloperCommand* command = NULL; GeeArrayList* _tmp37_; RawDeveloper _tmp38_; @@ -6827,42 +6559,42 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd) CommandManager* _tmp40_; CommandManager* _tmp41_; SetRawDeveloperCommand* _tmp42_; -#line 946 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 908 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp37_ = to_set; -#line 946 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 908 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp38_ = rd; -#line 946 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 908 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp39_ = set_raw_developer_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, GEE_TYPE_ITERABLE, GeeIterable), _tmp38_); -#line 946 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 908 "/home/jens/Source/shotwell/src/MediaPage.vala" command = _tmp39_; -#line 947 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 909 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp40_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 947 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 909 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp41_ = _tmp40_; -#line 947 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 909 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp42_ = command; -#line 947 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 909 "/home/jens/Source/shotwell/src/MediaPage.vala" command_manager_execute (_tmp41_, G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, TYPE_COMMAND, Command)); -#line 947 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 909 "/home/jens/Source/shotwell/src/MediaPage.vala" _command_manager_unref0 (_tmp41_); -#line 949 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 911 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_update_development_menu_item_sensitivity (self); -#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (command); -#line 6853 "MediaPage.c" +#line 6585 "MediaPage.c" } -#line 923 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 885 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (to_set); -#line 6857 "MediaPage.c" +#line 6589 "MediaPage.c" } void media_page_developer_changed (MediaPage* self, RawDeveloper rd) { -#line 923 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 885 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 923 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 885 "/home/jens/Source/shotwell/src/MediaPage.vala" MEDIA_PAGE_GET_CLASS (self)->developer_changed (self, rd); -#line 6866 "MediaPage.c" +#line 6598 "MediaPage.c" } @@ -6870,17 +6602,17 @@ static void media_page_real_set_display_titles (CheckerboardPage* base, gboolean MediaPage * self; gboolean _tmp0_; gboolean _tmp1_; -#line 953 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 915 "/home/jens/Source/shotwell/src/MediaPage.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage); -#line 954 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 916 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = display; -#line 954 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 916 "/home/jens/Source/shotwell/src/MediaPage.vala" CHECKERBOARD_PAGE_CLASS (media_page_parent_class)->set_display_titles (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp0_); -#line 956 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 918 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = display; -#line 956 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 918 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_active (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewTitle", _tmp1_); -#line 6884 "MediaPage.c" +#line 6616 "MediaPage.c" } @@ -6888,17 +6620,17 @@ static void media_page_real_set_display_comments (CheckerboardPage* base, gboole MediaPage * self; gboolean _tmp0_; gboolean _tmp1_; -#line 959 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 921 "/home/jens/Source/shotwell/src/MediaPage.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage); -#line 960 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 922 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = display; -#line 960 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 922 "/home/jens/Source/shotwell/src/MediaPage.vala" CHECKERBOARD_PAGE_CLASS (media_page_parent_class)->set_display_comments (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp0_); -#line 962 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 924 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = display; -#line 962 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 924 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_active (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewComment", _tmp1_); -#line 6902 "MediaPage.c" +#line 6634 "MediaPage.c" } @@ -6906,19 +6638,19 @@ static GAction* media_page_sort_by_title_action (MediaPage* self) { GAction* result = NULL; GAction* action = NULL; GAction* _tmp0_; -#line 965 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 927 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_val_if_fail (IS_MEDIA_PAGE (self), NULL); -#line 966 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 928 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SortBy"); -#line 966 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 928 "/home/jens/Source/shotwell/src/MediaPage.vala" action = _tmp0_; -#line 967 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 929 "/home/jens/Source/shotwell/src/MediaPage.vala" _vala_assert (action != NULL, "action != null"); -#line 968 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 930 "/home/jens/Source/shotwell/src/MediaPage.vala" result = action; -#line 968 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 930 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 6922 "MediaPage.c" +#line 6654 "MediaPage.c" } @@ -6926,19 +6658,19 @@ static GAction* media_page_sort_ascending_action (MediaPage* self) { GAction* result = NULL; GAction* action = NULL; GAction* _tmp0_; -#line 971 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 933 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_val_if_fail (IS_MEDIA_PAGE (self), NULL); -#line 972 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Sort"); -#line 972 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala" action = _tmp0_; -#line 973 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 935 "/home/jens/Source/shotwell/src/MediaPage.vala" _vala_assert (action != NULL, "action != null"); -#line 974 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala" result = action; -#line 974 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 6942 "MediaPage.c" +#line 6674 "MediaPage.c" } @@ -6951,38 +6683,38 @@ gint media_page_get_menu_sort_by (MediaPage* self) { const gchar* _tmp4_; gint _tmp5_; gint _tmp6_; -#line 977 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 939 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_val_if_fail (IS_MEDIA_PAGE (self), 0); -#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 941 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = media_page_sort_by_title_action (self); -#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 941 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 941 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = g_action_get_state (_tmp1_); -#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 941 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_; -#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 941 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = g_variant_get_string (_tmp3_, NULL); -#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 941 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = atoi (_tmp4_); -#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 941 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = _tmp5_; -#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 941 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_variant_unref0 (_tmp3_); -#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 941 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp1_); -#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 941 "/home/jens/Source/shotwell/src/MediaPage.vala" result = _tmp6_; -#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 941 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 6979 "MediaPage.c" +#line 6711 "MediaPage.c" } static GVariant* _variant_new30 (const gchar* value) { -#line 984 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 946 "/home/jens/Source/shotwell/src/MediaPage.vala" return g_variant_ref_sink (g_variant_new_string (value)); -#line 6986 "MediaPage.c" +#line 6718 "MediaPage.c" } @@ -6993,29 +6725,29 @@ void media_page_set_menu_sort_by (MediaPage* self, gint val) { GAction* _tmp2_; GAction* _tmp3_; GVariant* _tmp4_; -#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 944 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 983 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = val; -#line 983 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = g_strdup_printf ("%d", _tmp0_); -#line 983 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala" sort = _tmp1_; -#line 984 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 946 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = media_page_sort_by_title_action (self); -#line 984 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 946 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_; -#line 984 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 946 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = _variant_new30 (sort); -#line 984 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 946 "/home/jens/Source/shotwell/src/MediaPage.vala" g_action_change_state (_tmp3_, _tmp4_); -#line 984 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 946 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_variant_unref0 (_tmp4_); -#line 984 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 946 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp3_); -#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 944 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_free0 (sort); -#line 7019 "MediaPage.c" +#line 6751 "MediaPage.c" } @@ -7027,36 +6759,36 @@ gboolean media_page_get_menu_sort_order (MediaPage* self) { GVariant* _tmp3_; const gchar* _tmp4_; gboolean _tmp5_; -#line 987 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 949 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_val_if_fail (IS_MEDIA_PAGE (self), FALSE); -#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 951 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = media_page_sort_ascending_action (self); -#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 951 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 951 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = g_action_get_state (_tmp1_); -#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 951 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_; -#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 951 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = g_variant_get_string (_tmp3_, NULL); -#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 951 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = g_strcmp0 (_tmp4_, "ascending") == 0; -#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 951 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_variant_unref0 (_tmp3_); -#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 951 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp1_); -#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 951 "/home/jens/Source/shotwell/src/MediaPage.vala" result = _tmp5_; -#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 951 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 7053 "MediaPage.c" +#line 6785 "MediaPage.c" } static GVariant* _variant_new31 (const gchar* value) { -#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 955 "/home/jens/Source/shotwell/src/MediaPage.vala" return g_variant_ref_sink (g_variant_new_string (value)); -#line 7060 "MediaPage.c" +#line 6792 "MediaPage.c" } @@ -7066,141 +6798,141 @@ void media_page_set_menu_sort_order (MediaPage* self, gboolean ascending) { GAction* _tmp2_; GAction* _tmp3_; GVariant* _tmp4_; -#line 992 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 954 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 955 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = ascending; -#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 955 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp1_) { -#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 955 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = "ascending"; -#line 7078 "MediaPage.c" +#line 6810 "MediaPage.c" } else { -#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 955 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = "descending"; -#line 7082 "MediaPage.c" +#line 6814 "MediaPage.c" } -#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 955 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = media_page_sort_ascending_action (self); -#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 955 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_; -#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 955 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = _variant_new31 (_tmp0_); -#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 955 "/home/jens/Source/shotwell/src/MediaPage.vala" g_action_change_state (_tmp3_, _tmp4_); -#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 955 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_variant_unref0 (_tmp4_); -#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 955 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp3_); -#line 7096 "MediaPage.c" +#line 6828 "MediaPage.c" } static gint64 _thumbnail_title_ascending_comparator_comparator (void* a, void* b, gpointer self) { gint64 result; result = thumbnail_title_ascending_comparator (a, b); -#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 965 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 7105 "MediaPage.c" +#line 6837 "MediaPage.c" } static gint64 _thumbnail_title_descending_comparator_comparator (void* a, void* b, gpointer self) { gint64 result; result = thumbnail_title_descending_comparator (a, b); -#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 966 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 7114 "MediaPage.c" +#line 6846 "MediaPage.c" } static gboolean _thumbnail_title_comparator_predicate_comparator_predicate (DataObject* object, Alteration* alteration, gpointer self) { gboolean result; result = thumbnail_title_comparator_predicate (object, alteration); -#line 1005 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 967 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 7123 "MediaPage.c" +#line 6855 "MediaPage.c" } static gint64 _thumbnail_exposure_time_ascending_comparator_comparator (void* a, void* b, gpointer self) { gint64 result; result = thumbnail_exposure_time_ascending_comparator (a, b); -#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 972 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 7132 "MediaPage.c" +#line 6864 "MediaPage.c" } static gint64 _thumbnail_exposure_time_desending_comparator_comparator (void* a, void* b, gpointer self) { gint64 result; result = thumbnail_exposure_time_desending_comparator (a, b); -#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 973 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 7141 "MediaPage.c" +#line 6873 "MediaPage.c" } static gboolean _thumbnail_exposure_time_comparator_predicate_comparator_predicate (DataObject* object, Alteration* alteration, gpointer self) { gboolean result; result = thumbnail_exposure_time_comparator_predicate (object, alteration); -#line 1012 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 974 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 7150 "MediaPage.c" +#line 6882 "MediaPage.c" } static gint64 _thumbnail_rating_ascending_comparator_comparator (void* a, void* b, gpointer self) { gint64 result; result = thumbnail_rating_ascending_comparator (a, b); -#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 7159 "MediaPage.c" +#line 6891 "MediaPage.c" } static gint64 _thumbnail_rating_descending_comparator_comparator (void* a, void* b, gpointer self) { gint64 result; result = thumbnail_rating_descending_comparator (a, b); -#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 980 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 7168 "MediaPage.c" +#line 6900 "MediaPage.c" } static gboolean _thumbnail_rating_comparator_predicate_comparator_predicate (DataObject* object, Alteration* alteration, gpointer self) { gboolean result; result = thumbnail_rating_comparator_predicate (object, alteration); -#line 1019 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 981 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 7177 "MediaPage.c" +#line 6909 "MediaPage.c" } static gint64 _thumbnail_filename_ascending_comparator_comparator (void* a, void* b, gpointer self) { gint64 result; result = thumbnail_filename_ascending_comparator (a, b); -#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 986 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 7186 "MediaPage.c" +#line 6918 "MediaPage.c" } static gint64 _thumbnail_filename_descending_comparator_comparator (void* a, void* b, gpointer self) { gint64 result; result = thumbnail_filename_descending_comparator (a, b); -#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 987 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 7195 "MediaPage.c" +#line 6927 "MediaPage.c" } static gboolean _thumbnail_filename_comparator_predicate_comparator_predicate (DataObject* object, Alteration* alteration, gpointer self) { gboolean result; result = thumbnail_filename_comparator_predicate (object, alteration); -#line 1026 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 988 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 7204 "MediaPage.c" +#line 6936 "MediaPage.c" } @@ -7218,329 +6950,329 @@ static void media_page_set_view_comparator (MediaPage* self, gint sort_by, gbool void* _tmp10__target; ComparatorPredicate _tmp11_; void* _tmp11__target; -#line 996 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 958 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 962 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = sort_by; -#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 962 "/home/jens/Source/shotwell/src/MediaPage.vala" switch (_tmp0_) { -#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 962 "/home/jens/Source/shotwell/src/MediaPage.vala" case MEDIA_PAGE_SORT_BY_TITLE: -#line 7230 "MediaPage.c" +#line 6962 "MediaPage.c" { gboolean _tmp1_; -#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 964 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = ascending; -#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 964 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp1_) { -#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 965 "/home/jens/Source/shotwell/src/MediaPage.vala" (comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL); -#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 965 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator = NULL; -#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 965 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target = NULL; -#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 965 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target_destroy_notify = NULL; -#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 965 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator = _thumbnail_title_ascending_comparator_comparator; -#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 965 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target = NULL; -#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 965 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target_destroy_notify = NULL; -#line 7251 "MediaPage.c" +#line 6983 "MediaPage.c" } else { -#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 966 "/home/jens/Source/shotwell/src/MediaPage.vala" (comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL); -#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 966 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator = NULL; -#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 966 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target = NULL; -#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 966 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target_destroy_notify = NULL; -#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 966 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator = _thumbnail_title_descending_comparator_comparator; -#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 966 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target = NULL; -#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 966 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target_destroy_notify = NULL; -#line 7267 "MediaPage.c" +#line 6999 "MediaPage.c" } -#line 1005 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 967 "/home/jens/Source/shotwell/src/MediaPage.vala" (predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL); -#line 1005 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 967 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate = NULL; -#line 1005 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 967 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target = NULL; -#line 1005 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 967 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target_destroy_notify = NULL; -#line 1005 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 967 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate = _thumbnail_title_comparator_predicate_comparator_predicate; -#line 1005 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 967 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target = NULL; -#line 1005 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 967 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target_destroy_notify = NULL; -#line 1006 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 968 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 7285 "MediaPage.c" +#line 7017 "MediaPage.c" } -#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 962 "/home/jens/Source/shotwell/src/MediaPage.vala" case MEDIA_PAGE_SORT_BY_EXPOSURE_DATE: -#line 7289 "MediaPage.c" +#line 7021 "MediaPage.c" { gboolean _tmp2_; -#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 971 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = ascending; -#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 971 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp2_) { -#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 972 "/home/jens/Source/shotwell/src/MediaPage.vala" (comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL); -#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 972 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator = NULL; -#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 972 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target = NULL; -#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 972 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target_destroy_notify = NULL; -#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 972 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator = _thumbnail_exposure_time_ascending_comparator_comparator; -#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 972 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target = NULL; -#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 972 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target_destroy_notify = NULL; -#line 7310 "MediaPage.c" +#line 7042 "MediaPage.c" } else { -#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 973 "/home/jens/Source/shotwell/src/MediaPage.vala" (comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL); -#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 973 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator = NULL; -#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 973 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target = NULL; -#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 973 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target_destroy_notify = NULL; -#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 973 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator = _thumbnail_exposure_time_desending_comparator_comparator; -#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 973 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target = NULL; -#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 973 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target_destroy_notify = NULL; -#line 7326 "MediaPage.c" +#line 7058 "MediaPage.c" } -#line 1012 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 974 "/home/jens/Source/shotwell/src/MediaPage.vala" (predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL); -#line 1012 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 974 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate = NULL; -#line 1012 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 974 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target = NULL; -#line 1012 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 974 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target_destroy_notify = NULL; -#line 1012 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 974 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate = _thumbnail_exposure_time_comparator_predicate_comparator_predicate; -#line 1012 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 974 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target = NULL; -#line 1012 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 974 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target_destroy_notify = NULL; -#line 1013 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 975 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 7344 "MediaPage.c" +#line 7076 "MediaPage.c" } -#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 962 "/home/jens/Source/shotwell/src/MediaPage.vala" case MEDIA_PAGE_SORT_BY_RATING: -#line 7348 "MediaPage.c" +#line 7080 "MediaPage.c" { gboolean _tmp3_; -#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 978 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = ascending; -#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 978 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp3_) { -#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala" (comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL); -#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator = NULL; -#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target = NULL; -#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target_destroy_notify = NULL; -#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator = _thumbnail_rating_ascending_comparator_comparator; -#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target = NULL; -#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target_destroy_notify = NULL; -#line 7369 "MediaPage.c" +#line 7101 "MediaPage.c" } else { -#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 980 "/home/jens/Source/shotwell/src/MediaPage.vala" (comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL); -#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 980 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator = NULL; -#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 980 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target = NULL; -#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 980 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target_destroy_notify = NULL; -#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 980 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator = _thumbnail_rating_descending_comparator_comparator; -#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 980 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target = NULL; -#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 980 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target_destroy_notify = NULL; -#line 7385 "MediaPage.c" +#line 7117 "MediaPage.c" } -#line 1019 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 981 "/home/jens/Source/shotwell/src/MediaPage.vala" (predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL); -#line 1019 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 981 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate = NULL; -#line 1019 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 981 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target = NULL; -#line 1019 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 981 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target_destroy_notify = NULL; -#line 1019 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 981 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate = _thumbnail_rating_comparator_predicate_comparator_predicate; -#line 1019 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 981 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target = NULL; -#line 1019 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 981 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target_destroy_notify = NULL; -#line 1020 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 7403 "MediaPage.c" +#line 7135 "MediaPage.c" } -#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 962 "/home/jens/Source/shotwell/src/MediaPage.vala" case MEDIA_PAGE_SORT_BY_FILENAME: -#line 7407 "MediaPage.c" +#line 7139 "MediaPage.c" { gboolean _tmp4_; -#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 985 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = ascending; -#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 985 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp4_) { -#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 986 "/home/jens/Source/shotwell/src/MediaPage.vala" (comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL); -#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 986 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator = NULL; -#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 986 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target = NULL; -#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 986 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target_destroy_notify = NULL; -#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 986 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator = _thumbnail_filename_ascending_comparator_comparator; -#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 986 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target = NULL; -#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 986 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target_destroy_notify = NULL; -#line 7428 "MediaPage.c" +#line 7160 "MediaPage.c" } else { -#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 987 "/home/jens/Source/shotwell/src/MediaPage.vala" (comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL); -#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 987 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator = NULL; -#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 987 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target = NULL; -#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 987 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target_destroy_notify = NULL; -#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 987 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator = _thumbnail_filename_descending_comparator_comparator; -#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 987 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target = NULL; -#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 987 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target_destroy_notify = NULL; -#line 7444 "MediaPage.c" +#line 7176 "MediaPage.c" } -#line 1026 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 988 "/home/jens/Source/shotwell/src/MediaPage.vala" (predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL); -#line 1026 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 988 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate = NULL; -#line 1026 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 988 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target = NULL; -#line 1026 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 988 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target_destroy_notify = NULL; -#line 1026 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 988 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate = _thumbnail_filename_comparator_predicate_comparator_predicate; -#line 1026 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 988 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target = NULL; -#line 1026 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 988 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target_destroy_notify = NULL; -#line 1027 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 7462 "MediaPage.c" +#line 7194 "MediaPage.c" } default: { gint _tmp5_; gchar* _tmp6_; gchar* _tmp7_; -#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 992 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = media_page_get_menu_sort_by (self); -#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 992 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = g_strdup_printf ("%i", _tmp5_); -#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 992 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = _tmp6_; -#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala" - g_debug ("MediaPage.vala:1030: Unknown sort criteria: %s", _tmp7_); -#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 992 "/home/jens/Source/shotwell/src/MediaPage.vala" + g_debug ("MediaPage.vala:992: Unknown sort criteria: %s", _tmp7_); +#line 992 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_free0 (_tmp7_); -#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala" (comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL); -#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator = NULL; -#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target = NULL; -#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target_destroy_notify = NULL; -#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator = _thumbnail_title_descending_comparator_comparator; -#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target = NULL; -#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target_destroy_notify = NULL; -#line 1032 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala" (predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL); -#line 1032 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate = NULL; -#line 1032 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target = NULL; -#line 1032 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target_destroy_notify = NULL; -#line 1032 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate = _thumbnail_title_comparator_predicate_comparator_predicate; -#line 1032 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target = NULL; -#line 1032 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target_destroy_notify = NULL; -#line 1033 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 995 "/home/jens/Source/shotwell/src/MediaPage.vala" break; -#line 7509 "MediaPage.c" +#line 7241 "MediaPage.c" } } -#line 1036 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 998 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1036 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 998 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = _tmp8_; -#line 1036 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 998 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = comparator; -#line 1036 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 998 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10__target = comparator_target; -#line 1036 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 998 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = predicate; -#line 1036 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 998 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11__target = predicate_target; -#line 1036 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 998 "/home/jens/Source/shotwell/src/MediaPage.vala" data_collection_set_comparator (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_DATA_COLLECTION, DataCollection), _tmp10_, _tmp10__target, _tmp11_, _tmp11__target); -#line 1036 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 998 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp9_); -#line 996 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 958 "/home/jens/Source/shotwell/src/MediaPage.vala" (predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL); -#line 996 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 958 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate = NULL; -#line 996 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 958 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target = NULL; -#line 996 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 958 "/home/jens/Source/shotwell/src/MediaPage.vala" predicate_target_destroy_notify = NULL; -#line 996 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 958 "/home/jens/Source/shotwell/src/MediaPage.vala" (comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL); -#line 996 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 958 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator = NULL; -#line 996 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 958 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target = NULL; -#line 996 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 958 "/home/jens/Source/shotwell/src/MediaPage.vala" comparator_target_destroy_notify = NULL; -#line 7544 "MediaPage.c" +#line 7276 "MediaPage.c" } @@ -7549,106 +7281,106 @@ void media_page_sync_sort (MediaPage* self) { gint sort_by = 0; gboolean _tmp0_ = FALSE; gint _tmp1_ = 0; -#line 1039 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1001 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 1056 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_get_config_photos_sort (self, &_tmp0_, &_tmp1_); -#line 1056 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala" sort_ascending = _tmp0_; -#line 1056 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala" sort_by = _tmp1_; -#line 1058 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1020 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_set_menu_sort_by (self, sort_by); -#line 1059 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1021 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_set_menu_sort_order (self, sort_ascending); -#line 1061 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_set_view_comparator (self, sort_by, sort_ascending); -#line 7567 "MediaPage.c" +#line 7299 "MediaPage.c" } static void media_page_real_destroy (GtkWidget* base) { MediaPage * self; -#line 1064 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1026 "/home/jens/Source/shotwell/src/MediaPage.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage); -#line 1065 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1027 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_disconnect_slider (self); -#line 1067 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1029 "/home/jens/Source/shotwell/src/MediaPage.vala" GTK_WIDGET_CLASS (media_page_parent_class)->destroy (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), gtk_widget_get_type (), GtkWidget)); -#line 7579 "MediaPage.c" +#line 7311 "MediaPage.c" } void media_page_increase_zoom_level (MediaPage* self) { MediaPageZoomSliderAssembly* _tmp0_; -#line 1070 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1032 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 1071 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1033 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = self->priv->connected_slider; -#line 1071 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1033 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp0_ != NULL) { -#line 7591 "MediaPage.c" +#line 7323 "MediaPage.c" MediaPageZoomSliderAssembly* _tmp1_; -#line 1072 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1034 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = self->priv->connected_slider; -#line 1072 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1034 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_zoom_slider_assembly_increase_step (_tmp1_); -#line 7597 "MediaPage.c" +#line 7329 "MediaPage.c" } else { gint new_scale = 0; gint _tmp2_; gint _tmp3_; gint _tmp4_; -#line 1074 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1036 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = media_page_get_thumb_size (self); -#line 1074 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1036 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = media_page_compute_zoom_scale_increase (_tmp2_); -#line 1074 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1036 "/home/jens/Source/shotwell/src/MediaPage.vala" new_scale = _tmp3_; -#line 1075 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1037 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_save_persistent_thumbnail_scale (self); -#line 1076 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1038 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = new_scale; -#line 1076 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1038 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_set_thumb_size (self, _tmp4_); -#line 7615 "MediaPage.c" +#line 7347 "MediaPage.c" } } void media_page_decrease_zoom_level (MediaPage* self) { MediaPageZoomSliderAssembly* _tmp0_; -#line 1080 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1042 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 1081 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1043 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = self->priv->connected_slider; -#line 1081 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1043 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp0_ != NULL) { -#line 7628 "MediaPage.c" +#line 7360 "MediaPage.c" MediaPageZoomSliderAssembly* _tmp1_; -#line 1082 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1044 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = self->priv->connected_slider; -#line 1082 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1044 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_zoom_slider_assembly_decrease_step (_tmp1_); -#line 7634 "MediaPage.c" +#line 7366 "MediaPage.c" } else { gint new_scale = 0; gint _tmp2_; gint _tmp3_; gint _tmp4_; -#line 1084 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1046 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = media_page_get_thumb_size (self); -#line 1084 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1046 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = media_page_compute_zoom_scale_decrease (_tmp2_); -#line 1084 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1046 "/home/jens/Source/shotwell/src/MediaPage.vala" new_scale = _tmp3_; -#line 1085 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1047 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_save_persistent_thumbnail_scale (self); -#line 1086 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1048 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = new_scale; -#line 1086 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1048 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_set_thumb_size (self, _tmp4_); -#line 7652 "MediaPage.c" +#line 7384 "MediaPage.c" } } @@ -7658,28 +7390,28 @@ static DataView* media_page_real_create_thumbnail (MediaPage* self, DataSource* DataSource* _tmp0_; gint _tmp1_; Thumbnail* _tmp2_; -#line 1090 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1052 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_val_if_fail (IS_DATA_SOURCE (source), NULL); -#line 1091 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1053 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = source; -#line 1091 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1053 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = media_page_get_thumb_size (self); -#line 1091 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1053 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = thumbnail_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_MEDIA_SOURCE, MediaSource), _tmp1_); -#line 1091 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1053 "/home/jens/Source/shotwell/src/MediaPage.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_VIEW, DataView); -#line 1091 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1053 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 7674 "MediaPage.c" +#line 7406 "MediaPage.c" } DataView* media_page_create_thumbnail (MediaPage* self, DataSource* source) { -#line 1090 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1052 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_val_if_fail (IS_MEDIA_PAGE (self), NULL); -#line 1090 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1052 "/home/jens/Source/shotwell/src/MediaPage.vala" return MEDIA_PAGE_GET_CLASS (self)->create_thumbnail (self, source); -#line 7683 "MediaPage.c" +#line 7415 "MediaPage.c" } @@ -7710,104 +7442,104 @@ void media_page_set_thumb_size (MediaPage* self, gint new_scale) { gint _tmp24_; gint _tmp25_; gint _tmp26_; -#line 1096 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1058 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_if_fail (IS_MEDIA_PAGE (self)); -#line 1097 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1059 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = media_page_get_thumb_size (self); -#line 1097 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1059 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = new_scale; -#line 1097 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1059 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp1_ == _tmp2_) { -#line 1097 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1059 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = TRUE; -#line 7724 "MediaPage.c" +#line 7456 "MediaPage.c" } else { gboolean _tmp3_; -#line 1097 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1059 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = page_is_in_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1097 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1059 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = !_tmp3_; -#line 7731 "MediaPage.c" +#line 7463 "MediaPage.c" } -#line 1097 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1059 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp0_) { -#line 1098 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1060 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 7737 "MediaPage.c" +#line 7469 "MediaPage.c" } -#line 1100 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1062 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = new_scale; -#line 1100 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1062 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = thumbnail_get_MIN_SCALE (); -#line 1100 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1062 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = _tmp5_; -#line 1100 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1062 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = thumbnail_get_MAX_SCALE (); -#line 1100 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1062 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = _tmp7_; -#line 1100 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1062 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = CLAMP (_tmp4_, _tmp6_, _tmp8_); -#line 1100 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1062 "/home/jens/Source/shotwell/src/MediaPage.vala" new_scale = _tmp9_; -#line 1101 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1063 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = checkerboard_page_get_checkerboard_layout (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage)); -#line 1101 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1063 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = _tmp10_; -#line 1101 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1063 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = new_scale; -#line 1101 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1063 "/home/jens/Source/shotwell/src/MediaPage.vala" checkerboard_layout_set_scale (_tmp11_, _tmp12_); -#line 1101 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1063 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp11_); -#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1066 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp13_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1066 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp14_ = _tmp13_; -#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1066 "/home/jens/Source/shotwell/src/MediaPage.vala" data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_DATA_COLLECTION, DataCollection)); -#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1066 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp14_); -#line 1105 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1067 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp15_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1105 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1067 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp16_ = _tmp15_; -#line 1105 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1067 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp17_ = new_scale; -#line 1105 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1067 "/home/jens/Source/shotwell/src/MediaPage.vala" g_value_init (&_tmp18_, G_TYPE_INT); -#line 1105 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1067 "/home/jens/Source/shotwell/src/MediaPage.vala" g_value_set_int (&_tmp18_, _tmp17_); -#line 1105 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1067 "/home/jens/Source/shotwell/src/MediaPage.vala" data_collection_set_property (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_DATA_COLLECTION, DataCollection), THUMBNAIL_PROP_SIZE, &_tmp18_, NULL, NULL); -#line 1105 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1067 "/home/jens/Source/shotwell/src/MediaPage.vala" G_IS_VALUE (&_tmp18_) ? (g_value_unset (&_tmp18_), NULL) : NULL; -#line 1105 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1067 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp16_); -#line 1106 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1068 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp19_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1106 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1068 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp20_ = _tmp19_; -#line 1106 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1068 "/home/jens/Source/shotwell/src/MediaPage.vala" data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_DATA_COLLECTION, DataCollection)); -#line 1106 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1068 "/home/jens/Source/shotwell/src/MediaPage.vala" _data_collection_unref0 (_tmp20_); -#line 1108 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1070 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp21_ = new_scale; -#line 1108 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1070 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp22_ = thumbnail_get_MAX_SCALE (); -#line 1108 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1070 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp23_ = _tmp22_; -#line 1108 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1070 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "IncreaseSize", _tmp21_ < _tmp23_); -#line 1109 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1071 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp24_ = new_scale; -#line 1109 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1071 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp25_ = thumbnail_get_MIN_SCALE (); -#line 1109 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1071 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp26_ = _tmp25_; -#line 1109 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1071 "/home/jens/Source/shotwell/src/MediaPage.vala" page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseSize", _tmp24_ > _tmp26_); -#line 7811 "MediaPage.c" +#line 7543 "MediaPage.c" } @@ -7821,59 +7553,59 @@ gint media_page_get_thumb_size (MediaPage* self) { CheckerboardLayout* _tmp10_; gint _tmp11_; gint _tmp12_; -#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1074 "/home/jens/Source/shotwell/src/MediaPage.vala" g_return_val_if_fail (IS_MEDIA_PAGE (self), 0); -#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1075 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp0_ = checkerboard_page_get_checkerboard_layout (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage)); -#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1075 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp1_ = _tmp0_; -#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1075 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = checkerboard_layout_get_scale (_tmp1_); -#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1075 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp3_ = _tmp2_ <= 0; -#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1075 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp1_); -#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1075 "/home/jens/Source/shotwell/src/MediaPage.vala" if (_tmp3_) { -#line 7839 "MediaPage.c" +#line 7571 "MediaPage.c" CheckerboardLayout* _tmp4_; CheckerboardLayout* _tmp5_; ConfigFacade* _tmp6_; ConfigFacade* _tmp7_; gint _tmp8_; -#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1076 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = checkerboard_page_get_checkerboard_layout (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage)); -#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1076 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp5_ = _tmp4_; -#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1076 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp6_ = config_facade_get_instance (); -#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1076 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp7_ = _tmp6_; -#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1076 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp8_ = configuration_facade_get_photo_thumbnail_scale (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1076 "/home/jens/Source/shotwell/src/MediaPage.vala" checkerboard_layout_set_scale (_tmp5_, _tmp8_); -#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1076 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp7_); -#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1076 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp5_); -#line 7861 "MediaPage.c" +#line 7593 "MediaPage.c" } -#line 1116 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1078 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp9_ = checkerboard_page_get_checkerboard_layout (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage)); -#line 1116 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1078 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp10_ = _tmp9_; -#line 1116 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1078 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp11_ = checkerboard_layout_get_scale (_tmp10_); -#line 1116 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1078 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp12_ = _tmp11_; -#line 1116 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1078 "/home/jens/Source/shotwell/src/MediaPage.vala" _g_object_unref0 (_tmp10_); -#line 1116 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1078 "/home/jens/Source/shotwell/src/MediaPage.vala" result = _tmp12_; -#line 1116 "/home/jens/Source/shotwell/src/MediaPage.vala" +#line 1078 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 7877 "MediaPage.c" +#line 7609 "MediaPage.c" } @@ -7882,14 +7614,14 @@ static gboolean _media_page_zoom_slider_assembly_on_zoom_out_pressed_gtk_widget_ result = media_page_zoom_slider_assembly_on_zoom_out_pressed ((MediaPageZoomSliderAssembly*) self, event); #line 144 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 7886 "MediaPage.c" +#line 7618 "MediaPage.c" } static void _media_page_zoom_slider_assembly_on_slider_changed_gtk_range_value_changed (GtkRange* _sender, gpointer self) { #line 155 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_zoom_slider_assembly_on_slider_changed ((MediaPageZoomSliderAssembly*) self); -#line 7893 "MediaPage.c" +#line 7625 "MediaPage.c" } @@ -7898,7 +7630,7 @@ static gboolean _media_page_zoom_slider_assembly_on_zoom_in_pressed_gtk_widget_b result = media_page_zoom_slider_assembly_on_zoom_in_pressed ((MediaPageZoomSliderAssembly*) self, event); #line 168 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 7902 "MediaPage.c" +#line 7634 "MediaPage.c" } @@ -8077,14 +7809,14 @@ MediaPageZoomSliderAssembly* media_page_zoom_slider_assembly_construct (GType ob _g_object_unref0 (zoom_group); #line 135 "/home/jens/Source/shotwell/src/MediaPage.vala" return self; -#line 8081 "MediaPage.c" +#line 7813 "MediaPage.c" } MediaPageZoomSliderAssembly* media_page_zoom_slider_assembly_new (void) { #line 135 "/home/jens/Source/shotwell/src/MediaPage.vala" return media_page_zoom_slider_assembly_construct (MEDIA_PAGE_TYPE_ZOOM_SLIDER_ASSEMBLY); -#line 8088 "MediaPage.c" +#line 7820 "MediaPage.c" } @@ -8125,7 +7857,7 @@ gdouble media_page_zoom_slider_assembly_scale_to_slider (gint value) { result = (gdouble) ((_tmp6_ - _tmp8_) / MEDIA_PAGE_SLIDER_STEPPING); #line 179 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 8129 "MediaPage.c" +#line 7861 "MediaPage.c" } @@ -8163,7 +7895,7 @@ gint media_page_zoom_slider_assembly_slider_to_scale (gdouble value) { result = res; #line 188 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 8167 "MediaPage.c" +#line 7899 "MediaPage.c" } @@ -8179,7 +7911,7 @@ static gboolean media_page_zoom_slider_assembly_on_zoom_out_pressed (MediaPageZo result = TRUE; #line 193 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 8183 "MediaPage.c" +#line 7915 "MediaPage.c" } @@ -8195,7 +7927,7 @@ static gboolean media_page_zoom_slider_assembly_on_zoom_in_pressed (MediaPageZoo result = TRUE; #line 198 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 8199 "MediaPage.c" +#line 7931 "MediaPage.c" } @@ -8204,7 +7936,7 @@ static void media_page_zoom_slider_assembly_on_slider_changed (MediaPageZoomSlid g_return_if_fail (MEDIA_PAGE_IS_ZOOM_SLIDER_ASSEMBLY (self)); #line 202 "/home/jens/Source/shotwell/src/MediaPage.vala" g_signal_emit (self, media_page_zoom_slider_assembly_signals[MEDIA_PAGE_ZOOM_SLIDER_ASSEMBLY_ZOOM_CHANGED_SIGNAL], 0); -#line 8208 "MediaPage.c" +#line 7940 "MediaPage.c" } @@ -8225,7 +7957,7 @@ void media_page_zoom_slider_assembly_snap_to_min (MediaPageZoomSliderAssembly* s _tmp3_ = media_page_zoom_slider_assembly_scale_to_slider (_tmp2_); #line 206 "/home/jens/Source/shotwell/src/MediaPage.vala" gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_range_get_type (), GtkRange), _tmp3_); -#line 8229 "MediaPage.c" +#line 7961 "MediaPage.c" } @@ -8246,7 +7978,7 @@ void media_page_zoom_slider_assembly_snap_to_max (MediaPageZoomSliderAssembly* s _tmp3_ = media_page_zoom_slider_assembly_scale_to_slider (_tmp2_); #line 210 "/home/jens/Source/shotwell/src/MediaPage.vala" gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_range_get_type (), GtkRange), _tmp3_); -#line 8250 "MediaPage.c" +#line 7982 "MediaPage.c" } @@ -8275,7 +8007,7 @@ void media_page_zoom_slider_assembly_increase_step (MediaPageZoomSliderAssembly* if (_tmp2_ == _tmp3_) { #line 217 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 8279 "MediaPage.c" +#line 8011 "MediaPage.c" } #line 219 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = self->priv->slider; @@ -8285,7 +8017,7 @@ void media_page_zoom_slider_assembly_increase_step (MediaPageZoomSliderAssembly* _tmp6_ = media_page_zoom_slider_assembly_scale_to_slider (_tmp5_); #line 219 "/home/jens/Source/shotwell/src/MediaPage.vala" gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_range_get_type (), GtkRange), _tmp6_); -#line 8289 "MediaPage.c" +#line 8021 "MediaPage.c" } @@ -8314,7 +8046,7 @@ void media_page_zoom_slider_assembly_decrease_step (MediaPageZoomSliderAssembly* if (_tmp2_ == _tmp3_) { #line 226 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 8318 "MediaPage.c" +#line 8050 "MediaPage.c" } #line 228 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp4_ = self->priv->slider; @@ -8324,7 +8056,7 @@ void media_page_zoom_slider_assembly_decrease_step (MediaPageZoomSliderAssembly* _tmp6_ = media_page_zoom_slider_assembly_scale_to_slider (_tmp5_); #line 228 "/home/jens/Source/shotwell/src/MediaPage.vala" gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_range_get_type (), GtkRange), _tmp6_); -#line 8328 "MediaPage.c" +#line 8060 "MediaPage.c" } @@ -8345,7 +8077,7 @@ gint media_page_zoom_slider_assembly_get_scale (MediaPageZoomSliderAssembly* sel result = _tmp2_; #line 232 "/home/jens/Source/shotwell/src/MediaPage.vala" return result; -#line 8349 "MediaPage.c" +#line 8081 "MediaPage.c" } @@ -8365,7 +8097,7 @@ void media_page_zoom_slider_assembly_set_scale (MediaPageZoomSliderAssembly* sel if (_tmp0_ == _tmp1_) { #line 237 "/home/jens/Source/shotwell/src/MediaPage.vala" return; -#line 8369 "MediaPage.c" +#line 8101 "MediaPage.c" } #line 239 "/home/jens/Source/shotwell/src/MediaPage.vala" _tmp2_ = self->priv->slider; @@ -8375,7 +8107,7 @@ void media_page_zoom_slider_assembly_set_scale (MediaPageZoomSliderAssembly* sel _tmp4_ = media_page_zoom_slider_assembly_scale_to_slider (_tmp3_); #line 239 "/home/jens/Source/shotwell/src/MediaPage.vala" gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_range_get_type (), GtkRange), _tmp4_); -#line 8379 "MediaPage.c" +#line 8111 "MediaPage.c" } @@ -8388,14 +8120,14 @@ static void media_page_zoom_slider_assembly_class_init (MediaPageZoomSliderAssem G_OBJECT_CLASS (klass)->finalize = media_page_zoom_slider_assembly_finalize; #line 129 "/home/jens/Source/shotwell/src/MediaPage.vala" media_page_zoom_slider_assembly_signals[MEDIA_PAGE_ZOOM_SLIDER_ASSEMBLY_ZOOM_CHANGED_SIGNAL] = g_signal_new ("zoom-changed", MEDIA_PAGE_TYPE_ZOOM_SLIDER_ASSEMBLY, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 8392 "MediaPage.c" +#line 8124 "MediaPage.c" } static void media_page_zoom_slider_assembly_instance_init (MediaPageZoomSliderAssembly * self) { #line 129 "/home/jens/Source/shotwell/src/MediaPage.vala" self->priv = MEDIA_PAGE_ZOOM_SLIDER_ASSEMBLY_GET_PRIVATE (self); -#line 8399 "MediaPage.c" +#line 8131 "MediaPage.c" } @@ -8409,7 +8141,7 @@ static void media_page_zoom_slider_assembly_finalize (GObject * obj) { _g_object_unref0 (self->priv->adjustment); #line 129 "/home/jens/Source/shotwell/src/MediaPage.vala" G_OBJECT_CLASS (media_page_zoom_slider_assembly_parent_class)->finalize (obj); -#line 8413 "MediaPage.c" +#line 8145 "MediaPage.c" } @@ -8510,7 +8242,7 @@ static void media_page_class_init (MediaPageClass * klass) { ((MediaPageClass *) klass)->create_thumbnail = (DataView* (*) (MediaPage *, DataSource*)) media_page_real_create_thumbnail; #line 112 "/home/jens/Source/shotwell/src/MediaPage.vala" G_OBJECT_CLASS (klass)->finalize = media_page_finalize; -#line 8514 "MediaPage.c" +#line 8246 "MediaPage.c" } @@ -8521,7 +8253,7 @@ static void media_page_instance_init (MediaPage * self) { self->priv->connected_slider = NULL; #line 244 "/home/jens/Source/shotwell/src/MediaPage.vala" self->priv->dnd_handler = NULL; -#line 8525 "MediaPage.c" +#line 8257 "MediaPage.c" } @@ -8537,7 +8269,7 @@ static void media_page_finalize (GObject * obj) { _core_tracker_unref0 (self->priv->tracker); #line 112 "/home/jens/Source/shotwell/src/MediaPage.vala" G_OBJECT_CLASS (media_page_parent_class)->finalize (obj); -#line 8541 "MediaPage.c" +#line 8273 "MediaPage.c" } |