summaryrefslogtreecommitdiff
path: root/src/AppWindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/AppWindow.c')
-rw-r--r--src/AppWindow.c2658
1 files changed, 1609 insertions, 1049 deletions
diff --git a/src/AppWindow.c b/src/AppWindow.c
index a22d177..e49d245 100644
--- a/src/AppWindow.c
+++ b/src/AppWindow.c
@@ -1,4 +1,4 @@
-/* AppWindow.c generated by valac 0.34.2, the Vala compiler
+/* AppWindow.c generated by valac 0.32.1, the Vala compiler
* generated from AppWindow.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -235,6 +235,7 @@ typedef struct _DataViewClass DataViewClass;
typedef struct _CheckerboardPage CheckerboardPage;
typedef struct _CheckerboardPageClass CheckerboardPageClass;
+#define _g_variant_unref0(var) ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))
#define TYPE_COMMAND_DESCRIPTION (command_description_get_type ())
#define COMMAND_DESCRIPTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_COMMAND_DESCRIPTION, CommandDescription))
@@ -438,6 +439,8 @@ void value_take_command_manager (GValue* value, gpointer v_object);
gpointer value_get_command_manager (const GValue* value);
GType command_manager_get_type (void) G_GNUC_CONST;
#define APP_WINDOW_DND_ICON_SCALE 128
+void app_window_on_about (AppWindow* self);
+static void _app_window_on_about_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
void app_window_on_quit (AppWindow* self);
static void _app_window_on_quit_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
void app_window_on_fullscreen (AppWindow* self);
@@ -496,7 +499,6 @@ void app_window_panic (const gchar* msg);
void application_panic (Application* self);
gchar* app_window_get_app_role (AppWindow* self);
static gchar* app_window_real_get_app_role (AppWindow* self);
-void app_window_on_about (AppWindow* self);
#define RESOURCES_APP_VERSION _VERSION
#define RESOURCES_COPYRIGHT _ ("Copyright 2016 Software Freedom Conservancy Inc.")
#define RESOURCES_HOME_URL "https://wiki.gnome.org/Apps/Shotwell"
@@ -575,9 +577,12 @@ GType checkerboard_page_get_type (void) G_GNUC_CONST;
static void app_window_real_update_common_actions (AppWindow* self, Page* page, gint selected_count, gint count);
void app_window_decorate_undo_action (AppWindow* self);
void app_window_decorate_redo_action (AppWindow* self);
+void app_window_update_menu_item_label (AppWindow* self, const gchar* id, const gchar* new_label);
+GMenuModel* page_get_menubar (Page* self);
CommandManager* app_window_get_command_manager (void);
GType command_description_get_type (void) G_GNUC_CONST;
static void app_window_decorate_command_manager_action (AppWindow* self, const gchar* name, const gchar* prefix, const gchar* default_explanation, CommandDescription* desc);
+gchar* command_description_get_name (CommandDescription* self);
#define RESOURCES_UNDO_MENU _ ("_Undo")
CommandDescription* command_manager_get_undo_description (CommandManager* self);
#define RESOURCES_REDO_MENU _ ("_Redo")
@@ -590,27 +595,27 @@ static gboolean app_window_real_configure_event (GtkWidget* base, GdkEventConfig
static void app_window_finalize (GObject* obj);
static const GActionEntry FULLSCREEN_WINDOW_entries[1] = {{"LeaveFullscreen", _fullscreen_window_on_close_gsimple_action_activate_callback}};
-static const GActionEntry APP_WINDOW_common_actions[10] = {{"CommonQuit", _app_window_on_quit_gsimple_action_activate_callback}, {"CommonFullscreen", _app_window_on_fullscreen_gsimple_action_activate_callback}, {"CommonHelpContents", _app_window_on_help_contents_gsimple_action_activate_callback}, {"CommonHelpFAQ", _app_window_on_help_faq_gsimple_action_activate_callback}, {"CommonHelpReportProblem", _app_window_on_help_report_problem_gsimple_action_activate_callback}, {"CommonUndo", _app_window_on_undo_gsimple_action_activate_callback}, {"CommonRedo", _app_window_on_redo_gsimple_action_activate_callback}, {"CommonJumpToFile", _app_window_on_jump_to_file_gsimple_action_activate_callback}, {"CommonSelectAll", _app_window_on_select_all_gsimple_action_activate_callback}, {"CommonSelectNone", _app_window_on_select_none_gsimple_action_activate_callback}};
+static const GActionEntry APP_WINDOW_common_actions[11] = {{"CommonAbout", _app_window_on_about_gsimple_action_activate_callback}, {"CommonQuit", _app_window_on_quit_gsimple_action_activate_callback}, {"CommonFullscreen", _app_window_on_fullscreen_gsimple_action_activate_callback}, {"CommonHelpContents", _app_window_on_help_contents_gsimple_action_activate_callback}, {"CommonHelpFAQ", _app_window_on_help_faq_gsimple_action_activate_callback}, {"CommonHelpReportProblem", _app_window_on_help_report_problem_gsimple_action_activate_callback}, {"CommonUndo", _app_window_on_undo_gsimple_action_activate_callback}, {"CommonRedo", _app_window_on_redo_gsimple_action_activate_callback}, {"CommonJumpToFile", _app_window_on_jump_to_file_gsimple_action_activate_callback}, {"CommonSelectAll", _app_window_on_select_all_gsimple_action_activate_callback}, {"CommonSelectNone", _app_window_on_select_none_gsimple_action_activate_callback}};
extern const gchar* RESOURCES_AUTHORS[6];
static void _fullscreen_window_on_close_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 22 "/home/jens/Source/shotwell/src/AppWindow.vala"
fullscreen_window_on_close ((FullscreenWindow*) self);
-#line 572 "AppWindow.c"
+#line 577 "AppWindow.c"
}
static void _fullscreen_window_update_toolbar_dismissal_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
#line 50 "/home/jens/Source/shotwell/src/AppWindow.vala"
fullscreen_window_update_toolbar_dismissal ((FullscreenWindow*) self);
-#line 579 "AppWindow.c"
+#line 584 "AppWindow.c"
}
static void _fullscreen_window_hide_toolbar_slideshow_page_hide_toolbar (SlideshowPage* _sender, gpointer self) {
#line 65 "/home/jens/Source/shotwell/src/AppWindow.vala"
fullscreen_window_hide_toolbar ((FullscreenWindow*) self);
-#line 586 "AppWindow.c"
+#line 591 "AppWindow.c"
}
@@ -621,7 +626,7 @@ FullscreenWindow* fullscreen_window_construct (GType object_type, Page* page) {
AppWindow* _tmp2_ = NULL;
#line 32 "/home/jens/Source/shotwell/src/AppWindow.vala"
static const gchar* accels[] = {"F11"};
-#line 597 "AppWindow.c"
+#line 602 "AppWindow.c"
AppWindow* _tmp3_ = NULL;
AppWindow* _tmp4_ = NULL;
GdkScreen* _tmp5_ = NULL;
@@ -794,13 +799,13 @@ FullscreenWindow* fullscreen_window_construct (GType object_type, Page* page) {
_tmp33_ = page;
#line 63 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp33_, TYPE_SLIDESHOW_PAGE)) {
-#line 770 "AppWindow.c"
+#line 775 "AppWindow.c"
Page* _tmp34_ = NULL;
#line 65 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp34_ = page;
#line 65 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, TYPE_SLIDESHOW_PAGE, SlideshowPage), "hide-toolbar", (GCallback) _fullscreen_window_hide_toolbar_slideshow_page_hide_toolbar, self, 0);
-#line 776 "AppWindow.c"
+#line 781 "AppWindow.c"
} else {
GtkToolbar* _tmp35_ = NULL;
GtkToggleToolButton* _tmp36_ = NULL;
@@ -810,7 +815,7 @@ FullscreenWindow* fullscreen_window_construct (GType object_type, Page* page) {
_tmp36_ = self->priv->pin_button;
#line 68 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_toolbar_insert (_tmp35_, G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, gtk_tool_item_get_type (), GtkToolItem), -1);
-#line 786 "AppWindow.c"
+#line 791 "AppWindow.c"
}
#line 71 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp37_ = page;
@@ -868,14 +873,14 @@ FullscreenWindow* fullscreen_window_construct (GType object_type, Page* page) {
gtk_application_window_set_show_menubar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow), FALSE);
#line 26 "/home/jens/Source/shotwell/src/AppWindow.vala"
return self;
-#line 844 "AppWindow.c"
+#line 849 "AppWindow.c"
}
FullscreenWindow* fullscreen_window_new (Page* page) {
#line 26 "/home/jens/Source/shotwell/src/AppWindow.vala"
return fullscreen_window_construct (TYPE_FULLSCREEN_WINDOW, page);
-#line 851 "AppWindow.c"
+#line 856 "AppWindow.c"
}
@@ -884,7 +889,7 @@ void fullscreen_window_disable_toolbar_dismissal (FullscreenWindow* self) {
g_return_if_fail (IS_FULLSCREEN_WINDOW (self));
#line 103 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->priv->is_toolbar_dismissal_enabled = FALSE;
-#line 860 "AppWindow.c"
+#line 865 "AppWindow.c"
}
@@ -899,7 +904,7 @@ void fullscreen_window_update_toolbar_dismissal (FullscreenWindow* self) {
_tmp1_ = gtk_toggle_tool_button_get_active (_tmp0_);
#line 107 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->priv->is_toolbar_dismissal_enabled = !_tmp1_;
-#line 875 "AppWindow.c"
+#line 880 "AppWindow.c"
}
@@ -936,7 +941,7 @@ static void fullscreen_window_get_monitor_geometry (FullscreenWindow* self, GdkR
*result = monitor;
#line 116 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 912 "AppWindow.c"
+#line 917 "AppWindow.c"
}
@@ -961,7 +966,7 @@ static gboolean fullscreen_window_real_configure_event (GtkWidget* base, GdkEven
_tmp2_ = self->priv->switched_to;
#line 122 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (!_tmp2_) {
-#line 937 "AppWindow.c"
+#line 942 "AppWindow.c"
Page* _tmp3_ = NULL;
Page* _tmp4_ = NULL;
#line 123 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -974,13 +979,13 @@ static gboolean fullscreen_window_real_configure_event (GtkWidget* base, GdkEven
_g_object_unref0 (_tmp4_);
#line 124 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->priv->switched_to = TRUE;
-#line 950 "AppWindow.c"
+#line 955 "AppWindow.c"
}
#line 127 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _result_;
#line 127 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 956 "AppWindow.c"
+#line 961 "AppWindow.c"
}
@@ -1014,11 +1019,11 @@ static gboolean fullscreen_window_real_key_press_event (GtkWidget* base, GdkEven
result = TRUE;
#line 135 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 990 "AppWindow.c"
+#line 995 "AppWindow.c"
}
#line 139 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (GTK_WIDGET_CLASS (fullscreen_window_parent_class)->key_press_event != NULL) {
-#line 994 "AppWindow.c"
+#line 999 "AppWindow.c"
GdkEventKey* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
#line 139 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -1027,11 +1032,11 @@ static gboolean fullscreen_window_real_key_press_event (GtkWidget* base, GdkEven
_tmp5_ = GTK_WIDGET_CLASS (fullscreen_window_parent_class)->key_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow), gtk_widget_get_type (), GtkWidget), _tmp4_);
#line 139 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _tmp5_;
-#line 1003 "AppWindow.c"
+#line 1008 "AppWindow.c"
} else {
#line 139 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = FALSE;
-#line 1007 "AppWindow.c"
+#line 1012 "AppWindow.c"
}
#line 139 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp3_) {
@@ -1039,7 +1044,7 @@ static gboolean fullscreen_window_real_key_press_event (GtkWidget* base, GdkEven
result = TRUE;
#line 140 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1015 "AppWindow.c"
+#line 1020 "AppWindow.c"
}
#line 143 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = app_window_get_instance ();
@@ -1057,7 +1062,7 @@ static gboolean fullscreen_window_real_key_press_event (GtkWidget* base, GdkEven
result = _tmp10_;
#line 143 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1033 "AppWindow.c"
+#line 1038 "AppWindow.c"
}
@@ -1089,7 +1094,7 @@ static void fullscreen_window_on_close (FullscreenWindow* self) {
app_window_end_fullscreen (_tmp4_);
#line 150 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp4_);
-#line 1065 "AppWindow.c"
+#line 1070 "AppWindow.c"
}
@@ -1098,7 +1103,7 @@ void fullscreen_window_close (FullscreenWindow* self) {
g_return_if_fail (IS_FULLSCREEN_WINDOW (self));
#line 154 "/home/jens/Source/shotwell/src/AppWindow.vala"
fullscreen_window_on_close (self);
-#line 1074 "AppWindow.c"
+#line 1079 "AppWindow.c"
}
@@ -1119,7 +1124,7 @@ static void fullscreen_window_real_destroy (GtkWidget* base) {
_tmp1_ = page;
#line 161 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ != NULL) {
-#line 1095 "AppWindow.c"
+#line 1100 "AppWindow.c"
Page* _tmp2_ = NULL;
Page* _tmp3_ = NULL;
#line 162 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -1130,13 +1135,13 @@ static void fullscreen_window_real_destroy (GtkWidget* base) {
_tmp3_ = page;
#line 163 "/home/jens/Source/shotwell/src/AppWindow.vala"
page_switching_from (_tmp3_);
-#line 1106 "AppWindow.c"
+#line 1111 "AppWindow.c"
}
#line 166 "/home/jens/Source/shotwell/src/AppWindow.vala"
GTK_WIDGET_CLASS (fullscreen_window_parent_class)->destroy (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow), gtk_widget_get_type (), GtkWidget));
#line 157 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (page);
-#line 1112 "AppWindow.c"
+#line 1117 "AppWindow.c"
}
@@ -1163,7 +1168,7 @@ static gboolean fullscreen_window_real_delete_event (GtkWidget* base, GdkEventAn
result = TRUE;
#line 173 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1139 "AppWindow.c"
+#line 1144 "AppWindow.c"
}
@@ -1172,7 +1177,7 @@ static gboolean _fullscreen_window_on_check_toolbar_invocation_gsource_func (gpo
result = fullscreen_window_on_check_toolbar_invocation ((FullscreenWindow*) self);
#line 182 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1148 "AppWindow.c"
+#line 1153 "AppWindow.c"
}
@@ -1189,24 +1194,24 @@ static gboolean fullscreen_window_real_motion_notify_event (GtkWidget* base, Gdk
_tmp0_ = self->priv->is_toolbar_shown;
#line 177 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (!_tmp0_) {
-#line 1165 "AppWindow.c"
+#line 1170 "AppWindow.c"
gboolean _tmp1_ = FALSE;
gboolean _tmp2_ = FALSE;
#line 181 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = self->priv->waiting_for_invoke;
#line 181 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (!_tmp2_) {
-#line 1172 "AppWindow.c"
+#line 1177 "AppWindow.c"
gboolean _tmp3_ = FALSE;
#line 181 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = fullscreen_window_is_pointer_in_toolbar (self);
#line 181 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp3_;
-#line 1178 "AppWindow.c"
+#line 1183 "AppWindow.c"
} else {
#line 181 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = FALSE;
-#line 1182 "AppWindow.c"
+#line 1187 "AppWindow.c"
}
#line 181 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_) {
@@ -1214,12 +1219,12 @@ static gboolean fullscreen_window_real_motion_notify_event (GtkWidget* base, Gdk
g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) FULLSCREEN_WINDOW_TOOLBAR_INVOCATION_MSEC, _fullscreen_window_on_check_toolbar_invocation_gsource_func, g_object_ref (self), g_object_unref);
#line 183 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->priv->waiting_for_invoke = TRUE;
-#line 1190 "AppWindow.c"
+#line 1195 "AppWindow.c"
}
}
#line 187 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (GTK_WIDGET_CLASS (fullscreen_window_parent_class)->motion_notify_event != NULL) {
-#line 1195 "AppWindow.c"
+#line 1200 "AppWindow.c"
GdkEventMotion* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
#line 187 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -1228,24 +1233,24 @@ static gboolean fullscreen_window_real_motion_notify_event (GtkWidget* base, Gdk
_tmp6_ = GTK_WIDGET_CLASS (fullscreen_window_parent_class)->motion_notify_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow), gtk_widget_get_type (), GtkWidget), _tmp5_);
#line 187 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp6_;
-#line 1204 "AppWindow.c"
+#line 1209 "AppWindow.c"
} else {
#line 187 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = FALSE;
-#line 1208 "AppWindow.c"
+#line 1213 "AppWindow.c"
}
#line 187 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp4_;
#line 187 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1214 "AppWindow.c"
+#line 1219 "AppWindow.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 191 "/home/jens/Source/shotwell/src/AppWindow.vala"
return self ? g_object_ref (self) : NULL;
-#line 1221 "AppWindow.c"
+#line 1226 "AppWindow.c"
}
@@ -1288,7 +1293,7 @@ static gboolean fullscreen_window_is_pointer_in_toolbar (FullscreenWindow* self)
_g_object_unref0 (devmgr);
#line 195 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1264 "AppWindow.c"
+#line 1269 "AppWindow.c"
}
#line 199 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = devmgr;
@@ -1316,7 +1321,7 @@ static gboolean fullscreen_window_is_pointer_in_toolbar (FullscreenWindow* self)
_g_object_unref0 (devmgr);
#line 204 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1292 "AppWindow.c"
+#line 1297 "AppWindow.c"
}
@@ -1336,7 +1341,7 @@ static gboolean fullscreen_window_on_check_toolbar_invocation (FullscreenWindow*
result = FALSE;
#line 211 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1312 "AppWindow.c"
+#line 1317 "AppWindow.c"
}
#line 213 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = fullscreen_window_is_pointer_in_toolbar (self);
@@ -1346,7 +1351,7 @@ static gboolean fullscreen_window_on_check_toolbar_invocation (FullscreenWindow*
result = FALSE;
#line 214 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1322 "AppWindow.c"
+#line 1327 "AppWindow.c"
}
#line 216 "/home/jens/Source/shotwell/src/AppWindow.vala"
fullscreen_window_invoke_toolbar (self);
@@ -1354,7 +1359,7 @@ static gboolean fullscreen_window_on_check_toolbar_invocation (FullscreenWindow*
result = FALSE;
#line 218 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1330 "AppWindow.c"
+#line 1335 "AppWindow.c"
}
@@ -1363,7 +1368,7 @@ static gboolean _fullscreen_window_on_check_toolbar_dismissal_gsource_func (gpoi
result = fullscreen_window_on_check_toolbar_dismissal ((FullscreenWindow*) self);
#line 226 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1339 "AppWindow.c"
+#line 1344 "AppWindow.c"
}
@@ -1379,7 +1384,7 @@ static void fullscreen_window_invoke_toolbar (FullscreenWindow* self) {
self->priv->is_toolbar_shown = TRUE;
#line 226 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) FULLSCREEN_WINDOW_TOOLBAR_CHECK_DISMISSAL_MSEC, _fullscreen_window_on_check_toolbar_dismissal_gsource_func, g_object_ref (self), g_object_unref);
-#line 1355 "AppWindow.c"
+#line 1360 "AppWindow.c"
}
@@ -1405,7 +1410,7 @@ static gboolean fullscreen_window_on_check_toolbar_dismissal (FullscreenWindow*
result = FALSE;
#line 231 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1381 "AppWindow.c"
+#line 1386 "AppWindow.c"
}
#line 234 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = self->priv->is_toolbar_dismissal_enabled;
@@ -1415,7 +1420,7 @@ static gboolean fullscreen_window_on_check_toolbar_dismissal (FullscreenWindow*
result = TRUE;
#line 235 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1391 "AppWindow.c"
+#line 1396 "AppWindow.c"
}
#line 238 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = fullscreen_window_is_pointer_in_toolbar (self);
@@ -1427,13 +1432,13 @@ static gboolean fullscreen_window_on_check_toolbar_dismissal (FullscreenWindow*
result = TRUE;
#line 241 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1403 "AppWindow.c"
+#line 1408 "AppWindow.c"
}
#line 245 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = self->priv->left_toolbar_time;
#line 245 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp3_ == ((time_t) 0)) {
-#line 1409 "AppWindow.c"
+#line 1414 "AppWindow.c"
time_t _tmp4_ = 0;
#line 246 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = time (NULL);
@@ -1443,7 +1448,7 @@ static gboolean fullscreen_window_on_check_toolbar_dismissal (FullscreenWindow*
result = TRUE;
#line 248 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1419 "AppWindow.c"
+#line 1424 "AppWindow.c"
}
#line 252 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = time (NULL);
@@ -1465,7 +1470,7 @@ static gboolean fullscreen_window_on_check_toolbar_dismissal (FullscreenWindow*
result = TRUE;
#line 256 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1441 "AppWindow.c"
+#line 1446 "AppWindow.c"
}
#line 258 "/home/jens/Source/shotwell/src/AppWindow.vala"
fullscreen_window_hide_toolbar (self);
@@ -1473,7 +1478,7 @@ static gboolean fullscreen_window_on_check_toolbar_dismissal (FullscreenWindow*
result = FALSE;
#line 260 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1449 "AppWindow.c"
+#line 1454 "AppWindow.c"
}
@@ -1487,7 +1492,7 @@ static void fullscreen_window_hide_toolbar (FullscreenWindow* self) {
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
#line 265 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->priv->is_toolbar_shown = FALSE;
-#line 1463 "AppWindow.c"
+#line 1468 "AppWindow.c"
}
@@ -1508,7 +1513,7 @@ static void fullscreen_window_class_init (FullscreenWindowClass * klass) {
((GtkWidgetClass *) klass)->motion_notify_event = fullscreen_window_real_motion_notify_event;
#line 7 "/home/jens/Source/shotwell/src/AppWindow.vala"
G_OBJECT_CLASS (klass)->finalize = fullscreen_window_finalize;
-#line 1484 "AppWindow.c"
+#line 1489 "AppWindow.c"
}
@@ -1546,7 +1551,7 @@ static void fullscreen_window_instance_init (FullscreenWindow * self) {
self->priv->left_toolbar_time = (time_t) 0;
#line 19 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->priv->switched_to = FALSE;
-#line 1522 "AppWindow.c"
+#line 1527 "AppWindow.c"
}
@@ -1564,7 +1569,7 @@ static void fullscreen_window_finalize (GObject* obj) {
_g_object_unref0 (self->priv->pin_button);
#line 7 "/home/jens/Source/shotwell/src/AppWindow.vala"
G_OBJECT_CLASS (fullscreen_window_parent_class)->finalize (obj);
-#line 1540 "AppWindow.c"
+#line 1545 "AppWindow.c"
}
@@ -1585,7 +1590,7 @@ static void page_window_real_switched_pages (PageWindow* self, Page* old_page, P
g_return_if_fail ((old_page == NULL) || IS_PAGE (old_page));
#line 280 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail ((new_page == NULL) || IS_PAGE (new_page));
-#line 1561 "AppWindow.c"
+#line 1566 "AppWindow.c"
}
@@ -1594,7 +1599,7 @@ void page_window_switched_pages (PageWindow* self, Page* old_page, Page* new_pag
g_return_if_fail (IS_PAGE_WINDOW (self));
#line 280 "/home/jens/Source/shotwell/src/AppWindow.vala"
PAGE_WINDOW_GET_CLASS (self)->switched_pages (self, old_page, new_page);
-#line 1570 "AppWindow.c"
+#line 1575 "AppWindow.c"
}
@@ -1624,7 +1629,7 @@ PageWindow* page_window_construct (GType object_type) {
gtk_application_window_set_show_menubar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow), TRUE);
#line 283 "/home/jens/Source/shotwell/src/AppWindow.vala"
return self;
-#line 1600 "AppWindow.c"
+#line 1605 "AppWindow.c"
}
@@ -1642,7 +1647,7 @@ Page* page_window_get_current_page (PageWindow* self) {
result = _tmp1_;
#line 293 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1618 "AppWindow.c"
+#line 1623 "AppWindow.c"
}
@@ -1661,13 +1666,13 @@ static void page_window_real_set_current_page (PageWindow* self, Page* page) {
_tmp0_ = self->priv->current_page;
#line 297 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp0_ != NULL) {
-#line 1637 "AppWindow.c"
+#line 1642 "AppWindow.c"
Page* _tmp1_ = NULL;
#line 298 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = self->priv->current_page;
#line 298 "/home/jens/Source/shotwell/src/AppWindow.vala"
page_clear_container (_tmp1_);
-#line 1643 "AppWindow.c"
+#line 1648 "AppWindow.c"
}
#line 300 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = self->priv->current_page;
@@ -1693,7 +1698,7 @@ static void page_window_real_set_current_page (PageWindow* self, Page* page) {
page_window_switched_pages (self, old_page, _tmp7_);
#line 296 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (old_page);
-#line 1669 "AppWindow.c"
+#line 1674 "AppWindow.c"
}
@@ -1702,7 +1707,7 @@ void page_window_set_current_page (PageWindow* self, Page* page) {
g_return_if_fail (IS_PAGE_WINDOW (self));
#line 296 "/home/jens/Source/shotwell/src/AppWindow.vala"
PAGE_WINDOW_GET_CLASS (self)->set_current_page (self, page);
-#line 1678 "AppWindow.c"
+#line 1683 "AppWindow.c"
}
@@ -1715,13 +1720,13 @@ static void page_window_real_clear_current_page (PageWindow* self) {
_tmp0_ = self->priv->current_page;
#line 308 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp0_ != NULL) {
-#line 1691 "AppWindow.c"
+#line 1696 "AppWindow.c"
Page* _tmp1_ = NULL;
#line 309 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = self->priv->current_page;
#line 309 "/home/jens/Source/shotwell/src/AppWindow.vala"
page_clear_container (_tmp1_);
-#line 1697 "AppWindow.c"
+#line 1702 "AppWindow.c"
}
#line 311 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = self->priv->current_page;
@@ -1737,7 +1742,7 @@ static void page_window_real_clear_current_page (PageWindow* self) {
page_window_switched_pages (self, old_page, NULL);
#line 307 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (old_page);
-#line 1713 "AppWindow.c"
+#line 1718 "AppWindow.c"
}
@@ -1746,7 +1751,7 @@ void page_window_clear_current_page (PageWindow* self) {
g_return_if_fail (IS_PAGE_WINDOW (self));
#line 307 "/home/jens/Source/shotwell/src/AppWindow.vala"
PAGE_WINDOW_GET_CLASS (self)->clear_current_page (self);
-#line 1722 "AppWindow.c"
+#line 1727 "AppWindow.c"
}
@@ -1766,7 +1771,7 @@ static gboolean page_window_real_key_press_event (GtkWidget* base, GdkEventKey*
_tmp1_ = gtk_window_get_focus (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow));
#line 318 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_entry_get_type ())) {
-#line 1742 "AppWindow.c"
+#line 1747 "AppWindow.c"
GtkWidget* _tmp2_ = NULL;
GdkEventKey* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
@@ -1778,11 +1783,11 @@ static gboolean page_window_real_key_press_event (GtkWidget* base, GdkEventKey*
g_signal_emit_by_name (_tmp2_, "key-press-event", _tmp3_, &_tmp4_);
#line 318 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _tmp4_;
-#line 1754 "AppWindow.c"
+#line 1759 "AppWindow.c"
} else {
#line 318 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = FALSE;
-#line 1758 "AppWindow.c"
+#line 1763 "AppWindow.c"
}
#line 318 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp0_) {
@@ -1790,13 +1795,13 @@ static gboolean page_window_real_key_press_event (GtkWidget* base, GdkEventKey*
result = TRUE;
#line 319 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1766 "AppWindow.c"
+#line 1771 "AppWindow.c"
}
#line 321 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = self->priv->current_page;
#line 321 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp6_ != NULL) {
-#line 1772 "AppWindow.c"
+#line 1777 "AppWindow.c"
Page* _tmp7_ = NULL;
GdkEventKey* _tmp8_ = NULL;
gboolean _tmp9_ = FALSE;
@@ -1808,11 +1813,11 @@ static gboolean page_window_real_key_press_event (GtkWidget* base, GdkEventKey*
_tmp9_ = page_notify_app_key_pressed (_tmp7_, _tmp8_);
#line 321 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp9_;
-#line 1784 "AppWindow.c"
+#line 1789 "AppWindow.c"
} else {
#line 321 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = FALSE;
-#line 1788 "AppWindow.c"
+#line 1793 "AppWindow.c"
}
#line 321 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp5_) {
@@ -1820,11 +1825,11 @@ static gboolean page_window_real_key_press_event (GtkWidget* base, GdkEventKey*
result = TRUE;
#line 322 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1796 "AppWindow.c"
+#line 1801 "AppWindow.c"
}
#line 324 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (GTK_WIDGET_CLASS (page_window_parent_class)->key_press_event != NULL) {
-#line 1800 "AppWindow.c"
+#line 1805 "AppWindow.c"
GdkEventKey* _tmp11_ = NULL;
gboolean _tmp12_ = FALSE;
#line 324 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -1833,17 +1838,17 @@ static gboolean page_window_real_key_press_event (GtkWidget* base, GdkEventKey*
_tmp12_ = GTK_WIDGET_CLASS (page_window_parent_class)->key_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow), gtk_widget_get_type (), GtkWidget), _tmp11_);
#line 324 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = _tmp12_;
-#line 1809 "AppWindow.c"
+#line 1814 "AppWindow.c"
} else {
#line 324 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = FALSE;
-#line 1813 "AppWindow.c"
+#line 1818 "AppWindow.c"
}
#line 324 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp10_;
#line 324 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1819 "AppWindow.c"
+#line 1824 "AppWindow.c"
}
@@ -1863,7 +1868,7 @@ static gboolean page_window_real_key_release_event (GtkWidget* base, GdkEventKey
_tmp1_ = gtk_window_get_focus (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow));
#line 328 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_entry_get_type ())) {
-#line 1839 "AppWindow.c"
+#line 1844 "AppWindow.c"
GtkWidget* _tmp2_ = NULL;
GdkEventKey* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
@@ -1875,11 +1880,11 @@ static gboolean page_window_real_key_release_event (GtkWidget* base, GdkEventKey
g_signal_emit_by_name (_tmp2_, "key-release-event", _tmp3_, &_tmp4_);
#line 328 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _tmp4_;
-#line 1851 "AppWindow.c"
+#line 1856 "AppWindow.c"
} else {
#line 328 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = FALSE;
-#line 1855 "AppWindow.c"
+#line 1860 "AppWindow.c"
}
#line 328 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp0_) {
@@ -1887,13 +1892,13 @@ static gboolean page_window_real_key_release_event (GtkWidget* base, GdkEventKey
result = TRUE;
#line 329 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1863 "AppWindow.c"
+#line 1868 "AppWindow.c"
}
#line 331 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = self->priv->current_page;
#line 331 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp6_ != NULL) {
-#line 1869 "AppWindow.c"
+#line 1874 "AppWindow.c"
Page* _tmp7_ = NULL;
GdkEventKey* _tmp8_ = NULL;
gboolean _tmp9_ = FALSE;
@@ -1905,11 +1910,11 @@ static gboolean page_window_real_key_release_event (GtkWidget* base, GdkEventKey
_tmp9_ = page_notify_app_key_released (_tmp7_, _tmp8_);
#line 331 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp9_;
-#line 1881 "AppWindow.c"
+#line 1886 "AppWindow.c"
} else {
#line 331 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = FALSE;
-#line 1885 "AppWindow.c"
+#line 1890 "AppWindow.c"
}
#line 331 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp5_) {
@@ -1917,11 +1922,11 @@ static gboolean page_window_real_key_release_event (GtkWidget* base, GdkEventKey
result = TRUE;
#line 332 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1893 "AppWindow.c"
+#line 1898 "AppWindow.c"
}
#line 334 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (GTK_WIDGET_CLASS (page_window_parent_class)->key_release_event != NULL) {
-#line 1897 "AppWindow.c"
+#line 1902 "AppWindow.c"
GdkEventKey* _tmp11_ = NULL;
gboolean _tmp12_ = FALSE;
#line 334 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -1930,17 +1935,17 @@ static gboolean page_window_real_key_release_event (GtkWidget* base, GdkEventKey
_tmp12_ = GTK_WIDGET_CLASS (page_window_parent_class)->key_release_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow), gtk_widget_get_type (), GtkWidget), _tmp11_);
#line 334 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = _tmp12_;
-#line 1906 "AppWindow.c"
+#line 1911 "AppWindow.c"
} else {
#line 334 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = FALSE;
-#line 1910 "AppWindow.c"
+#line 1915 "AppWindow.c"
}
#line 334 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp10_;
#line 334 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1916 "AppWindow.c"
+#line 1921 "AppWindow.c"
}
@@ -1958,7 +1963,7 @@ static gboolean page_window_real_focus_in_event (GtkWidget* base, GdkEventFocus*
_tmp1_ = self->priv->current_page;
#line 338 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ != NULL) {
-#line 1934 "AppWindow.c"
+#line 1939 "AppWindow.c"
Page* _tmp2_ = NULL;
GdkEventFocus* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
@@ -1970,11 +1975,11 @@ static gboolean page_window_real_focus_in_event (GtkWidget* base, GdkEventFocus*
_tmp4_ = page_notify_app_focus_in (_tmp2_, _tmp3_);
#line 338 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _tmp4_;
-#line 1946 "AppWindow.c"
+#line 1951 "AppWindow.c"
} else {
#line 338 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = FALSE;
-#line 1950 "AppWindow.c"
+#line 1955 "AppWindow.c"
}
#line 338 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp0_) {
@@ -1982,11 +1987,11 @@ static gboolean page_window_real_focus_in_event (GtkWidget* base, GdkEventFocus*
result = TRUE;
#line 339 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1958 "AppWindow.c"
+#line 1963 "AppWindow.c"
}
#line 341 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (GTK_WIDGET_CLASS (page_window_parent_class)->focus_in_event != NULL) {
-#line 1962 "AppWindow.c"
+#line 1967 "AppWindow.c"
GdkEventFocus* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
#line 341 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -1995,17 +2000,17 @@ static gboolean page_window_real_focus_in_event (GtkWidget* base, GdkEventFocus*
_tmp7_ = GTK_WIDGET_CLASS (page_window_parent_class)->focus_in_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow), gtk_widget_get_type (), GtkWidget), _tmp6_);
#line 341 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp7_;
-#line 1971 "AppWindow.c"
+#line 1976 "AppWindow.c"
} else {
#line 341 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = FALSE;
-#line 1975 "AppWindow.c"
+#line 1980 "AppWindow.c"
}
#line 341 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp5_;
#line 341 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1981 "AppWindow.c"
+#line 1986 "AppWindow.c"
}
@@ -2023,7 +2028,7 @@ static gboolean page_window_real_focus_out_event (GtkWidget* base, GdkEventFocus
_tmp1_ = self->priv->current_page;
#line 345 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ != NULL) {
-#line 1999 "AppWindow.c"
+#line 2004 "AppWindow.c"
Page* _tmp2_ = NULL;
GdkEventFocus* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
@@ -2035,11 +2040,11 @@ static gboolean page_window_real_focus_out_event (GtkWidget* base, GdkEventFocus
_tmp4_ = page_notify_app_focus_out (_tmp2_, _tmp3_);
#line 345 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _tmp4_;
-#line 2011 "AppWindow.c"
+#line 2016 "AppWindow.c"
} else {
#line 345 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = FALSE;
-#line 2015 "AppWindow.c"
+#line 2020 "AppWindow.c"
}
#line 345 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp0_) {
@@ -2047,11 +2052,11 @@ static gboolean page_window_real_focus_out_event (GtkWidget* base, GdkEventFocus
result = TRUE;
#line 346 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 2023 "AppWindow.c"
+#line 2028 "AppWindow.c"
}
#line 348 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (GTK_WIDGET_CLASS (page_window_parent_class)->focus_out_event != NULL) {
-#line 2027 "AppWindow.c"
+#line 2032 "AppWindow.c"
GdkEventFocus* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
#line 348 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -2060,17 +2065,17 @@ static gboolean page_window_real_focus_out_event (GtkWidget* base, GdkEventFocus
_tmp7_ = GTK_WIDGET_CLASS (page_window_parent_class)->focus_out_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow), gtk_widget_get_type (), GtkWidget), _tmp6_);
#line 348 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp7_;
-#line 2036 "AppWindow.c"
+#line 2041 "AppWindow.c"
} else {
#line 348 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = FALSE;
-#line 2040 "AppWindow.c"
+#line 2045 "AppWindow.c"
}
#line 348 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp5_;
#line 348 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 2046 "AppWindow.c"
+#line 2051 "AppWindow.c"
}
@@ -2087,7 +2092,7 @@ static gboolean page_window_real_configure_event (GtkWidget* base, GdkEventConfi
_tmp0_ = self->priv->current_page;
#line 352 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp0_ != NULL) {
-#line 2063 "AppWindow.c"
+#line 2068 "AppWindow.c"
Page* _tmp1_ = NULL;
GdkEventConfigure* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
@@ -2103,12 +2108,12 @@ static gboolean page_window_real_configure_event (GtkWidget* base, GdkEventConfi
result = TRUE;
#line 354 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 2079 "AppWindow.c"
+#line 2084 "AppWindow.c"
}
}
#line 357 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (GTK_WIDGET_CLASS (page_window_parent_class)->configure_event != NULL) {
-#line 2084 "AppWindow.c"
+#line 2089 "AppWindow.c"
GdkEventConfigure* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
#line 357 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -2117,17 +2122,17 @@ static gboolean page_window_real_configure_event (GtkWidget* base, GdkEventConfi
_tmp6_ = GTK_WIDGET_CLASS (page_window_parent_class)->configure_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow), gtk_widget_get_type (), GtkWidget), _tmp5_);
#line 357 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp6_;
-#line 2093 "AppWindow.c"
+#line 2098 "AppWindow.c"
} else {
#line 357 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = FALSE;
-#line 2097 "AppWindow.c"
+#line 2102 "AppWindow.c"
}
#line 357 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp4_;
#line 357 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 2103 "AppWindow.c"
+#line 2108 "AppWindow.c"
}
@@ -2152,7 +2157,7 @@ void page_window_set_busy_cursor (PageWindow* self) {
if (_tmp0_ > 0) {
#line 362 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 2128 "AppWindow.c"
+#line 2133 "AppWindow.c"
}
#line 364 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
@@ -2180,7 +2185,7 @@ void page_window_set_busy_cursor (PageWindow* self) {
_g_object_unref0 (cursor);
#line 360 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (display);
-#line 2156 "AppWindow.c"
+#line 2161 "AppWindow.c"
}
@@ -2205,7 +2210,7 @@ void page_window_set_normal_cursor (PageWindow* self) {
self->priv->busy_counter = 0;
#line 373 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 2181 "AppWindow.c"
+#line 2186 "AppWindow.c"
} else {
gint _tmp1_ = 0;
gint _tmp2_ = 0;
@@ -2219,7 +2224,7 @@ void page_window_set_normal_cursor (PageWindow* self) {
if (_tmp2_ > 0) {
#line 375 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 2195 "AppWindow.c"
+#line 2200 "AppWindow.c"
}
}
#line 378 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -2248,7 +2253,7 @@ void page_window_set_normal_cursor (PageWindow* self) {
_g_object_unref0 (cursor);
#line 370 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (display);
-#line 2224 "AppWindow.c"
+#line 2229 "AppWindow.c"
}
@@ -2275,7 +2280,7 @@ static void page_window_class_init (PageWindowClass * klass) {
((GtkWidgetClass *) klass)->configure_event = page_window_real_configure_event;
#line 276 "/home/jens/Source/shotwell/src/AppWindow.vala"
G_OBJECT_CLASS (klass)->finalize = page_window_finalize;
-#line 2251 "AppWindow.c"
+#line 2256 "AppWindow.c"
}
@@ -2286,7 +2291,7 @@ static void page_window_instance_init (PageWindow * self) {
self->priv->current_page = NULL;
#line 278 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->priv->busy_counter = 0;
-#line 2262 "AppWindow.c"
+#line 2267 "AppWindow.c"
}
@@ -2298,7 +2303,7 @@ static void page_window_finalize (GObject* obj) {
_g_object_unref0 (self->priv->current_page);
#line 276 "/home/jens/Source/shotwell/src/AppWindow.vala"
G_OBJECT_CLASS (page_window_parent_class)->finalize (obj);
-#line 2274 "AppWindow.c"
+#line 2279 "AppWindow.c"
}
@@ -2314,80 +2319,87 @@ GType page_window_get_type (void) {
}
+static void _app_window_on_about_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
+#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ app_window_on_about ((AppWindow*) self);
+#line 2298 "AppWindow.c"
+}
+
+
static void _app_window_on_quit_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_quit ((AppWindow*) self);
-#line 2293 "AppWindow.c"
+#line 2305 "AppWindow.c"
}
static void _app_window_on_fullscreen_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_fullscreen ((AppWindow*) self);
-#line 2300 "AppWindow.c"
+#line 2312 "AppWindow.c"
}
static void _app_window_on_help_contents_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_help_contents ((AppWindow*) self);
-#line 2307 "AppWindow.c"
+#line 2319 "AppWindow.c"
}
static void _app_window_on_help_faq_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_help_faq ((AppWindow*) self);
-#line 2314 "AppWindow.c"
+#line 2326 "AppWindow.c"
}
static void _app_window_on_help_report_problem_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_help_report_problem ((AppWindow*) self);
-#line 2321 "AppWindow.c"
+#line 2333 "AppWindow.c"
}
static void _app_window_on_undo_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_undo ((AppWindow*) self);
-#line 2328 "AppWindow.c"
+#line 2340 "AppWindow.c"
}
static void _app_window_on_redo_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_redo ((AppWindow*) self);
-#line 2335 "AppWindow.c"
+#line 2347 "AppWindow.c"
}
static void _app_window_on_jump_to_file_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_jump_to_file ((AppWindow*) self);
-#line 2342 "AppWindow.c"
+#line 2354 "AppWindow.c"
}
static void _app_window_on_select_all_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_select_all ((AppWindow*) self);
-#line 2349 "AppWindow.c"
+#line 2361 "AppWindow.c"
}
static void _app_window_on_select_none_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_select_none ((AppWindow*) self);
-#line 2356 "AppWindow.c"
+#line 2368 "AppWindow.c"
}
static void _app_window_on_command_manager_altered_command_manager_altered (CommandManager* _sender, gboolean can_undo, gboolean can_redo, gpointer self) {
#line 430 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_command_manager_altered ((AppWindow*) self);
-#line 2363 "AppWindow.c"
+#line 2375 "AppWindow.c"
}
@@ -2424,7 +2436,7 @@ AppWindow* app_window_construct (GType object_type) {
gtk_window_set_default_icon_name ("shotwell");
#line 416 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (self, TYPE_LIBRARY_WINDOW)) {
-#line 2400 "AppWindow.c"
+#line 2412 "AppWindow.c"
ConfigFacade* _tmp2_ = NULL;
ConfigFacade* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
@@ -2441,7 +2453,7 @@ AppWindow* app_window_construct (GType object_type) {
self->dimensions = _tmp5_;
#line 417 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp3_);
-#line 2417 "AppWindow.c"
+#line 2429 "AppWindow.c"
} else {
ConfigFacade* _tmp6_ = NULL;
ConfigFacade* _tmp7_ = NULL;
@@ -2461,7 +2473,7 @@ AppWindow* app_window_construct (GType object_type) {
self->dimensions = _tmp9_;
#line 420 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp7_);
-#line 2437 "AppWindow.c"
+#line 2449 "AppWindow.c"
}
#line 423 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = self->dimensions;
@@ -2479,7 +2491,7 @@ AppWindow* app_window_construct (GType object_type) {
if (_tmp14_) {
#line 426 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_maximize (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow));
-#line 2455 "AppWindow.c"
+#line 2467 "AppWindow.c"
}
#line 428 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp15_ = app_window_command_manager;
@@ -2501,21 +2513,21 @@ AppWindow* app_window_construct (GType object_type) {
_tmp18_ = gtk_css_provider_new ();
#line 440 "/home/jens/Source/shotwell/src/AppWindow.vala"
provider = _tmp18_;
-#line 2477 "AppWindow.c"
+#line 2489 "AppWindow.c"
{
GdkScreen* _tmp19_ = NULL;
#line 442 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_css_provider_load_from_data (provider, RESOURCES_CUSTOM_CSS, (gssize) -1, &_inner_error_);
#line 442 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2484 "AppWindow.c"
+#line 2496 "AppWindow.c"
goto __catch223_g_error;
}
#line 443 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp19_ = gdk_screen_get_default ();
#line 443 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_style_context_add_provider_for_screen (_tmp19_, G_TYPE_CHECK_INSTANCE_CAST (provider, GTK_TYPE_STYLE_PROVIDER, GtkStyleProvider), (guint) GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
-#line 2491 "AppWindow.c"
+#line 2503 "AppWindow.c"
}
goto __finally223;
__catch223_g_error:
@@ -2535,7 +2547,7 @@ AppWindow* app_window_construct (GType object_type) {
g_debug ("AppWindow.vala:445: Unable to load custom CSS: %s", _tmp21_);
#line 441 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_error_free0 (err);
-#line 2511 "AppWindow.c"
+#line 2523 "AppWindow.c"
}
__finally223:
#line 441 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -2548,44 +2560,44 @@ AppWindow* app_window_construct (GType object_type) {
g_clear_error (&_inner_error_);
#line 441 "/home/jens/Source/shotwell/src/AppWindow.vala"
return NULL;
-#line 2524 "AppWindow.c"
+#line 2536 "AppWindow.c"
}
#line 407 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (provider);
#line 407 "/home/jens/Source/shotwell/src/AppWindow.vala"
return self;
-#line 2530 "AppWindow.c"
+#line 2542 "AppWindow.c"
}
static void app_window_real_on_fullscreen (AppWindow* self) {
-#line 462 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 463 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_critical ("Type `%s' does not implement abstract method `app_window_on_fullscreen'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
-#line 462 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 463 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 2539 "AppWindow.c"
+#line 2551 "AppWindow.c"
}
void app_window_on_fullscreen (AppWindow* self) {
-#line 462 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 463 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 462 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 463 "/home/jens/Source/shotwell/src/AppWindow.vala"
APP_WINDOW_GET_CLASS (self)->on_fullscreen (self);
-#line 2548 "AppWindow.c"
+#line 2560 "AppWindow.c"
}
gboolean app_window_has_instance (void) {
gboolean result = FALSE;
AppWindow* _tmp0_ = NULL;
-#line 465 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 466 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_instance;
-#line 465 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 466 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp0_ != NULL;
-#line 465 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 466 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 2561 "AppWindow.c"
+#line 2573 "AppWindow.c"
}
@@ -2593,15 +2605,15 @@ AppWindow* app_window_get_instance (void) {
AppWindow* result = NULL;
AppWindow* _tmp0_ = NULL;
AppWindow* _tmp1_ = NULL;
-#line 469 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 470 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_instance;
-#line 469 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 470 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 469 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 470 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp1_;
-#line 469 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 470 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 2577 "AppWindow.c"
+#line 2589 "AppWindow.c"
}
@@ -2609,15 +2621,15 @@ FullscreenWindow* app_window_get_fullscreen (void) {
FullscreenWindow* result = NULL;
FullscreenWindow* _tmp0_ = NULL;
FullscreenWindow* _tmp1_ = NULL;
-#line 473 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 474 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_fullscreen_window;
-#line 473 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 474 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 473 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 474 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp1_;
-#line 473 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 474 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 2593 "AppWindow.c"
+#line 2605 "AppWindow.c"
}
@@ -2627,13 +2639,13 @@ GtkBuilder* app_window_create_builder (const gchar* glade_filename, void* user)
GtkBuilder* _tmp0_ = NULL;
void* _tmp12_ = NULL;
GError * _inner_error_ = NULL;
-#line 476 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_val_if_fail (glade_filename != NULL, NULL);
#line 477 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_val_if_fail (glade_filename != NULL, NULL);
+#line 478 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = gtk_builder_new ();
-#line 477 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 478 "/home/jens/Source/shotwell/src/AppWindow.vala"
builder = _tmp0_;
-#line 2609 "AppWindow.c"
+#line 2621 "AppWindow.c"
{
GFile* _tmp1_ = NULL;
GFile* _tmp2_ = NULL;
@@ -2644,37 +2656,37 @@ GtkBuilder* app_window_create_builder (const gchar* glade_filename, void* user)
GFile* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = app_dirs_get_resources_dir ();
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = _tmp1_;
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = g_file_get_child (_tmp2_, "ui");
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp3_;
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = glade_filename;
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = g_file_get_child (_tmp4_, _tmp5_);
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = _tmp6_;
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = g_file_get_path (_tmp7_);
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = _tmp8_;
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_builder_add_from_file (builder, _tmp9_, &_inner_error_);
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp9_);
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp7_);
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp4_);
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp2_);
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2650 "AppWindow.c"
+#line 2662 "AppWindow.c"
goto __catch224_g_error;
}
}
@@ -2684,59 +2696,59 @@ GtkBuilder* app_window_create_builder (const gchar* glade_filename, void* user)
GError* _error_ = NULL;
GError* _tmp10_ = NULL;
const gchar* _tmp11_ = NULL;
-#line 478 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
_error_ = _inner_error_;
-#line 478 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
_inner_error_ = NULL;
-#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 483 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = _error_;
-#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 483 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = _tmp10_->message;
-#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_warning ("AppWindow.vala:482: Unable to create Gtk.Builder: %s\n", _tmp11_);
-#line 478 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 483 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_warning ("AppWindow.vala:483: Unable to create Gtk.Builder: %s\n", _tmp11_);
+#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_error_free0 (_error_);
-#line 2672 "AppWindow.c"
+#line 2684 "AppWindow.c"
}
__finally224:
-#line 478 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 478 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (builder);
-#line 478 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 479 "/home/jens/Source/shotwell/src/AppWindow.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 478 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_clear_error (&_inner_error_);
-#line 478 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
return NULL;
-#line 2685 "AppWindow.c"
+#line 2697 "AppWindow.c"
}
-#line 485 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 486 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = user;
-#line 485 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 486 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_builder_connect_signals (builder, _tmp12_);
-#line 487 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 488 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = builder;
-#line 487 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 488 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 2695 "AppWindow.c"
+#line 2707 "AppWindow.c"
}
void app_window_error_message (const gchar* message, GtkWindow* parent) {
const gchar* _tmp0_ = NULL;
GtkWindow* _tmp1_ = NULL;
-#line 490 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 491 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (message != NULL);
-#line 490 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent));
#line 491 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent));
+#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = message;
-#line 491 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = parent;
-#line 491 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_error_message_with_title (RESOURCES_APP_TITLE, _tmp0_, _tmp1_, TRUE);
-#line 2712 "AppWindow.c"
+#line 2724 "AppWindow.c"
}
@@ -2756,83 +2768,83 @@ void app_window_error_message_with_title (const gchar* title, const gchar* messa
gboolean _tmp14_ = FALSE;
gchar* _tmp15_ = NULL;
gchar* _tmp16_ = NULL;
-#line 494 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 495 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (title != NULL);
-#line 494 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 495 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (message != NULL);
-#line 494 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 495 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent));
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = parent;
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ != NULL) {
-#line 2742 "AppWindow.c"
+#line 2754 "AppWindow.c"
GtkWindow* _tmp2_ = NULL;
GtkWindow* _tmp3_ = NULL;
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = parent;
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _tmp3_;
-#line 2753 "AppWindow.c"
+#line 2765 "AppWindow.c"
} else {
AppWindow* _tmp4_ = NULL;
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = app_window_get_instance ();
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_window_get_type (), GtkWindow);
-#line 2762 "AppWindow.c"
+#line 2774 "AppWindow.c"
}
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = title;
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = message;
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = should_escape;
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = build_alert_body_text (_tmp5_, _tmp6_, _tmp7_);
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = _tmp8_;
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = (GtkMessageDialog*) gtk_message_dialog_new_with_markup (_tmp0_, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, "%s", _tmp9_);
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_object_ref_sink (_tmp10_);
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = _tmp10_;
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp9_);
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
dialog = _tmp11_;
-#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 503 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = title;
-#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 503 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = message;
-#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 503 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = should_escape;
-#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 503 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp15_ = build_alert_body_text (_tmp12_, _tmp13_, _tmp14_);
-#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 503 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp16_ = _tmp15_;
-#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 503 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_message_dialog_set_markup (dialog, _tmp16_);
-#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 503 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp16_);
-#line 504 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_object_set (dialog, "use-markup", TRUE, NULL);
#line 505 "/home/jens/Source/shotwell/src/AppWindow.vala"
- gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog));
+ g_object_set (dialog, "use-markup", TRUE, NULL);
#line 506 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog));
+#line 507 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget));
-#line 494 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 495 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (dialog);
-#line 494 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 495 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 2808 "AppWindow.c"
+#line 2820 "AppWindow.c"
}
@@ -2855,93 +2867,93 @@ gboolean app_window_negate_affirm_question (const gchar* message, const gchar* n
const gchar* _tmp16_ = NULL;
gboolean response = FALSE;
gint _tmp17_ = 0;
-#line 509 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 510 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (message != NULL, FALSE);
-#line 509 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 510 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (negative != NULL, FALSE);
-#line 509 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 510 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (affirmative != NULL, FALSE);
-#line 509 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 510 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent), FALSE);
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = parent;
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ != NULL) {
-#line 2843 "AppWindow.c"
+#line 2855 "AppWindow.c"
GtkWindow* _tmp2_ = NULL;
GtkWindow* _tmp3_ = NULL;
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = parent;
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _tmp3_;
-#line 2854 "AppWindow.c"
+#line 2866 "AppWindow.c"
} else {
AppWindow* _tmp4_ = NULL;
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = app_window_get_instance ();
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_window_get_type (), GtkWindow);
-#line 2863 "AppWindow.c"
+#line 2875 "AppWindow.c"
}
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = title;
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = message;
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = build_alert_body_text (_tmp5_, _tmp6_, TRUE);
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = _tmp7_;
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp0_, GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, "%s", _tmp8_);
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_object_ref_sink (_tmp9_);
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = _tmp9_;
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp8_);
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
dialog = _tmp10_;
-#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = title;
-#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = message;
-#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = build_alert_body_text (_tmp11_, _tmp12_, TRUE);
-#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = _tmp13_;
-#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_message_dialog_set_markup (dialog, _tmp14_);
-#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _g_free0 (_tmp14_);
#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (_tmp14_);
+#line 516 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp15_ = negative;
-#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 516 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp16_ = affirmative;
-#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala"
- gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp15_, GTK_RESPONSE_NO, _tmp16_, GTK_RESPONSE_YES, NULL);
#line 516 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp15_, GTK_RESPONSE_NO, _tmp16_, GTK_RESPONSE_YES, NULL);
+#line 517 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_set_urgency_hint (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_window_get_type (), GtkWindow), TRUE);
-#line 518 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 519 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp17_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog));
-#line 518 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 519 "/home/jens/Source/shotwell/src/AppWindow.vala"
response = _tmp17_ == ((gint) GTK_RESPONSE_YES);
-#line 520 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 521 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget));
-#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 523 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = response;
-#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 523 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (dialog);
-#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 523 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 523 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 2917 "AppWindow.c"
+#line 2929 "AppWindow.c"
}
@@ -2965,95 +2977,95 @@ GtkResponseType app_window_negate_affirm_cancel_question (const gchar* message,
gchar* _tmp17_ = NULL;
gint response = 0;
gint _tmp18_ = 0;
-#line 525 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 526 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (message != NULL, 0);
-#line 525 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 526 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (negative != NULL, 0);
-#line 525 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 526 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (affirmative != NULL, 0);
-#line 525 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 526 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent), 0);
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = parent;
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ != NULL) {
-#line 2953 "AppWindow.c"
+#line 2965 "AppWindow.c"
GtkWindow* _tmp2_ = NULL;
GtkWindow* _tmp3_ = NULL;
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = parent;
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _tmp3_;
-#line 2964 "AppWindow.c"
+#line 2976 "AppWindow.c"
} else {
AppWindow* _tmp4_ = NULL;
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = app_window_get_instance ();
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_window_get_type (), GtkWindow);
-#line 2973 "AppWindow.c"
+#line 2985 "AppWindow.c"
}
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = title;
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = message;
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = build_alert_body_text (_tmp5_, _tmp6_, TRUE);
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = _tmp7_;
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = (GtkMessageDialog*) gtk_message_dialog_new_with_markup (_tmp0_, GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, "%s", _tmp8_);
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_object_ref_sink (_tmp9_);
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = _tmp9_;
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp8_);
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
dialog = _tmp10_;
-#line 530 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 531 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = negative;
-#line 530 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 531 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = affirmative;
-#line 530 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 531 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = _ ("_Cancel");
-#line 530 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 531 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp11_, GTK_RESPONSE_NO, _tmp12_, GTK_RESPONSE_YES, _tmp13_, GTK_RESPONSE_CANCEL, NULL);
-#line 534 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 535 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = title;
-#line 534 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 535 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp15_ = message;
-#line 534 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 535 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp16_ = build_alert_body_text (_tmp14_, _tmp15_, TRUE);
-#line 534 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 535 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp17_ = _tmp16_;
-#line 534 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 535 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_message_dialog_set_markup (dialog, _tmp17_);
-#line 534 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _g_free0 (_tmp17_);
#line 535 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (_tmp17_);
+#line 536 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_object_set (dialog, "use-markup", TRUE, NULL);
-#line 537 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 538 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp18_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog));
-#line 537 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 538 "/home/jens/Source/shotwell/src/AppWindow.vala"
response = _tmp18_;
-#line 539 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 540 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget));
-#line 541 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 542 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = (GtkResponseType) response;
-#line 541 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 542 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (dialog);
-#line 541 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 542 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 541 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 542 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 3029 "AppWindow.c"
+#line 3041 "AppWindow.c"
}
@@ -3077,103 +3089,103 @@ GtkResponseType app_window_affirm_cancel_question (const gchar* message, const g
GtkMessageDialog* _tmp17_ = NULL;
gint _tmp18_ = 0;
GtkMessageDialog* _tmp19_ = NULL;
-#line 544 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 545 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (message != NULL, 0);
-#line 544 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 545 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (affirmative != NULL, 0);
-#line 544 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 545 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent), 0);
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = parent;
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ != NULL) {
-#line 3063 "AppWindow.c"
+#line 3075 "AppWindow.c"
GtkWindow* _tmp2_ = NULL;
GtkWindow* _tmp3_ = NULL;
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = parent;
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _tmp3_;
-#line 3074 "AppWindow.c"
+#line 3086 "AppWindow.c"
} else {
AppWindow* _tmp4_ = NULL;
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = app_window_get_instance ();
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_window_get_type (), GtkWindow);
-#line 3083 "AppWindow.c"
+#line 3095 "AppWindow.c"
}
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = message;
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = (GtkMessageDialog*) gtk_message_dialog_new_with_markup (_tmp0_, GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, "%s", _tmp5_);
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_object_ref_sink (_tmp6_);
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
dialog = _tmp6_;
-#line 549 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 550 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = dialog;
-#line 549 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 550 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = message;
-#line 549 "/home/jens/Source/shotwell/src/AppWindow.vala"
- gtk_message_dialog_set_markup (_tmp7_, _tmp8_);
#line 550 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ gtk_message_dialog_set_markup (_tmp7_, _tmp8_);
+#line 551 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = dialog;
-#line 550 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_object_set (_tmp9_, "use-markup", TRUE, NULL);
#line 551 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_object_set (_tmp9_, "use-markup", TRUE, NULL);
+#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = title;
-#line 551 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp11_ != NULL) {
-#line 3107 "AppWindow.c"
+#line 3119 "AppWindow.c"
const gchar* _tmp12_ = NULL;
-#line 551 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = title;
-#line 551 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = _tmp12_;
-#line 3113 "AppWindow.c"
+#line 3125 "AppWindow.c"
} else {
-#line 551 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = RESOURCES_APP_TITLE;
-#line 3117 "AppWindow.c"
+#line 3129 "AppWindow.c"
}
-#line 551 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = dialog;
-#line 551 "/home/jens/Source/shotwell/src/AppWindow.vala"
- gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_window_get_type (), GtkWindow), _tmp10_);
#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_window_get_type (), GtkWindow), _tmp10_);
+#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = dialog;
-#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp15_ = affirmative;
-#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp16_ = _ ("_Cancel");
-#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_dialog_get_type (), GtkDialog), _tmp15_, GTK_RESPONSE_YES, _tmp16_, GTK_RESPONSE_CANCEL, NULL);
-#line 555 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp17_ = dialog;
-#line 555 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp18_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_dialog_get_type (), GtkDialog));
-#line 555 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala"
response = _tmp18_;
-#line 557 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 558 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp19_ = dialog;
-#line 557 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 558 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_widget_get_type (), GtkWidget));
-#line 559 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 560 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = (GtkResponseType) response;
-#line 559 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 560 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (dialog);
-#line 559 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 560 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 559 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 560 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 3149 "AppWindow.c"
+#line 3161 "AppWindow.c"
}
@@ -3196,101 +3208,101 @@ GtkResponseType app_window_negate_affirm_all_cancel_question (const gchar* messa
GtkMessageDialog* _tmp16_ = NULL;
gint _tmp17_ = 0;
GtkMessageDialog* _tmp18_ = NULL;
-#line 562 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 563 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (message != NULL, 0);
-#line 562 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 563 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (negative != NULL, 0);
-#line 562 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 563 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (affirmative != NULL, 0);
-#line 562 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 563 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (affirmative_all != NULL, 0);
-#line 562 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 563 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent), 0);
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = parent;
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ != NULL) {
-#line 3186 "AppWindow.c"
+#line 3198 "AppWindow.c"
GtkWindow* _tmp2_ = NULL;
GtkWindow* _tmp3_ = NULL;
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = parent;
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _tmp3_;
-#line 3197 "AppWindow.c"
+#line 3209 "AppWindow.c"
} else {
AppWindow* _tmp4_ = NULL;
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = app_window_get_instance ();
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_window_get_type (), GtkWindow);
-#line 3206 "AppWindow.c"
+#line 3218 "AppWindow.c"
}
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = message;
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp0_, GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, "%s", _tmp5_);
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_object_ref_sink (_tmp6_);
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
dialog = _tmp6_;
-#line 567 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = title;
-#line 567 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp8_ != NULL) {
-#line 3220 "AppWindow.c"
+#line 3232 "AppWindow.c"
const gchar* _tmp9_ = NULL;
-#line 567 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = title;
-#line 567 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = _tmp9_;
-#line 3226 "AppWindow.c"
+#line 3238 "AppWindow.c"
} else {
-#line 567 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = RESOURCES_APP_TITLE;
-#line 3230 "AppWindow.c"
+#line 3242 "AppWindow.c"
}
-#line 567 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = dialog;
-#line 567 "/home/jens/Source/shotwell/src/AppWindow.vala"
- gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_window_get_type (), GtkWindow), _tmp7_);
#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_window_get_type (), GtkWindow), _tmp7_);
+#line 569 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = dialog;
-#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 569 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = negative;
-#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 569 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = affirmative;
-#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 569 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = affirmative_all;
-#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 569 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp15_ = _ ("_Cancel");
-#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 569 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_dialog_get_type (), GtkDialog), _tmp12_, GTK_RESPONSE_NO, _tmp13_, GTK_RESPONSE_YES, _tmp14_, GTK_RESPONSE_APPLY, _tmp15_, GTK_RESPONSE_CANCEL, NULL);
-#line 571 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp16_ = dialog;
-#line 571 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp17_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_dialog_get_type (), GtkDialog));
-#line 571 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala"
response = _tmp17_;
-#line 573 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 574 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp18_ = dialog;
-#line 573 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 574 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget));
-#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 576 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = (GtkResponseType) response;
-#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 576 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (dialog);
-#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 576 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 576 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 3266 "AppWindow.c"
+#line 3278 "AppWindow.c"
}
@@ -3300,24 +3312,24 @@ void app_window_database_error (GError* err) {
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
-#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 580 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _ ("A fatal error occurred when accessing Shotwell’s library. Shotwell can" \
"not continue.\n" \
"\n" \
"%s");
-#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 580 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = err;
-#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 580 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = _tmp1_->message;
-#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 580 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = g_strdup_printf (_tmp0_, _tmp2_);
-#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 580 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp3_;
-#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 580 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_panic (_tmp4_);
-#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 580 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp4_);
-#line 3290 "AppWindow.c"
+#line 3302 "AppWindow.c"
}
@@ -3326,43 +3338,43 @@ void app_window_panic (const gchar* msg) {
const gchar* _tmp1_ = NULL;
Application* _tmp2_ = NULL;
Application* _tmp3_ = NULL;
-#line 583 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (msg != NULL);
#line 584 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (msg != NULL);
+#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = msg;
-#line 584 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_critical ("AppWindow.vala:584: %s", _tmp0_);
#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_critical ("AppWindow.vala:585: %s", _tmp0_);
+#line 586 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = msg;
-#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 586 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_error_message (_tmp1_, NULL);
-#line 587 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = application_get_instance ();
-#line 587 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _tmp2_;
-#line 587 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala"
application_panic (_tmp3_);
-#line 587 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala"
_application_unref0 (_tmp3_);
-#line 3317 "AppWindow.c"
+#line 3329 "AppWindow.c"
}
static gchar* app_window_real_get_app_role (AppWindow* self) {
-#line 590 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 591 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_critical ("Type `%s' does not implement abstract method `app_window_get_app_role'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
-#line 590 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 591 "/home/jens/Source/shotwell/src/AppWindow.vala"
return NULL;
-#line 3326 "AppWindow.c"
+#line 3338 "AppWindow.c"
}
gchar* app_window_get_app_role (AppWindow* self) {
-#line 590 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 591 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (IS_APP_WINDOW (self), NULL);
-#line 590 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 591 "/home/jens/Source/shotwell/src/AppWindow.vala"
return APP_WINDOW_GET_CLASS (self)->get_app_role (self);
-#line 3335 "AppWindow.c"
+#line 3347 "AppWindow.c"
}
@@ -3373,44 +3385,44 @@ void app_window_on_about (AppWindow* self) {
GdkPixbuf* _tmp3_ = NULL;
GdkPixbuf* _tmp4_ = NULL;
const gchar* _tmp5_ = NULL;
-#line 592 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_APP_WINDOW (self));
#line 593 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_APP_WINDOW (self));
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_get_app_role (self);
-#line 593 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp0_;
-#line 593 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = _ ("Visit the Shotwell web site");
-#line 593 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = resources_get_icon (RESOURCES_ICON_ABOUT_LOGO, -1);
-#line 593 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp3_;
-#line 593 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _ ("translator-credits");
-#line 593 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_show_about_dialog (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), "version", RESOURCES_APP_VERSION, "comments", _tmp1_, "copyright", RESOURCES_COPYRIGHT, "website", RESOURCES_HOME_URL, "license", RESOURCES_LICENSE, "website-label", _tmp2_, "authors", RESOURCES_AUTHORS, "logo", _tmp4_, "translator-credits", _tmp5_, NULL, NULL);
-#line 593 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp4_);
-#line 593 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp1_);
-#line 3366 "AppWindow.c"
+#line 3378 "AppWindow.c"
}
static void app_window_on_help_contents (AppWindow* self) {
GError * _inner_error_ = NULL;
-#line 607 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 608 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 3374 "AppWindow.c"
+#line 3386 "AppWindow.c"
{
GdkScreen* _tmp0_ = NULL;
-#line 609 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 610 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = gtk_window_get_screen (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow));
-#line 609 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 610 "/home/jens/Source/shotwell/src/AppWindow.vala"
resources_launch_help (_tmp0_, NULL, &_inner_error_);
-#line 609 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 610 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3383 "AppWindow.c"
+#line 3395 "AppWindow.c"
goto __catch225_g_error;
}
}
@@ -3423,53 +3435,53 @@ static void app_window_on_help_contents (AppWindow* self) {
const gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
-#line 608 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 609 "/home/jens/Source/shotwell/src/AppWindow.vala"
err = _inner_error_;
-#line 608 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 609 "/home/jens/Source/shotwell/src/AppWindow.vala"
_inner_error_ = NULL;
-#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 612 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _ ("Unable to display help: %s");
-#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 612 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = err;
-#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 612 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _tmp2_->message;
-#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 612 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = g_strdup_printf (_tmp1_, _tmp3_);
-#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 612 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_;
-#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 612 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_error_message (_tmp5_, NULL);
-#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 612 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp5_);
-#line 608 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 609 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_error_free0 (err);
-#line 3416 "AppWindow.c"
+#line 3428 "AppWindow.c"
}
__finally225:
-#line 608 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 609 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 608 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 609 "/home/jens/Source/shotwell/src/AppWindow.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 608 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 609 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_clear_error (&_inner_error_);
-#line 608 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 609 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3427 "AppWindow.c"
+#line 3439 "AppWindow.c"
}
}
static void app_window_on_help_report_problem (AppWindow* self) {
GError * _inner_error_ = NULL;
-#line 615 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 616 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 3436 "AppWindow.c"
+#line 3448 "AppWindow.c"
{
-#line 617 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 618 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_show_uri (self, RESOURCES_BUG_DB_URL, &_inner_error_);
-#line 617 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 618 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3442 "AppWindow.c"
+#line 3454 "AppWindow.c"
goto __catch226_g_error;
}
}
@@ -3482,53 +3494,53 @@ static void app_window_on_help_report_problem (AppWindow* self) {
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
-#line 616 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 617 "/home/jens/Source/shotwell/src/AppWindow.vala"
err = _inner_error_;
-#line 616 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 617 "/home/jens/Source/shotwell/src/AppWindow.vala"
_inner_error_ = NULL;
-#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _ ("Unable to navigate to bug database: %s");
-#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = err;
-#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = _tmp1_->message;
-#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = g_strdup_printf (_tmp0_, _tmp2_);
-#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp3_;
-#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_error_message (_tmp4_, NULL);
-#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp4_);
-#line 616 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 617 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_error_free0 (err);
-#line 3475 "AppWindow.c"
+#line 3487 "AppWindow.c"
}
__finally226:
-#line 616 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 617 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 616 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 617 "/home/jens/Source/shotwell/src/AppWindow.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 616 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 617 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_clear_error (&_inner_error_);
-#line 616 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 617 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3486 "AppWindow.c"
+#line 3498 "AppWindow.c"
}
}
static void app_window_on_help_faq (AppWindow* self) {
GError * _inner_error_ = NULL;
-#line 623 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 624 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 3495 "AppWindow.c"
+#line 3507 "AppWindow.c"
{
-#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 626 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_show_uri (self, RESOURCES_FAQ_URL, &_inner_error_);
-#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 626 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3501 "AppWindow.c"
+#line 3513 "AppWindow.c"
goto __catch227_g_error;
}
}
@@ -3541,38 +3553,38 @@ static void app_window_on_help_faq (AppWindow* self) {
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
-#line 624 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala"
err = _inner_error_;
-#line 624 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala"
_inner_error_ = NULL;
-#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _ ("Unable to display FAQ: %s");
-#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = err;
-#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = _tmp1_->message;
-#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = g_strdup_printf (_tmp0_, _tmp2_);
-#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp3_;
-#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_error_message (_tmp4_, NULL);
-#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp4_);
-#line 624 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_error_free0 (err);
-#line 3534 "AppWindow.c"
+#line 3546 "AppWindow.c"
}
__finally227:
-#line 624 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 624 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 625 "/home/jens/Source/shotwell/src/AppWindow.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 624 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_clear_error (&_inner_error_);
-#line 624 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3545 "AppWindow.c"
+#line 3557 "AppWindow.c"
}
}
@@ -3580,24 +3592,24 @@ static void app_window_on_help_faq (AppWindow* self) {
static void app_window_real_on_quit (AppWindow* self) {
Application* _tmp0_ = NULL;
Application* _tmp1_ = NULL;
-#line 632 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 633 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = application_get_instance ();
-#line 632 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 633 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp0_;
-#line 632 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 633 "/home/jens/Source/shotwell/src/AppWindow.vala"
application_exit (_tmp1_);
-#line 632 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 633 "/home/jens/Source/shotwell/src/AppWindow.vala"
_application_unref0 (_tmp1_);
-#line 3561 "AppWindow.c"
+#line 3573 "AppWindow.c"
}
void app_window_on_quit (AppWindow* self) {
-#line 631 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 632 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 631 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 632 "/home/jens/Source/shotwell/src/AppWindow.vala"
APP_WINDOW_GET_CLASS (self)->on_quit (self);
-#line 3570 "AppWindow.c"
+#line 3582 "AppWindow.c"
}
@@ -3620,71 +3632,71 @@ void app_window_on_jump_to_file (AppWindow* self) {
MediaSource* _tmp14_ = NULL;
MediaSource* _tmp15_ = NULL;
GError * _inner_error_ = NULL;
-#line 635 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_APP_WINDOW (self));
#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_APP_WINDOW (self));
+#line 637 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 637 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp0_;
-#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 637 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = page_get_view (_tmp1_);
-#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 637 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _tmp2_;
-#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 637 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = view_collection_get_selected_count (_tmp3_);
-#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 637 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_ != 1;
-#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 637 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp3_);
-#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 637 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp1_);
-#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala"
- if (_tmp5_) {
#line 637 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp5_) {
+#line 638 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3615 "AppWindow.c"
+#line 3627 "AppWindow.c"
}
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = _tmp6_;
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = page_get_view (_tmp7_);
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = _tmp8_;
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = view_collection_get_selected_at (_tmp9_, 0);
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = _tmp10_;
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = data_view_get_source (_tmp11_);
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp12_, TYPE_MEDIA_SOURCE) ? ((MediaSource*) _tmp12_) : NULL;
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp13_ == NULL) {
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp12_);
-#line 3637 "AppWindow.c"
+#line 3649 "AppWindow.c"
}
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = _tmp13_;
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp11_);
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp9_);
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp7_);
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
media = _tmp14_;
-#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp15_ = media;
-#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala"
- if (_tmp15_ == NULL) {
#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp15_ == NULL) {
+#line 643 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (media);
-#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 643 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3657 "AppWindow.c"
+#line 3669 "AppWindow.c"
}
{
AppWindow* _tmp16_ = NULL;
@@ -3692,25 +3704,25 @@ void app_window_on_jump_to_file (AppWindow* self) {
MediaSource* _tmp18_ = NULL;
GFile* _tmp19_ = NULL;
GFile* _tmp20_ = NULL;
-#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp16_ = app_window_get_instance ();
-#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp17_ = _tmp16_;
-#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp18_ = media;
-#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp19_ = media_source_get_master_file (_tmp18_);
-#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp20_ = _tmp19_;
-#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_show_file_uri (_tmp17_, _tmp20_, &_inner_error_);
-#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp20_);
-#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp17_);
-#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3683 "AppWindow.c"
+#line 3695 "AppWindow.c"
goto __catch228_g_error;
}
}
@@ -3721,63 +3733,63 @@ void app_window_on_jump_to_file (AppWindow* self) {
GError* _tmp21_ = NULL;
gchar* _tmp22_ = NULL;
gchar* _tmp23_ = NULL;
-#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
err = _inner_error_;
-#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
_inner_error_ = NULL;
-#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp21_ = err;
-#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp22_ = resources_jump_to_file_failed (_tmp21_);
-#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp23_ = _tmp22_;
-#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_error_message (_tmp23_, NULL);
-#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp23_);
-#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_error_free0 (err);
-#line 3710 "AppWindow.c"
+#line 3722 "AppWindow.c"
}
__finally228:
-#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (media);
-#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 645 "/home/jens/Source/shotwell/src/AppWindow.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 644 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_clear_error (&_inner_error_);
-#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3723 "AppWindow.c"
+#line 3735 "AppWindow.c"
}
-#line 635 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (media);
-#line 3727 "AppWindow.c"
+#line 3739 "AppWindow.c"
}
static void app_window_real_destroy (GtkWidget* base) {
AppWindow * self;
-#line 651 "/home/jens/Source/shotwell/src/AppWindow.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_APP_WINDOW, AppWindow);
#line 652 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_APP_WINDOW, AppWindow);
+#line 653 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_quit (self);
-#line 3737 "AppWindow.c"
+#line 3749 "AppWindow.c"
}
static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
gchar* result = NULL;
GError * _inner_error_ = NULL;
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (old != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
-#line 3750 "AppWindow.c"
+#line 3762 "AppWindow.c"
{
GRegex* regex = NULL;
const gchar* _tmp0_ = NULL;
@@ -3790,100 +3802,100 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = old;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_regex_escape_string (_tmp0_, -1);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp1_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp2_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
regex = _tmp4_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 3781 "AppWindow.c"
+#line 3793 "AppWindow.c"
goto __catch229_g_regex_error;
}
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
-#line 3790 "AppWindow.c"
+#line 3802 "AppWindow.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = regex;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = replacement;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 3806 "AppWindow.c"
+#line 3818 "AppWindow.c"
goto __catch229_g_regex_error;
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
-#line 3817 "AppWindow.c"
+#line 3829 "AppWindow.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = _tmp5_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = NULL;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp9_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp5_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 3831 "AppWindow.c"
+#line 3843 "AppWindow.c"
}
goto __finally229;
__catch229_g_regex_error:
{
GError* e = NULL;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
e = _inner_error_;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_inner_error_ = NULL;
-#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_assert_not_reached ();
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_error_free0 (e);
-#line 3845 "AppWindow.c"
+#line 3857 "AppWindow.c"
}
__finally229:
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
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 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
-#line 3856 "AppWindow.c"
+#line 3868 "AppWindow.c"
}
}
@@ -3894,53 +3906,53 @@ void app_window_show_file_uri (AppWindow* self, GFile* file, GError** error) {
gchar* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
GError * _inner_error_ = NULL;
-#line 655 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 656 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 655 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 656 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 660 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = get_nautilus_install_location ();
-#line 660 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp0_;
-#line 660 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = _tmp1_ != NULL;
-#line 660 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp1_);
-#line 660 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_) {
-#line 3881 "AppWindow.c"
+#line 3893 "AppWindow.c"
GFile* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
-#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = file;
-#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = g_file_get_uri (_tmp3_);
-#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_;
-#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = string_replace (_tmp5_, "'", "\\\'");
-#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (tmp);
-#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
tmp = _tmp6_;
-#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _g_free0 (_tmp5_);
#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (_tmp5_);
+#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = tmp;
-#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
show_file_in_nautilus (_tmp7_, &_inner_error_);
-#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_propagate_error (error, _inner_error_);
-#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (tmp);
-#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3913 "AppWindow.c"
+#line 3925 "AppWindow.c"
}
} else {
GFile* _tmp8_ = NULL;
@@ -3950,44 +3962,44 @@ void app_window_show_file_uri (AppWindow* self, GFile* file, GError** error) {
gchar* _tmp12_ = NULL;
gchar* _tmp13_ = NULL;
const gchar* _tmp14_ = NULL;
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = file;
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = g_file_get_parent (_tmp8_);
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = _tmp9_;
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = g_file_get_uri (_tmp10_);
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = _tmp11_;
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = string_replace (_tmp12_, "'", "\\\'");
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (tmp);
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
tmp = _tmp13_;
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp12_);
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _g_object_unref0 (_tmp10_);
#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (_tmp10_);
+#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = tmp;
-#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_show_uri (self, _tmp14_, &_inner_error_);
-#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_propagate_error (error, _inner_error_);
-#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (tmp);
-#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3955 "AppWindow.c"
+#line 3967 "AppWindow.c"
}
}
-#line 655 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 656 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (tmp);
-#line 3960 "AppWindow.c"
+#line 3972 "AppWindow.c"
}
@@ -3996,42 +4008,42 @@ void app_window_show_uri (AppWindow* self, const gchar* url, GError** error) {
GdkScreen* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
GError * _inner_error_ = NULL;
-#line 669 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 669 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (url != NULL);
#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (url != NULL);
+#line 671 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 671 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = gdk_window_get_screen (_tmp0_);
-#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 671 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = url;
-#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 671 "/home/jens/Source/shotwell/src/AppWindow.vala"
sys_show_uri (_tmp1_, _tmp2_, &_inner_error_);
-#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 671 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 671 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_propagate_error (error, _inner_error_);
-#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 671 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3987 "AppWindow.c"
+#line 3999 "AppWindow.c"
}
}
static void app_window_real_add_actions (AppWindow* self) {
-#line 674 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 675 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_action_map_add_action_entries (G_TYPE_CHECK_INSTANCE_CAST (self, g_action_map_get_type (), GActionMap), APP_WINDOW_common_actions, G_N_ELEMENTS (APP_WINDOW_common_actions), self);
-#line 3995 "AppWindow.c"
+#line 4007 "AppWindow.c"
}
void app_window_add_actions (AppWindow* self) {
-#line 673 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 674 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 673 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 674 "/home/jens/Source/shotwell/src/AppWindow.vala"
APP_WINDOW_GET_CLASS (self)->add_actions (self);
-#line 4004 "AppWindow.c"
+#line 4016 "AppWindow.c"
}
@@ -4048,81 +4060,81 @@ void app_window_go_fullscreen (AppWindow* self, Page* page) {
FullscreenWindow* _tmp12_ = NULL;
FullscreenWindow* _tmp13_ = NULL;
FullscreenWindow* _tmp14_ = NULL;
-#line 677 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 678 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 677 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 678 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_PAGE (page));
-#line 679 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 680 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_fullscreen_window;
-#line 679 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 680 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp0_ != NULL) {
-#line 4029 "AppWindow.c"
+#line 4041 "AppWindow.c"
FullscreenWindow* _tmp1_ = NULL;
-#line 680 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 681 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = app_window_fullscreen_window;
-#line 680 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 681 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_present (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_window_get_type (), GtkWindow));
-#line 682 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 683 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 4037 "AppWindow.c"
+#line 4049 "AppWindow.c"
}
-#line 685 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 686 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_get_position (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), &_tmp2_, &_tmp3_);
-#line 685 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 686 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->pos_x = _tmp2_;
-#line 685 "/home/jens/Source/shotwell/src/AppWindow.vala"
- self->pos_y = _tmp3_;
#line 686 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ self->pos_y = _tmp3_;
+#line 687 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 688 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 689 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = page;
-#line 688 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 689 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = fullscreen_window_new (_tmp4_);
-#line 688 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 689 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_object_ref_sink (_tmp5_);
-#line 688 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 689 "/home/jens/Source/shotwell/src/AppWindow.vala"
fsw = _tmp5_;
-#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = _tmp6_;
-#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = _tmp7_ != NULL;
-#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp7_);
-#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp8_) {
-#line 4065 "AppWindow.c"
+#line 4077 "AppWindow.c"
Page* _tmp9_ = NULL;
Page* _tmp10_ = NULL;
FullscreenWindow* _tmp11_ = NULL;
-#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 692 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 692 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = _tmp9_;
-#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 692 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = fsw;
-#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 692 "/home/jens/Source/shotwell/src/AppWindow.vala"
page_switching_to_fullscreen (_tmp10_, _tmp11_);
-#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 692 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp10_);
-#line 4079 "AppWindow.c"
+#line 4091 "AppWindow.c"
}
-#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 694 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = fsw;
-#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 694 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = _g_object_ref0 (_tmp12_);
-#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 694 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (app_window_fullscreen_window);
-#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala"
- app_window_fullscreen_window = _tmp13_;
#line 694 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ app_window_fullscreen_window = _tmp13_;
+#line 695 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = app_window_fullscreen_window;
-#line 694 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 695 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_present (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_window_get_type (), GtkWindow));
-#line 677 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 678 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (fsw);
-#line 4095 "AppWindow.c"
+#line 4107 "AppWindow.c"
}
@@ -4135,65 +4147,65 @@ void app_window_end_fullscreen (AppWindow* self) {
gboolean _tmp5_ = FALSE;
FullscreenWindow* _tmp9_ = NULL;
FullscreenWindow* _tmp10_ = NULL;
-#line 697 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_APP_WINDOW (self));
#line 698 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_APP_WINDOW (self));
+#line 699 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_fullscreen_window;
-#line 698 "/home/jens/Source/shotwell/src/AppWindow.vala"
- if (_tmp0_ == NULL) {
#line 699 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp0_ == NULL) {
+#line 700 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 4116 "AppWindow.c"
+#line 4128 "AppWindow.c"
}
-#line 701 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 702 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = self->pos_x;
-#line 701 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 702 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = self->pos_y;
-#line 701 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 702 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_move (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp1_, _tmp2_);
-#line 703 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 704 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 705 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 705 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp3_;
-#line 705 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_ != NULL;
-#line 705 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp4_);
-#line 705 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp5_) {
-#line 4136 "AppWindow.c"
+#line 4148 "AppWindow.c"
Page* _tmp6_ = NULL;
Page* _tmp7_ = NULL;
FullscreenWindow* _tmp8_ = NULL;
-#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 707 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 707 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = _tmp6_;
-#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 707 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = app_window_fullscreen_window;
-#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 707 "/home/jens/Source/shotwell/src/AppWindow.vala"
page_returning_from_fullscreen (_tmp7_, _tmp8_);
-#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 707 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp7_);
-#line 4150 "AppWindow.c"
+#line 4162 "AppWindow.c"
}
-#line 708 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 709 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = app_window_fullscreen_window;
-#line 708 "/home/jens/Source/shotwell/src/AppWindow.vala"
- gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget));
#line 709 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget));
+#line 710 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = app_window_fullscreen_window;
-#line 709 "/home/jens/Source/shotwell/src/AppWindow.vala"
- gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget));
#line 710 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget));
+#line 711 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (app_window_fullscreen_window);
-#line 710 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 711 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_fullscreen_window = NULL;
-#line 712 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_present (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow));
-#line 4166 "AppWindow.c"
+#line 4178 "AppWindow.c"
}
@@ -4202,21 +4214,21 @@ GAction* app_window_get_common_action (AppWindow* self, const gchar* name) {
const gchar* _tmp0_ = NULL;
GAction* _tmp1_ = NULL;
GAction* _tmp2_ = NULL;
-#line 715 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (IS_APP_WINDOW (self), NULL);
-#line 715 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_val_if_fail (name != NULL, NULL);
#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_val_if_fail (name != NULL, NULL);
+#line 717 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = name;
-#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 717 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = g_action_map_lookup_action (G_TYPE_CHECK_INSTANCE_CAST (self, g_action_map_get_type (), GActionMap), _tmp0_);
-#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 717 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = _g_object_ref0 (_tmp1_);
-#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 717 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp2_;
-#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 717 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 4189 "AppWindow.c"
+#line 4201 "AppWindow.c"
}
@@ -4226,42 +4238,42 @@ void app_window_set_common_action_sensitive (AppWindow* self, const gchar* name,
GAction* _tmp1_ = NULL;
GSimpleAction* _tmp2_ = NULL;
GSimpleAction* _tmp3_ = NULL;
-#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 720 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (name != NULL);
#line 720 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (name != NULL);
+#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = name;
-#line 720 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = app_window_get_common_action (self, _tmp0_);
-#line 720 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp1_) : NULL;
-#line 720 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_ == NULL) {
-#line 720 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp1_);
-#line 4213 "AppWindow.c"
+#line 4225 "AppWindow.c"
}
-#line 720 "/home/jens/Source/shotwell/src/AppWindow.vala"
- action = _tmp2_;
#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ action = _tmp2_;
+#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = action;
-#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp3_ != NULL) {
-#line 4221 "AppWindow.c"
+#line 4233 "AppWindow.c"
GSimpleAction* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 723 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = action;
-#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 723 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = sensitive;
-#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 723 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_simple_action_set_enabled (_tmp4_, _tmp5_);
-#line 4230 "AppWindow.c"
+#line 4242 "AppWindow.c"
}
-#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 720 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (action);
-#line 4234 "AppWindow.c"
+#line 4246 "AppWindow.c"
}
@@ -4271,45 +4283,45 @@ void app_window_set_common_action_important (AppWindow* self, const gchar* name,
GAction* _tmp1_ = NULL;
GSimpleAction* _tmp2_ = NULL;
GSimpleAction* _tmp3_ = NULL;
-#line 725 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 726 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 725 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (name != NULL);
#line 726 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (name != NULL);
+#line 727 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = name;
-#line 726 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 727 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = app_window_get_common_action (self, _tmp0_);
-#line 726 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 727 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp1_) : NULL;
-#line 726 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 727 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_ == NULL) {
-#line 726 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 727 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp1_);
-#line 4258 "AppWindow.c"
+#line 4270 "AppWindow.c"
}
-#line 726 "/home/jens/Source/shotwell/src/AppWindow.vala"
- action = _tmp2_;
#line 727 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ action = _tmp2_;
+#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = action;
-#line 727 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp3_ != NULL) {
-#line 4266 "AppWindow.c"
+#line 4278 "AppWindow.c"
GSimpleAction* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
gboolean _tmp6_ = FALSE;
-#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 729 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = action;
-#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 729 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 729 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = _tmp5_;
-#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 729 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_simple_action_set_enabled (_tmp4_, _tmp6_);
-#line 4278 "AppWindow.c"
+#line 4290 "AppWindow.c"
}
-#line 725 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 726 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (action);
-#line 4282 "AppWindow.c"
+#line 4294 "AppWindow.c"
}
@@ -4319,66 +4331,66 @@ void app_window_set_common_action_visible (AppWindow* self, const gchar* name, g
GAction* _tmp1_ = NULL;
GSimpleAction* _tmp2_ = NULL;
GSimpleAction* _tmp3_ = NULL;
-#line 731 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 732 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 731 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (name != NULL);
#line 732 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (name != NULL);
+#line 733 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = name;
-#line 732 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 733 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = app_window_get_common_action (self, _tmp0_);
-#line 732 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 733 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp1_) : NULL;
-#line 732 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 733 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_ == NULL) {
-#line 732 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 733 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp1_);
-#line 4306 "AppWindow.c"
+#line 4318 "AppWindow.c"
}
-#line 732 "/home/jens/Source/shotwell/src/AppWindow.vala"
- action = _tmp2_;
#line 733 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ action = _tmp2_;
+#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = action;
-#line 733 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp3_ != NULL) {
-#line 4314 "AppWindow.c"
+#line 4326 "AppWindow.c"
GSimpleAction* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
gboolean _tmp6_ = FALSE;
-#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = action;
-#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = _tmp5_;
-#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_simple_action_set_enabled (_tmp4_, _tmp6_);
-#line 4326 "AppWindow.c"
+#line 4338 "AppWindow.c"
}
-#line 731 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 732 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (action);
-#line 4330 "AppWindow.c"
+#line 4342 "AppWindow.c"
}
static void _app_window_on_update_common_actions_data_collection_contents_altered (DataCollection* _sender, GeeIterable* added, GeeIterable* removed, gpointer self) {
-#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_update_common_actions ((AppWindow*) self);
-#line 4337 "AppWindow.c"
+#line 4349 "AppWindow.c"
}
static void _app_window_on_update_common_actions_view_collection_selection_group_altered (ViewCollection* _sender, gpointer self) {
-#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_update_common_actions ((AppWindow*) self);
-#line 4344 "AppWindow.c"
+#line 4356 "AppWindow.c"
}
static void _app_window_on_update_common_actions_view_collection_items_state_changed (ViewCollection* _sender, GeeIterable* changed, gpointer self) {
-#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_update_common_actions ((AppWindow*) self);
-#line 4351 "AppWindow.c"
+#line 4363 "AppWindow.c"
}
@@ -4390,23 +4402,23 @@ static void app_window_real_switched_pages (PageWindow* base, Page* old_page, Pa
Page* _tmp15_ = NULL;
Page* _tmp34_ = NULL;
Page* _tmp35_ = NULL;
-#line 737 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_APP_WINDOW, AppWindow);
-#line 737 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail ((old_page == NULL) || IS_PAGE (old_page));
-#line 737 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail ((new_page == NULL) || IS_PAGE (new_page));
#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail ((new_page == NULL) || IS_PAGE (new_page));
+#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = old_page;
-#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = new_page;
-#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_update_common_action_availability (self, _tmp0_, _tmp1_);
-#line 740 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = old_page;
-#line 740 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_ != NULL) {
-#line 4379 "AppWindow.c"
+#line 4391 "AppWindow.c"
Page* _tmp3_ = NULL;
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
@@ -4419,49 +4431,49 @@ static void app_window_real_switched_pages (PageWindow* base, Page* old_page, Pa
ViewCollection* _tmp12_ = NULL;
ViewCollection* _tmp13_ = NULL;
guint _tmp14_ = 0U;
-#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = old_page;
-#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = page_get_view (_tmp3_);
-#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_;
-#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_parse_name ("contents-altered", TYPE_DATA_COLLECTION, &_tmp6_, NULL, FALSE);
-#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_COLLECTION, DataCollection), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp6_, 0, NULL, (GCallback) _app_window_on_update_common_actions_data_collection_contents_altered, self);
-#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _data_collection_unref0 (_tmp5_);
#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _data_collection_unref0 (_tmp5_);
+#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = old_page;
-#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = page_get_view (_tmp7_);
-#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = _tmp8_;
-#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_parse_name ("selection-group-altered", TYPE_VIEW_COLLECTION, &_tmp10_, NULL, FALSE);
-#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_handlers_disconnect_matched (_tmp9_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp10_, 0, NULL, (GCallback) _app_window_on_update_common_actions_view_collection_selection_group_altered, self);
-#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _data_collection_unref0 (_tmp9_);
#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _data_collection_unref0 (_tmp9_);
+#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = old_page;
-#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = page_get_view (_tmp11_);
-#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = _tmp12_;
-#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_parse_name ("items-state-changed", TYPE_VIEW_COLLECTION, &_tmp14_, NULL, FALSE);
-#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_handlers_disconnect_matched (_tmp13_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp14_, 0, NULL, (GCallback) _app_window_on_update_common_actions_view_collection_items_state_changed, self);
-#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp13_);
-#line 4428 "AppWindow.c"
+#line 4440 "AppWindow.c"
}
-#line 746 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp15_ = new_page;
-#line 746 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp15_ != NULL) {
-#line 4434 "AppWindow.c"
+#line 4446 "AppWindow.c"
Page* _tmp16_ = NULL;
ViewCollection* _tmp17_ = NULL;
ViewCollection* _tmp18_ = NULL;
@@ -4480,135 +4492,135 @@ static void app_window_real_switched_pages (PageWindow* base, Page* old_page, Pa
ViewCollection* _tmp31_ = NULL;
ViewCollection* _tmp32_ = NULL;
gint _tmp33_ = 0;
-#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp16_ = new_page;
-#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp17_ = page_get_view (_tmp16_);
-#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp18_ = _tmp17_;
-#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_DATA_COLLECTION, DataCollection), "contents-altered", (GCallback) _app_window_on_update_common_actions_data_collection_contents_altered, self, 0);
-#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _data_collection_unref0 (_tmp18_);
#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _data_collection_unref0 (_tmp18_);
+#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp19_ = new_page;
-#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp20_ = page_get_view (_tmp19_);
-#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp21_ = _tmp20_;
-#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_connect_object (_tmp21_, "selection-group-altered", (GCallback) _app_window_on_update_common_actions_view_collection_selection_group_altered, self, 0);
-#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _data_collection_unref0 (_tmp21_);
#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _data_collection_unref0 (_tmp21_);
+#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp22_ = new_page;
-#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp23_ = page_get_view (_tmp22_);
-#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp24_ = _tmp23_;
-#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_connect_object (_tmp24_, "items-state-changed", (GCallback) _app_window_on_update_common_actions_view_collection_items_state_changed, self, 0);
-#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp24_);
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp25_ = new_page;
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp26_ = new_page;
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp27_ = page_get_view (_tmp26_);
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp28_ = _tmp27_;
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp29_ = view_collection_get_selected_count (_tmp28_);
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp30_ = new_page;
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp31_ = page_get_view (_tmp30_);
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp32_ = _tmp31_;
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp33_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, TYPE_DATA_COLLECTION, DataCollection));
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_update_common_actions (self, _tmp25_, _tmp29_, _tmp33_);
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp32_);
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp28_);
-#line 4507 "AppWindow.c"
+#line 4519 "AppWindow.c"
}
-#line 755 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 756 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp34_ = old_page;
-#line 755 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 756 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp35_ = new_page;
-#line 755 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 756 "/home/jens/Source/shotwell/src/AppWindow.vala"
PAGE_WINDOW_CLASS (app_window_parent_class)->switched_pages (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow), _tmp34_, _tmp35_);
-#line 4515 "AppWindow.c"
+#line 4527 "AppWindow.c"
}
static void app_window_real_update_common_action_availability (AppWindow* self, Page* old_page, Page* new_page) {
gboolean is_checkerboard = FALSE;
Page* _tmp0_ = NULL;
-#line 761 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 762 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail ((old_page == NULL) || IS_PAGE (old_page));
-#line 761 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail ((new_page == NULL) || IS_PAGE (new_page));
#line 762 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail ((new_page == NULL) || IS_PAGE (new_page));
+#line 763 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = new_page;
-#line 762 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 763 "/home/jens/Source/shotwell/src/AppWindow.vala"
is_checkerboard = G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_CHECKERBOARD_PAGE);
-#line 764 "/home/jens/Source/shotwell/src/AppWindow.vala"
- app_window_set_common_action_sensitive (self, "CommonSelectAll", is_checkerboard);
#line 765 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ app_window_set_common_action_sensitive (self, "CommonSelectAll", is_checkerboard);
+#line 766 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_set_common_action_sensitive (self, "CommonSelectNone", is_checkerboard);
-#line 4534 "AppWindow.c"
+#line 4546 "AppWindow.c"
}
void app_window_update_common_action_availability (AppWindow* self, Page* old_page, Page* new_page) {
-#line 761 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 762 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 761 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 762 "/home/jens/Source/shotwell/src/AppWindow.vala"
APP_WINDOW_GET_CLASS (self)->update_common_action_availability (self, old_page, new_page);
-#line 4543 "AppWindow.c"
+#line 4555 "AppWindow.c"
}
static void app_window_real_update_common_actions (AppWindow* self, Page* page, gint selected_count, gint count) {
Page* _tmp0_ = NULL;
gint _tmp2_ = 0;
-#line 771 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_PAGE (page));
#line 772 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_PAGE (page));
+#line 773 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = page;
-#line 772 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 773 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_CHECKERBOARD_PAGE)) {
-#line 4556 "AppWindow.c"
+#line 4568 "AppWindow.c"
gint _tmp1_ = 0;
-#line 773 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 774 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = count;
-#line 773 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 774 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_set_common_action_sensitive (self, "CommonSelectAll", _tmp1_ > 0);
-#line 4562 "AppWindow.c"
+#line 4574 "AppWindow.c"
}
-#line 774 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 775 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = selected_count;
-#line 774 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 775 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_set_common_action_sensitive (self, "CommonJumpToFile", _tmp2_ == 1);
-#line 776 "/home/jens/Source/shotwell/src/AppWindow.vala"
- app_window_decorate_undo_action (self);
#line 777 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ app_window_decorate_undo_action (self);
+#line 778 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_decorate_redo_action (self);
-#line 4572 "AppWindow.c"
+#line 4584 "AppWindow.c"
}
void app_window_update_common_actions (AppWindow* self, Page* page, gint selected_count, gint count) {
-#line 771 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 772 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 771 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 772 "/home/jens/Source/shotwell/src/AppWindow.vala"
APP_WINDOW_GET_CLASS (self)->update_common_actions (self, page, selected_count, count);
-#line 4581 "AppWindow.c"
+#line 4593 "AppWindow.c"
}
@@ -4616,17 +4628,17 @@ static void app_window_on_update_common_actions (AppWindow* self) {
Page* page = NULL;
Page* _tmp0_ = NULL;
Page* _tmp1_ = NULL;
-#line 780 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_APP_WINDOW (self));
#line 781 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_APP_WINDOW (self));
+#line 782 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 781 "/home/jens/Source/shotwell/src/AppWindow.vala"
- page = _tmp0_;
#line 782 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ page = _tmp0_;
+#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = page;
-#line 782 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ != NULL) {
-#line 4599 "AppWindow.c"
+#line 4611 "AppWindow.c"
Page* _tmp2_ = NULL;
Page* _tmp3_ = NULL;
ViewCollection* _tmp4_ = NULL;
@@ -4636,42 +4648,481 @@ static void app_window_on_update_common_actions (AppWindow* self) {
ViewCollection* _tmp8_ = NULL;
ViewCollection* _tmp9_ = NULL;
gint _tmp10_ = 0;
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = page;
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = page;
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = page_get_view (_tmp3_);
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_;
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = view_collection_get_selected_count (_tmp5_);
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = page;
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = page_get_view (_tmp7_);
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = _tmp8_;
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_DATA_COLLECTION, DataCollection));
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_update_common_actions (self, _tmp2_, _tmp6_, _tmp10_);
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp9_);
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp5_);
-#line 4633 "AppWindow.c"
+#line 4645 "AppWindow.c"
}
-#line 780 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 781 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (page);
-#line 4637 "AppWindow.c"
+#line 4649 "AppWindow.c"
}
-static gpointer _command_manager_ref0 (gpointer self) {
+void app_window_update_menu_item_label (AppWindow* self, const gchar* id, const gchar* new_label) {
+ GMenu* bar = NULL;
+ Page* _tmp0_ = NULL;
+ Page* _tmp1_ = NULL;
+ GMenuModel* _tmp2_ = NULL;
+ GMenu* _tmp3_ = NULL;
+ GMenu* _tmp4_ = NULL;
+ GMenu* _tmp5_ = NULL;
+ gint items = 0;
+ GMenu* _tmp6_ = NULL;
+ gint _tmp7_ = 0;
+#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_APP_WINDOW (self));
+#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (id != NULL);
+#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (new_label != NULL);
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp1_ = _tmp0_;
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp2_ = page_get_menubar (_tmp1_);
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp3_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, g_menu_get_type ()) ? ((GMenu*) _tmp2_) : NULL;
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp3_ == NULL) {
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (_tmp2_);
+#line 4682 "AppWindow.c"
+ }
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp4_ = _tmp3_;
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (_tmp1_);
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ bar = _tmp4_;
+#line 791 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp5_ = bar;
+#line 791 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp5_ == NULL) {
+#line 792 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (bar);
+#line 792 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ return;
+#line 4698 "AppWindow.c"
+ }
+#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp6_ = bar;
+#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp7_ = g_menu_model_get_n_items (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, g_menu_model_get_type (), GMenuModel));
+#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ items = _tmp7_;
+#line 4706 "AppWindow.c"
+ {
+ gint i = 0;
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ i = 0;
+#line 4711 "AppWindow.c"
+ {
+ gboolean _tmp8_ = FALSE;
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp8_ = TRUE;
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ while (TRUE) {
+#line 4718 "AppWindow.c"
+ gint _tmp10_ = 0;
+ gint _tmp11_ = 0;
+ GMenuModel* model = NULL;
+ GMenu* _tmp12_ = NULL;
+ gint _tmp13_ = 0;
+ GMenuModel* _tmp14_ = NULL;
+ GMenu* _tmp15_ = NULL;
+ gint model_items = 0;
+ GMenuModel* _tmp16_ = NULL;
+ gint _tmp17_ = 0;
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (!_tmp8_) {
+#line 4731 "AppWindow.c"
+ gint _tmp9_ = 0;
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp9_ = i;
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ i = _tmp9_ + 1;
+#line 4737 "AppWindow.c"
+ }
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp8_ = FALSE;
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp10_ = i;
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp11_ = items;
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (!(_tmp10_ < _tmp11_)) {
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ break;
+#line 4749 "AppWindow.c"
+ }
+#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp12_ = bar;
+#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp13_ = i;
+#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp14_ = g_menu_model_get_item_link (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, g_menu_model_get_type (), GMenuModel), _tmp13_, G_MENU_LINK_SUBMENU);
+#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ model = _tmp14_;
+#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp15_ = bar;
+#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp15_ == NULL) {
+#line 799 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (model);
+#line 799 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ continue;
+#line 4767 "AppWindow.c"
+ }
+#line 802 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp16_ = model;
+#line 802 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp17_ = g_menu_model_get_n_items (_tmp16_);
+#line 802 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ model_items = _tmp17_;
+#line 4775 "AppWindow.c"
+ {
+ gint j = 0;
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ j = 0;
+#line 4780 "AppWindow.c"
+ {
+ gboolean _tmp18_ = FALSE;
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp18_ = TRUE;
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ while (TRUE) {
+#line 4787 "AppWindow.c"
+ gint _tmp20_ = 0;
+ gint _tmp21_ = 0;
+ GMenuModel* subsection = NULL;
+ GMenuModel* _tmp22_ = NULL;
+ gint _tmp23_ = 0;
+ GMenuModel* _tmp24_ = NULL;
+ GMenuModel* _tmp25_ = NULL;
+ gint sub_items = 0;
+ GMenuModel* _tmp26_ = NULL;
+ gint _tmp27_ = 0;
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (!_tmp18_) {
+#line 4800 "AppWindow.c"
+ gint _tmp19_ = 0;
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp19_ = j;
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ j = _tmp19_ + 1;
+#line 4806 "AppWindow.c"
+ }
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp18_ = FALSE;
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp20_ = j;
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp21_ = model_items;
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (!(_tmp20_ < _tmp21_)) {
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ break;
+#line 4818 "AppWindow.c"
+ }
+#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp22_ = model;
+#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp23_ = j;
+#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp24_ = g_menu_model_get_item_link (_tmp22_, _tmp23_, G_MENU_LINK_SECTION);
+#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ subsection = _tmp24_;
+#line 806 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp25_ = subsection;
+#line 806 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp25_ == NULL) {
+#line 807 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (subsection);
+#line 807 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ continue;
+#line 4836 "AppWindow.c"
+ }
+#line 810 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp26_ = subsection;
+#line 810 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp27_ = g_menu_model_get_n_items (_tmp26_);
+#line 810 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ sub_items = _tmp27_;
+#line 4844 "AppWindow.c"
+ {
+ gint k = 0;
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ k = 0;
+#line 4849 "AppWindow.c"
+ {
+ gboolean _tmp28_ = FALSE;
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp28_ = TRUE;
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ while (TRUE) {
+#line 4856 "AppWindow.c"
+ gint _tmp30_ = 0;
+ gint _tmp31_ = 0;
+ GMenuAttributeIter* it = NULL;
+ GMenuModel* _tmp32_ = NULL;
+ gint _tmp33_ = 0;
+ GMenuAttributeIter* _tmp34_ = NULL;
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (!_tmp28_) {
+#line 4865 "AppWindow.c"
+ gint _tmp29_ = 0;
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp29_ = k;
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ k = _tmp29_ + 1;
+#line 4871 "AppWindow.c"
+ }
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp28_ = FALSE;
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp30_ = k;
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp31_ = sub_items;
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (!(_tmp30_ < _tmp31_)) {
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ break;
+#line 4883 "AppWindow.c"
+ }
+#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp32_ = subsection;
+#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp33_ = k;
+#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp34_ = g_menu_model_iterate_item_attributes (_tmp32_, _tmp33_);
+#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ it = _tmp34_;
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ while (TRUE) {
+#line 4895 "AppWindow.c"
+ GMenuAttributeIter* _tmp35_ = NULL;
+ gboolean _tmp36_ = FALSE;
+ gboolean _tmp37_ = FALSE;
+ gboolean _tmp38_ = FALSE;
+ GMenuAttributeIter* _tmp39_ = NULL;
+ const gchar* _tmp40_ = NULL;
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp35_ = it;
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp36_ = g_menu_attribute_iter_next (_tmp35_);
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (!_tmp36_) {
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ break;
+#line 4910 "AppWindow.c"
+ }
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp39_ = it;
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp40_ = g_menu_attribute_iter_get_name (_tmp39_);
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (g_strcmp0 (_tmp40_, "id") == 0) {
+#line 4918 "AppWindow.c"
+ GMenuAttributeIter* _tmp41_ = NULL;
+ GVariant* _tmp42_ = NULL;
+ GVariant* _tmp43_ = NULL;
+ const gchar* _tmp44_ = NULL;
+ const gchar* _tmp45_ = NULL;
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp41_ = it;
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp42_ = g_menu_attribute_iter_get_value (_tmp41_);
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp43_ = _tmp42_;
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp44_ = g_variant_get_string (_tmp43_, NULL);
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp45_ = id;
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp38_ = g_strcmp0 (_tmp44_, _tmp45_) == 0;
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_variant_unref0 (_tmp43_);
+#line 4938 "AppWindow.c"
+ } else {
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp38_ = FALSE;
+#line 4942 "AppWindow.c"
+ }
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp38_) {
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp37_ = TRUE;
+#line 4948 "AppWindow.c"
+ } else {
+ gboolean _tmp46_ = FALSE;
+ GMenuAttributeIter* _tmp47_ = NULL;
+ const gchar* _tmp48_ = NULL;
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp47_ = it;
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp48_ = g_menu_attribute_iter_get_name (_tmp47_);
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (g_strcmp0 (_tmp48_, "action") == 0) {
+#line 4959 "AppWindow.c"
+ GMenuAttributeIter* _tmp49_ = NULL;
+ GVariant* _tmp50_ = NULL;
+ GVariant* _tmp51_ = NULL;
+ const gchar* _tmp52_ = NULL;
+ const gchar* _tmp53_ = NULL;
+ gchar* _tmp54_ = NULL;
+ gchar* _tmp55_ = NULL;
+ gboolean _tmp56_ = FALSE;
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp49_ = it;
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp50_ = g_menu_attribute_iter_get_value (_tmp49_);
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp51_ = _tmp50_;
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp52_ = g_variant_get_string (_tmp51_, NULL);
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp53_ = id;
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp54_ = g_strconcat (".", _tmp53_, NULL);
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp55_ = _tmp54_;
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp56_ = g_str_has_suffix (_tmp52_, _tmp55_);
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp46_ = _tmp56_;
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (_tmp55_);
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_variant_unref0 (_tmp51_);
+#line 4990 "AppWindow.c"
+ } else {
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp46_ = FALSE;
+#line 4994 "AppWindow.c"
+ }
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp37_ = _tmp46_;
+#line 4998 "AppWindow.c"
+ }
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp37_) {
+#line 5002 "AppWindow.c"
+ GMenu* md = NULL;
+ GMenuModel* _tmp57_ = NULL;
+ GMenu* _tmp58_ = NULL;
+ GMenuItem* m = NULL;
+ GMenuModel* _tmp59_ = NULL;
+ gint _tmp60_ = 0;
+ GMenuItem* _tmp61_ = NULL;
+ GMenuItem* _tmp62_ = NULL;
+ const gchar* _tmp63_ = NULL;
+ GMenu* _tmp64_ = NULL;
+ gint _tmp65_ = 0;
+ GMenu* _tmp66_ = NULL;
+ gint _tmp67_ = 0;
+ GMenuItem* _tmp68_ = NULL;
+#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp57_ = subsection;
+#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp58_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp57_, g_menu_get_type ()) ? ((GMenu*) _tmp57_) : NULL);
+#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ md = _tmp58_;
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp59_ = subsection;
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp60_ = k;
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp61_ = g_menu_item_new_from_model (_tmp59_, _tmp60_);
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ m = _tmp61_;
+#line 818 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp62_ = m;
+#line 818 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp63_ = new_label;
+#line 818 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_menu_item_set_label (_tmp62_, _tmp63_);
+#line 819 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp64_ = md;
+#line 819 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp65_ = k;
+#line 819 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_menu_remove (_tmp64_, _tmp65_);
+#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp66_ = md;
+#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp67_ = k;
+#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp68_ = m;
+#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_menu_insert_item (_tmp66_, _tmp67_, _tmp68_);
+#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (m);
+#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (md);
+#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (it);
+#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (subsection);
+#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (model);
+#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (bar);
+#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ return;
+#line 5065 "AppWindow.c"
+ }
+ }
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (it);
+#line 5070 "AppWindow.c"
+ }
+ }
+ }
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (subsection);
+#line 5076 "AppWindow.c"
+ }
+ }
+ }
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (model);
+#line 5082 "AppWindow.c"
+ }
+ }
+ }
#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (bar);
+#line 5088 "AppWindow.c"
+}
+
+
+static gpointer _command_manager_ref0 (gpointer self) {
+#line 833 "/home/jens/Source/shotwell/src/AppWindow.vala"
return self ? command_manager_ref (self) : NULL;
-#line 4644 "AppWindow.c"
+#line 5095 "AppWindow.c"
}
@@ -4679,41 +5130,150 @@ CommandManager* app_window_get_command_manager (void) {
CommandManager* result = NULL;
CommandManager* _tmp0_ = NULL;
CommandManager* _tmp1_ = NULL;
-#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 833 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_command_manager;
-#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 833 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _command_manager_ref0 (_tmp0_);
-#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 833 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp1_;
-#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 833 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 4660 "AppWindow.c"
+#line 5111 "AppWindow.c"
}
static void app_window_on_command_manager_altered (AppWindow* self) {
-#line 790 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 836 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 791 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 837 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_decorate_undo_action (self);
-#line 792 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 838 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_decorate_redo_action (self);
-#line 4671 "AppWindow.c"
+#line 5122 "AppWindow.c"
}
static void app_window_decorate_command_manager_action (AppWindow* self, const gchar* name, const gchar* prefix, const gchar* default_explanation, CommandDescription* desc) {
-#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ GSimpleAction* action = NULL;
+ const gchar* _tmp0_ = NULL;
+ GAction* _tmp1_ = NULL;
+ GSimpleAction* _tmp2_ = NULL;
+ GSimpleAction* _tmp3_ = NULL;
+ gchar* label = NULL;
+ const gchar* _tmp4_ = NULL;
+ gchar* _tmp5_ = NULL;
+ CommandDescription* _tmp6_ = NULL;
+ const gchar* _tmp18_ = NULL;
+ const gchar* _tmp19_ = NULL;
+#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (name != NULL);
-#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (prefix != NULL);
-#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (default_explanation != NULL);
-#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail ((desc == NULL) || IS_COMMAND_DESCRIPTION (desc));
-#line 4686 "AppWindow.c"
+#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp0_ = name;
+#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp1_ = app_window_get_common_action (self, _tmp0_);
+#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp1_) : NULL;
+#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp2_ == NULL) {
+#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (_tmp1_);
+#line 5158 "AppWindow.c"
+ }
+#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ action = _tmp2_;
+#line 844 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp3_ = action;
+#line 844 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp3_ == NULL) {
+#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (action);
+#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ return;
+#line 5170 "AppWindow.c"
+ }
+#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp4_ = prefix;
+#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp5_ = g_strdup (_tmp4_);
+#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ label = _tmp5_;
+#line 850 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp6_ = desc;
+#line 850 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp6_ != NULL) {
+#line 5182 "AppWindow.c"
+ const gchar* _tmp7_ = NULL;
+ CommandDescription* _tmp8_ = NULL;
+ gchar* _tmp9_ = NULL;
+ gchar* _tmp10_ = NULL;
+ gchar* _tmp11_ = NULL;
+ gchar* _tmp12_ = NULL;
+ gchar* _tmp13_ = NULL;
+ GSimpleAction* _tmp14_ = NULL;
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp7_ = label;
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp8_ = desc;
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp9_ = command_description_get_name (_tmp8_);
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp10_ = _tmp9_;
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp11_ = g_strconcat (" ", _tmp10_, NULL);
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp12_ = _tmp11_;
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp13_ = g_strconcat (_tmp7_, _tmp12_, NULL);
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (label);
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ label = _tmp13_;
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (_tmp12_);
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (_tmp10_);
+#line 852 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp14_ = action;
+#line 852 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_simple_action_set_enabled (_tmp14_, TRUE);
+#line 5217 "AppWindow.c"
+ } else {
+ const gchar* _tmp15_ = NULL;
+ gchar* _tmp16_ = NULL;
+ GSimpleAction* _tmp17_ = NULL;
+#line 854 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp15_ = prefix;
+#line 854 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp16_ = g_strdup (_tmp15_);
+#line 854 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (label);
+#line 854 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ label = _tmp16_;
+#line 855 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp17_ = action;
+#line 855 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_simple_action_set_enabled (_tmp17_, FALSE);
+#line 5234 "AppWindow.c"
+ }
+#line 857 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp18_ = name;
+#line 857 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp19_ = label;
+#line 857 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ app_window_update_menu_item_label (self, _tmp18_, _tmp19_);
+#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (label);
+#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (action);
+#line 5246 "AppWindow.c"
}
@@ -4722,23 +5282,23 @@ void app_window_decorate_undo_action (AppWindow* self) {
CommandManager* _tmp1_ = NULL;
CommandDescription* _tmp2_ = NULL;
CommandDescription* _tmp3_ = NULL;
-#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 860 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 861 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_get_command_manager ();
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 861 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp0_;
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 861 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = command_manager_get_undo_description (_tmp1_);
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 861 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _tmp2_;
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 861 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_decorate_command_manager_action (self, "CommonUndo", RESOURCES_UNDO_MENU, "", _tmp3_);
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 861 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp3_);
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 861 "/home/jens/Source/shotwell/src/AppWindow.vala"
_command_manager_unref0 (_tmp1_);
-#line 4711 "AppWindow.c"
+#line 5271 "AppWindow.c"
}
@@ -4747,47 +5307,47 @@ void app_window_decorate_redo_action (AppWindow* self) {
CommandManager* _tmp1_ = NULL;
CommandDescription* _tmp2_ = NULL;
CommandDescription* _tmp3_ = NULL;
-#line 819 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 865 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 866 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_get_command_manager ();
-#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 866 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp0_;
-#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 866 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = command_manager_get_redo_description (_tmp1_);
-#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 866 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _tmp2_;
-#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 866 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_decorate_command_manager_action (self, "CommonRedo", RESOURCES_REDO_MENU, "", _tmp3_);
-#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 866 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp3_);
-#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 866 "/home/jens/Source/shotwell/src/AppWindow.vala"
_command_manager_unref0 (_tmp1_);
-#line 4736 "AppWindow.c"
+#line 5296 "AppWindow.c"
}
static void app_window_on_undo (AppWindow* self) {
CommandManager* _tmp0_ = NULL;
-#line 824 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 870 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 825 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 871 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_command_manager;
-#line 825 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 871 "/home/jens/Source/shotwell/src/AppWindow.vala"
command_manager_undo (_tmp0_);
-#line 4748 "AppWindow.c"
+#line 5308 "AppWindow.c"
}
static void app_window_on_redo (AppWindow* self) {
CommandManager* _tmp0_ = NULL;
-#line 828 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 874 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 829 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 875 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_command_manager;
-#line 829 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 875 "/home/jens/Source/shotwell/src/AppWindow.vala"
command_manager_redo (_tmp0_);
-#line 4760 "AppWindow.c"
+#line 5320 "AppWindow.c"
}
@@ -4796,43 +5356,43 @@ static void app_window_on_select_all (AppWindow* self) {
Page* _tmp0_ = NULL;
CheckerboardPage* _tmp1_ = NULL;
Page* _tmp2_ = NULL;
-#line 832 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 878 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 833 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 879 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 833 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 879 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_CHECKERBOARD_PAGE) ? ((CheckerboardPage*) _tmp0_) : NULL;
-#line 833 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 879 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ == NULL) {
-#line 833 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 879 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 4779 "AppWindow.c"
+#line 5339 "AppWindow.c"
}
-#line 833 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 879 "/home/jens/Source/shotwell/src/AppWindow.vala"
page = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_PAGE, Page);
-#line 834 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = page;
-#line 834 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_ != NULL) {
-#line 4787 "AppWindow.c"
+#line 5347 "AppWindow.c"
Page* _tmp3_ = NULL;
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
-#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = page;
-#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = page_get_view (_tmp3_);
-#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_;
-#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala"
view_collection_select_all (_tmp5_);
-#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp5_);
-#line 4801 "AppWindow.c"
+#line 5361 "AppWindow.c"
}
-#line 832 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 878 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (page);
-#line 4805 "AppWindow.c"
+#line 5365 "AppWindow.c"
}
@@ -4841,43 +5401,43 @@ static void app_window_on_select_none (AppWindow* self) {
Page* _tmp0_ = NULL;
CheckerboardPage* _tmp1_ = NULL;
Page* _tmp2_ = NULL;
-#line 838 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 884 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 839 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 885 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 839 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 885 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_CHECKERBOARD_PAGE) ? ((CheckerboardPage*) _tmp0_) : NULL;
-#line 839 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 885 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ == NULL) {
-#line 839 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 885 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 4824 "AppWindow.c"
+#line 5384 "AppWindow.c"
}
-#line 839 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 885 "/home/jens/Source/shotwell/src/AppWindow.vala"
page = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_PAGE, Page);
-#line 840 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 886 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = page;
-#line 840 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 886 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_ != NULL) {
-#line 4832 "AppWindow.c"
+#line 5392 "AppWindow.c"
Page* _tmp3_ = NULL;
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
-#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 887 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = page;
-#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 887 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = page_get_view (_tmp3_);
-#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 887 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_;
-#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 887 "/home/jens/Source/shotwell/src/AppWindow.vala"
view_collection_unselect_all (_tmp5_);
-#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 887 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp5_);
-#line 4846 "AppWindow.c"
+#line 5406 "AppWindow.c"
}
-#line 838 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 884 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (page);
-#line 4850 "AppWindow.c"
+#line 5410 "AppWindow.c"
}
@@ -4889,40 +5449,40 @@ static gboolean app_window_real_configure_event (GtkWidget* base, GdkEventConfig
gboolean _tmp2_ = FALSE;
GdkEventConfigure* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
-#line 844 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 890 "/home/jens/Source/shotwell/src/AppWindow.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_APP_WINDOW, AppWindow);
-#line 844 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 890 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 891 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 891 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = gdk_window_get_state (_tmp0_);
-#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 891 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->maximized = _tmp1_ == GDK_WINDOW_STATE_MAXIMIZED;
-#line 847 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 893 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = self->maximized;
-#line 847 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 893 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (!_tmp2_) {
-#line 4876 "AppWindow.c"
+#line 5436 "AppWindow.c"
gint _tmp3_ = 0;
gint _tmp4_ = 0;
-#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 894 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_get_size (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), &_tmp3_, &_tmp4_);
-#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 894 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->dimensions.width = _tmp3_;
-#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 894 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->dimensions.height = _tmp4_;
-#line 4885 "AppWindow.c"
+#line 5445 "AppWindow.c"
}
-#line 850 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = event;
-#line 850 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = GTK_WIDGET_CLASS (app_window_parent_class)->configure_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow), gtk_widget_get_type (), GtkWidget), _tmp5_);
-#line 850 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp6_;
-#line 850 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 4895 "AppWindow.c"
+#line 5455 "AppWindow.c"
}
@@ -4949,7 +5509,7 @@ static void app_window_class_init (AppWindowClass * klass) {
((GtkWidgetClass *) klass)->configure_event = app_window_real_configure_event;
#line 392 "/home/jens/Source/shotwell/src/AppWindow.vala"
G_OBJECT_CLASS (klass)->finalize = app_window_finalize;
-#line 4922 "AppWindow.c"
+#line 5482 "AppWindow.c"
}
@@ -4960,7 +5520,7 @@ static void app_window_instance_init (AppWindow * self) {
self->pos_x = 0;
#line 405 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->pos_y = 0;
-#line 4933 "AppWindow.c"
+#line 5493 "AppWindow.c"
}
@@ -4970,7 +5530,7 @@ static void app_window_finalize (GObject* obj) {
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_APP_WINDOW, AppWindow);
#line 392 "/home/jens/Source/shotwell/src/AppWindow.vala"
G_OBJECT_CLASS (app_window_parent_class)->finalize (obj);
-#line 4943 "AppWindow.c"
+#line 5503 "AppWindow.c"
}