summaryrefslogtreecommitdiff
path: root/src/MediaPage.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-01-21 19:17:10 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-01-21 19:17:10 +0100
commita7ff7c49085c320c1e0a2ffb66cc6d283c5acb8e (patch)
treed9f86def771c7845f241ec81219b243c70523c60 /src/MediaPage.c
parent66f6a7bd3f7e00022191f16cb0e82a39e7333a76 (diff)
New upstream version 0.25.3upstream/0.25.3
Diffstat (limited to 'src/MediaPage.c')
-rw-r--r--src/MediaPage.c4317
1 files changed, 2175 insertions, 2142 deletions
diff --git a/src/MediaPage.c b/src/MediaPage.c
index 3cd4e03..90f8ac6 100644
--- a/src/MediaPage.c
+++ b/src/MediaPage.c
@@ -1,4 +1,4 @@
-/* MediaPage.c generated by valac 0.32.1, the Vala compiler
+/* MediaPage.c generated by valac 0.34.4, the Vala compiler
* generated from MediaPage.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -18,8 +18,8 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <pango/pango.h>
#include <gtk/gtk.h>
-#include <gee.h>
#include <gio/gio.h>
+#include <gee.h>
#include <glib/gi18n-lib.h>
@@ -301,16 +301,6 @@ typedef struct _ConfigurationFacadeClass ConfigurationFacadeClass;
typedef struct _ConfigFacade ConfigFacade;
typedef struct _ConfigFacadeClass ConfigFacadeClass;
-
-#define TYPE_APP_WINDOW (app_window_get_type ())
-#define APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_APP_WINDOW, AppWindow))
-#define APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_APP_WINDOW, AppWindowClass))
-#define IS_APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_APP_WINDOW))
-#define IS_APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_APP_WINDOW))
-#define APP_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_APP_WINDOW, AppWindowClass))
-
-typedef struct _AppWindow AppWindow;
-typedef struct _AppWindowClass AppWindowClass;
#define _g_variant_unref0(var) ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))
#define TYPE_MEDIA_SOURCE (media_source_get_type ())
@@ -777,7 +767,8 @@ struct _PageClass {
void (*ready) (Page* self);
void (*switching_to_fullscreen) (Page* self, FullscreenWindow* fsw);
void (*returning_from_fullscreen) (Page* self, FullscreenWindow* fsw);
- void (*add_actions) (Page* self);
+ void (*add_actions) (Page* self, GActionMap* map);
+ void (*remove_actions) (Page* self, GActionMap* map);
void (*init_collect_ui_filenames) (Page* self, GeeList* ui_filenames);
InjectionGroup** (*init_collect_injection_groups) (Page* self, int* result_length1);
void (*init_actions) (Page* self, gint selected_count, gint count);
@@ -1133,8 +1124,6 @@ void page_on_action_radio (Page* self, GAction* action, GVariant* value);
static void _page_on_action_radio_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
void media_page_on_sort_changed (MediaPage* self, GSimpleAction* action, GVariant* value);
static void _media_page_on_sort_changed_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self);
-static void media_page_on_raw_developer_changed (MediaPage* self, GSimpleAction* action, GVariant* value);
-static void _media_page_on_raw_developer_changed_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self);
MediaPage* media_page_construct (GType object_type, const gchar* page_name);
CheckerboardPage* checkerboard_page_construct (GType object_type, const gchar* page_name);
GType view_collection_get_type (void) G_GNUC_CONST;
@@ -1168,11 +1157,9 @@ gint thumbnail_get_MAX_SCALE (void);
static gint media_page_compute_zoom_scale_decrease (gint current_scale);
static void media_page_real_init_collect_ui_filenames (Page* base, GeeList* ui_filenames);
void page_init_collect_ui_filenames (Page* self, GeeList* ui_filenames);
-static void media_page_real_add_actions (Page* base);
-void page_add_actions (Page* self);
+static void media_page_real_add_actions (Page* base, GActionMap* map);
+void page_add_actions (Page* self, GActionMap* map);
void media_page_get_config_photos_sort (MediaPage* self, gboolean* sort_order, gint* sort_by);
-GType app_window_get_type (void) G_GNUC_CONST;
-AppWindow* app_window_get_instance (void);
GAction* page_get_action (Page* self, const gchar* name);
static GVariant* _variant_new23 (gboolean value);
static GVariant* _variant_new24 (gboolean value);
@@ -1182,6 +1169,10 @@ static GVariant* _variant_new27 (gchar* value);
static GVariant* _variant_new28 (const gchar* value);
RawDeveloper configuration_facade_get_default_raw_developer (ConfigurationFacade* self);
static GVariant* _variant_new29 (const gchar* value);
+static void media_page_on_raw_developer_changed (MediaPage* self, GSimpleAction* action, GVariant* value);
+static void _media_page_on_raw_developer_changed_g_simple_action_change_state (GSimpleAction* _sender, GVariant* value, gpointer self);
+static void media_page_real_remove_actions (Page* base, GActionMap* map);
+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);
@@ -1379,9 +1370,7 @@ static void media_page_real_on_sort_changed (MediaPage* self, GSimpleAction* act
gint media_page_get_menu_sort_by (MediaPage* self);
gboolean media_page_get_menu_sort_order (MediaPage* self);
static void media_page_set_view_comparator (MediaPage* self, gint sort_by, gboolean ascending);
-void media_page_on_raw_developer_shotwell (MediaPage* self);
void media_page_developer_changed (MediaPage* self, RawDeveloper rd);
-void media_page_on_raw_developer_camera (MediaPage* self);
static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd);
gboolean raw_developer_is_equivalent (RawDeveloper self, RawDeveloper d);
RawDeveloper photo_get_raw_developer (Photo* self);
@@ -1457,7 +1446,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[31] = {{"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}, {"RawDeveloper", _page_on_action_radio_gsimple_action_activate_callback, "s", "'Shotwell'", _media_page_on_raw_developer_changed_gsimple_action_change_state_callback}};
+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}};
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;
@@ -1492,7 +1481,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 1496 "MediaPage.c"
+#line 1485 "MediaPage.c"
GdkPixbuf* _tmp7_ = NULL;
#line 20 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = resources_load_icon ("sprocket.png", 0);
@@ -1500,18 +1489,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 1504 "MediaPage.c"
+#line 1493 "MediaPage.c"
}
#line 16 "/home/jens/Source/shotwell/src/MediaPage.vala"
return self;
-#line 1508 "MediaPage.c"
+#line 1497 "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 1515 "MediaPage.c"
+#line 1504 "MediaPage.c"
}
@@ -1545,7 +1534,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 1549 "MediaPage.c"
+#line 1538 "MediaPage.c"
} else {
gdouble reduction_factor = 0.0;
gint _tmp3_ = 0;
@@ -1579,7 +1568,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 1583 "MediaPage.c"
+#line 1572 "MediaPage.c"
} else {
gint _tmp10_ = 0;
GdkPixbuf* _tmp11_ = NULL;
@@ -1595,11 +1584,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 1599 "MediaPage.c"
+#line 1588 "MediaPage.c"
}
#line 37 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp8_) {
-#line 1603 "MediaPage.c"
+#line 1592 "MediaPage.c"
GdkPixbuf* _tmp14_ = NULL;
gint _tmp15_ = 0;
gint _tmp16_ = 0;
@@ -1616,7 +1605,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 1620 "MediaPage.c"
+#line 1609 "MediaPage.c"
}
#line 42 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = media_source_item_current_sprocket_pixbuf;
@@ -1626,7 +1615,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 1630 "MediaPage.c"
+#line 1619 "MediaPage.c"
}
#line 45 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = ctx;
@@ -1640,7 +1629,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 1644 "MediaPage.c"
+#line 1633 "MediaPage.c"
cairo_t* _tmp25_ = NULL;
GdkPoint _tmp26_ = {0};
Dimensions _tmp27_ = {0};
@@ -1652,7 +1641,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 1656 "MediaPage.c"
+#line 1645 "MediaPage.c"
}
}
@@ -1699,7 +1688,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 1703 "MediaPage.c"
+#line 1692 "MediaPage.c"
}
@@ -1769,19 +1758,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 1773 "MediaPage.c"
+#line 1762 "MediaPage.c"
{
gint i = 0;
#line 66 "/home/jens/Source/shotwell/src/MediaPage.vala"
i = 0;
-#line 1778 "MediaPage.c"
+#line 1767 "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 1785 "MediaPage.c"
+#line 1774 "MediaPage.c"
gint _tmp15_ = 0;
gint _tmp16_ = 0;
cairo_t* _tmp17_ = NULL;
@@ -1798,13 +1787,13 @@ void media_source_item_paint_sprockets (MediaSourceItem* self, cairo_t* ctx, Gdk
gint _tmp28_ = 0;
#line 66 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (!_tmp13_) {
-#line 1802 "MediaPage.c"
+#line 1791 "MediaPage.c"
gint _tmp14_ = 0;
#line 66 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = i;
#line 66 "/home/jens/Source/shotwell/src/MediaPage.vala"
i = _tmp14_ + 1;
-#line 1808 "MediaPage.c"
+#line 1797 "MediaPage.c"
}
#line 66 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = FALSE;
@@ -1816,7 +1805,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 1820 "MediaPage.c"
+#line 1809 "MediaPage.c"
}
#line 67 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = ctx;
@@ -1850,7 +1839,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 1854 "MediaPage.c"
+#line 1843 "MediaPage.c"
}
}
}
@@ -1870,7 +1859,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 1874 "MediaPage.c"
+#line 1863 "MediaPage.c"
cairo_t* _tmp35_ = NULL;
cairo_t* _tmp36_ = NULL;
GdkPixbuf* _tmp37_ = NULL;
@@ -1983,7 +1972,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 1987 "MediaPage.c"
+#line 1976 "MediaPage.c"
}
}
@@ -1996,7 +1985,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 2000 "MediaPage.c"
+#line 1989 "MediaPage.c"
}
@@ -2020,7 +2009,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 2024 "MediaPage.c"
+#line 2013 "MediaPage.c"
}
@@ -2035,7 +2024,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 2039 "MediaPage.c"
+#line 2028 "MediaPage.c"
gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
#line 106 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -2046,7 +2035,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 2050 "MediaPage.c"
+#line 2039 "MediaPage.c"
}
#line 108 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = self->priv->natural_collation_key;
@@ -2056,7 +2045,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 2060 "MediaPage.c"
+#line 2049 "MediaPage.c"
}
@@ -2069,7 +2058,7 @@ static void media_source_item_class_init (MediaSourceItemClass * klass) {
((CheckerboardItemClass *) klass)->paint_image = 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 2073 "MediaPage.c"
+#line 2062 "MediaPage.c"
}
@@ -2080,7 +2069,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 2084 "MediaPage.c"
+#line 2073 "MediaPage.c"
}
@@ -2092,7 +2081,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 2096 "MediaPage.c"
+#line 2085 "MediaPage.c"
}
@@ -2123,217 +2112,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 2127 "MediaPage.c"
+#line 2116 "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 2134 "MediaPage.c"
+#line 2123 "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 2141 "MediaPage.c"
+#line 2130 "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 2148 "MediaPage.c"
+#line 2137 "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 2155 "MediaPage.c"
+#line 2144 "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 2162 "MediaPage.c"
+#line 2151 "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 2169 "MediaPage.c"
+#line 2158 "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 2176 "MediaPage.c"
+#line 2165 "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 2183 "MediaPage.c"
+#line 2172 "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 2190 "MediaPage.c"
+#line 2179 "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 2197 "MediaPage.c"
+#line 2186 "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 2204 "MediaPage.c"
+#line 2193 "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 2211 "MediaPage.c"
+#line 2200 "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 2218 "MediaPage.c"
+#line 2207 "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 2225 "MediaPage.c"
+#line 2214 "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 2232 "MediaPage.c"
+#line 2221 "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 2239 "MediaPage.c"
+#line 2228 "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 2246 "MediaPage.c"
+#line 2235 "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 2253 "MediaPage.c"
+#line 2242 "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 2260 "MediaPage.c"
+#line 2249 "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 2267 "MediaPage.c"
+#line 2256 "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 2274 "MediaPage.c"
+#line 2263 "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 2281 "MediaPage.c"
+#line 2270 "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 2288 "MediaPage.c"
+#line 2277 "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 2295 "MediaPage.c"
+#line 2284 "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 2302 "MediaPage.c"
+#line 2291 "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 2309 "MediaPage.c"
+#line 2298 "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 2316 "MediaPage.c"
+#line 2305 "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 2323 "MediaPage.c"
-}
-
-
-static void _media_page_on_raw_developer_changed_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
-#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
- media_page_on_raw_developer_changed ((MediaPage*) self, action, value);
-#line 2330 "MediaPage.c"
+#line 2312 "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 2337 "MediaPage.c"
+#line 2319 "MediaPage.c"
}
@@ -2532,7 +2514,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 2536 "MediaPage.c"
+#line 2518 "MediaPage.c"
}
@@ -2563,7 +2545,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 2567 "MediaPage.c"
+#line 2549 "MediaPage.c"
}
@@ -2594,7 +2576,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 2598 "MediaPage.c"
+#line 2580 "MediaPage.c"
}
@@ -2614,67 +2596,74 @@ 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 2618 "MediaPage.c"
+#line 2600 "MediaPage.c"
}
static GVariant* _variant_new23 (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 2625 "MediaPage.c"
+#line 2607 "MediaPage.c"
}
static GVariant* _variant_new24 (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 2632 "MediaPage.c"
+#line 2614 "MediaPage.c"
}
static GVariant* _variant_new25 (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 2639 "MediaPage.c"
+#line 2621 "MediaPage.c"
}
static GVariant* _variant_new26 (gboolean 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_boolean (value));
-#line 2646 "MediaPage.c"
+#line 2628 "MediaPage.c"
}
static GVariant* _variant_new27 (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 2653 "MediaPage.c"
+#line 2635 "MediaPage.c"
}
static GVariant* _variant_new28 (const gchar* value) {
-#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_string (value));
-#line 2660 "MediaPage.c"
+#line 2642 "MediaPage.c"
}
static GVariant* _variant_new29 (const gchar* value) {
-#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_string (value));
-#line 2667 "MediaPage.c"
+#line 2649 "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"
+ media_page_on_raw_developer_changed ((MediaPage*) self, _sender, value);
+#line 2656 "MediaPage.c"
}
-static void media_page_real_add_actions (Page* base) {
+static void media_page_real_add_actions (Page* base, GActionMap* map) {
MediaPage * self;
+ GActionMap* _tmp0_ = NULL;
gboolean sort_order = FALSE;
gint sort_by = 0;
- gboolean _tmp0_ = FALSE;
- gint _tmp1_ = 0;
- AppWindow* _tmp2_ = NULL;
- AppWindow* _tmp3_ = NULL;
+ gboolean _tmp1_ = FALSE;
+ gint _tmp2_ = 0;
+ GActionMap* _tmp3_ = NULL;
GAction* _tmp4_ = NULL;
GAction* _tmp5_ = NULL;
ConfigFacade* _tmp6_ = NULL;
@@ -2717,162 +2706,165 @@ static void media_page_real_add_actions (Page* base) {
RawDeveloper _tmp42_ = 0;
const gchar* _tmp43_ = NULL;
RawDeveloper _tmp44_ = 0;
- GAction* _tmp45_ = NULL;
- GAction* _tmp46_ = NULL;
- GVariant* _tmp47_ = NULL;
-#line 324 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ GSimpleAction* action = NULL;
+ const GVariantType* _tmp45_ = NULL;
+ GVariant* _tmp46_ = NULL;
+ GSimpleAction* _tmp47_ = NULL;
+ GSimpleAction* _tmp48_ = NULL;
+ GActionMap* _tmp49_ = NULL;
+#line 323 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
-#line 325 "/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));
-#line 329 "/home/jens/Source/shotwell/src/MediaPage.vala"
- media_page_get_config_photos_sort (self, &_tmp0_, &_tmp1_);
-#line 329 "/home/jens/Source/shotwell/src/MediaPage.vala"
- sort_order = _tmp0_;
-#line 329 "/home/jens/Source/shotwell/src/MediaPage.vala"
- sort_by = _tmp1_;
-#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp2_ = app_window_get_instance ();
-#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp3_ = _tmp2_;
-#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_action_map_add_action_entries (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, g_action_map_get_type (), GActionMap), MEDIA_PAGE_entries, G_N_ELEMENTS (MEDIA_PAGE_entries), self);
+#line 323 "/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"
+ _tmp0_ = map;
+#line 324 "/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"
+ media_page_get_config_photos_sort (self, &_tmp1_, &_tmp2_);
+#line 328 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ sort_order = _tmp1_;
+#line 328 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ sort_by = _tmp2_;
+#line 330 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ _tmp3_ = map;
+#line 330 "/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"
- _g_object_unref0 (_tmp3_);
-#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewTitle");
-#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = _tmp4_;
-#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = config_facade_get_instance ();
-#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = _tmp6_;
-#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 331 "/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 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = _variant_new23 (_tmp8_);
-#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_action_change_state (_tmp5_, _tmp9_);
-#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_variant_unref0 (_tmp9_);
-#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp7_);
-#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp5_);
-#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewComment");
-#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = _tmp10_;
-#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = config_facade_get_instance ();
-#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = _tmp12_;
-#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 332 "/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 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = _variant_new24 (_tmp14_);
-#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_action_change_state (_tmp11_, _tmp15_);
-#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_variant_unref0 (_tmp15_);
-#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp13_);
-#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp11_);
-#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewRatings");
-#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = _tmp16_;
-#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = config_facade_get_instance ();
-#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp19_ = _tmp18_;
-#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 333 "/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 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = _variant_new25 (_tmp20_);
-#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_action_change_state (_tmp17_, _tmp21_);
-#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_variant_unref0 (_tmp21_);
-#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp19_);
-#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp17_);
-#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp22_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewTags");
-#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp23_ = _tmp22_;
-#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp24_ = config_facade_get_instance ();
-#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp25_ = _tmp24_;
-#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 334 "/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 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp27_ = _variant_new26 (_tmp26_);
-#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_action_change_state (_tmp23_, _tmp27_);
-#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_variant_unref0 (_tmp27_);
-#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp25_);
-#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp23_);
-#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp28_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SortBy");
-#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp29_ = _tmp28_;
-#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp30_ = sort_by;
-#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp31_ = g_strdup_printf ("%d", _tmp30_);
-#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp32_ = _tmp31_;
-#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp33_ = _variant_new27 (_tmp32_);
-#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_action_change_state (_tmp29_, _tmp33_);
-#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_variant_unref0 (_tmp33_);
-#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_free0 (_tmp32_);
-#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp29_);
-#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp35_ = sort_order;
-#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp35_) {
-#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp34_ = "ascending";
-#line 2848 "MediaPage.c"
+#line 2840 "MediaPage.c"
} else {
-#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp34_ = "descending";
-#line 2852 "MediaPage.c"
+#line 2844 "MediaPage.c"
}
-#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp36_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Sort");
-#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp37_ = _tmp36_;
-#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp38_ = _variant_new28 (_tmp34_);
-#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_action_change_state (_tmp37_, _tmp38_);
-#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_variant_unref0 (_tmp38_);
-#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp37_);
-#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp39_ = config_facade_get_instance ();
-#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp40_ = _tmp39_;
-#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 338 "/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 339 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp42_ = _tmp41_;
-#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp40_);
-#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala"
d = _tmp42_;
#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp44_ = d;
@@ -2880,25 +2872,82 @@ static void media_page_real_add_actions (Page* base) {
if (_tmp44_ == RAW_DEVELOPER_SHOTWELL) {
#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp43_ = "Shotwell";
-#line 2884 "MediaPage.c"
+#line 2876 "MediaPage.c"
} else {
#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp43_ = "Camera";
-#line 2888 "MediaPage.c"
+#line 2880 "MediaPage.c"
+ }
+#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ _tmp45_ = G_VARIANT_TYPE_STRING;
+#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ _tmp46_ = _variant_new29 (_tmp43_);
+#line 339 "/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"
+ _tmp48_ = _tmp47_;
+#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ _g_variant_unref0 (_tmp46_);
+#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ action = _tmp48_;
+#line 341 "/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"
+ g_simple_action_set_enabled (action, TRUE);
+#line 343 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ _tmp49_ = map;
+#line 343 "/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"
+ _g_object_unref0 (action);
+#line 2904 "MediaPage.c"
+}
+
+
+static void media_page_real_remove_actions (Page* base, GActionMap* map) {
+ MediaPage * self;
+ GActionMap* _tmp0_ = NULL;
+#line 346 "/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"
+ g_return_if_fail (G_IS_ACTION_MAP (map));
+#line 347 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ _tmp0_ = map;
+#line 347 "/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 2919 "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"
+ entry_collection = MEDIA_PAGE_entries;
+#line 348 "/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"
+ for (entry_it = 0; entry_it < G_N_ELEMENTS (MEDIA_PAGE_entries); entry_it = entry_it + 1) {
+#line 2931 "MediaPage.c"
+ GActionEntry entry = {0};
+#line 348 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ entry = entry_collection[entry_it];
+#line 2935 "MediaPage.c"
+ {
+ GActionMap* _tmp1_ = NULL;
+ GActionEntry _tmp2_ = {0};
+ const gchar* _tmp3_ = NULL;
+#line 349 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ _tmp1_ = map;
+#line 349 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ _tmp2_ = entry;
+#line 349 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ _tmp3_ = _tmp2_.name;
+#line 349 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ g_action_map_remove_action (_tmp1_, _tmp3_);
+#line 2948 "MediaPage.c"
+ }
+ }
}
-#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp45_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RawDeveloper");
-#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp46_ = _tmp45_;
-#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp47_ = _variant_new29 (_tmp43_);
-#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_action_change_state (_tmp46_, _tmp47_);
-#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_variant_unref0 (_tmp47_);
-#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp46_);
-#line 2902 "MediaPage.c"
}
@@ -2922,119 +2971,119 @@ static void media_page_real_update_actions (Page* base, gint selected_count, gin
gint _tmp20_ = 0;
gint _tmp21_ = 0;
gint _tmp22_ = 0;
-#line 343 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 353 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
-#line 344 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 354 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = selected_count;
-#line 344 "/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), "Export", _tmp0_ > 0);
-#line 345 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 355 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = selected_count;
-#line 345 "/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), "EditTitle", _tmp1_ > 0);
-#line 346 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 356 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = selected_count;
-#line 346 "/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), "EditComment", _tmp2_ > 0);
-#line 347 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 357 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = media_page_get_thumb_size (self);
-#line 347 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 357 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = thumbnail_get_MAX_SCALE ();
-#line 347 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 357 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = _tmp4_;
-#line 347 "/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), "IncreaseSize", _tmp3_ < _tmp5_);
-#line 348 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 358 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = media_page_get_thumb_size (self);
-#line 348 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 358 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = thumbnail_get_MIN_SCALE ();
-#line 348 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 358 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = _tmp7_;
-#line 348 "/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), "DecreaseSize", _tmp6_ > _tmp8_);
-#line 349 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 359 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = selected_count;
-#line 349 "/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), "RemoveFromLibrary", _tmp9_ > 0);
-#line 350 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 360 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = selected_count;
-#line 350 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 360 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "MoveToTrash", _tmp10_ > 0);
-#line 352 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 362 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = desktop_integration_is_send_to_installed ();
-#line 352 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 362 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp11_) {
-#line 2968 "MediaPage.c"
+#line 3017 "MediaPage.c"
gint _tmp12_ = 0;
-#line 353 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 363 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = selected_count;
-#line 353 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 363 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SendTo", _tmp12_ > 0);
-#line 2974 "MediaPage.c"
+#line 3023 "MediaPage.c"
} else {
-#line 355 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#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 2978 "MediaPage.c"
+#line 3027 "MediaPage.c"
}
-#line 357 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 367 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = selected_count;
-#line 357 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 367 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Rate", _tmp13_ > 0);
-#line 358 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 368 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_update_rating_sensitivities (self);
-#line 360 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 370 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_update_development_menu_item_sensitivity (self);
-#line 362 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = selected_count;
-#line 362 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp15_ == 1) {
-#line 2992 "MediaPage.c"
+#line 3041 "MediaPage.c"
ViewCollection* _tmp16_ = NULL;
ViewCollection* _tmp17_ = NULL;
DataSource* _tmp18_ = NULL;
DataSource* _tmp19_ = NULL;
-#line 363 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 363 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = _tmp16_;
-#line 363 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = view_collection_get_selected_source_at (_tmp17_, 0);
-#line 363 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp19_ = _tmp18_;
-#line 363 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, TYPE_VIDEO);
-#line 363 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp19_);
-#line 363 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp17_);
-#line 3011 "MediaPage.c"
+#line 3060 "MediaPage.c"
} else {
-#line 362 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = FALSE;
-#line 3015 "MediaPage.c"
+#line 3064 "MediaPage.c"
}
-#line 362 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "PlayVideo", _tmp14_);
-#line 365 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 375 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp20_ = selected_count;
-#line 365 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 375 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_update_flag_action (self, _tmp20_);
-#line 367 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 377 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = selected_count;
-#line 367 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 377 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp22_ = count;
-#line 367 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 377 "/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 3029 "MediaPage.c"
+#line 3078 "MediaPage.c"
}
static void media_page_on_media_altered (MediaPage* self, GeeMap* altered) {
-#line 370 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 370 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (GEE_IS_MAP (altered));
-#line 3038 "MediaPage.c"
+#line 3087 "MediaPage.c"
{
GeeIterator* _object_it = NULL;
GeeMap* _tmp0_ = NULL;
@@ -3043,25 +3092,25 @@ static void media_page_on_media_altered (MediaPage* self, GeeMap* altered) {
GeeSet* _tmp3_ = NULL;
GeeIterator* _tmp4_ = NULL;
GeeIterator* _tmp5_ = NULL;
-#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = altered;
-#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = gee_map_get_keys (_tmp0_);
-#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = _tmp1_;
-#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_;
-#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = _tmp4_;
-#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp3_);
-#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
_object_it = _tmp5_;
-#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 3065 "MediaPage.c"
+#line 3114 "MediaPage.c"
GeeIterator* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
DataObject* object = NULL;
@@ -3073,65 +3122,65 @@ static void media_page_on_media_altered (MediaPage* self, GeeMap* altered) {
Alteration* _tmp13_ = NULL;
gboolean _tmp14_ = FALSE;
gboolean _tmp15_ = FALSE;
-#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = _object_it;
-#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = gee_iterator_next (_tmp6_);
-#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (!_tmp7_) {
-#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3085 "MediaPage.c"
+#line 3134 "MediaPage.c"
}
-#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = _object_it;
-#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = gee_iterator_get (_tmp8_);
-#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
object = (DataObject*) _tmp9_;
-#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = altered;
-#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = object;
-#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = gee_map_get (_tmp10_, _tmp11_);
-#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = (Alteration*) _tmp12_;
-#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = alteration_has_detail (_tmp13_, "metadata", "flagged");
-#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = _tmp14_;
-#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala"
_alteration_unref0 (_tmp13_);
-#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp15_) {
-#line 3109 "MediaPage.c"
+#line 3158 "MediaPage.c"
ViewCollection* _tmp16_ = NULL;
ViewCollection* _tmp17_ = NULL;
gint _tmp18_ = 0;
-#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 383 "/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 383 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = _tmp16_;
-#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 383 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = view_collection_get_selected_count (_tmp17_);
-#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 383 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_update_flag_action (self, _tmp18_);
-#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 383 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp17_);
-#line 375 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 385 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (object);
-#line 375 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 385 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3127 "MediaPage.c"
+#line 3176 "MediaPage.c"
}
-#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (object);
-#line 3131 "MediaPage.c"
+#line 3180 "MediaPage.c"
}
-#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_object_it);
-#line 3135 "MediaPage.c"
+#line 3184 "MediaPage.c"
}
}
@@ -3146,45 +3195,45 @@ static void media_page_update_rating_sensitivities (MediaPage* self) {
gboolean _tmp6_ = FALSE;
gboolean _tmp7_ = FALSE;
gboolean _tmp8_ = FALSE;
-#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 390 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 391 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = media_page_can_rate_selected (self, RATING_REJECTED);
-#line 381 "/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), "RateRejected", _tmp0_);
-#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 392 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = media_page_can_rate_selected (self, RATING_UNRATED);
-#line 382 "/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), "RateUnrated", _tmp1_);
-#line 383 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 393 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = media_page_can_rate_selected (self, RATING_ONE);
-#line 383 "/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), "RateOne", _tmp2_);
-#line 384 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 394 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = media_page_can_rate_selected (self, RATING_TWO);
-#line 384 "/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), "RateTwo", _tmp3_);
-#line 385 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 395 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = media_page_can_rate_selected (self, RATING_THREE);
-#line 385 "/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), "RateThree", _tmp4_);
-#line 386 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 396 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = media_page_can_rate_selected (self, RATING_FOUR);
-#line 386 "/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), "RateFour", _tmp5_);
-#line 387 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 397 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = media_page_can_rate_selected (self, RATING_FIVE);
-#line 387 "/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), "RateFive", _tmp6_);
-#line 388 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 398 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = media_page_can_increase_selected_rating (self);
-#line 388 "/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), "IncreaseRating", _tmp7_);
-#line 389 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 399 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = media_page_can_decrease_selected_rating (self);
-#line 389 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 399 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseRating", _tmp8_);
-#line 3188 "MediaPage.c"
+#line 3237 "MediaPage.c"
}
@@ -3198,37 +3247,37 @@ static void media_page_update_development_menu_item_sensitivity (MediaPage* self
gboolean _tmp6_ = FALSE;
gboolean is_raw = FALSE;
gboolean _tmp27_ = FALSE;
-#line 392 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 393 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 393 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 393 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = view_collection_get_selected (_tmp1_);
-#line 393 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_;
-#line 393 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 393 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = _tmp4_;
-#line 393 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = _tmp5_ == 0;
-#line 393 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp3_);
-#line 393 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 393 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp6_) {
-#line 394 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RawDeveloper", FALSE);
-#line 395 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 405 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 3228 "MediaPage.c"
+#line 3277 "MediaPage.c"
}
-#line 399 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala"
is_raw = FALSE;
-#line 3232 "MediaPage.c"
+#line 3281 "MediaPage.c"
{
GeeList* _view_list = NULL;
ViewCollection* _tmp7_ = NULL;
@@ -3240,31 +3289,31 @@ static void media_page_update_development_menu_item_sensitivity (MediaPage* self
gint _tmp12_ = 0;
gint _tmp13_ = 0;
gint _view_index = 0;
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = _tmp7_;
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = view_collection_get_selected (_tmp8_);
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = _tmp9_;
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp8_);
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_list = _tmp10_;
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = _view_list;
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = _tmp12_;
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_size = _tmp13_;
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_index = -1;
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 3268 "MediaPage.c"
+#line 3317 "MediaPage.c"
gint _tmp14_ = 0;
gint _tmp15_ = 0;
gint _tmp16_ = 0;
@@ -3278,107 +3327,107 @@ static void media_page_update_development_menu_item_sensitivity (MediaPage* self
Photo* _tmp22_ = NULL;
gboolean _tmp23_ = FALSE;
Photo* _tmp24_ = NULL;
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = _view_index;
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_index = _tmp14_ + 1;
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = _view_index;
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = _view_size;
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (!(_tmp15_ < _tmp16_)) {
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3294 "MediaPage.c"
+#line 3343 "MediaPage.c"
}
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = _view_list;
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = _view_index;
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp19_ = gee_list_get (_tmp17_, _tmp18_);
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
view = (DataView*) _tmp19_;
-#line 401 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp20_ = view;
-#line 401 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = thumbnail_get_media_source (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_THUMBNAIL, Thumbnail));
-#line 401 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp22_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp21_, TYPE_PHOTO) ? ((Photo*) _tmp21_) : NULL;
-#line 401 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp22_ == NULL) {
-#line 401 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp21_);
-#line 3314 "MediaPage.c"
+#line 3363 "MediaPage.c"
}
-#line 401 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala"
photo = _tmp22_;
-#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp24_ = photo;
-#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp24_ != NULL) {
-#line 3322 "MediaPage.c"
+#line 3371 "MediaPage.c"
Photo* _tmp25_ = NULL;
PhotoFileFormat _tmp26_ = 0;
-#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp25_ = photo;
-#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp26_ = photo_get_master_file_format (_tmp25_);
-#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp23_ = _tmp26_ == PHOTO_FILE_FORMAT_RAW;
-#line 3331 "MediaPage.c"
+#line 3380 "MediaPage.c"
} else {
-#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp23_ = FALSE;
-#line 3335 "MediaPage.c"
+#line 3384 "MediaPage.c"
}
-#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp23_) {
-#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 413 "/home/jens/Source/shotwell/src/MediaPage.vala"
is_raw = TRUE;
-#line 405 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (photo);
-#line 405 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (view);
-#line 405 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3347 "MediaPage.c"
+#line 3396 "MediaPage.c"
}
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (photo);
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (view);
-#line 3353 "MediaPage.c"
+#line 3402 "MediaPage.c"
}
-#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_view_list);
-#line 3357 "MediaPage.c"
+#line 3406 "MediaPage.c"
}
-#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 420 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp27_ = is_raw;
-#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 420 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RawDeveloper", _tmp27_);
-#line 3363 "MediaPage.c"
+#line 3412 "MediaPage.c"
}
static void media_page_update_flag_action (MediaPage* self, gint selected_count) {
gint _tmp0_ = 0;
-#line 413 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 423 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 414 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 424 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = selected_count;
-#line 414 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 424 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Flag", _tmp0_ > 0);
-#line 3375 "MediaPage.c"
+#line 3424 "MediaPage.c"
}
static gpointer _core_tracker_ref0 (gpointer self) {
-#line 418 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/MediaPage.vala"
return self ? core_tracker_ref (self) : NULL;
-#line 3382 "MediaPage.c"
+#line 3431 "MediaPage.c"
}
@@ -3387,17 +3436,17 @@ static CoreViewTracker* media_page_real_get_view_tracker (CheckerboardPage* base
CoreViewTracker* result = NULL;
MediaViewTracker* _tmp0_ = NULL;
CoreViewTracker* _tmp1_ = NULL;
-#line 417 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 427 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
-#line 418 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = self->priv->tracker;
-#line 418 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _core_tracker_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, CORE_TYPE_VIEW_TRACKER, CoreViewTracker));
-#line 418 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = _tmp1_;
-#line 418 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3401 "MediaPage.c"
+#line 3450 "MediaPage.c"
}
@@ -3411,53 +3460,53 @@ void media_page_set_display_ratings (MediaPage* self, gboolean display) {
ViewCollection* _tmp6_ = NULL;
ViewCollection* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
-#line 421 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 431 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 422 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 422 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 422 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala"
data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 422 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 423 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 423 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_;
-#line 423 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = display;
-#line 423 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_value_init (&_tmp5_, G_TYPE_BOOLEAN);
-#line 423 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_value_set_boolean (&_tmp5_, _tmp4_);
-#line 423 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 433 "/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 423 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/MediaPage.vala"
G_IS_VALUE (&_tmp5_) ? (g_value_unset (&_tmp5_), NULL) : NULL;
-#line 423 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp3_);
-#line 424 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 434 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 424 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 434 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = _tmp6_;
-#line 424 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 434 "/home/jens/Source/shotwell/src/MediaPage.vala"
data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DATA_COLLECTION, DataCollection));
-#line 424 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 434 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp7_);
-#line 426 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = display;
-#line 426 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_active (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewRatings", _tmp8_);
-#line 3453 "MediaPage.c"
+#line 3502 "MediaPage.c"
}
static gboolean media_page_can_rate_selected (MediaPage* self, Rating rating) {
gboolean result = FALSE;
-#line 429 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), FALSE);
-#line 3461 "MediaPage.c"
+#line 3510 "MediaPage.c"
{
GeeList* _view_list = NULL;
ViewCollection* _tmp0_ = NULL;
@@ -3469,31 +3518,31 @@ static gboolean media_page_can_rate_selected (MediaPage* self, Rating rating) {
gint _tmp5_ = 0;
gint _tmp6_ = 0;
gint _view_index = 0;
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = view_collection_get_selected (_tmp1_);
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_;
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_list = _tmp3_;
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = _view_list;
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = _tmp5_;
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_size = _tmp6_;
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_index = -1;
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 3497 "MediaPage.c"
+#line 3546 "MediaPage.c"
gint _tmp7_ = 0;
gint _tmp8_ = 0;
gint _tmp9_ = 0;
@@ -3507,75 +3556,75 @@ static gboolean media_page_can_rate_selected (MediaPage* self, Rating rating) {
Rating _tmp16_ = 0;
Rating _tmp17_ = 0;
gboolean _tmp18_ = FALSE;
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = _view_index;
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_index = _tmp7_ + 1;
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = _view_index;
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = _view_size;
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (!(_tmp8_ < _tmp9_)) {
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3523 "MediaPage.c"
+#line 3572 "MediaPage.c"
}
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = _view_list;
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = _view_index;
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = gee_list_get (_tmp10_, _tmp11_);
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
view = (DataView*) _tmp12_;
-#line 431 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = view;
-#line 431 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = thumbnail_get_media_source (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_THUMBNAIL, Thumbnail));
-#line 431 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = _tmp14_;
-#line 431 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = media_source_get_rating (_tmp15_);
-#line 431 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = rating;
-#line 431 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = _tmp16_ != _tmp17_;
-#line 431 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp15_);
-#line 431 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp18_) {
-#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 442 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = TRUE;
-#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 442 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (view);
-#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 442 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_view_list);
-#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 442 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3557 "MediaPage.c"
+#line 3606 "MediaPage.c"
}
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (view);
-#line 3561 "MediaPage.c"
+#line 3610 "MediaPage.c"
}
-#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_view_list);
-#line 3565 "MediaPage.c"
+#line 3614 "MediaPage.c"
}
-#line 435 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 445 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = FALSE;
-#line 435 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 445 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3571 "MediaPage.c"
+#line 3620 "MediaPage.c"
}
static gboolean media_page_can_increase_selected_rating (MediaPage* self) {
gboolean result = FALSE;
-#line 438 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), FALSE);
-#line 3579 "MediaPage.c"
+#line 3628 "MediaPage.c"
{
GeeList* _view_list = NULL;
ViewCollection* _tmp0_ = NULL;
@@ -3587,31 +3636,31 @@ static gboolean media_page_can_increase_selected_rating (MediaPage* self) {
gint _tmp5_ = 0;
gint _tmp6_ = 0;
gint _view_index = 0;
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = view_collection_get_selected (_tmp1_);
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_;
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_list = _tmp3_;
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = _view_list;
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = _tmp5_;
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_size = _tmp6_;
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_index = -1;
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 3615 "MediaPage.c"
+#line 3664 "MediaPage.c"
gint _tmp7_ = 0;
gint _tmp8_ = 0;
gint _tmp9_ = 0;
@@ -3625,75 +3674,75 @@ static gboolean media_page_can_increase_selected_rating (MediaPage* self) {
Rating _tmp16_ = 0;
gboolean _tmp17_ = FALSE;
gboolean _tmp18_ = FALSE;
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = _view_index;
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_index = _tmp7_ + 1;
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = _view_index;
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = _view_size;
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (!(_tmp8_ < _tmp9_)) {
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3641 "MediaPage.c"
+#line 3690 "MediaPage.c"
}
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = _view_list;
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = _view_index;
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = gee_list_get (_tmp10_, _tmp11_);
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
view = (DataView*) _tmp12_;
-#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = view;
-#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = thumbnail_get_media_source (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_THUMBNAIL, Thumbnail));
-#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = _tmp14_;
-#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = media_source_get_rating (_tmp15_);
-#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = rating_can_increase (_tmp16_);
-#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = _tmp17_;
-#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp15_);
-#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp18_) {
-#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 451 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = TRUE;
-#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 451 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (view);
-#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 451 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_view_list);
-#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 451 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3675 "MediaPage.c"
+#line 3724 "MediaPage.c"
}
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (view);
-#line 3679 "MediaPage.c"
+#line 3728 "MediaPage.c"
}
-#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_view_list);
-#line 3683 "MediaPage.c"
+#line 3732 "MediaPage.c"
}
-#line 444 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 454 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = FALSE;
-#line 444 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 454 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3689 "MediaPage.c"
+#line 3738 "MediaPage.c"
}
static gboolean media_page_can_decrease_selected_rating (MediaPage* self) {
gboolean result = FALSE;
-#line 447 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), FALSE);
-#line 3697 "MediaPage.c"
+#line 3746 "MediaPage.c"
{
GeeList* _view_list = NULL;
ViewCollection* _tmp0_ = NULL;
@@ -3705,31 +3754,31 @@ static gboolean media_page_can_decrease_selected_rating (MediaPage* self) {
gint _tmp5_ = 0;
gint _tmp6_ = 0;
gint _view_index = 0;
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = view_collection_get_selected (_tmp1_);
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_;
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_list = _tmp3_;
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = _view_list;
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = _tmp5_;
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_size = _tmp6_;
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_index = -1;
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 3733 "MediaPage.c"
+#line 3782 "MediaPage.c"
gint _tmp7_ = 0;
gint _tmp8_ = 0;
gint _tmp9_ = 0;
@@ -3743,84 +3792,84 @@ static gboolean media_page_can_decrease_selected_rating (MediaPage* self) {
Rating _tmp16_ = 0;
gboolean _tmp17_ = FALSE;
gboolean _tmp18_ = FALSE;
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = _view_index;
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_index = _tmp7_ + 1;
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = _view_index;
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = _view_size;
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (!(_tmp8_ < _tmp9_)) {
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3759 "MediaPage.c"
+#line 3808 "MediaPage.c"
}
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = _view_list;
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = _view_index;
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = gee_list_get (_tmp10_, _tmp11_);
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
view = (DataView*) _tmp12_;
-#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 459 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = view;
-#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 459 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = thumbnail_get_media_source (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_THUMBNAIL, Thumbnail));
-#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 459 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = _tmp14_;
-#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 459 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = media_source_get_rating (_tmp15_);
-#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 459 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = rating_can_decrease (_tmp16_);
-#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 459 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = _tmp17_;
-#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 459 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp15_);
-#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 459 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp18_) {
-#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 460 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = TRUE;
-#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 460 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (view);
-#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 460 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_view_list);
-#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 460 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3793 "MediaPage.c"
+#line 3842 "MediaPage.c"
}
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (view);
-#line 3797 "MediaPage.c"
+#line 3846 "MediaPage.c"
}
-#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_view_list);
-#line 3801 "MediaPage.c"
+#line 3850 "MediaPage.c"
}
-#line 453 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 463 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = FALSE;
-#line 453 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 463 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3807 "MediaPage.c"
+#line 3856 "MediaPage.c"
}
MediaPageZoomSliderAssembly* media_page_create_zoom_slider_assembly (MediaPage* self) {
MediaPageZoomSliderAssembly* result = NULL;
MediaPageZoomSliderAssembly* _tmp0_ = NULL;
-#line 456 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), NULL);
-#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 467 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = media_page_zoom_slider_assembly_new ();
-#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 467 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_object_ref_sink (_tmp0_);
-#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 467 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = _tmp0_;
-#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 467 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3824 "MediaPage.c"
+#line 3873 "MediaPage.c"
}
@@ -3829,35 +3878,35 @@ static gboolean media_page_real_on_mousewheel_up (Page* base, GdkEventScroll* ev
gboolean result = FALSE;
GdkEventScroll* _tmp0_ = NULL;
GdkModifierType _tmp1_ = 0;
-#line 460 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 470 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
-#line 460 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 470 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 461 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 471 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = event;
-#line 461 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 471 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_->state;
-#line 461 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 471 "/home/jens/Source/shotwell/src/MediaPage.vala"
if ((_tmp1_ & GDK_CONTROL_MASK) != 0) {
-#line 462 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 472 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_increase_zoom_level (self);
-#line 463 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = TRUE;
-#line 463 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 473 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3849 "MediaPage.c"
+#line 3898 "MediaPage.c"
} else {
GdkEventScroll* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
-#line 465 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 475 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = event;
-#line 465 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 475 "/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 465 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 475 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = _tmp3_;
-#line 465 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 475 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3861 "MediaPage.c"
+#line 3910 "MediaPage.c"
}
}
@@ -3867,35 +3916,35 @@ static gboolean media_page_real_on_mousewheel_down (Page* base, GdkEventScroll*
gboolean result = FALSE;
GdkEventScroll* _tmp0_ = NULL;
GdkModifierType _tmp1_ = 0;
-#line 469 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
-#line 469 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 470 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 480 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = event;
-#line 470 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 480 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_->state;
-#line 470 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 480 "/home/jens/Source/shotwell/src/MediaPage.vala"
if ((_tmp1_ & GDK_CONTROL_MASK) != 0) {
-#line 471 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 481 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_decrease_zoom_level (self);
-#line 472 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 482 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = TRUE;
-#line 472 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 482 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3887 "MediaPage.c"
+#line 3936 "MediaPage.c"
} else {
GdkEventScroll* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
-#line 474 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 484 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = event;
-#line 474 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 484 "/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 474 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 484 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = _tmp3_;
-#line 474 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 484 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3899 "MediaPage.c"
+#line 3948 "MediaPage.c"
}
}
@@ -3905,23 +3954,23 @@ static void media_page_on_send_to (MediaPage* self) {
ViewCollection* _tmp1_ = NULL;
GeeList* _tmp2_ = NULL;
GeeCollection* _tmp3_ = NULL;
-#line 478 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 488 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 479 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 479 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 479 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = view_collection_get_selected_sources (_tmp1_);
-#line 479 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 479 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/MediaPage.vala"
desktop_integration_send_to (_tmp3_);
-#line 479 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp3_);
-#line 479 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 3925 "MediaPage.c"
+#line 3974 "MediaPage.c"
}
@@ -3940,59 +3989,59 @@ void media_page_on_play_video (MediaPage* self) {
Video* _tmp10_ = NULL;
Video* _tmp11_ = NULL;
GError * _inner_error_ = NULL;
-#line 482 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 492 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 483 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 493 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 483 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 493 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 483 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 493 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 483 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 493 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_ != 1;
-#line 483 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 493 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 483 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 493 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp3_) {
-#line 484 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 494 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 3960 "MediaPage.c"
+#line 4009 "MediaPage.c"
}
-#line 486 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 486 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = _tmp4_;
-#line 486 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = view_collection_get_selected_at (_tmp5_, 0);
-#line 486 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = _tmp6_;
-#line 486 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = data_view_get_source (_tmp7_);
-#line 486 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, TYPE_VIDEO) ? ((Video*) _tmp8_) : NULL;
-#line 486 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp9_ == NULL) {
-#line 486 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp8_);
-#line 3978 "MediaPage.c"
+#line 4027 "MediaPage.c"
}
-#line 486 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = _tmp9_;
-#line 486 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp7_);
-#line 486 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 486 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala"
video = _tmp10_;
-#line 487 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 497 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = video;
-#line 487 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 497 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp11_ == NULL) {
-#line 488 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 498 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (video);
-#line 488 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 498 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 3996 "MediaPage.c"
+#line 4045 "MediaPage.c"
}
{
Video* _tmp12_ = NULL;
@@ -4000,30 +4049,30 @@ void media_page_on_play_video (MediaPage* self) {
GFile* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
gchar* _tmp16_ = NULL;
-#line 491 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = video;
-#line 491 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = media_source_get_file (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_MEDIA_SOURCE, MediaSource));
-#line 491 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = _tmp13_;
-#line 491 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = g_file_get_uri (_tmp14_);
-#line 491 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = _tmp15_;
-#line 491 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_app_info_launch_default_for_uri (_tmp16_, NULL, &_inner_error_);
-#line 491 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_free0 (_tmp16_);
-#line 491 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp14_);
-#line 491 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 4022 "MediaPage.c"
- goto __catch556_g_error;
+#line 4071 "MediaPage.c"
+ goto __catch558_g_error;
}
}
- goto __finally556;
- __catch556_g_error:
+ goto __finally558;
+ __catch558_g_error:
{
GError* e = NULL;
const gchar* _tmp17_ = NULL;
@@ -4031,44 +4080,44 @@ void media_page_on_play_video (MediaPage* self) {
const gchar* _tmp19_ = NULL;
gchar* _tmp20_ = NULL;
gchar* _tmp21_ = NULL;
-#line 490 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
e = _inner_error_;
-#line 490 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
_inner_error_ = NULL;
-#line 493 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 503 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = _ ("Shotwell was unable to play the selected video:\n%s");
-#line 493 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 503 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = e;
-#line 493 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 503 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp19_ = _tmp18_->message;
-#line 493 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 503 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp20_ = g_strdup_printf (_tmp17_, _tmp19_);
-#line 493 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 503 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = _tmp20_;
-#line 493 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 503 "/home/jens/Source/shotwell/src/MediaPage.vala"
app_window_error_message (_tmp21_, NULL);
-#line 493 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 503 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_free0 (_tmp21_);
-#line 490 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_error_free0 (e);
-#line 4055 "MediaPage.c"
+#line 4104 "MediaPage.c"
}
- __finally556:
-#line 490 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ __finally558:
+#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 490 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (video);
-#line 490 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 500 "/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 490 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_clear_error (&_inner_error_);
-#line 490 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 4068 "MediaPage.c"
+#line 4117 "MediaPage.c"
}
-#line 482 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 492 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (video);
-#line 4072 "MediaPage.c"
+#line 4121 "MediaPage.c"
}
@@ -4081,499 +4130,499 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
const gchar* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
GQuark _tmp5_ = 0U;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label0 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label1 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label2 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label3 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label4 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label5 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label6 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label7 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label8 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label9 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label10 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label11 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label12 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label13 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label14 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label15 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label16 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label17 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label18 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label19 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label20 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label21 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label22 = 0;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label23 = 0;
-#line 4133 "MediaPage.c"
+#line 4182 "MediaPage.c"
gboolean _tmp30_ = FALSE;
gboolean _tmp31_ = FALSE;
-#line 498 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 508 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
-#line 498 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 508 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 499 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 509 "/home/jens/Source/shotwell/src/MediaPage.vala"
handled = TRUE;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = event;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_->keyval;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = gdk_keyval_name (_tmp1_);
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_;
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = (NULL == _tmp3_) ? 0 : g_quark_from_string (_tmp3_);
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/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 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4156 "MediaPage.c"
+#line 4205 "MediaPage.c"
default:
{
-#line 504 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 514 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "IncreaseSize");
-#line 505 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4163 "MediaPage.c"
+#line 4212 "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 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4169 "MediaPage.c"
+#line 4218 "MediaPage.c"
default:
{
-#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 520 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseSize");
-#line 511 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 521 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4176 "MediaPage.c"
+#line 4225 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label6) ? _tmp4_label6 : (_tmp4_label6 = g_quark_from_static_string ("period")))) {
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4182 "MediaPage.c"
+#line 4231 "MediaPage.c"
default:
{
-#line 514 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 524 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "IncreaseRating");
-#line 515 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4189 "MediaPage.c"
+#line 4238 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label7) ? _tmp4_label7 : (_tmp4_label7 = g_quark_from_static_string ("comma")))) {
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4195 "MediaPage.c"
+#line 4244 "MediaPage.c"
default:
{
-#line 518 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseRating");
-#line 519 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 529 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4202 "MediaPage.c"
+#line 4251 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label8) ? _tmp4_label8 : (_tmp4_label8 = g_quark_from_static_string ("KP_1")))) {
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4208 "MediaPage.c"
+#line 4257 "MediaPage.c"
default:
{
-#line 522 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateOne");
-#line 523 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 533 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4215 "MediaPage.c"
+#line 4264 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label9) ? _tmp4_label9 : (_tmp4_label9 = g_quark_from_static_string ("KP_2")))) {
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4221 "MediaPage.c"
+#line 4270 "MediaPage.c"
default:
{
-#line 526 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateTwo");
-#line 527 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 537 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4228 "MediaPage.c"
+#line 4277 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label10) ? _tmp4_label10 : (_tmp4_label10 = g_quark_from_static_string ("KP_3")))) {
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4234 "MediaPage.c"
+#line 4283 "MediaPage.c"
default:
{
-#line 530 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 540 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateThree");
-#line 531 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4241 "MediaPage.c"
+#line 4290 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label11) ? _tmp4_label11 : (_tmp4_label11 = g_quark_from_static_string ("KP_4")))) {
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4247 "MediaPage.c"
+#line 4296 "MediaPage.c"
default:
{
-#line 534 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 544 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateFour");
-#line 535 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4254 "MediaPage.c"
+#line 4303 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label12) ? _tmp4_label12 : (_tmp4_label12 = g_quark_from_static_string ("KP_5")))) {
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4260 "MediaPage.c"
+#line 4309 "MediaPage.c"
default:
{
-#line 538 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 548 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateFive");
-#line 539 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 549 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4267 "MediaPage.c"
+#line 4316 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label13) ? _tmp4_label13 : (_tmp4_label13 = g_quark_from_static_string ("KP_0")))) {
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4273 "MediaPage.c"
+#line 4322 "MediaPage.c"
default:
{
-#line 542 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateUnrated");
-#line 543 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 553 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4280 "MediaPage.c"
+#line 4329 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label14) ? _tmp4_label14 : (_tmp4_label14 = g_quark_from_static_string ("KP_9")))) {
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4286 "MediaPage.c"
+#line 4335 "MediaPage.c"
default:
{
-#line 546 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 556 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateRejected");
-#line 547 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 557 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4293 "MediaPage.c"
+#line 4342 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label15) ? _tmp4_label15 : (_tmp4_label15 = g_quark_from_static_string ("exclam")))) {
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4299 "MediaPage.c"
+#line 4348 "MediaPage.c"
default:
{
gboolean _tmp6_ = FALSE;
-#line 550 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 560 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 550 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 560 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp6_) {
-#line 4307 "MediaPage.c"
+#line 4356 "MediaPage.c"
SearchViewFilter* _tmp7_ = NULL;
SearchViewFilter* _tmp8_ = NULL;
-#line 551 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#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 551 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 561 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = _tmp7_;
-#line 551 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 561 "/home/jens/Source/shotwell/src/MediaPage.vala"
search_view_filter_set_rating_filter (_tmp8_, RATING_FILTER_ONE_OR_HIGHER);
-#line 551 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 561 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp8_);
-#line 4318 "MediaPage.c"
+#line 4367 "MediaPage.c"
}
-#line 552 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4322 "MediaPage.c"
+#line 4371 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label16) ? _tmp4_label16 : (_tmp4_label16 = g_quark_from_static_string ("at")))) {
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4328 "MediaPage.c"
+#line 4377 "MediaPage.c"
default:
{
gboolean _tmp9_ = FALSE;
-#line 555 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 565 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 555 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 565 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp9_) {
-#line 4336 "MediaPage.c"
+#line 4385 "MediaPage.c"
SearchViewFilter* _tmp10_ = NULL;
SearchViewFilter* _tmp11_ = NULL;
-#line 556 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#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 556 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 566 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = _tmp10_;
-#line 556 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 566 "/home/jens/Source/shotwell/src/MediaPage.vala"
search_view_filter_set_rating_filter (_tmp11_, RATING_FILTER_TWO_OR_HIGHER);
-#line 556 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 566 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp11_);
-#line 4347 "MediaPage.c"
+#line 4396 "MediaPage.c"
}
-#line 557 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 567 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4351 "MediaPage.c"
+#line 4400 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label17) ? _tmp4_label17 : (_tmp4_label17 = g_quark_from_static_string ("numbersign")))) {
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4357 "MediaPage.c"
+#line 4406 "MediaPage.c"
default:
{
gboolean _tmp12_ = FALSE;
-#line 560 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 570 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 560 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 570 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp12_) {
-#line 4365 "MediaPage.c"
+#line 4414 "MediaPage.c"
SearchViewFilter* _tmp13_ = NULL;
SearchViewFilter* _tmp14_ = NULL;
-#line 561 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#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 561 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = _tmp13_;
-#line 561 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/MediaPage.vala"
search_view_filter_set_rating_filter (_tmp14_, RATING_FILTER_THREE_OR_HIGHER);
-#line 561 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp14_);
-#line 4376 "MediaPage.c"
+#line 4425 "MediaPage.c"
}
-#line 562 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4380 "MediaPage.c"
+#line 4429 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label18) ? _tmp4_label18 : (_tmp4_label18 = g_quark_from_static_string ("dollar")))) {
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4386 "MediaPage.c"
+#line 4435 "MediaPage.c"
default:
{
gboolean _tmp15_ = FALSE;
-#line 565 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 565 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp15_) {
-#line 4394 "MediaPage.c"
+#line 4443 "MediaPage.c"
SearchViewFilter* _tmp16_ = NULL;
SearchViewFilter* _tmp17_ = NULL;
-#line 566 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#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 566 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 576 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = _tmp16_;
-#line 566 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 576 "/home/jens/Source/shotwell/src/MediaPage.vala"
search_view_filter_set_rating_filter (_tmp17_, RATING_FILTER_FOUR_OR_HIGHER);
-#line 566 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 576 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp17_);
-#line 4405 "MediaPage.c"
+#line 4454 "MediaPage.c"
}
-#line 567 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 577 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4409 "MediaPage.c"
+#line 4458 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label19) ? _tmp4_label19 : (_tmp4_label19 = g_quark_from_static_string ("percent")))) {
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4415 "MediaPage.c"
+#line 4464 "MediaPage.c"
default:
{
gboolean _tmp18_ = FALSE;
-#line 570 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 580 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 570 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 580 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp18_) {
-#line 4423 "MediaPage.c"
+#line 4472 "MediaPage.c"
SearchViewFilter* _tmp19_ = NULL;
SearchViewFilter* _tmp20_ = NULL;
-#line 571 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#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 571 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 581 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp20_ = _tmp19_;
-#line 571 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 581 "/home/jens/Source/shotwell/src/MediaPage.vala"
search_view_filter_set_rating_filter (_tmp20_, RATING_FILTER_FIVE_OR_HIGHER);
-#line 571 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 581 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp20_);
-#line 4434 "MediaPage.c"
+#line 4483 "MediaPage.c"
}
-#line 572 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 582 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4438 "MediaPage.c"
+#line 4487 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label20) ? _tmp4_label20 : (_tmp4_label20 = g_quark_from_static_string ("parenright")))) {
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4444 "MediaPage.c"
+#line 4493 "MediaPage.c"
default:
{
gboolean _tmp21_ = FALSE;
-#line 575 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 585 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 575 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 585 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp21_) {
-#line 4452 "MediaPage.c"
+#line 4501 "MediaPage.c"
SearchViewFilter* _tmp22_ = NULL;
SearchViewFilter* _tmp23_ = NULL;
-#line 576 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#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 576 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 586 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp23_ = _tmp22_;
-#line 576 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 586 "/home/jens/Source/shotwell/src/MediaPage.vala"
search_view_filter_set_rating_filter (_tmp23_, RATING_FILTER_UNRATED_OR_HIGHER);
-#line 576 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 586 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp23_);
-#line 4463 "MediaPage.c"
+#line 4512 "MediaPage.c"
}
-#line 577 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 587 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4467 "MediaPage.c"
+#line 4516 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label21) ? _tmp4_label21 : (_tmp4_label21 = g_quark_from_static_string ("parenleft")))) {
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4473 "MediaPage.c"
+#line 4522 "MediaPage.c"
default:
{
gboolean _tmp24_ = FALSE;
-#line 580 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 590 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp24_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 580 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 590 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp24_) {
-#line 4481 "MediaPage.c"
+#line 4530 "MediaPage.c"
SearchViewFilter* _tmp25_ = NULL;
SearchViewFilter* _tmp26_ = NULL;
-#line 581 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#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 581 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp26_ = _tmp25_;
-#line 581 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/MediaPage.vala"
search_view_filter_set_rating_filter (_tmp26_, RATING_FILTER_REJECTED_OR_HIGHER);
-#line 581 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp26_);
-#line 4492 "MediaPage.c"
+#line 4541 "MediaPage.c"
}
-#line 582 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4496 "MediaPage.c"
+#line 4545 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label22) ? _tmp4_label22 : (_tmp4_label22 = g_quark_from_static_string ("asterisk")))) {
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4502 "MediaPage.c"
+#line 4551 "MediaPage.c"
default:
{
gboolean _tmp27_ = FALSE;
-#line 585 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 595 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp27_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 585 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 595 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp27_) {
-#line 4510 "MediaPage.c"
+#line 4559 "MediaPage.c"
SearchViewFilter* _tmp28_ = NULL;
SearchViewFilter* _tmp29_ = NULL;
-#line 586 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#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 586 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 596 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp29_ = _tmp28_;
-#line 586 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 596 "/home/jens/Source/shotwell/src/MediaPage.vala"
search_view_filter_set_rating_filter (_tmp29_, RATING_FILTER_REJECTED_ONLY);
-#line 586 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 596 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp29_);
-#line 4521 "MediaPage.c"
+#line 4570 "MediaPage.c"
}
-#line 587 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 597 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4525 "MediaPage.c"
+#line 4574 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label23) ? _tmp4_label23 : (_tmp4_label23 = g_quark_from_static_string ("slash")))) {
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4531 "MediaPage.c"
+#line 4580 "MediaPage.c"
default:
{
-#line 590 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Flag");
-#line 591 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 601 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4538 "MediaPage.c"
+#line 4587 "MediaPage.c"
}
}
} else {
-#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4544 "MediaPage.c"
+#line 4593 "MediaPage.c"
default:
{
-#line 594 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 604 "/home/jens/Source/shotwell/src/MediaPage.vala"
handled = FALSE;
-#line 595 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4551 "MediaPage.c"
+#line 4600 "MediaPage.c"
}
}
}
-#line 598 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp31_ = handled;
-#line 598 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp31_) {
-#line 598 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp30_ = TRUE;
-#line 4561 "MediaPage.c"
+#line 4610 "MediaPage.c"
} else {
GdkEventKey* _tmp32_ = NULL;
gboolean _tmp33_ = FALSE;
-#line 598 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp32_ = event;
-#line 598 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#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 598 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp30_ = _tmp33_;
-#line 4571 "MediaPage.c"
+#line 4620 "MediaPage.c"
}
-#line 598 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = _tmp30_;
-#line 598 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 4577 "MediaPage.c"
+#line 4626 "MediaPage.c"
}
@@ -4599,142 +4648,142 @@ static void media_page_real_switched_to (Page* base) {
ViewCollection* _tmp17_ = NULL;
gint _tmp18_ = 0;
gboolean _tmp19_ = FALSE;
-#line 601 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 611 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
-#line 602 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 612 "/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 605 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 615 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 605 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 615 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 605 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 615 "/home/jens/Source/shotwell/src/MediaPage.vala"
data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 605 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 615 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 606 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = config_facade_get_instance ();
-#line 606 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_;
-#line 606 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 616 "/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 606 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/MediaPage.vala"
checkerboard_page_set_display_titles (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp4_);
-#line 606 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp3_);
-#line 607 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 617 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = config_facade_get_instance ();
-#line 607 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 617 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = _tmp5_;
-#line 607 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 617 "/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 607 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 617 "/home/jens/Source/shotwell/src/MediaPage.vala"
checkerboard_page_set_display_comments (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp7_);
-#line 607 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 617 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp6_);
-#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 618 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = config_facade_get_instance ();
-#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 618 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = _tmp8_;
-#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 618 "/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 608 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 618 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_display_ratings (self, _tmp10_);
-#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 618 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp9_);
-#line 609 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = config_facade_get_instance ();
-#line 609 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = _tmp11_;
-#line 609 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 619 "/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 609 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_display_tags (self, _tmp13_);
-#line 609 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp12_);
-#line 610 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 620 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 610 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 620 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = _tmp14_;
-#line 610 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 620 "/home/jens/Source/shotwell/src/MediaPage.vala"
data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_DATA_COLLECTION, DataCollection));
-#line 610 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 620 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp15_);
-#line 614 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 624 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 614 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 624 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = _tmp16_;
-#line 614 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 624 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = view_collection_get_selected_count (_tmp17_);
-#line 614 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 624 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp19_ = _tmp18_ > 0;
-#line 614 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 624 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp17_);
-#line 614 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 624 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp19_) {
-#line 4675 "MediaPage.c"
+#line 4724 "MediaPage.c"
CheckerboardItem* selected = NULL;
ViewCollection* _tmp20_ = NULL;
ViewCollection* _tmp21_ = NULL;
DataView* _tmp22_ = NULL;
CheckerboardItem* _tmp23_ = NULL;
CheckerboardItem* _tmp24_ = NULL;
-#line 615 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 625 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp20_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 615 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 625 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = _tmp20_;
-#line 615 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 625 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp22_ = view_collection_get_selected_at (_tmp21_, 0);
-#line 615 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 625 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp23_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem);
-#line 615 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 625 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp21_);
-#line 615 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 625 "/home/jens/Source/shotwell/src/MediaPage.vala"
selected = _tmp23_;
-#line 616 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 626 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp24_ = selected;
-#line 616 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 626 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp24_ != NULL) {
-#line 4698 "MediaPage.c"
+#line 4747 "MediaPage.c"
CheckerboardItem* _tmp25_ = NULL;
-#line 617 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 627 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp25_ = selected;
-#line 617 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 627 "/home/jens/Source/shotwell/src/MediaPage.vala"
checkerboard_page_cursor_to_item (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp25_);
-#line 4704 "MediaPage.c"
+#line 4753 "MediaPage.c"
}
-#line 614 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 624 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (selected);
-#line 4708 "MediaPage.c"
+#line 4757 "MediaPage.c"
}
-#line 620 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 630 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_sync_sort (self);
-#line 4712 "MediaPage.c"
+#line 4761 "MediaPage.c"
}
static void media_page_real_switching_from (Page* base) {
MediaPage * self;
-#line 623 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 633 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
-#line 624 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 634 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_disconnect_slider (self);
-#line 626 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 636 "/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 4724 "MediaPage.c"
+#line 4773 "MediaPage.c"
}
static gpointer _g_object_ref0 (gpointer self) {
-#line 630 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 640 "/home/jens/Source/shotwell/src/MediaPage.vala"
return self ? g_object_ref (self) : NULL;
-#line 4731 "MediaPage.c"
+#line 4780 "MediaPage.c"
}
static void _media_page_on_zoom_changed_media_page_zoom_slider_assembly_zoom_changed (MediaPageZoomSliderAssembly* _sender, gpointer self) {
-#line 631 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 641 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_zoom_changed ((MediaPage*) self);
-#line 4738 "MediaPage.c"
+#line 4787 "MediaPage.c"
}
@@ -4742,25 +4791,25 @@ void media_page_connect_slider (MediaPage* self, MediaPageZoomSliderAssembly* sl
MediaPageZoomSliderAssembly* _tmp0_ = NULL;
MediaPageZoomSliderAssembly* _tmp1_ = NULL;
MediaPageZoomSliderAssembly* _tmp2_ = NULL;
-#line 629 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 639 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 629 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 639 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (MEDIA_PAGE_IS_ZOOM_SLIDER_ASSEMBLY (slider));
-#line 630 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 640 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = slider;
-#line 630 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 640 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 630 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 640 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (self->priv->connected_slider);
-#line 630 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 640 "/home/jens/Source/shotwell/src/MediaPage.vala"
self->priv->connected_slider = _tmp1_;
-#line 631 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 641 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = self->priv->connected_slider;
-#line 631 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 641 "/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 632 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 642 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_load_persistent_thumbnail_scale (self);
-#line 4764 "MediaPage.c"
+#line 4813 "MediaPage.c"
}
@@ -4770,29 +4819,29 @@ static void media_page_save_persistent_thumbnail_scale (MediaPage* self) {
ConfigFacade* _tmp2_ = NULL;
MediaPageZoomSliderAssembly* _tmp3_ = NULL;
gint _tmp4_ = 0;
-#line 635 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 645 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 636 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 646 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = self->priv->connected_slider;
-#line 636 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 646 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp0_ == NULL) {
-#line 637 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 647 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 4782 "MediaPage.c"
+#line 4831 "MediaPage.c"
}
-#line 639 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 649 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = config_facade_get_instance ();
-#line 639 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 649 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = _tmp1_;
-#line 639 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 649 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = self->priv->connected_slider;
-#line 639 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 649 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = media_page_zoom_slider_assembly_get_scale (_tmp3_);
-#line 639 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 649 "/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 639 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 649 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp2_);
-#line 4796 "MediaPage.c"
+#line 4845 "MediaPage.c"
}
@@ -4806,39 +4855,39 @@ static void media_page_load_persistent_thumbnail_scale (MediaPage* self) {
MediaPageZoomSliderAssembly* _tmp5_ = NULL;
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 642 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 652 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 643 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 653 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = self->priv->connected_slider;
-#line 643 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 653 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp0_ == NULL) {
-#line 644 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 4818 "MediaPage.c"
+#line 4867 "MediaPage.c"
}
-#line 646 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 656 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = config_facade_get_instance ();
-#line 646 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 656 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = _tmp1_;
-#line 646 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 656 "/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 646 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 656 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = _tmp3_;
-#line 646 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 656 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp2_);
-#line 646 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 656 "/home/jens/Source/shotwell/src/MediaPage.vala"
persistent_scale = _tmp4_;
-#line 648 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 658 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = self->priv->connected_slider;
-#line 648 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 658 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = persistent_scale;
-#line 648 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 658 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_zoom_slider_assembly_set_scale (_tmp5_, _tmp6_);
-#line 649 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 659 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = persistent_scale;
-#line 649 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 659 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_thumb_size (self, _tmp7_);
-#line 4842 "MediaPage.c"
+#line 4891 "MediaPage.c"
}
@@ -4846,109 +4895,109 @@ void media_page_disconnect_slider (MediaPage* self) {
MediaPageZoomSliderAssembly* _tmp0_ = NULL;
MediaPageZoomSliderAssembly* _tmp1_ = NULL;
guint _tmp2_ = 0U;
-#line 652 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 662 "/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 663 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = self->priv->connected_slider;
-#line 653 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 663 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp0_ == NULL) {
-#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 664 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 4858 "MediaPage.c"
+#line 4907 "MediaPage.c"
}
-#line 656 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 666 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = self->priv->connected_slider;
-#line 656 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 666 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_signal_parse_name ("zoom-changed", MEDIA_PAGE_TYPE_ZOOM_SLIDER_ASSEMBLY, &_tmp2_, NULL, FALSE);
-#line 656 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 666 "/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 657 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 667 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (self->priv->connected_slider);
-#line 657 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 667 "/home/jens/Source/shotwell/src/MediaPage.vala"
self->priv->connected_slider = NULL;
-#line 4870 "MediaPage.c"
+#line 4919 "MediaPage.c"
}
static void media_page_real_on_zoom_changed (MediaPage* self) {
MediaPageZoomSliderAssembly* _tmp0_ = NULL;
-#line 661 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 671 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = self->priv->connected_slider;
-#line 661 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 671 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp0_ != NULL) {
-#line 4880 "MediaPage.c"
+#line 4929 "MediaPage.c"
MediaPageZoomSliderAssembly* _tmp1_ = NULL;
gint _tmp2_ = 0;
-#line 662 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 672 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = self->priv->connected_slider;
-#line 662 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 672 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = media_page_zoom_slider_assembly_get_scale (_tmp1_);
-#line 662 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 672 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_thumb_size (self, _tmp2_);
-#line 4889 "MediaPage.c"
+#line 4938 "MediaPage.c"
}
-#line 664 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 674 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_save_persistent_thumbnail_scale (self);
-#line 4893 "MediaPage.c"
+#line 4942 "MediaPage.c"
}
void media_page_on_zoom_changed (MediaPage* self) {
-#line 660 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 670 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 660 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 670 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_zoom_changed (self);
-#line 4902 "MediaPage.c"
+#line 4951 "MediaPage.c"
}
static void media_page_real_on_export (MediaPage* self) {
-#line 667 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 677 "/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 667 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 4911 "MediaPage.c"
+#line 4960 "MediaPage.c"
}
void media_page_on_export (MediaPage* self) {
-#line 667 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 667 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_export (self);
-#line 4920 "MediaPage.c"
+#line 4969 "MediaPage.c"
}
static void media_page_real_on_increase_size (MediaPage* self) {
-#line 670 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 680 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_increase_zoom_level (self);
-#line 4927 "MediaPage.c"
+#line 4976 "MediaPage.c"
}
void media_page_on_increase_size (MediaPage* self) {
-#line 669 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 679 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 669 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 679 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_increase_size (self);
-#line 4936 "MediaPage.c"
+#line 4985 "MediaPage.c"
}
static void media_page_real_on_decrease_size (MediaPage* self) {
-#line 674 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 684 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_decrease_zoom_level (self);
-#line 4943 "MediaPage.c"
+#line 4992 "MediaPage.c"
}
void media_page_on_decrease_size (MediaPage* self) {
-#line 673 "/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 673 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 683 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_decrease_size (self);
-#line 4952 "MediaPage.c"
+#line 5001 "MediaPage.c"
}
@@ -4967,45 +5016,45 @@ static void media_page_on_add_tags (MediaPage* self) {
gint _names_size_ = 0;
gchar** _tmp8_ = NULL;
gint _tmp8__length1 = 0;
-#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 687 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 678 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 678 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 678 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 678 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 678 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 678 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 688 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp3_) {
-#line 679 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 4987 "MediaPage.c"
+#line 5036 "MediaPage.c"
}
-#line 681 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 691 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = add_tags_dialog_new ();
-#line 681 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 691 "/home/jens/Source/shotwell/src/MediaPage.vala"
dialog = _tmp4_;
-#line 682 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = dialog;
-#line 682 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = add_tags_dialog_execute (_tmp5_, &_tmp6_);
-#line 682 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala"
names = _tmp7_;
-#line 682 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala"
names_length1 = _tmp6_;
-#line 682 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala"
_names_size_ = names_length1;
-#line 684 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = names;
-#line 684 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8__length1 = names_length1;
-#line 684 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp8_ != NULL) {
-#line 5009 "MediaPage.c"
+#line 5058 "MediaPage.c"
CommandManager* _tmp9_ = NULL;
CommandManager* _tmp10_ = NULL;
HierarchicalTagIndex* _tmp11_ = NULL;
@@ -5022,57 +5071,57 @@ static void media_page_on_add_tags (MediaPage* self) {
GeeCollection* _tmp20_ = NULL;
AddTagsCommand* _tmp21_ = NULL;
AddTagsCommand* _tmp22_ = NULL;
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = _tmp9_;
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = hierarchical_tag_index_get_global_index ();
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = _tmp11_;
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = names;
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13__length1 = names_length1;
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = hierarchical_tag_index_get_paths_for_names_array (_tmp12_, _tmp13_, _tmp13__length1, &_tmp14_);
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = _tmp15_;
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16__length1 = _tmp14_;
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = _tmp17_;
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp19_ = view_collection_get_selected_sources (_tmp18_);
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp20_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = add_tags_command_new (_tmp16_, _tmp14_, _tmp20_);
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp22_ = _tmp21_;
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
command_manager_execute (_tmp10_, G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_COMMAND, Command));
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp22_);
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp20_);
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp18_);
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = (_vala_array_free (_tmp16_, _tmp16__length1, (GDestroyNotify) g_free), NULL);
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_hierarchical_tag_index_unref0 (_tmp12_);
-#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_command_manager_unref0 (_tmp10_);
-#line 5070 "MediaPage.c"
+#line 5119 "MediaPage.c"
}
-#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 687 "/home/jens/Source/shotwell/src/MediaPage.vala"
names = (_vala_array_free (names, names_length1, (GDestroyNotify) g_free), NULL);
-#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 687 "/home/jens/Source/shotwell/src/MediaPage.vala"
_text_entry_dialog_mediator_unref0 (dialog);
-#line 5076 "MediaPage.c"
+#line 5125 "MediaPage.c"
}
@@ -5101,93 +5150,93 @@ static void media_page_on_modify_tags (MediaPage* self) {
GeeArrayList* _tmp18_ = NULL;
ModifyTagsCommand* _tmp19_ = NULL;
ModifyTagsCommand* _tmp20_ = NULL;
-#line 691 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 701 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_ != 1;
-#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 692 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 702 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp3_) {
-#line 693 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 703 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 5121 "MediaPage.c"
+#line 5170 "MediaPage.c"
}
-#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 705 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 705 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = _tmp4_;
-#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 705 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = view_collection_get_selected_at (_tmp5_, 0);
-#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 705 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = _tmp6_;
-#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 705 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = data_view_get_source (_tmp7_);
-#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 705 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_MEDIA_SOURCE, MediaSource);
-#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 705 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp7_);
-#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 705 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 705 "/home/jens/Source/shotwell/src/MediaPage.vala"
media = _tmp9_;
-#line 697 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 707 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = media;
-#line 697 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 707 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = modify_tags_dialog_new (_tmp10_);
-#line 697 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 707 "/home/jens/Source/shotwell/src/MediaPage.vala"
dialog = _tmp11_;
-#line 698 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 708 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = dialog;
-#line 698 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 708 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = modify_tags_dialog_execute (_tmp12_);
-#line 698 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 708 "/home/jens/Source/shotwell/src/MediaPage.vala"
new_tags = _tmp13_;
-#line 700 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 710 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = new_tags;
-#line 700 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 710 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp14_ == NULL) {
-#line 701 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 711 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (new_tags);
-#line 701 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 711 "/home/jens/Source/shotwell/src/MediaPage.vala"
_text_entry_dialog_mediator_unref0 (dialog);
-#line 701 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 711 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (media);
-#line 701 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 711 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 5165 "MediaPage.c"
+#line 5214 "MediaPage.c"
}
-#line 703 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 703 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = _tmp15_;
-#line 703 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = media;
-#line 703 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = new_tags;
-#line 703 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp19_ = modify_tags_command_new (_tmp17_, G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 703 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp20_ = _tmp19_;
-#line 703 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala"
command_manager_execute (_tmp16_, G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_COMMAND, Command));
-#line 703 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp20_);
-#line 703 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala"
_command_manager_unref0 (_tmp16_);
-#line 691 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 701 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (new_tags);
-#line 691 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 701 "/home/jens/Source/shotwell/src/MediaPage.vala"
_text_entry_dialog_mediator_unref0 (dialog);
-#line 691 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 701 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (media);
-#line 5191 "MediaPage.c"
+#line 5240 "MediaPage.c"
}
@@ -5201,45 +5250,45 @@ static void media_page_set_display_tags (MediaPage* self, gboolean display) {
ViewCollection* _tmp6_ = NULL;
ViewCollection* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
-#line 706 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 716 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 707 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 717 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 707 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 717 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 707 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 717 "/home/jens/Source/shotwell/src/MediaPage.vala"
data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 707 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 717 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 708 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 718 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 708 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 718 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_;
-#line 708 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 718 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = display;
-#line 708 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 718 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_value_init (&_tmp5_, G_TYPE_BOOLEAN);
-#line 708 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 718 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_value_set_boolean (&_tmp5_, _tmp4_);
-#line 708 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 718 "/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 708 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 718 "/home/jens/Source/shotwell/src/MediaPage.vala"
G_IS_VALUE (&_tmp5_) ? (g_value_unset (&_tmp5_), NULL) : NULL;
-#line 708 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 718 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp3_);
-#line 709 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 719 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 709 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 719 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = _tmp6_;
-#line 709 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 719 "/home/jens/Source/shotwell/src/MediaPage.vala"
data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DATA_COLLECTION, DataCollection));
-#line 709 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 719 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp7_);
-#line 711 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 721 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = display;
-#line 711 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 721 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_active (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewTags", _tmp8_);
-#line 5243 "MediaPage.c"
+#line 5292 "MediaPage.c"
}
@@ -5248,21 +5297,21 @@ static void media_page_on_new_event (MediaPage* self) {
ViewCollection* _tmp1_ = NULL;
gint _tmp2_ = 0;
gboolean _tmp3_ = FALSE;
-#line 714 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 724 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 715 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 725 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 715 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 725 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 715 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 725 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 715 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 725 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_ > 0;
-#line 715 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 725 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 715 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 725 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp3_) {
-#line 5266 "MediaPage.c"
+#line 5315 "MediaPage.c"
CommandManager* _tmp4_ = NULL;
CommandManager* _tmp5_ = NULL;
ViewCollection* _tmp6_ = NULL;
@@ -5271,33 +5320,33 @@ static void media_page_on_new_event (MediaPage* self) {
GeeList* _tmp9_ = NULL;
NewEventCommand* _tmp10_ = NULL;
NewEventCommand* _tmp11_ = NULL;
-#line 716 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 716 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = _tmp4_;
-#line 716 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 716 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = _tmp6_;
-#line 716 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = view_collection_get_selected (_tmp7_);
-#line 716 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = _tmp8_;
-#line 716 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = new_event_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 716 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = _tmp10_;
-#line 716 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala"
command_manager_execute (_tmp5_, G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_COMMAND, Command));
-#line 716 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp11_);
-#line 716 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp9_);
-#line 716 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp7_);
-#line 716 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala"
_command_manager_unref0 (_tmp5_);
-#line 5301 "MediaPage.c"
+#line 5350 "MediaPage.c"
}
}
@@ -5319,52 +5368,52 @@ static void media_page_on_flag_unflag (MediaPage* self) {
gboolean _tmp23_ = FALSE;
FlagUnflagCommand* _tmp24_ = NULL;
FlagUnflagCommand* _tmp25_ = NULL;
-#line 719 "/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 720 "/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 720 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 720 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 720 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 720 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 720 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp3_) {
-#line 721 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 731 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 5339 "MediaPage.c"
+#line 5388 "MediaPage.c"
}
-#line 723 "/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 723 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = _tmp4_;
-#line 723 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = view_collection_get_selected_sources_of_type (_tmp5_, TYPE_MEDIA_SOURCE);
-#line 723 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 723 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 723 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala"
sources = _tmp7_;
-#line 727 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 737 "/home/jens/Source/shotwell/src/MediaPage.vala"
flag = FALSE;
-#line 5355 "MediaPage.c"
+#line 5404 "MediaPage.c"
{
GeeIterator* _source_it = NULL;
GeeCollection* _tmp8_ = NULL;
GeeIterator* _tmp9_ = NULL;
-#line 728 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = sources;
-#line 728 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 728 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
_source_it = _tmp9_;
-#line 728 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 5368 "MediaPage.c"
+#line 5417 "MediaPage.c"
GeeIterator* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
MediaSource* source = NULL;
@@ -5375,90 +5424,90 @@ static void media_page_on_flag_unflag (MediaPage* self) {
Flaggable* _tmp15_ = NULL;
gboolean _tmp16_ = FALSE;
Flaggable* _tmp17_ = NULL;
-#line 728 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = _source_it;
-#line 728 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = gee_iterator_next (_tmp10_);
-#line 728 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (!_tmp11_) {
-#line 728 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 5387 "MediaPage.c"
+#line 5436 "MediaPage.c"
}
-#line 728 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = _source_it;
-#line 728 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = gee_iterator_get (_tmp12_);
-#line 728 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
source = (MediaSource*) _tmp13_;
-#line 729 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 739 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = source;
-#line 729 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 739 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp14_, TYPE_FLAGGABLE) ? ((Flaggable*) _tmp14_) : NULL);
-#line 729 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 739 "/home/jens/Source/shotwell/src/MediaPage.vala"
flaggable = _tmp15_;
-#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = flaggable;
-#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp17_ != NULL) {
-#line 5405 "MediaPage.c"
+#line 5454 "MediaPage.c"
Flaggable* _tmp18_ = NULL;
gboolean _tmp19_ = FALSE;
-#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = flaggable;
-#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp19_ = flaggable_is_flagged (_tmp18_);
-#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = !_tmp19_;
-#line 5414 "MediaPage.c"
+#line 5463 "MediaPage.c"
} else {
-#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = FALSE;
-#line 5418 "MediaPage.c"
+#line 5467 "MediaPage.c"
}
-#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp16_) {
-#line 731 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 741 "/home/jens/Source/shotwell/src/MediaPage.vala"
flag = TRUE;
-#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 743 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (flaggable);
-#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 743 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (source);
-#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 743 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 5430 "MediaPage.c"
+#line 5479 "MediaPage.c"
}
-#line 728 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (flaggable);
-#line 728 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (source);
-#line 5436 "MediaPage.c"
+#line 5485 "MediaPage.c"
}
-#line 728 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_source_it);
-#line 5440 "MediaPage.c"
+#line 5489 "MediaPage.c"
}
-#line 737 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp20_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 737 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = _tmp20_;
-#line 737 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp22_ = sources;
-#line 737 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp23_ = flag;
-#line 737 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp24_ = flag_unflag_command_new (_tmp22_, _tmp23_);
-#line 737 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp25_ = _tmp24_;
-#line 737 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala"
command_manager_execute (_tmp21_, G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, TYPE_COMMAND, Command));
-#line 737 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp25_);
-#line 737 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala"
_command_manager_unref0 (_tmp21_);
-#line 719 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 729 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (sources);
-#line 5462 "MediaPage.c"
+#line 5511 "MediaPage.c"
}
@@ -5477,64 +5526,64 @@ static void media_page_real_on_increase_rating (MediaPage* self) {
CommandManager* _tmp10_ = NULL;
CommandManager* _tmp11_ = NULL;
SetRatingCommand* _tmp12_ = NULL;
-#line 741 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 741 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 741 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 741 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 741 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 741 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp3_) {
-#line 742 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 752 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 5495 "MediaPage.c"
+#line 5544 "MediaPage.c"
}
-#line 744 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 744 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = _tmp4_;
-#line 744 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 744 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = _tmp6_;
-#line 744 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 754 "/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 744 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = _tmp8_;
-#line 744 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp7_);
-#line 744 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 744 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala"
command = _tmp9_;
-#line 745 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 755 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 745 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 755 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = _tmp10_;
-#line 745 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 755 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = command;
-#line 745 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 755 "/home/jens/Source/shotwell/src/MediaPage.vala"
command_manager_execute (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_COMMAND, Command));
-#line 745 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 755 "/home/jens/Source/shotwell/src/MediaPage.vala"
_command_manager_unref0 (_tmp11_);
-#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 757 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_update_rating_sensitivities (self);
-#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 750 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (command);
-#line 5529 "MediaPage.c"
+#line 5578 "MediaPage.c"
}
void media_page_on_increase_rating (MediaPage* self) {
-#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 750 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 750 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_increase_rating (self);
-#line 5538 "MediaPage.c"
+#line 5587 "MediaPage.c"
}
@@ -5553,64 +5602,64 @@ static void media_page_real_on_decrease_rating (MediaPage* self) {
CommandManager* _tmp10_ = NULL;
CommandManager* _tmp11_ = NULL;
SetRatingCommand* _tmp12_ = NULL;
-#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 761 "/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 761 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 761 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 761 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 761 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 761 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp3_) {
-#line 752 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 762 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 5571 "MediaPage.c"
+#line 5620 "MediaPage.c"
}
-#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 764 "/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 764 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = _tmp4_;
-#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = _tmp6_;
-#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 764 "/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 754 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = _tmp8_;
-#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp7_);
-#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala"
command = _tmp9_;
-#line 755 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 765 "/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 765 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = _tmp10_;
-#line 755 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 765 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = command;
-#line 755 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 765 "/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 765 "/home/jens/Source/shotwell/src/MediaPage.vala"
_command_manager_unref0 (_tmp11_);
-#line 757 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 767 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_update_rating_sensitivities (self);
-#line 750 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 760 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (command);
-#line 5605 "MediaPage.c"
+#line 5654 "MediaPage.c"
}
void media_page_on_decrease_rating (MediaPage* self) {
-#line 750 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 760 "/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 760 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_decrease_rating (self);
-#line 5614 "MediaPage.c"
+#line 5663 "MediaPage.c"
}
@@ -5630,178 +5679,178 @@ static void media_page_real_on_set_rating (MediaPage* self, Rating rating) {
CommandManager* _tmp11_ = NULL;
CommandManager* _tmp12_ = NULL;
SetRatingCommand* _tmp13_ = NULL;
-#line 761 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 771 "/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 771 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 761 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 771 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 761 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 771 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 761 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 771 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 761 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 771 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp3_) {
-#line 762 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 772 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 5648 "MediaPage.c"
+#line 5697 "MediaPage.c"
}
-#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 774 "/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 774 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = _tmp4_;
-#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = _tmp6_;
-#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = rating;
-#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = set_rating_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable), _tmp8_);
-#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = _tmp9_;
-#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp7_);
-#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala"
command = _tmp10_;
-#line 765 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 765 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = _tmp11_;
-#line 765 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = command;
-#line 765 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala"
command_manager_execute (_tmp12_, G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_COMMAND, Command));
-#line 765 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala"
_command_manager_unref0 (_tmp12_);
-#line 767 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 777 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_update_rating_sensitivities (self);
-#line 760 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 770 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (command);
-#line 5684 "MediaPage.c"
+#line 5733 "MediaPage.c"
}
void media_page_on_set_rating (MediaPage* self, Rating rating) {
-#line 760 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 770 "/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 770 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_set_rating (self, rating);
-#line 5693 "MediaPage.c"
+#line 5742 "MediaPage.c"
}
static void media_page_real_on_rate_rejected (MediaPage* self) {
-#line 771 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 781 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_REJECTED);
-#line 5700 "MediaPage.c"
+#line 5749 "MediaPage.c"
}
void media_page_on_rate_rejected (MediaPage* self) {
-#line 770 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 780 "/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 780 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_rejected (self);
-#line 5709 "MediaPage.c"
+#line 5758 "MediaPage.c"
}
static void media_page_real_on_rate_unrated (MediaPage* self) {
-#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 785 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_UNRATED);
-#line 5716 "MediaPage.c"
+#line 5765 "MediaPage.c"
}
void media_page_on_rate_unrated (MediaPage* self) {
-#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 784 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 784 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_unrated (self);
-#line 5725 "MediaPage.c"
+#line 5774 "MediaPage.c"
}
static void media_page_real_on_rate_one (MediaPage* self) {
-#line 779 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 789 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_ONE);
-#line 5732 "MediaPage.c"
+#line 5781 "MediaPage.c"
}
void media_page_on_rate_one (MediaPage* self) {
-#line 778 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 788 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 778 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 788 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_one (self);
-#line 5741 "MediaPage.c"
+#line 5790 "MediaPage.c"
}
static void media_page_real_on_rate_two (MediaPage* self) {
-#line 783 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 793 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_TWO);
-#line 5748 "MediaPage.c"
+#line 5797 "MediaPage.c"
}
void media_page_on_rate_two (MediaPage* self) {
-#line 782 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 792 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 782 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 792 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_two (self);
-#line 5757 "MediaPage.c"
+#line 5806 "MediaPage.c"
}
static void media_page_real_on_rate_three (MediaPage* self) {
-#line 787 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 797 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_THREE);
-#line 5764 "MediaPage.c"
+#line 5813 "MediaPage.c"
}
void media_page_on_rate_three (MediaPage* self) {
-#line 786 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 796 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 786 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 796 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_three (self);
-#line 5773 "MediaPage.c"
+#line 5822 "MediaPage.c"
}
static void media_page_real_on_rate_four (MediaPage* self) {
-#line 791 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 801 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_FOUR);
-#line 5780 "MediaPage.c"
+#line 5829 "MediaPage.c"
}
void media_page_on_rate_four (MediaPage* self) {
-#line 790 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 800 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 790 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 800 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_four (self);
-#line 5789 "MediaPage.c"
+#line 5838 "MediaPage.c"
}
static void media_page_real_on_rate_five (MediaPage* self) {
-#line 795 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 805 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_FIVE);
-#line 5796 "MediaPage.c"
+#line 5845 "MediaPage.c"
}
void media_page_on_rate_five (MediaPage* self) {
-#line 794 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 804 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 794 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 804 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_five (self);
-#line 5805 "MediaPage.c"
+#line 5854 "MediaPage.c"
}
@@ -5810,23 +5859,23 @@ static void media_page_on_remove_from_library (MediaPage* self) {
ViewCollection* _tmp1_ = NULL;
GeeList* _tmp2_ = NULL;
GeeCollection* _tmp3_ = NULL;
-#line 798 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 808 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 799 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 799 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 799 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = view_collection_get_selected_sources (_tmp1_);
-#line 799 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 799 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala"
remove_photos_from_library (_tmp3_);
-#line 799 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp3_);
-#line 799 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 5830 "MediaPage.c"
+#line 5879 "MediaPage.c"
}
@@ -5839,55 +5888,55 @@ static void media_page_real_on_move_to_trash (MediaPage* self) {
gboolean _tmp9_ = FALSE;
gboolean _tmp18_ = FALSE;
CheckerboardItem* _tmp19_ = NULL;
-#line 803 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 813 "/home/jens/Source/shotwell/src/MediaPage.vala"
restore_point = NULL;
-#line 805 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 815 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage)->cursor;
-#line 805 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 815 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp0_ != NULL) {
-#line 5849 "MediaPage.c"
+#line 5898 "MediaPage.c"
ViewCollection* _tmp1_ = NULL;
ViewCollection* _tmp2_ = NULL;
CheckerboardItem* _tmp3_ = NULL;
DataView* _tmp4_ = NULL;
CheckerboardItem* _tmp5_ = NULL;
-#line 806 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 806 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = _tmp1_;
-#line 806 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage)->cursor;
-#line 806 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = view_collection_get_next (_tmp2_, G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_VIEW, DataView));
-#line 806 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, TYPE_CHECKERBOARD_ITEM) ? ((CheckerboardItem*) _tmp4_) : NULL;
-#line 806 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp5_ == NULL) {
-#line 806 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp4_);
-#line 5869 "MediaPage.c"
+#line 5918 "MediaPage.c"
}
-#line 806 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (restore_point);
-#line 806 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala"
restore_point = _tmp5_;
-#line 806 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp2_);
-#line 5877 "MediaPage.c"
+#line 5926 "MediaPage.c"
}
-#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = _tmp6_;
-#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = view_collection_get_selected_count (_tmp7_);
-#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = _tmp8_ > 0;
-#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp7_);
-#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp9_) {
-#line 5891 "MediaPage.c"
+#line 5940 "MediaPage.c"
CommandManager* _tmp10_ = NULL;
CommandManager* _tmp11_ = NULL;
ViewCollection* _tmp12_ = NULL;
@@ -5896,83 +5945,83 @@ static void media_page_real_on_move_to_trash (MediaPage* self) {
GeeCollection* _tmp15_ = NULL;
TrashUntrashPhotosCommand* _tmp16_ = NULL;
TrashUntrashPhotosCommand* _tmp17_ = NULL;
-#line 810 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 810 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = _tmp10_;
-#line 810 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 810 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = _tmp12_;
-#line 810 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = view_collection_get_selected_sources (_tmp13_);
-#line 810 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 810 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = trash_untrash_photos_command_new (_tmp15_, TRUE);
-#line 810 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = _tmp16_;
-#line 810 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
command_manager_execute (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_COMMAND, Command));
-#line 810 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp17_);
-#line 810 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp15_);
-#line 810 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp13_);
-#line 810 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
_command_manager_unref0 (_tmp11_);
-#line 5926 "MediaPage.c"
+#line 5975 "MediaPage.c"
}
-#line 814 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp19_ = restore_point;
-#line 814 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp19_ != NULL) {
-#line 5932 "MediaPage.c"
+#line 5981 "MediaPage.c"
ViewCollection* _tmp20_ = NULL;
ViewCollection* _tmp21_ = NULL;
CheckerboardItem* _tmp22_ = NULL;
gboolean _tmp23_ = FALSE;
-#line 814 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp20_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 814 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = _tmp20_;
-#line 814 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp22_ = restore_point;
-#line 814 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#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 814 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = _tmp23_;
-#line 814 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp21_);
-#line 5949 "MediaPage.c"
+#line 5998 "MediaPage.c"
} else {
-#line 814 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = FALSE;
-#line 5953 "MediaPage.c"
+#line 6002 "MediaPage.c"
}
-#line 814 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp18_) {
-#line 5957 "MediaPage.c"
+#line 6006 "MediaPage.c"
CheckerboardItem* _tmp24_ = NULL;
-#line 815 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 825 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp24_ = restore_point;
-#line 815 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#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 5963 "MediaPage.c"
+#line 6012 "MediaPage.c"
}
-#line 802 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 812 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (restore_point);
-#line 5967 "MediaPage.c"
+#line 6016 "MediaPage.c"
}
void media_page_on_move_to_trash (MediaPage* self) {
-#line 802 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 812 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 802 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 812 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_move_to_trash (self);
-#line 5976 "MediaPage.c"
+#line 6025 "MediaPage.c"
}
@@ -5998,107 +6047,107 @@ static void media_page_real_on_edit_title (MediaPage* self) {
EditTitleDialog* _tmp15_ = NULL;
gchar* _tmp16_ = NULL;
const gchar* _tmp17_ = NULL;
-#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 830 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 830 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 830 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 830 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 830 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 830 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp3_) {
-#line 821 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 831 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 6016 "MediaPage.c"
+#line 6065 "MediaPage.c"
}
-#line 823 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 833 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 823 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 833 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = _tmp4_;
-#line 823 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 833 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = view_collection_get_selected_sources (_tmp5_);
-#line 823 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 833 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_LIST, GeeList);
-#line 823 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 833 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 823 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 833 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_sources = _tmp7_;
-#line 825 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = media_sources;
-#line 825 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = gee_list_get (_tmp8_, 0);
-#line 825 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = (MediaSource*) _tmp9_;
-#line 825 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = media_source_get_title (_tmp10_);
-#line 825 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = _tmp11_;
-#line 825 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = edit_title_dialog_new (_tmp12_);
-#line 825 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = _tmp13_;
-#line 825 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_free0 (_tmp12_);
-#line 825 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp10_);
-#line 825 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala"
edit_title_dialog = _tmp14_;
-#line 826 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 836 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = edit_title_dialog;
-#line 826 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 836 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = edit_title_dialog_execute (_tmp15_);
-#line 826 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 836 "/home/jens/Source/shotwell/src/MediaPage.vala"
new_title = _tmp16_;
-#line 827 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 837 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = new_title;
-#line 827 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 837 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp17_ != NULL) {
-#line 6060 "MediaPage.c"
+#line 6109 "MediaPage.c"
CommandManager* _tmp18_ = NULL;
CommandManager* _tmp19_ = NULL;
GeeList* _tmp20_ = NULL;
const gchar* _tmp21_ = NULL;
EditMultipleTitlesCommand* _tmp22_ = NULL;
EditMultipleTitlesCommand* _tmp23_ = NULL;
-#line 828 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 828 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp19_ = _tmp18_;
-#line 828 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp20_ = media_sources;
-#line 828 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = new_title;
-#line 828 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 838 "/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 828 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp23_ = _tmp22_;
-#line 828 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala"
command_manager_execute (_tmp19_, G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, TYPE_COMMAND, Command));
-#line 828 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp23_);
-#line 828 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala"
_command_manager_unref0 (_tmp19_);
-#line 6085 "MediaPage.c"
+#line 6134 "MediaPage.c"
}
-#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 829 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_free0 (new_title);
-#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 829 "/home/jens/Source/shotwell/src/MediaPage.vala"
_text_entry_dialog_mediator_unref0 (edit_title_dialog);
-#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 829 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (media_sources);
-#line 6093 "MediaPage.c"
+#line 6142 "MediaPage.c"
}
void media_page_on_edit_title (MediaPage* self) {
-#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 829 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 829 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_edit_title (self);
-#line 6102 "MediaPage.c"
+#line 6151 "MediaPage.c"
}
@@ -6124,107 +6173,107 @@ static void media_page_real_on_edit_comment (MediaPage* self) {
EditCommentDialog* _tmp15_ = NULL;
gchar* _tmp16_ = NULL;
const gchar* _tmp17_ = NULL;
-#line 832 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 842 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 832 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 842 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 832 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 842 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 832 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 842 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 832 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 842 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 832 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 842 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp3_) {
-#line 833 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 843 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 6142 "MediaPage.c"
+#line 6191 "MediaPage.c"
}
-#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 845 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 845 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = _tmp4_;
-#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 845 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = view_collection_get_selected_sources (_tmp5_);
-#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 845 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_LIST, GeeList);
-#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 845 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 845 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_sources = _tmp7_;
-#line 837 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = media_sources;
-#line 837 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = gee_list_get (_tmp8_, 0);
-#line 837 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = (MediaSource*) _tmp9_;
-#line 837 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = media_source_get_comment (_tmp10_);
-#line 837 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = _tmp11_;
-#line 837 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = edit_comment_dialog_new (_tmp12_, FALSE);
-#line 837 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = _tmp13_;
-#line 837 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_free0 (_tmp12_);
-#line 837 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp10_);
-#line 837 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 847 "/home/jens/Source/shotwell/src/MediaPage.vala"
edit_comment_dialog = _tmp14_;
-#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 848 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = edit_comment_dialog;
-#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 848 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = edit_comment_dialog_execute (_tmp15_);
-#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 848 "/home/jens/Source/shotwell/src/MediaPage.vala"
new_comment = _tmp16_;
-#line 839 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 849 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = new_comment;
-#line 839 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 849 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp17_ != NULL) {
-#line 6186 "MediaPage.c"
+#line 6235 "MediaPage.c"
CommandManager* _tmp18_ = NULL;
CommandManager* _tmp19_ = NULL;
GeeList* _tmp20_ = NULL;
const gchar* _tmp21_ = NULL;
EditMultipleCommentsCommand* _tmp22_ = NULL;
EditMultipleCommentsCommand* _tmp23_ = NULL;
-#line 840 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 850 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 840 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 850 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp19_ = _tmp18_;
-#line 840 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 850 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp20_ = media_sources;
-#line 840 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 850 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = new_comment;
-#line 840 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 850 "/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 840 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 850 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp23_ = _tmp22_;
-#line 840 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 850 "/home/jens/Source/shotwell/src/MediaPage.vala"
command_manager_execute (_tmp19_, G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, TYPE_COMMAND, Command));
-#line 840 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 850 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp23_);
-#line 840 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 850 "/home/jens/Source/shotwell/src/MediaPage.vala"
_command_manager_unref0 (_tmp19_);
-#line 6211 "MediaPage.c"
+#line 6260 "MediaPage.c"
}
-#line 831 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 841 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_free0 (new_comment);
-#line 831 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 841 "/home/jens/Source/shotwell/src/MediaPage.vala"
_multi_text_entry_dialog_mediator_unref0 (edit_comment_dialog);
-#line 831 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 841 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (media_sources);
-#line 6219 "MediaPage.c"
+#line 6268 "MediaPage.c"
}
void media_page_on_edit_comment (MediaPage* self) {
-#line 831 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 841 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 831 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 841 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_edit_comment (self);
-#line 6228 "MediaPage.c"
+#line 6277 "MediaPage.c"
}
@@ -6236,40 +6285,40 @@ static void media_page_real_on_display_titles (MediaPage* self, GSimpleAction* a
ConfigFacade* _tmp3_ = NULL;
GSimpleAction* _tmp4_ = NULL;
GVariant* _tmp5_ = NULL;
-#line 843 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 853 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
-#line 844 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 854 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = value;
-#line 844 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 854 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = g_variant_get_boolean (_tmp0_);
-#line 844 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 854 "/home/jens/Source/shotwell/src/MediaPage.vala"
display = _tmp1_;
-#line 846 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 856 "/home/jens/Source/shotwell/src/MediaPage.vala"
checkerboard_page_set_display_titles (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), display);
-#line 848 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 858 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = config_facade_get_instance ();
-#line 848 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 858 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_;
-#line 848 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 858 "/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 848 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 858 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp3_);
-#line 849 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 859 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = action;
-#line 849 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 859 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = value;
-#line 849 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 859 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_simple_action_set_state (_tmp4_, _tmp5_);
-#line 6264 "MediaPage.c"
+#line 6313 "MediaPage.c"
}
void media_page_on_display_titles (MediaPage* self, GSimpleAction* action, GVariant* value) {
-#line 843 "/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 843 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 853 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_display_titles (self, action, value);
-#line 6273 "MediaPage.c"
+#line 6322 "MediaPage.c"
}
@@ -6281,40 +6330,40 @@ static void media_page_real_on_display_comments (MediaPage* self, GSimpleAction*
ConfigFacade* _tmp3_ = NULL;
GSimpleAction* _tmp4_ = NULL;
GVariant* _tmp5_ = NULL;
-#line 852 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 862 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
-#line 853 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 863 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = value;
-#line 853 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 863 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = g_variant_get_boolean (_tmp0_);
-#line 853 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 863 "/home/jens/Source/shotwell/src/MediaPage.vala"
display = _tmp1_;
-#line 855 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 865 "/home/jens/Source/shotwell/src/MediaPage.vala"
checkerboard_page_set_display_comments (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), display);
-#line 857 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 867 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = config_facade_get_instance ();
-#line 857 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 867 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_;
-#line 857 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 867 "/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 857 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 867 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp3_);
-#line 858 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 868 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = action;
-#line 858 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 868 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = value;
-#line 858 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 868 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_simple_action_set_state (_tmp4_, _tmp5_);
-#line 6309 "MediaPage.c"
+#line 6358 "MediaPage.c"
}
void media_page_on_display_comments (MediaPage* self, GSimpleAction* action, GVariant* value) {
-#line 852 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 862 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 852 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 862 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_display_comments (self, action, value);
-#line 6318 "MediaPage.c"
+#line 6367 "MediaPage.c"
}
@@ -6326,40 +6375,40 @@ static void media_page_real_on_display_ratings (MediaPage* self, GSimpleAction*
ConfigFacade* _tmp3_ = NULL;
GSimpleAction* _tmp4_ = NULL;
GVariant* _tmp5_ = NULL;
-#line 861 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 871 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
-#line 862 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 872 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = value;
-#line 862 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 872 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = g_variant_get_boolean (_tmp0_);
-#line 862 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 872 "/home/jens/Source/shotwell/src/MediaPage.vala"
display = _tmp1_;
-#line 864 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 874 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_display_ratings (self, display);
-#line 866 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 876 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = config_facade_get_instance ();
-#line 866 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 876 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_;
-#line 866 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 876 "/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 866 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 876 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp3_);
-#line 867 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 877 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = action;
-#line 867 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 877 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = value;
-#line 867 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 877 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_simple_action_set_state (_tmp4_, _tmp5_);
-#line 6354 "MediaPage.c"
+#line 6403 "MediaPage.c"
}
void media_page_on_display_ratings (MediaPage* self, GSimpleAction* action, GVariant* value) {
-#line 861 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 871 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 861 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 871 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_display_ratings (self, action, value);
-#line 6363 "MediaPage.c"
+#line 6412 "MediaPage.c"
}
@@ -6371,76 +6420,76 @@ static void media_page_real_on_display_tags (MediaPage* self, GSimpleAction* act
ConfigFacade* _tmp3_ = NULL;
GSimpleAction* _tmp4_ = NULL;
GVariant* _tmp5_ = NULL;
-#line 870 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 880 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
-#line 871 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 881 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = value;
-#line 871 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 881 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = g_variant_get_boolean (_tmp0_);
-#line 871 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 881 "/home/jens/Source/shotwell/src/MediaPage.vala"
display = _tmp1_;
-#line 873 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 883 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_display_tags (self, display);
-#line 875 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 885 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = config_facade_get_instance ();
-#line 875 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 885 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_;
-#line 875 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 885 "/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 875 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 885 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp3_);
-#line 876 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 886 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = action;
-#line 876 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 886 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = value;
-#line 876 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 886 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_simple_action_set_state (_tmp4_, _tmp5_);
-#line 6399 "MediaPage.c"
+#line 6448 "MediaPage.c"
}
void media_page_on_display_tags (MediaPage* self, GSimpleAction* action, GVariant* value) {
-#line 870 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 880 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 870 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 880 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_display_tags (self, action, value);
-#line 6408 "MediaPage.c"
+#line 6457 "MediaPage.c"
}
static void media_page_real_get_config_photos_sort (MediaPage* self, gboolean* sort_order, gint* sort_by) {
-#line 879 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 889 "/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 879 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 889 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 6417 "MediaPage.c"
+#line 6466 "MediaPage.c"
}
void media_page_get_config_photos_sort (MediaPage* self, gboolean* sort_order, gint* sort_by) {
-#line 879 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 889 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 879 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 889 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->get_config_photos_sort (self, sort_order, sort_by);
-#line 6426 "MediaPage.c"
+#line 6475 "MediaPage.c"
}
static void media_page_real_set_config_photos_sort (MediaPage* self, gboolean sort_order, gint sort_by) {
-#line 881 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 891 "/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 881 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 891 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 6435 "MediaPage.c"
+#line 6484 "MediaPage.c"
}
void media_page_set_config_photos_sort (MediaPage* self, gboolean sort_order, gint sort_by) {
-#line 881 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 891 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 881 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 891 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->set_config_photos_sort (self, sort_order, sort_by);
-#line 6444 "MediaPage.c"
+#line 6493 "MediaPage.c"
}
@@ -6451,54 +6500,36 @@ static void media_page_real_on_sort_changed (MediaPage* self, GSimpleAction* act
gint _tmp2_ = 0;
gboolean sort_order = FALSE;
gboolean _tmp3_ = FALSE;
-#line 883 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 893 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
-#line 884 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 894 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = action;
-#line 884 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 894 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = value;
-#line 884 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 894 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_simple_action_set_state (_tmp0_, _tmp1_);
-#line 886 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = media_page_get_menu_sort_by (self);
-#line 886 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 896 "/home/jens/Source/shotwell/src/MediaPage.vala"
sort_by = _tmp2_;
-#line 887 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 897 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = media_page_get_menu_sort_order (self);
-#line 887 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 897 "/home/jens/Source/shotwell/src/MediaPage.vala"
sort_order = _tmp3_;
-#line 889 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 899 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_view_comparator (self, sort_by, sort_order);
-#line 890 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 900 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_config_photos_sort (self, sort_order, sort_by);
-#line 6475 "MediaPage.c"
+#line 6524 "MediaPage.c"
}
void media_page_on_sort_changed (MediaPage* self, GSimpleAction* action, GVariant* value) {
-#line 883 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 883 "/home/jens/Source/shotwell/src/MediaPage.vala"
- MEDIA_PAGE_GET_CLASS (self)->on_sort_changed (self, action, value);
-#line 6484 "MediaPage.c"
-}
-
-
-void media_page_on_raw_developer_shotwell (MediaPage* self) {
#line 893 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 894 "/home/jens/Source/shotwell/src/MediaPage.vala"
- media_page_developer_changed (self, RAW_DEVELOPER_SHOTWELL);
-#line 6493 "MediaPage.c"
-}
-
-
-void media_page_on_raw_developer_camera (MediaPage* self) {
-#line 897 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 898 "/home/jens/Source/shotwell/src/MediaPage.vala"
- media_page_developer_changed (self, RAW_DEVELOPER_CAMERA);
-#line 6502 "MediaPage.c"
+#line 893 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ MEDIA_PAGE_GET_CLASS (self)->on_sort_changed (self, action, value);
+#line 6533 "MediaPage.c"
}
@@ -6508,78 +6539,78 @@ static void media_page_on_raw_developer_changed (MediaPage* self, GSimpleAction*
const gchar* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
GQuark _tmp4_ = 0U;
-#line 905 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp3_label0 = 0;
-#line 905 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp3_label1 = 0;
-#line 6516 "MediaPage.c"
+#line 6547 "MediaPage.c"
RawDeveloper _tmp5_ = 0;
GSimpleAction* _tmp6_ = NULL;
GVariant* _tmp7_ = NULL;
-#line 901 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 903 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 901 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_return_if_fail (G_IS_SIMPLE_ACTION (action));
#line 903 "/home/jens/Source/shotwell/src/MediaPage.vala"
- developer = RAW_DEVELOPER_SHOTWELL;
+ g_return_if_fail (G_IS_SIMPLE_ACTION (action));
#line 905 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ developer = RAW_DEVELOPER_SHOTWELL;
+#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = value;
-#line 905 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = g_variant_get_string (_tmp0_, NULL);
-#line 905 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = _tmp1_;
-#line 905 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = (NULL == _tmp2_) ? 0 : g_quark_from_string (_tmp2_);
-#line 905 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp4_ == ((0 != _tmp3_label0) ? _tmp3_label0 : (_tmp3_label0 = g_quark_from_static_string ("Shotwell")))) {
-#line 905 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 6538 "MediaPage.c"
+#line 6569 "MediaPage.c"
default:
{
-#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 909 "/home/jens/Source/shotwell/src/MediaPage.vala"
developer = RAW_DEVELOPER_SHOTWELL;
-#line 908 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 910 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 6545 "MediaPage.c"
+#line 6576 "MediaPage.c"
}
}
} else if (_tmp4_ == ((0 != _tmp3_label1) ? _tmp3_label1 : (_tmp3_label1 = g_quark_from_static_string ("Camera")))) {
-#line 905 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 6551 "MediaPage.c"
+#line 6582 "MediaPage.c"
default:
{
-#line 910 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 912 "/home/jens/Source/shotwell/src/MediaPage.vala"
developer = RAW_DEVELOPER_CAMERA;
-#line 911 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 913 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 6558 "MediaPage.c"
+#line 6589 "MediaPage.c"
}
}
} else {
-#line 905 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 6564 "MediaPage.c"
+#line 6595 "MediaPage.c"
default:
{
-#line 913 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 915 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 6569 "MediaPage.c"
+#line 6600 "MediaPage.c"
}
}
}
-#line 916 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 918 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = developer;
-#line 916 "/home/jens/Source/shotwell/src/MediaPage.vala"
- media_page_developer_changed (self, _tmp5_);
#line 918 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ media_page_developer_changed (self, _tmp5_);
+#line 920 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = action;
-#line 918 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 920 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = value;
-#line 918 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 920 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_simple_action_set_state (_tmp6_, _tmp7_);
-#line 6583 "MediaPage.c"
+#line 6614 "MediaPage.c"
}
@@ -6593,29 +6624,29 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
GeeArrayList* _tmp4_ = NULL;
gboolean _tmp31_ = FALSE;
gboolean _tmp32_ = FALSE;
-#line 922 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 924 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 922 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 924 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 922 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 924 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 922 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 924 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 922 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 924 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 922 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 924 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp3_) {
-#line 923 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 925 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 6611 "MediaPage.c"
+#line 6642 "MediaPage.c"
}
-#line 928 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 930 "/home/jens/Source/shotwell/src/MediaPage.vala"
need_warn = FALSE;
-#line 931 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 933 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = gee_array_list_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 931 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 933 "/home/jens/Source/shotwell/src/MediaPage.vala"
to_set = _tmp4_;
-#line 6619 "MediaPage.c"
+#line 6650 "MediaPage.c"
{
GeeList* _view_list = NULL;
ViewCollection* _tmp5_ = NULL;
@@ -6627,31 +6658,31 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
gint _tmp10_ = 0;
gint _tmp11_ = 0;
gint _view_index = 0;
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = _tmp5_;
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = view_collection_get_selected (_tmp6_);
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = _tmp7_;
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp6_);
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_list = _tmp8_;
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = _view_list;
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = _tmp10_;
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_size = _tmp11_;
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_index = -1;
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 6655 "MediaPage.c"
+#line 6686 "MediaPage.c"
gint _tmp12_ = 0;
gint _tmp13_ = 0;
gint _tmp14_ = 0;
@@ -6665,128 +6696,128 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
Photo* _tmp20_ = NULL;
gboolean _tmp21_ = FALSE;
Photo* _tmp22_ = NULL;
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = _view_index;
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_index = _tmp12_ + 1;
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = _view_index;
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = _view_size;
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (!(_tmp13_ < _tmp14_)) {
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 6681 "MediaPage.c"
+#line 6712 "MediaPage.c"
}
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = _view_list;
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = _view_index;
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = gee_list_get (_tmp15_, _tmp16_);
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
view = (DataView*) _tmp17_;
-#line 933 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 935 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = view;
-#line 933 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 935 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp19_ = data_view_get_source (_tmp18_);
-#line 933 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 935 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp20_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, TYPE_PHOTO) ? ((Photo*) _tmp19_) : NULL;
-#line 933 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 935 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp20_ == NULL) {
-#line 933 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 935 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp19_);
-#line 6701 "MediaPage.c"
+#line 6732 "MediaPage.c"
}
-#line 933 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 935 "/home/jens/Source/shotwell/src/MediaPage.vala"
p = _tmp20_;
-#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp22_ = p;
-#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp22_ != NULL) {
-#line 6709 "MediaPage.c"
+#line 6740 "MediaPage.c"
RawDeveloper _tmp23_ = 0;
Photo* _tmp24_ = NULL;
RawDeveloper _tmp25_ = 0;
gboolean _tmp26_ = FALSE;
-#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp23_ = rd;
-#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp24_ = p;
-#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp25_ = photo_get_raw_developer (_tmp24_);
-#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp26_ = raw_developer_is_equivalent (_tmp23_, _tmp25_);
-#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = !_tmp26_;
-#line 6724 "MediaPage.c"
+#line 6755 "MediaPage.c"
} else {
-#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = FALSE;
-#line 6728 "MediaPage.c"
+#line 6759 "MediaPage.c"
}
-#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp21_) {
-#line 6732 "MediaPage.c"
+#line 6763 "MediaPage.c"
GeeArrayList* _tmp27_ = NULL;
DataView* _tmp28_ = NULL;
Photo* _tmp29_ = NULL;
gboolean _tmp30_ = FALSE;
-#line 935 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 937 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp27_ = to_set;
-#line 935 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 937 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp28_ = view;
-#line 935 "/home/jens/Source/shotwell/src/MediaPage.vala"
- gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp28_);
#line 937 "/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"
_tmp29_ = p;
-#line 937 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 939 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp30_ = photo_has_transformations (_tmp29_);
-#line 937 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 939 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp30_) {
-#line 938 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 940 "/home/jens/Source/shotwell/src/MediaPage.vala"
need_warn = TRUE;
-#line 6751 "MediaPage.c"
+#line 6782 "MediaPage.c"
}
}
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (p);
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (view);
-#line 6758 "MediaPage.c"
+#line 6789 "MediaPage.c"
}
-#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_view_list);
-#line 6762 "MediaPage.c"
+#line 6793 "MediaPage.c"
}
-#line 943 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp32_ = need_warn;
-#line 943 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (!_tmp32_) {
-#line 943 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp31_ = TRUE;
-#line 6770 "MediaPage.c"
+#line 6801 "MediaPage.c"
} else {
GeeArrayList* _tmp33_ = NULL;
gint _tmp34_ = 0;
gint _tmp35_ = 0;
gboolean _tmp36_ = FALSE;
-#line 943 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp33_ = to_set;
-#line 943 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp34_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 943 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp35_ = _tmp34_;
-#line 943 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp36_ = dialogs_confirm_warn_developer_changed (_tmp35_);
-#line 943 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp31_ = _tmp36_;
-#line 6786 "MediaPage.c"
+#line 6817 "MediaPage.c"
}
-#line 943 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp31_) {
-#line 6790 "MediaPage.c"
+#line 6821 "MediaPage.c"
SetRawDeveloperCommand* command = NULL;
GeeArrayList* _tmp37_ = NULL;
RawDeveloper _tmp38_ = 0;
@@ -6794,42 +6825,42 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
CommandManager* _tmp40_ = NULL;
CommandManager* _tmp41_ = NULL;
SetRawDeveloperCommand* _tmp42_ = NULL;
-#line 944 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 946 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp37_ = to_set;
-#line 944 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 946 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp38_ = rd;
-#line 944 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 946 "/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 944 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 946 "/home/jens/Source/shotwell/src/MediaPage.vala"
command = _tmp39_;
-#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 947 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp40_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 947 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp41_ = _tmp40_;
-#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 947 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp42_ = command;
-#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 947 "/home/jens/Source/shotwell/src/MediaPage.vala"
command_manager_execute (_tmp41_, G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, TYPE_COMMAND, Command));
-#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _command_manager_unref0 (_tmp41_);
#line 947 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ _command_manager_unref0 (_tmp41_);
+#line 949 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_update_development_menu_item_sensitivity (self);
-#line 943 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (command);
-#line 6820 "MediaPage.c"
+#line 6851 "MediaPage.c"
}
-#line 921 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 923 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (to_set);
-#line 6824 "MediaPage.c"
+#line 6855 "MediaPage.c"
}
void media_page_developer_changed (MediaPage* self, RawDeveloper rd) {
-#line 921 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 923 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 921 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 923 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->developer_changed (self, rd);
-#line 6833 "MediaPage.c"
+#line 6864 "MediaPage.c"
}
@@ -6837,17 +6868,17 @@ static void media_page_real_set_display_titles (CheckerboardPage* base, gboolean
MediaPage * self;
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
-#line 951 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 953 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
-#line 952 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 954 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = display;
-#line 952 "/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 954 "/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"
_tmp1_ = display;
-#line 954 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 956 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_active (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewTitle", _tmp1_);
-#line 6851 "MediaPage.c"
+#line 6882 "MediaPage.c"
}
@@ -6855,17 +6886,17 @@ static void media_page_real_set_display_comments (CheckerboardPage* base, gboole
MediaPage * self;
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
-#line 957 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 959 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
-#line 958 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 960 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = display;
-#line 958 "/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 960 "/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"
_tmp1_ = display;
-#line 960 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 962 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_active (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewComment", _tmp1_);
-#line 6869 "MediaPage.c"
+#line 6900 "MediaPage.c"
}
@@ -6873,19 +6904,19 @@ static GAction* media_page_sort_by_title_action (MediaPage* self) {
GAction* result = NULL;
GAction* action = NULL;
GAction* _tmp0_ = NULL;
-#line 963 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 965 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), NULL);
-#line 964 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 966 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SortBy");
-#line 964 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 966 "/home/jens/Source/shotwell/src/MediaPage.vala"
action = _tmp0_;
-#line 965 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 967 "/home/jens/Source/shotwell/src/MediaPage.vala"
_vala_assert (action != NULL, "action != null");
-#line 966 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 968 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = action;
-#line 966 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 968 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 6889 "MediaPage.c"
+#line 6920 "MediaPage.c"
}
@@ -6893,19 +6924,19 @@ static GAction* media_page_sort_ascending_action (MediaPage* self) {
GAction* result = NULL;
GAction* action = NULL;
GAction* _tmp0_ = NULL;
-#line 969 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 971 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), NULL);
-#line 970 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 972 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Sort");
-#line 970 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 972 "/home/jens/Source/shotwell/src/MediaPage.vala"
action = _tmp0_;
-#line 971 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 973 "/home/jens/Source/shotwell/src/MediaPage.vala"
_vala_assert (action != NULL, "action != null");
-#line 972 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 974 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = action;
-#line 972 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 974 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 6909 "MediaPage.c"
+#line 6940 "MediaPage.c"
}
@@ -6918,38 +6949,38 @@ gint media_page_get_menu_sort_by (MediaPage* self) {
const gchar* _tmp4_ = NULL;
gint _tmp5_ = 0;
gint _tmp6_ = 0;
-#line 975 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_return_val_if_fail (IS_MEDIA_PAGE (self), 0);
#line 977 "/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"
_tmp0_ = media_page_sort_by_title_action (self);
-#line 977 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 977 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = g_action_get_state (_tmp1_);
-#line 977 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_;
-#line 977 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = g_variant_get_string (_tmp3_, NULL);
-#line 977 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = atoi (_tmp4_);
-#line 977 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = _tmp5_;
-#line 977 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_variant_unref0 (_tmp3_);
-#line 977 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp1_);
-#line 977 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = _tmp6_;
-#line 977 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 6946 "MediaPage.c"
+#line 6977 "MediaPage.c"
}
static GVariant* _variant_new30 (const gchar* value) {
-#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 984 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_string (value));
-#line 6953 "MediaPage.c"
+#line 6984 "MediaPage.c"
}
@@ -6960,29 +6991,29 @@ void media_page_set_menu_sort_by (MediaPage* self, gint val) {
GAction* _tmp2_ = NULL;
GAction* _tmp3_ = NULL;
GVariant* _tmp4_ = NULL;
-#line 980 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 981 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 983 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = val;
-#line 981 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 983 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = g_strdup_printf ("%d", _tmp0_);
-#line 981 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 983 "/home/jens/Source/shotwell/src/MediaPage.vala"
sort = _tmp1_;
-#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 984 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = media_page_sort_by_title_action (self);
-#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 984 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_;
-#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 984 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = _variant_new30 (sort);
-#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 984 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_action_change_state (_tmp3_, _tmp4_);
-#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 984 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_variant_unref0 (_tmp4_);
-#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 984 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp3_);
-#line 980 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_free0 (sort);
-#line 6986 "MediaPage.c"
+#line 7017 "MediaPage.c"
}
@@ -6994,36 +7025,36 @@ gboolean media_page_get_menu_sort_order (MediaPage* self) {
GVariant* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 985 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_return_val_if_fail (IS_MEDIA_PAGE (self), FALSE);
#line 987 "/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"
_tmp0_ = media_page_sort_ascending_action (self);
-#line 987 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 987 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = g_action_get_state (_tmp1_);
-#line 987 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_;
-#line 987 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = g_variant_get_string (_tmp3_, NULL);
-#line 987 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = g_strcmp0 (_tmp4_, "ascending") == 0;
-#line 987 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_variant_unref0 (_tmp3_);
-#line 987 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp1_);
-#line 987 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = _tmp5_;
-#line 987 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7020 "MediaPage.c"
+#line 7051 "MediaPage.c"
}
static GVariant* _variant_new31 (const gchar* value) {
-#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_string (value));
-#line 7027 "MediaPage.c"
+#line 7058 "MediaPage.c"
}
@@ -7033,141 +7064,141 @@ void media_page_set_menu_sort_order (MediaPage* self, gboolean ascending) {
GAction* _tmp2_ = NULL;
GAction* _tmp3_ = NULL;
GVariant* _tmp4_ = NULL;
-#line 990 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 992 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = ascending;
-#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp1_) {
-#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = "ascending";
-#line 7045 "MediaPage.c"
+#line 7076 "MediaPage.c"
} else {
-#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = "descending";
-#line 7049 "MediaPage.c"
+#line 7080 "MediaPage.c"
}
-#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = media_page_sort_ascending_action (self);
-#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_;
-#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = _variant_new31 (_tmp0_);
-#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_action_change_state (_tmp3_, _tmp4_);
-#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_variant_unref0 (_tmp4_);
-#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp3_);
-#line 7063 "MediaPage.c"
+#line 7094 "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 1001 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7072 "MediaPage.c"
+#line 7103 "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 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7081 "MediaPage.c"
+#line 7112 "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 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1005 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7090 "MediaPage.c"
+#line 7121 "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 1008 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7099 "MediaPage.c"
+#line 7130 "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 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7108 "MediaPage.c"
+#line 7139 "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 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1012 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7117 "MediaPage.c"
+#line 7148 "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 1015 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7126 "MediaPage.c"
+#line 7157 "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 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7135 "MediaPage.c"
+#line 7166 "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 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1019 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7144 "MediaPage.c"
+#line 7175 "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 1022 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7153 "MediaPage.c"
+#line 7184 "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 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7162 "MediaPage.c"
+#line 7193 "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 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1026 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7171 "MediaPage.c"
+#line 7202 "MediaPage.c"
}
@@ -7185,329 +7216,329 @@ static void media_page_set_view_comparator (MediaPage* self, gint sort_by, gbool
void* _tmp10__target = NULL;
ComparatorPredicate _tmp11_ = NULL;
void* _tmp11__target = NULL;
-#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 996 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 998 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = sort_by;
-#line 998 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (_tmp0_) {
-#line 998 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala"
case MEDIA_PAGE_SORT_BY_TITLE:
-#line 7197 "MediaPage.c"
+#line 7228 "MediaPage.c"
{
gboolean _tmp1_ = FALSE;
-#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = ascending;
-#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp1_) {
-#line 1001 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
-#line 1001 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = NULL;
-#line 1001 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1001 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 1001 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = _thumbnail_title_ascending_comparator_comparator;
-#line 1001 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1001 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7218 "MediaPage.c"
+#line 7249 "MediaPage.c"
} else {
-#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
-#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = NULL;
-#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = _thumbnail_title_descending_comparator_comparator;
-#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7234 "MediaPage.c"
+#line 7265 "MediaPage.c"
}
-#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1005 "/home/jens/Source/shotwell/src/MediaPage.vala"
(predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL);
-#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1005 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = NULL;
-#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1005 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1005 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1005 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = _thumbnail_title_comparator_predicate_comparator_predicate;
-#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1005 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1005 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1006 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 7252 "MediaPage.c"
+#line 7283 "MediaPage.c"
}
-#line 998 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala"
case MEDIA_PAGE_SORT_BY_EXPOSURE_DATE:
-#line 7256 "MediaPage.c"
+#line 7287 "MediaPage.c"
{
gboolean _tmp2_ = FALSE;
-#line 1007 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = ascending;
-#line 1007 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp2_) {
-#line 1008 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
-#line 1008 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = NULL;
-#line 1008 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1008 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 1008 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = _thumbnail_exposure_time_ascending_comparator_comparator;
-#line 1008 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1008 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7277 "MediaPage.c"
+#line 7308 "MediaPage.c"
} else {
-#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
-#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = NULL;
-#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = _thumbnail_exposure_time_desending_comparator_comparator;
-#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7293 "MediaPage.c"
+#line 7324 "MediaPage.c"
}
-#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1012 "/home/jens/Source/shotwell/src/MediaPage.vala"
(predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL);
-#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1012 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = NULL;
-#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1012 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1012 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1012 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = _thumbnail_exposure_time_comparator_predicate_comparator_predicate;
-#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1012 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1012 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1013 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 7311 "MediaPage.c"
+#line 7342 "MediaPage.c"
}
-#line 998 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala"
case MEDIA_PAGE_SORT_BY_RATING:
-#line 7315 "MediaPage.c"
+#line 7346 "MediaPage.c"
{
gboolean _tmp3_ = FALSE;
-#line 1014 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = ascending;
-#line 1014 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp3_) {
-#line 1015 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
-#line 1015 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = NULL;
-#line 1015 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1015 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 1015 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = _thumbnail_rating_ascending_comparator_comparator;
-#line 1015 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1015 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7336 "MediaPage.c"
+#line 7367 "MediaPage.c"
} else {
-#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
-#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = NULL;
-#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = _thumbnail_rating_descending_comparator_comparator;
-#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7352 "MediaPage.c"
+#line 7383 "MediaPage.c"
}
-#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1019 "/home/jens/Source/shotwell/src/MediaPage.vala"
(predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL);
-#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1019 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = NULL;
-#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1019 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1019 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1019 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = _thumbnail_rating_comparator_predicate_comparator_predicate;
-#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1019 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1019 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1020 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 7370 "MediaPage.c"
+#line 7401 "MediaPage.c"
}
-#line 998 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala"
case MEDIA_PAGE_SORT_BY_FILENAME:
-#line 7374 "MediaPage.c"
+#line 7405 "MediaPage.c"
{
gboolean _tmp4_ = FALSE;
-#line 1021 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = ascending;
-#line 1021 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp4_) {
-#line 1022 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
-#line 1022 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = NULL;
-#line 1022 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1022 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 1022 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = _thumbnail_filename_ascending_comparator_comparator;
-#line 1022 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1022 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7395 "MediaPage.c"
+#line 7426 "MediaPage.c"
} else {
-#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
-#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = NULL;
-#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = _thumbnail_filename_descending_comparator_comparator;
-#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7411 "MediaPage.c"
+#line 7442 "MediaPage.c"
}
-#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1026 "/home/jens/Source/shotwell/src/MediaPage.vala"
(predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL);
-#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1026 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = NULL;
-#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1026 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1026 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1026 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = _thumbnail_filename_comparator_predicate_comparator_predicate;
-#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1026 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1026 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1027 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 7429 "MediaPage.c"
+#line 7460 "MediaPage.c"
}
default:
{
gint _tmp5_ = 0;
gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
-#line 1028 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = media_page_get_menu_sort_by (self);
-#line 1028 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = g_strdup_printf ("%i", _tmp5_);
-#line 1028 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = _tmp6_;
-#line 1028 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_debug ("MediaPage.vala:1028: Unknown sort criteria: %s", _tmp7_);
-#line 1028 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#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"
_g_free0 (_tmp7_);
-#line 1029 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
-#line 1029 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = NULL;
-#line 1029 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1029 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 1029 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = _thumbnail_title_descending_comparator_comparator;
-#line 1029 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1029 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1032 "/home/jens/Source/shotwell/src/MediaPage.vala"
(predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL);
-#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1032 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = NULL;
-#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1032 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1032 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1032 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = _thumbnail_title_comparator_predicate_comparator_predicate;
-#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1032 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1032 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1033 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 7476 "MediaPage.c"
+#line 7507 "MediaPage.c"
}
}
-#line 1034 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1036 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1034 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1036 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = _tmp8_;
-#line 1034 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1036 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = comparator;
-#line 1034 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1036 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10__target = comparator_target;
-#line 1034 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1036 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = predicate;
-#line 1034 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1036 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11__target = predicate_target;
-#line 1034 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1036 "/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 1034 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1036 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp9_);
-#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 996 "/home/jens/Source/shotwell/src/MediaPage.vala"
(predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL);
-#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 996 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = NULL;
-#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 996 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 996 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 996 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
-#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 996 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = NULL;
-#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 996 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 996 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7511 "MediaPage.c"
+#line 7542 "MediaPage.c"
}
@@ -7516,106 +7547,106 @@ void media_page_sync_sort (MediaPage* self) {
gint sort_by = 0;
gboolean _tmp0_ = FALSE;
gint _tmp1_ = 0;
-#line 1037 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1039 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 1054 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1056 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_get_config_photos_sort (self, &_tmp0_, &_tmp1_);
-#line 1054 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1056 "/home/jens/Source/shotwell/src/MediaPage.vala"
sort_ascending = _tmp0_;
-#line 1054 "/home/jens/Source/shotwell/src/MediaPage.vala"
- sort_by = _tmp1_;
#line 1056 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ sort_by = _tmp1_;
+#line 1058 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_menu_sort_by (self, sort_by);
-#line 1057 "/home/jens/Source/shotwell/src/MediaPage.vala"
- media_page_set_menu_sort_order (self, sort_ascending);
#line 1059 "/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"
media_page_set_view_comparator (self, sort_by, sort_ascending);
-#line 7534 "MediaPage.c"
+#line 7565 "MediaPage.c"
}
static void media_page_real_destroy (GtkWidget* base) {
MediaPage * self;
-#line 1062 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1064 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
-#line 1063 "/home/jens/Source/shotwell/src/MediaPage.vala"
- media_page_disconnect_slider (self);
#line 1065 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ media_page_disconnect_slider (self);
+#line 1067 "/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 7546 "MediaPage.c"
+#line 7577 "MediaPage.c"
}
void media_page_increase_zoom_level (MediaPage* self) {
MediaPageZoomSliderAssembly* _tmp0_ = NULL;
-#line 1068 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1070 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 1069 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1071 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = self->priv->connected_slider;
-#line 1069 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1071 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp0_ != NULL) {
-#line 7558 "MediaPage.c"
+#line 7589 "MediaPage.c"
MediaPageZoomSliderAssembly* _tmp1_ = NULL;
-#line 1070 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1072 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = self->priv->connected_slider;
-#line 1070 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1072 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_zoom_slider_assembly_increase_step (_tmp1_);
-#line 7564 "MediaPage.c"
+#line 7595 "MediaPage.c"
} else {
gint new_scale = 0;
gint _tmp2_ = 0;
gint _tmp3_ = 0;
gint _tmp4_ = 0;
-#line 1072 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1074 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = media_page_get_thumb_size (self);
-#line 1072 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1074 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = media_page_compute_zoom_scale_increase (_tmp2_);
-#line 1072 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1074 "/home/jens/Source/shotwell/src/MediaPage.vala"
new_scale = _tmp3_;
-#line 1073 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1075 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_save_persistent_thumbnail_scale (self);
-#line 1074 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1076 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = new_scale;
-#line 1074 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1076 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_thumb_size (self, _tmp4_);
-#line 7582 "MediaPage.c"
+#line 7613 "MediaPage.c"
}
}
void media_page_decrease_zoom_level (MediaPage* self) {
MediaPageZoomSliderAssembly* _tmp0_ = NULL;
-#line 1078 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1080 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 1079 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1081 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = self->priv->connected_slider;
-#line 1079 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1081 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp0_ != NULL) {
-#line 7595 "MediaPage.c"
+#line 7626 "MediaPage.c"
MediaPageZoomSliderAssembly* _tmp1_ = NULL;
-#line 1080 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1082 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = self->priv->connected_slider;
-#line 1080 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1082 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_zoom_slider_assembly_decrease_step (_tmp1_);
-#line 7601 "MediaPage.c"
+#line 7632 "MediaPage.c"
} else {
gint new_scale = 0;
gint _tmp2_ = 0;
gint _tmp3_ = 0;
gint _tmp4_ = 0;
-#line 1082 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1084 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = media_page_get_thumb_size (self);
-#line 1082 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1084 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = media_page_compute_zoom_scale_decrease (_tmp2_);
-#line 1082 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1084 "/home/jens/Source/shotwell/src/MediaPage.vala"
new_scale = _tmp3_;
-#line 1083 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1085 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_save_persistent_thumbnail_scale (self);
-#line 1084 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1086 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = new_scale;
-#line 1084 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1086 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_thumb_size (self, _tmp4_);
-#line 7619 "MediaPage.c"
+#line 7650 "MediaPage.c"
}
}
@@ -7625,28 +7656,28 @@ static DataView* media_page_real_create_thumbnail (MediaPage* self, DataSource*
DataSource* _tmp0_ = NULL;
gint _tmp1_ = 0;
Thumbnail* _tmp2_ = NULL;
-#line 1088 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1090 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_DATA_SOURCE (source), NULL);
-#line 1089 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1091 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = source;
-#line 1089 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1091 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = media_page_get_thumb_size (self);
-#line 1089 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1091 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = thumbnail_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_MEDIA_SOURCE, MediaSource), _tmp1_);
-#line 1089 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1091 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_VIEW, DataView);
-#line 1089 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1091 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7641 "MediaPage.c"
+#line 7672 "MediaPage.c"
}
DataView* media_page_create_thumbnail (MediaPage* self, DataSource* source) {
-#line 1088 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1090 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), NULL);
-#line 1088 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1090 "/home/jens/Source/shotwell/src/MediaPage.vala"
return MEDIA_PAGE_GET_CLASS (self)->create_thumbnail (self, source);
-#line 7650 "MediaPage.c"
+#line 7681 "MediaPage.c"
}
@@ -7677,104 +7708,104 @@ void media_page_set_thumb_size (MediaPage* self, gint new_scale) {
gint _tmp24_ = 0;
gint _tmp25_ = 0;
gint _tmp26_ = 0;
-#line 1094 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1096 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 1095 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1097 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = media_page_get_thumb_size (self);
-#line 1095 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1097 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = new_scale;
-#line 1095 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1097 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp1_ == _tmp2_) {
-#line 1095 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1097 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = TRUE;
-#line 7691 "MediaPage.c"
+#line 7722 "MediaPage.c"
} else {
gboolean _tmp3_ = FALSE;
-#line 1095 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1097 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = page_is_in_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1095 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1097 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = !_tmp3_;
-#line 7698 "MediaPage.c"
+#line 7729 "MediaPage.c"
}
-#line 1095 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1097 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp0_) {
-#line 1096 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1098 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 7704 "MediaPage.c"
+#line 7735 "MediaPage.c"
}
-#line 1098 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1100 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = new_scale;
-#line 1098 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1100 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = thumbnail_get_MIN_SCALE ();
-#line 1098 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1100 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = _tmp5_;
-#line 1098 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1100 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = thumbnail_get_MAX_SCALE ();
-#line 1098 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1100 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = _tmp7_;
-#line 1098 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1100 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = CLAMP (_tmp4_, _tmp6_, _tmp8_);
-#line 1098 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1100 "/home/jens/Source/shotwell/src/MediaPage.vala"
new_scale = _tmp9_;
-#line 1099 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1101 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = checkerboard_page_get_checkerboard_layout (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage));
-#line 1099 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1101 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = _tmp10_;
-#line 1099 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1101 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = new_scale;
-#line 1099 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1101 "/home/jens/Source/shotwell/src/MediaPage.vala"
checkerboard_layout_set_scale (_tmp11_, _tmp12_);
-#line 1099 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1101 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp11_);
-#line 1102 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1102 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = _tmp13_;
-#line 1102 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala"
data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1102 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp14_);
-#line 1103 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1105 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1103 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1105 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = _tmp15_;
-#line 1103 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1105 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = new_scale;
-#line 1103 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1105 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_value_init (&_tmp18_, G_TYPE_INT);
-#line 1103 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1105 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_value_set_int (&_tmp18_, _tmp17_);
-#line 1103 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1105 "/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 1103 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1105 "/home/jens/Source/shotwell/src/MediaPage.vala"
G_IS_VALUE (&_tmp18_) ? (g_value_unset (&_tmp18_), NULL) : NULL;
-#line 1103 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1105 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp16_);
-#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1106 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp19_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1106 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp20_ = _tmp19_;
-#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1106 "/home/jens/Source/shotwell/src/MediaPage.vala"
data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _data_collection_unref0 (_tmp20_);
#line 1106 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ _data_collection_unref0 (_tmp20_);
+#line 1108 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = new_scale;
-#line 1106 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1108 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp22_ = thumbnail_get_MAX_SCALE ();
-#line 1106 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1108 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp23_ = _tmp22_;
-#line 1106 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1108 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "IncreaseSize", _tmp21_ < _tmp23_);
-#line 1107 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1109 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp24_ = new_scale;
-#line 1107 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1109 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp25_ = thumbnail_get_MIN_SCALE ();
-#line 1107 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1109 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp26_ = _tmp25_;
-#line 1107 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1109 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseSize", _tmp24_ > _tmp26_);
-#line 7778 "MediaPage.c"
+#line 7809 "MediaPage.c"
}
@@ -7788,59 +7819,59 @@ gint media_page_get_thumb_size (MediaPage* self) {
CheckerboardLayout* _tmp10_ = NULL;
gint _tmp11_ = 0;
gint _tmp12_ = 0;
-#line 1110 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), 0);
-#line 1111 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = checkerboard_page_get_checkerboard_layout (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage));
-#line 1111 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 1111 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = checkerboard_layout_get_scale (_tmp1_);
-#line 1111 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_ <= 0;
-#line 1111 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp1_);
-#line 1111 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp3_) {
-#line 7806 "MediaPage.c"
+#line 7837 "MediaPage.c"
CheckerboardLayout* _tmp4_ = NULL;
CheckerboardLayout* _tmp5_ = NULL;
ConfigFacade* _tmp6_ = NULL;
ConfigFacade* _tmp7_ = NULL;
gint _tmp8_ = 0;
-#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = checkerboard_page_get_checkerboard_layout (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage));
-#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = _tmp4_;
-#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = config_facade_get_instance ();
-#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = _tmp6_;
-#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1114 "/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 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
checkerboard_layout_set_scale (_tmp5_, _tmp8_);
-#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp7_);
-#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp5_);
-#line 7828 "MediaPage.c"
+#line 7859 "MediaPage.c"
}
-#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1116 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = 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 1116 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = _tmp9_;
-#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1116 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = checkerboard_layout_get_scale (_tmp10_);
-#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1116 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = _tmp11_;
-#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1116 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp10_);
-#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1116 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = _tmp12_;
-#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1116 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7844 "MediaPage.c"
+#line 7875 "MediaPage.c"
}
@@ -7849,14 +7880,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 7853 "MediaPage.c"
+#line 7884 "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 7860 "MediaPage.c"
+#line 7891 "MediaPage.c"
}
@@ -7865,7 +7896,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 7869 "MediaPage.c"
+#line 7900 "MediaPage.c"
}
@@ -8047,14 +8078,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 8051 "MediaPage.c"
+#line 8082 "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 8058 "MediaPage.c"
+#line 8089 "MediaPage.c"
}
@@ -8095,7 +8126,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 8099 "MediaPage.c"
+#line 8130 "MediaPage.c"
}
@@ -8133,7 +8164,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 8137 "MediaPage.c"
+#line 8168 "MediaPage.c"
}
@@ -8149,7 +8180,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 8153 "MediaPage.c"
+#line 8184 "MediaPage.c"
}
@@ -8165,7 +8196,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 8169 "MediaPage.c"
+#line 8200 "MediaPage.c"
}
@@ -8174,7 +8205,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_by_name (self, "zoom-changed");
-#line 8178 "MediaPage.c"
+#line 8209 "MediaPage.c"
}
@@ -8195,7 +8226,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 8199 "MediaPage.c"
+#line 8230 "MediaPage.c"
}
@@ -8216,7 +8247,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 8220 "MediaPage.c"
+#line 8251 "MediaPage.c"
}
@@ -8245,7 +8276,7 @@ void media_page_zoom_slider_assembly_increase_step (MediaPageZoomSliderAssembly*
if (_tmp2_ == _tmp3_) {
#line 217 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 8249 "MediaPage.c"
+#line 8280 "MediaPage.c"
}
#line 219 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = self->priv->slider;
@@ -8255,7 +8286,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 8259 "MediaPage.c"
+#line 8290 "MediaPage.c"
}
@@ -8284,7 +8315,7 @@ void media_page_zoom_slider_assembly_decrease_step (MediaPageZoomSliderAssembly*
if (_tmp2_ == _tmp3_) {
#line 226 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 8288 "MediaPage.c"
+#line 8319 "MediaPage.c"
}
#line 228 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = self->priv->slider;
@@ -8294,7 +8325,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 8298 "MediaPage.c"
+#line 8329 "MediaPage.c"
}
@@ -8315,7 +8346,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 8319 "MediaPage.c"
+#line 8350 "MediaPage.c"
}
@@ -8335,7 +8366,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 8339 "MediaPage.c"
+#line 8370 "MediaPage.c"
}
#line 239 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = self->priv->slider;
@@ -8345,7 +8376,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 8349 "MediaPage.c"
+#line 8380 "MediaPage.c"
}
@@ -8358,14 +8389,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"
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 8362 "MediaPage.c"
+#line 8393 "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 8369 "MediaPage.c"
+#line 8400 "MediaPage.c"
}
@@ -8379,7 +8410,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 8383 "MediaPage.c"
+#line 8414 "MediaPage.c"
}
@@ -8405,6 +8436,8 @@ static void media_page_class_init (MediaPageClass * klass) {
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
((PageClass *) klass)->add_actions = media_page_real_add_actions;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ ((PageClass *) klass)->remove_actions = media_page_real_remove_actions;
+#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
((PageClass *) klass)->update_actions = media_page_real_update_actions;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
((CheckerboardPageClass *) klass)->get_view_tracker = media_page_real_get_view_tracker;
@@ -8478,7 +8511,7 @@ static void media_page_class_init (MediaPageClass * klass) {
((MediaPageClass *) klass)->create_thumbnail = media_page_real_create_thumbnail;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
G_OBJECT_CLASS (klass)->finalize = media_page_finalize;
-#line 8482 "MediaPage.c"
+#line 8515 "MediaPage.c"
}
@@ -8489,7 +8522,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 8493 "MediaPage.c"
+#line 8526 "MediaPage.c"
}
@@ -8505,7 +8538,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 8509 "MediaPage.c"
+#line 8542 "MediaPage.c"
}