summaryrefslogtreecommitdiff
path: root/src/sidebar/Tree.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-01-21 19:19:04 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-01-21 19:19:04 +0100
commitf39ea21098340bd99c48669f152c9068046c2c99 (patch)
treed1166fce1a4a8c470dfaf364816f767678c4729e /src/sidebar/Tree.c
parentbc48a4cff815ed156b603c92e684779c317417ba (diff)
parenta7ff7c49085c320c1e0a2ffb66cc6d283c5acb8e (diff)
Merge tag 'upstream/0.25.3'
Upstream version 0.25.3
Diffstat (limited to 'src/sidebar/Tree.c')
-rw-r--r--src/sidebar/Tree.c1663
1 files changed, 837 insertions, 826 deletions
diff --git a/src/sidebar/Tree.c b/src/sidebar/Tree.c
index f297897..6a28a5f 100644
--- a/src/sidebar/Tree.c
+++ b/src/sidebar/Tree.c
@@ -1,4 +1,4 @@
-/* Tree.c generated by valac 0.32.1, the Vala compiler
+/* Tree.c generated by valac 0.34.4, the Vala compiler
* generated from Tree.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1222,7 +1222,7 @@ static void sidebar_tree_setup_default_context_menu (SidebarTree* self) {
#line 200 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1225 "Tree.c"
- goto __catch48_g_error;
+ goto __catch50_g_error;
}
#line 202 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp1_ = self->priv->builder;
@@ -1264,8 +1264,8 @@ static void sidebar_tree_setup_default_context_menu (SidebarTree* self) {
_g_object_unref0 (model);
#line 1266 "Tree.c"
}
- goto __finally48;
- __catch48_g_error:
+ goto __finally50;
+ __catch50_g_error:
{
GError* _error_ = NULL;
GError* _tmp10_ = NULL;
@@ -1302,7 +1302,7 @@ static void sidebar_tree_setup_default_context_menu (SidebarTree* self) {
_g_error_free0 (_error_);
#line 1304 "Tree.c"
}
- __finally48:
+ __finally50:
#line 199 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 199 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
@@ -5269,7 +5269,8 @@ static gboolean sidebar_tree_popup_context_menu (SidebarTree* self, GtkTreePath*
GtkMenu* _tmp14_ = NULL;
GtkMenu* _tmp15_ = NULL;
GtkMenu* _tmp16_ = NULL;
- GdkEventButton* _tmp17_ = NULL;
+ GtkWidget* _tmp17_ = NULL;
+ GdkEventButton* _tmp19_ = NULL;
#line 830 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_val_if_fail (SIDEBAR_IS_TREE (self), FALSE);
#line 830 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
@@ -5290,7 +5291,7 @@ static gboolean sidebar_tree_popup_context_menu (SidebarTree* self, GtkTreePath*
_g_object_unref0 (wrapper);
#line 833 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 5294 "Tree.c"
+#line 5295 "Tree.c"
}
#line 835 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp3_ = wrapper;
@@ -5312,7 +5313,7 @@ static gboolean sidebar_tree_popup_context_menu (SidebarTree* self, GtkTreePath*
_g_object_unref0 (wrapper);
#line 837 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 5316 "Tree.c"
+#line 5317 "Tree.c"
}
#line 840 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp7_ = wrapper;
@@ -5326,13 +5327,13 @@ static gboolean sidebar_tree_popup_context_menu (SidebarTree* self, GtkTreePath*
_tmp10_ = selectable;
#line 841 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp10_ != NULL) {
-#line 5330 "Tree.c"
+#line 5331 "Tree.c"
SidebarSelectableEntry* _tmp11_ = NULL;
#line 842 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp11_ = selectable;
#line 842 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_signal_emit_by_name (self, "entry-selected", _tmp11_);
-#line 5336 "Tree.c"
+#line 5337 "Tree.c"
}
#line 844 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp12_ = contextable;
@@ -5358,59 +5359,69 @@ static gboolean sidebar_tree_popup_context_menu (SidebarTree* self, GtkTreePath*
_g_object_unref0 (wrapper);
#line 846 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 5362 "Tree.c"
+#line 5363 "Tree.c"
}
#line 848 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp16_ = context_menu;
#line 848 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- gtk_menu_attach_to_widget (_tmp16_, G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), NULL);
-#line 850 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- _tmp17_ = event;
-#line 850 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- if (_tmp17_ != NULL) {
-#line 5372 "Tree.c"
+ _tmp17_ = gtk_menu_get_attach_widget (_tmp16_);
+#line 848 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ if (_tmp17_ == NULL) {
+#line 5371 "Tree.c"
GtkMenu* _tmp18_ = NULL;
- GdkEventButton* _tmp19_ = NULL;
- guint _tmp20_ = 0U;
- GdkEventButton* _tmp21_ = NULL;
- guint32 _tmp22_ = 0U;
-#line 851 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 849 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp18_ = context_menu;
-#line 851 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- _tmp19_ = event;
-#line 851 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- _tmp20_ = _tmp19_->button;
-#line 851 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- _tmp21_ = event;
-#line 851 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- _tmp22_ = _tmp21_->time;
-#line 851 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- gtk_menu_popup (_tmp18_, NULL, NULL, NULL, NULL, _tmp20_, _tmp22_);
-#line 5390 "Tree.c"
- } else {
- GtkMenu* _tmp23_ = NULL;
+#line 849 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ gtk_menu_attach_to_widget (_tmp18_, G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), NULL);
+#line 5377 "Tree.c"
+ }
+#line 852 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ _tmp19_ = event;
+#line 852 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ if (_tmp19_ != NULL) {
+#line 5383 "Tree.c"
+ GtkMenu* _tmp20_ = NULL;
+ GdkEventButton* _tmp21_ = NULL;
+ guint _tmp22_ = 0U;
+ GdkEventButton* _tmp23_ = NULL;
guint32 _tmp24_ = 0U;
#line 853 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- _tmp23_ = context_menu;
+ _tmp20_ = context_menu;
#line 853 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- _tmp24_ = gtk_get_current_event_time ();
+ _tmp21_ = event;
#line 853 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- gtk_menu_popup (_tmp23_, NULL, NULL, NULL, NULL, (guint) 0, _tmp24_);
-#line 5400 "Tree.c"
- }
+ _tmp22_ = _tmp21_->button;
+#line 853 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ _tmp23_ = event;
+#line 853 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ _tmp24_ = _tmp23_->time;
+#line 853 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ gtk_menu_popup (_tmp20_, NULL, NULL, NULL, NULL, _tmp22_, _tmp24_);
+#line 5401 "Tree.c"
+ } else {
+ GtkMenu* _tmp25_ = NULL;
+ guint32 _tmp26_ = 0U;
#line 855 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- result = TRUE;
+ _tmp25_ = context_menu;
#line 855 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- _g_object_unref0 (context_menu);
+ _tmp26_ = gtk_get_current_event_time ();
#line 855 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ gtk_menu_popup (_tmp25_, NULL, NULL, NULL, NULL, (guint) 0, _tmp26_);
+#line 5411 "Tree.c"
+ }
+#line 857 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ result = TRUE;
+#line 857 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ _g_object_unref0 (context_menu);
+#line 857 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (selectable);
-#line 855 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 857 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (contextable);
-#line 855 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 857 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 855 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 857 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 5414 "Tree.c"
+#line 5425 "Tree.c"
}
@@ -5421,27 +5432,27 @@ static gboolean sidebar_tree_popup_default_context_menu (SidebarTree* self, GdkE
guint _tmp2_ = 0U;
GdkEventButton* _tmp3_ = NULL;
guint32 _tmp4_ = 0U;
-#line 858 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 860 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_val_if_fail (SIDEBAR_IS_TREE (self), FALSE);
-#line 858 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 860 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 859 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 861 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp0_ = self->priv->default_context_menu;
-#line 859 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 861 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp1_ = event;
-#line 859 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 861 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp2_ = _tmp1_->button;
-#line 859 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 861 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp3_ = event;
-#line 859 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 861 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp4_ = _tmp3_->time;
-#line 859 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 861 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
gtk_menu_popup (_tmp0_, NULL, NULL, NULL, NULL, _tmp2_, _tmp4_);
-#line 860 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 862 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = TRUE;
-#line 860 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 862 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 5445 "Tree.c"
+#line 5456 "Tree.c"
}
@@ -5458,129 +5469,129 @@ gboolean sidebar_tree_on_toggle_row (SidebarTree* self, GtkTreeIter* iter, GtkTr
GtkTreePath* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
gboolean _tmp16_ = FALSE;
-#line 863 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 865 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_val_if_fail (SIDEBAR_IS_TREE (self), FALSE);
-#line 863 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 865 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_val_if_fail (iter != NULL, FALSE);
-#line 863 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- g_return_val_if_fail (path != NULL, FALSE);
#line 865 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ g_return_val_if_fail (path != NULL, FALSE);
+#line 867 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp0_ = *iter;
-#line 865 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 867 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp1_ = sidebar_tree_get_wrapper_at_iter (self, &_tmp0_);
-#line 865 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 867 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
wrapper = _tmp1_;
-#line 866 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 868 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp2_ = wrapper;
-#line 866 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 868 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp2_ == NULL) {
-#line 867 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 869 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = FALSE;
-#line 867 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 869 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 867 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 869 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 5484 "Tree.c"
+#line 5495 "Tree.c"
}
-#line 871 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 873 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp3_ = self->priv->expander_called_manually;
-#line 871 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 873 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
should_allow_toggle = _tmp3_;
-#line 874 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 876 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
self->priv->expander_called_manually = FALSE;
-#line 877 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 879 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp6_ = path;
-#line 877 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 879 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp7_ = gtk_tree_view_row_expanded (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), _tmp6_);
-#line 877 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 879 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp7_) {
-#line 5498 "Tree.c"
+#line 5509 "Tree.c"
GtkTreeStore* _tmp8_ = NULL;
GtkTreeIter _tmp9_ = {0};
gboolean _tmp10_ = FALSE;
-#line 877 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 879 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp8_ = self->priv->store;
-#line 877 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 879 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp9_ = *iter;
-#line 877 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 879 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp10_ = gtk_tree_model_iter_has_child (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GTK_TYPE_TREE_MODEL, GtkTreeModel), &_tmp9_);
-#line 877 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 879 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp5_ = _tmp10_;
-#line 5510 "Tree.c"
+#line 5521 "Tree.c"
} else {
-#line 877 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 879 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp5_ = FALSE;
-#line 5514 "Tree.c"
+#line 5525 "Tree.c"
}
-#line 877 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 879 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp5_) {
-#line 5518 "Tree.c"
+#line 5529 "Tree.c"
SidebarTreeEntryWrapper* _tmp11_ = NULL;
SidebarEntry* _tmp12_ = NULL;
-#line 877 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 879 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp11_ = wrapper;
-#line 877 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 879 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp12_ = _tmp11_->entry;
-#line 877 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 879 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp4_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp12_, SIDEBAR_TYPE_SELECTABLE_ENTRY);
-#line 5527 "Tree.c"
+#line 5538 "Tree.c"
} else {
-#line 877 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 879 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp4_ = FALSE;
-#line 5531 "Tree.c"
+#line 5542 "Tree.c"
}
-#line 877 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 879 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp4_) {
-#line 5535 "Tree.c"
+#line 5546 "Tree.c"
gint _tmp13_ = 0;
gint _tmp14_ = 0;
-#line 879 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 881 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp13_ = self->priv->expander_special_count;
-#line 879 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 881 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
self->priv->expander_special_count = _tmp13_ + 1;
-#line 880 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 882 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp14_ = self->priv->expander_special_count;
-#line 880 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- if (_tmp14_ == 1) {
#line 882 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ if (_tmp14_ == 1) {
+#line 884 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = TRUE;
-#line 882 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 884 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 882 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 884 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 5552 "Tree.c"
+#line 5563 "Tree.c"
} else {
gboolean _tmp15_ = FALSE;
-#line 885 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 887 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp15_ = should_allow_toggle;
-#line 885 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 887 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
should_allow_toggle = !_tmp15_;
-#line 5559 "Tree.c"
+#line 5570 "Tree.c"
}
} else {
-#line 889 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 891 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
self->priv->expander_special_count = 0;
-#line 5564 "Tree.c"
+#line 5575 "Tree.c"
}
-#line 892 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 894 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp16_ = should_allow_toggle;
-#line 892 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 894 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp16_) {
-#line 893 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 895 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = FALSE;
-#line 893 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 895 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 893 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 895 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 5576 "Tree.c"
+#line 5587 "Tree.c"
}
-#line 896 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 898 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = TRUE;
-#line 896 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 898 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 896 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 898 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 5584 "Tree.c"
+#line 5595 "Tree.c"
}
@@ -5597,120 +5608,120 @@ static gboolean sidebar_tree_real_button_press_event (GtkWidget* base, GdkEventB
guint _tmp8_ = 0U;
GdkEventButton* _tmp58_ = NULL;
gboolean _tmp59_ = FALSE;
-#line 899 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 901 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SIDEBAR_TYPE_TREE, SidebarTree);
-#line 899 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 901 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 900 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 902 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp0_ = event;
-#line 900 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 902 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp1_ = sidebar_tree_get_path_from_event (self, _tmp0_);
-#line 900 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 902 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
path = _tmp1_;
-#line 903 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 905 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp3_ = path;
-#line 903 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 905 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp3_ == NULL) {
-#line 5615 "Tree.c"
+#line 5626 "Tree.c"
GdkEventButton* _tmp4_ = NULL;
guint _tmp5_ = 0U;
-#line 903 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 905 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp4_ = event;
-#line 903 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 905 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp5_ = _tmp4_->button;
-#line 903 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 905 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp2_ = _tmp5_ != ((guint) 3);
-#line 5624 "Tree.c"
+#line 5635 "Tree.c"
} else {
-#line 903 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 905 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp2_ = FALSE;
-#line 5628 "Tree.c"
+#line 5639 "Tree.c"
}
-#line 903 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 905 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp2_) {
-#line 904 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 906 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = TRUE;
-#line 904 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 906 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (path);
-#line 904 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 906 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 5638 "Tree.c"
+#line 5649 "Tree.c"
}
-#line 907 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 909 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp7_ = event;
-#line 907 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 909 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp8_ = _tmp7_->button;
-#line 907 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 909 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp8_ == ((guint) 3)) {
-#line 5646 "Tree.c"
+#line 5657 "Tree.c"
GdkEventButton* _tmp9_ = NULL;
GdkEventType _tmp10_ = 0;
-#line 907 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 909 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp9_ = event;
-#line 907 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 909 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp10_ = _tmp9_->type;
-#line 907 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 909 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp6_ = _tmp10_ == GDK_BUTTON_PRESS;
-#line 5655 "Tree.c"
+#line 5666 "Tree.c"
} else {
-#line 907 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 909 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp6_ = FALSE;
-#line 5659 "Tree.c"
+#line 5670 "Tree.c"
}
-#line 907 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 909 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp6_) {
-#line 5663 "Tree.c"
+#line 5674 "Tree.c"
GtkTreePath* _tmp11_ = NULL;
-#line 909 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 911 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp11_ = path;
-#line 909 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 911 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp11_ != NULL) {
-#line 5669 "Tree.c"
+#line 5680 "Tree.c"
GtkTreePath* _tmp12_ = NULL;
GdkEventButton* _tmp13_ = NULL;
-#line 910 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 912 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp12_ = path;
-#line 910 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 912 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp13_ = event;
-#line 910 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 912 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
sidebar_tree_popup_context_menu (self, _tmp12_, _tmp13_);
-#line 5678 "Tree.c"
+#line 5689 "Tree.c"
} else {
GdkEventButton* _tmp14_ = NULL;
-#line 912 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 914 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp14_ = event;
-#line 912 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 914 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
sidebar_tree_popup_default_context_menu (self, _tmp14_);
-#line 5685 "Tree.c"
+#line 5696 "Tree.c"
}
} else {
gboolean _tmp15_ = FALSE;
GdkEventButton* _tmp16_ = NULL;
guint _tmp17_ = 0U;
-#line 913 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 915 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp16_ = event;
-#line 913 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 915 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp17_ = _tmp16_->button;
-#line 913 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 915 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp17_ == ((guint) 1)) {
-#line 5697 "Tree.c"
+#line 5708 "Tree.c"
GdkEventButton* _tmp18_ = NULL;
GdkEventType _tmp19_ = 0;
-#line 913 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 915 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp18_ = event;
-#line 913 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 915 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp19_ = _tmp18_->type;
-#line 913 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 915 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp15_ = _tmp19_ == GDK_BUTTON_PRESS;
-#line 5706 "Tree.c"
+#line 5717 "Tree.c"
} else {
-#line 913 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 915 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp15_ = FALSE;
-#line 5710 "Tree.c"
+#line 5721 "Tree.c"
}
-#line 913 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 915 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp15_) {
-#line 5714 "Tree.c"
+#line 5725 "Tree.c"
GtkTreePath* _tmp20_ = NULL;
SidebarTreeEntryWrapper* wrapper = NULL;
GtkTreePath* _tmp23_ = NULL;
@@ -5728,226 +5739,226 @@ static gboolean sidebar_tree_real_button_press_event (GtkWidget* base, GdkEventB
GtkTreeStore* _tmp55_ = NULL;
GtkTreePath* _tmp56_ = NULL;
GtkTreeRowReference* _tmp57_ = NULL;
-#line 914 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 916 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp20_ = path;
-#line 914 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 916 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp20_ == NULL) {
-#line 5736 "Tree.c"
+#line 5747 "Tree.c"
GdkEventButton* _tmp21_ = NULL;
gboolean _tmp22_ = FALSE;
-#line 915 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 917 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_row_reference_free0 (self->priv->old_path_ref);
-#line 915 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 917 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
self->priv->old_path_ref = NULL;
-#line 916 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 918 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp21_ = event;
-#line 916 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 918 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp22_ = GTK_WIDGET_CLASS (sidebar_tree_parent_class)->button_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), gtk_widget_get_type (), GtkWidget), _tmp21_);
-#line 916 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 918 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = _tmp22_;
-#line 916 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 918 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (path);
-#line 916 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 918 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 5753 "Tree.c"
+#line 5764 "Tree.c"
}
-#line 919 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 921 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp23_ = path;
-#line 919 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 921 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp24_ = sidebar_tree_get_wrapper_at_path (self, _tmp23_);
-#line 919 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- wrapper = _tmp24_;
#line 921 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ wrapper = _tmp24_;
+#line 923 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp25_ = wrapper;
-#line 921 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 923 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp25_ == NULL) {
-#line 5765 "Tree.c"
+#line 5776 "Tree.c"
GdkEventButton* _tmp26_ = NULL;
gboolean _tmp27_ = FALSE;
-#line 922 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 924 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_row_reference_free0 (self->priv->old_path_ref);
-#line 922 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 924 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
self->priv->old_path_ref = NULL;
-#line 923 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 925 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp26_ = event;
-#line 923 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 925 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp27_ = GTK_WIDGET_CLASS (sidebar_tree_parent_class)->button_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), gtk_widget_get_type (), GtkWidget), _tmp26_);
-#line 923 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 925 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = _tmp27_;
-#line 923 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 925 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 923 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 925 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (path);
-#line 923 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 925 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 5784 "Tree.c"
+#line 5795 "Tree.c"
}
-#line 927 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 929 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp29_ = wrapper;
-#line 927 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 929 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp30_ = _tmp29_->entry;
-#line 927 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 929 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp30_, SIDEBAR_TYPE_EXPANDABLE_ENTRY)) {
-#line 927 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 929 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp28_ = TRUE;
-#line 5794 "Tree.c"
+#line 5805 "Tree.c"
} else {
SidebarTreeEntryWrapper* _tmp31_ = NULL;
SidebarEntry* _tmp32_ = NULL;
-#line 928 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 930 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp31_ = wrapper;
-#line 928 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 930 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp32_ = _tmp31_->entry;
-#line 928 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 930 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp28_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp32_, SIDEBAR_TYPE_INTERNAL_DROP_TARGET_ENTRY);
-#line 5804 "Tree.c"
+#line 5815 "Tree.c"
}
-#line 927 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 929 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp28_) {
-#line 5808 "Tree.c"
+#line 5819 "Tree.c"
GtkTreePath* _tmp33_ = NULL;
-#line 930 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 932 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp33_ = path;
-#line 930 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 932 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
sidebar_tree_toggle_branch_expansion (self, _tmp33_, FALSE);
-#line 5814 "Tree.c"
+#line 5825 "Tree.c"
}
-#line 934 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 936 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp36_ = self->priv->old_path_ref;
-#line 934 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 936 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp36_ != NULL) {
-#line 5820 "Tree.c"
+#line 5831 "Tree.c"
const GtkTreeRowReference* _tmp37_ = NULL;
GtkTreePath* _tmp38_ = NULL;
GtkTreePath* _tmp39_ = NULL;
-#line 934 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 936 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp37_ = self->priv->old_path_ref;
-#line 934 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 936 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp38_ = gtk_tree_row_reference_get_path (_tmp37_);
-#line 934 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 936 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp39_ = _tmp38_;
-#line 934 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 936 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp35_ = _tmp39_ != NULL;
-#line 934 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 936 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (_tmp39_);
-#line 5834 "Tree.c"
+#line 5845 "Tree.c"
} else {
-#line 934 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 936 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp35_ = FALSE;
-#line 5838 "Tree.c"
+#line 5849 "Tree.c"
}
-#line 934 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 936 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp35_) {
-#line 5842 "Tree.c"
+#line 5853 "Tree.c"
const GtkTreeRowReference* _tmp40_ = NULL;
GtkTreePath* _tmp41_ = NULL;
GtkTreePath* _tmp42_ = NULL;
GtkTreePath* _tmp43_ = NULL;
gint _tmp44_ = 0;
-#line 935 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 937 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp40_ = self->priv->old_path_ref;
-#line 935 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 937 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp41_ = gtk_tree_row_reference_get_path (_tmp40_);
-#line 935 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 937 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp42_ = _tmp41_;
-#line 935 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 937 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp43_ = path;
-#line 935 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 937 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp44_ = gtk_tree_path_compare (_tmp42_, _tmp43_);
-#line 935 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 937 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp34_ = _tmp44_ == 0;
-#line 935 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 937 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (_tmp42_);
-#line 5862 "Tree.c"
+#line 5873 "Tree.c"
} else {
-#line 934 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 936 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp34_ = FALSE;
-#line 5866 "Tree.c"
+#line 5877 "Tree.c"
}
-#line 934 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 936 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp34_) {
-#line 5870 "Tree.c"
+#line 5881 "Tree.c"
GtkCellRendererText* _tmp45_ = NULL;
GdkEventButton* _tmp46_ = NULL;
gboolean _tmp47_ = FALSE;
-#line 938 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 940 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp45_ = self->priv->text_renderer;
-#line 938 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 940 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_object_set (_tmp45_, "editable", FALSE, NULL);
-#line 939 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 941 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp46_ = event;
-#line 939 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 941 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp47_ = GTK_WIDGET_CLASS (sidebar_tree_parent_class)->button_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), gtk_widget_get_type (), GtkWidget), _tmp46_);
-#line 939 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 941 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = _tmp47_;
-#line 939 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 941 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 939 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 941 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (path);
-#line 939 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 941 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 5890 "Tree.c"
+#line 5901 "Tree.c"
}
-#line 944 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 946 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp49_ = wrapper;
-#line 944 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 946 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp50_ = _tmp49_->entry;
-#line 944 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 946 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp50_, SIDEBAR_TYPE_RENAMEABLE_ENTRY)) {
-#line 5898 "Tree.c"
+#line 5909 "Tree.c"
SidebarTreeEntryWrapper* _tmp51_ = NULL;
SidebarEntry* _tmp52_ = NULL;
gboolean _tmp53_ = FALSE;
-#line 945 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 947 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp51_ = wrapper;
-#line 945 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 947 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp52_ = _tmp51_->entry;
-#line 945 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 947 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp53_ = sidebar_renameable_entry_is_user_renameable (G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, SIDEBAR_TYPE_RENAMEABLE_ENTRY, SidebarRenameableEntry));
-#line 945 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 947 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp48_ = _tmp53_;
-#line 5910 "Tree.c"
+#line 5921 "Tree.c"
} else {
-#line 944 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 946 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp48_ = FALSE;
-#line 5914 "Tree.c"
+#line 5925 "Tree.c"
}
-#line 944 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 946 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp48_) {
-#line 5918 "Tree.c"
+#line 5929 "Tree.c"
GtkCellRendererText* _tmp54_ = NULL;
-#line 946 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 948 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp54_ = self->priv->text_renderer;
-#line 946 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 948 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_object_set (_tmp54_, "editable", TRUE, NULL);
-#line 5924 "Tree.c"
+#line 5935 "Tree.c"
}
-#line 950 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 952 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp55_ = self->priv->store;
-#line 950 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 952 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp56_ = path;
-#line 950 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 952 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp57_ = gtk_tree_row_reference_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp55_, GTK_TYPE_TREE_MODEL, GtkTreeModel), _tmp56_);
-#line 950 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 952 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_row_reference_free0 (self->priv->old_path_ref);
-#line 950 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 952 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
self->priv->old_path_ref = _tmp57_;
-#line 913 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 915 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 5938 "Tree.c"
+#line 5949 "Tree.c"
}
}
-#line 953 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 955 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp58_ = event;
-#line 953 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 955 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp59_ = GTK_WIDGET_CLASS (sidebar_tree_parent_class)->button_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), gtk_widget_get_type (), GtkWidget), _tmp58_);
-#line 953 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 955 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = _tmp59_;
-#line 953 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 955 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (path);
-#line 953 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 955 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 5951 "Tree.c"
+#line 5962 "Tree.c"
}
@@ -5958,53 +5969,53 @@ gboolean sidebar_tree_is_keypress_interpreted (SidebarTree* self, GdkEventKey* e
const gchar* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
GQuark _tmp5_ = 0U;
-#line 957 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 959 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
static GQuark _tmp4_label0 = 0;
-#line 957 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 959 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
static GQuark _tmp4_label1 = 0;
-#line 957 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 959 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
static GQuark _tmp4_label2 = 0;
-#line 957 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 959 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
static GQuark _tmp4_label3 = 0;
-#line 956 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 958 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_val_if_fail (SIDEBAR_IS_TREE (self), FALSE);
-#line 956 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 958 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 957 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 959 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp0_ = event;
-#line 957 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 959 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp1_ = _tmp0_->keyval;
-#line 957 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 959 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp2_ = gdk_keyval_name (_tmp1_);
-#line 957 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 959 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp3_ = _tmp2_;
-#line 957 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 959 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp5_ = (NULL == _tmp3_) ? 0 : g_quark_from_string (_tmp3_);
-#line 957 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 959 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if ((((_tmp5_ == ((0 != _tmp4_label0) ? _tmp4_label0 : (_tmp4_label0 = g_quark_from_static_string ("F2")))) || (_tmp5_ == ((0 != _tmp4_label1) ? _tmp4_label1 : (_tmp4_label1 = g_quark_from_static_string ("Delete"))))) || (_tmp5_ == ((0 != _tmp4_label2) ? _tmp4_label2 : (_tmp4_label2 = g_quark_from_static_string ("Return"))))) || (_tmp5_ == ((0 != _tmp4_label3) ? _tmp4_label3 : (_tmp4_label3 = g_quark_from_static_string ("KP_Enter"))))) {
-#line 957 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 959 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
switch (0) {
-#line 5988 "Tree.c"
+#line 5999 "Tree.c"
default:
{
-#line 962 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 964 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = TRUE;
-#line 962 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 964 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 5995 "Tree.c"
+#line 6006 "Tree.c"
}
}
} else {
-#line 957 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 959 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
switch (0) {
-#line 6001 "Tree.c"
+#line 6012 "Tree.c"
default:
{
-#line 965 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 967 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = FALSE;
-#line 965 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 967 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6008 "Tree.c"
+#line 6019 "Tree.c"
}
}
}
@@ -6019,134 +6030,134 @@ static gboolean sidebar_tree_real_key_press_event (GtkWidget* base, GdkEventKey*
const gchar* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
GQuark _tmp5_ = 0U;
-#line 970 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 972 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
static GQuark _tmp4_label0 = 0;
-#line 970 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 972 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
static GQuark _tmp4_label1 = 0;
-#line 970 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 972 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
static GQuark _tmp4_label2 = 0;
-#line 970 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 972 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
static GQuark _tmp4_label3 = 0;
-#line 6031 "Tree.c"
+#line 6042 "Tree.c"
GdkEventKey* _tmp15_ = NULL;
gboolean _tmp16_ = FALSE;
-#line 969 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 971 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SIDEBAR_TYPE_TREE, SidebarTree);
-#line 969 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 971 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 970 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 972 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp0_ = event;
-#line 970 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 972 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp1_ = _tmp0_->keyval;
-#line 970 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 972 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp2_ = gdk_keyval_name (_tmp1_);
-#line 970 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 972 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp3_ = _tmp2_;
-#line 970 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 972 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp5_ = (NULL == _tmp3_) ? 0 : g_quark_from_string (_tmp3_);
-#line 970 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 972 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if ((_tmp5_ == ((0 != _tmp4_label0) ? _tmp4_label0 : (_tmp4_label0 = g_quark_from_static_string ("Return")))) || (_tmp5_ == ((0 != _tmp4_label1) ? _tmp4_label1 : (_tmp4_label1 = g_quark_from_static_string ("KP_Enter"))))) {
-#line 970 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 972 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
switch (0) {
-#line 6052 "Tree.c"
+#line 6063 "Tree.c"
default:
{
GtkTreePath* path = NULL;
GtkTreePath* _tmp6_ = NULL;
GtkTreePath* _tmp7_ = NULL;
-#line 973 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 975 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp6_ = sidebar_tree_get_current_path (self);
-#line 973 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 975 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
path = _tmp6_;
-#line 974 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 976 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp7_ = path;
-#line 974 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 976 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp7_ != NULL) {
-#line 6066 "Tree.c"
+#line 6077 "Tree.c"
GtkTreePath* _tmp8_ = NULL;
-#line 975 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 977 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp8_ = path;
-#line 975 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 977 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
sidebar_tree_toggle_branch_expansion (self, _tmp8_, FALSE);
-#line 6072 "Tree.c"
+#line 6083 "Tree.c"
}
-#line 977 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 979 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = TRUE;
-#line 977 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 979 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (path);
-#line 977 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 979 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6080 "Tree.c"
+#line 6091 "Tree.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label2) ? _tmp4_label2 : (_tmp4_label2 = g_quark_from_static_string ("F2")))) {
-#line 970 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 972 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
switch (0) {
-#line 6086 "Tree.c"
+#line 6097 "Tree.c"
default:
{
gboolean _tmp9_ = FALSE;
-#line 980 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 982 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp9_ = sidebar_tree_rename_in_place (self);
-#line 980 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 982 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = _tmp9_;
-#line 980 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 982 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6096 "Tree.c"
+#line 6107 "Tree.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label3) ? _tmp4_label3 : (_tmp4_label3 = g_quark_from_static_string ("Delete")))) {
-#line 970 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 972 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
switch (0) {
-#line 6102 "Tree.c"
+#line 6113 "Tree.c"
default:
{
GtkTreePath* path = NULL;
GtkTreePath* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
GtkTreePath* _tmp12_ = NULL;
-#line 983 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 985 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp10_ = sidebar_tree_get_current_path (self);
-#line 983 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- path = _tmp10_;
#line 985 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ path = _tmp10_;
+#line 987 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp12_ = path;
-#line 985 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 987 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp12_ != NULL) {
-#line 6117 "Tree.c"
+#line 6128 "Tree.c"
GtkTreePath* _tmp13_ = NULL;
gboolean _tmp14_ = FALSE;
-#line 985 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 987 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp13_ = path;
-#line 985 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 987 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp14_ = sidebar_tree_destroy_path (self, _tmp13_);
-#line 985 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 987 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp11_ = _tmp14_;
-#line 6126 "Tree.c"
+#line 6137 "Tree.c"
} else {
-#line 985 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 987 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp11_ = FALSE;
-#line 6130 "Tree.c"
+#line 6141 "Tree.c"
}
-#line 985 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 987 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = _tmp11_;
-#line 985 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 987 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (path);
-#line 985 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 987 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6138 "Tree.c"
+#line 6149 "Tree.c"
}
}
}
-#line 988 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 990 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp15_ = event;
-#line 988 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 990 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp16_ = GTK_WIDGET_CLASS (sidebar_tree_parent_class)->key_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), gtk_widget_get_type (), GtkWidget), _tmp15_);
-#line 988 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 990 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = _tmp16_;
-#line 988 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 990 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6150 "Tree.c"
+#line 6161 "Tree.c"
}
@@ -6157,41 +6168,41 @@ gboolean sidebar_tree_rename_entry_in_place (SidebarTree* self, SidebarEntry* en
SidebarEntry* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
gboolean _tmp4_ = FALSE;
-#line 991 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 993 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_val_if_fail (SIDEBAR_IS_TREE (self), FALSE);
-#line 991 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 993 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_val_if_fail (SIDEBAR_IS_ENTRY (entry), FALSE);
-#line 992 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 994 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp0_ = entry;
-#line 992 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 994 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp1_ = sidebar_tree_expand_to_entry (self, _tmp0_);
-#line 992 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 994 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (!_tmp1_) {
-#line 993 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 995 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = FALSE;
-#line 993 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 995 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6175 "Tree.c"
+#line 6186 "Tree.c"
}
-#line 995 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 997 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp2_ = entry;
-#line 995 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 997 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp3_ = sidebar_tree_place_cursor (self, _tmp2_, FALSE);
-#line 995 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 997 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (!_tmp3_) {
-#line 996 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 998 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = FALSE;
-#line 996 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 998 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6187 "Tree.c"
+#line 6198 "Tree.c"
}
-#line 998 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1000 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp4_ = sidebar_tree_rename_in_place (self);
-#line 998 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1000 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = _tmp4_;
-#line 998 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1000 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6195 "Tree.c"
+#line 6206 "Tree.c"
}
@@ -6204,57 +6215,57 @@ static gboolean sidebar_tree_rename_in_place (SidebarTree* self) {
GtkTreeViewColumn* _tmp2_ = NULL;
GtkTreePath* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
-#line 1001 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1003 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_val_if_fail (SIDEBAR_IS_TREE (self), FALSE);
-#line 1004 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1006 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
gtk_tree_view_get_cursor (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), &_tmp0_, &_tmp1_);
-#line 1004 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1006 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (cursor_path);
-#line 1004 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1006 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
cursor_path = _tmp0_;
-#line 1004 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1006 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (cursor_column);
-#line 1004 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1006 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp2_ = _g_object_ref0 (_tmp1_);
-#line 1004 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- cursor_column = _tmp2_;
#line 1006 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ cursor_column = _tmp2_;
+#line 1008 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp3_ = cursor_path;
-#line 1006 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1008 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp4_ = sidebar_tree_can_rename_path (self, _tmp3_);
-#line 1006 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1008 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp4_) {
-#line 6228 "Tree.c"
+#line 6239 "Tree.c"
GtkTreePath* _tmp5_ = NULL;
GtkTreeViewColumn* _tmp6_ = NULL;
GtkCellRendererText* _tmp7_ = NULL;
-#line 1007 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1009 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp5_ = cursor_path;
-#line 1007 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1009 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp6_ = cursor_column;
-#line 1007 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1009 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp7_ = self->priv->text_renderer;
-#line 1007 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- gtk_tree_view_set_cursor_on_cell (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), _tmp5_, _tmp6_, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_cell_renderer_get_type (), GtkCellRenderer), TRUE);
#line 1009 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ gtk_tree_view_set_cursor_on_cell (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), _tmp5_, _tmp6_, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_cell_renderer_get_type (), GtkCellRenderer), TRUE);
+#line 1011 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = TRUE;
-#line 1009 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1011 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (cursor_column);
-#line 1009 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1011 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (cursor_path);
-#line 1009 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1011 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6248 "Tree.c"
+#line 6259 "Tree.c"
}
-#line 1012 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1014 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = FALSE;
-#line 1012 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1014 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (cursor_column);
-#line 1012 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1014 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (cursor_path);
-#line 1012 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1014 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6258 "Tree.c"
+#line 6269 "Tree.c"
}
@@ -6267,45 +6278,45 @@ gboolean sidebar_tree_scroll_to_entry (SidebarTree* self, SidebarEntry* entry) {
SidebarTreeEntryWrapper* _tmp3_ = NULL;
GtkTreePath* _tmp4_ = NULL;
GtkTreePath* _tmp5_ = NULL;
-#line 1015 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1017 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_val_if_fail (SIDEBAR_IS_TREE (self), FALSE);
-#line 1015 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1017 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_val_if_fail (SIDEBAR_IS_ENTRY (entry), FALSE);
-#line 1016 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1018 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp0_ = entry;
-#line 1016 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1018 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp1_ = sidebar_tree_get_wrapper (self, _tmp0_);
-#line 1016 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1018 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
wrapper = _tmp1_;
-#line 1017 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1019 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp2_ = wrapper;
-#line 1017 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1019 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp2_ == NULL) {
-#line 1018 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1020 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = FALSE;
-#line 1018 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1020 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 1018 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1020 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6291 "Tree.c"
+#line 6302 "Tree.c"
}
-#line 1020 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1022 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp3_ = wrapper;
-#line 1020 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1022 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp4_ = sidebar_tree_entry_wrapper_get_path (_tmp3_);
-#line 1020 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1022 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp5_ = _tmp4_;
-#line 1020 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1022 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
gtk_tree_view_scroll_to_cell (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), _tmp5_, NULL, FALSE, (gfloat) 0, (gfloat) 0);
-#line 1020 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- _gtk_tree_path_free0 (_tmp5_);
#line 1022 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ _gtk_tree_path_free0 (_tmp5_);
+#line 1024 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = TRUE;
-#line 1022 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1024 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 1022 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1024 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6309 "Tree.c"
+#line 6320 "Tree.c"
}
@@ -6316,55 +6327,55 @@ static void sidebar_tree_real_drag_data_get (GtkWidget* base, GdkDragContext* co
SidebarInternalDragSourceEntry* _tmp6_ = NULL;
SidebarInternalDragSourceEntry* _tmp16_ = NULL;
GtkSelectionData* _tmp17_ = NULL;
-#line 1025 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1027 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SIDEBAR_TYPE_TREE, SidebarTree);
-#line 1025 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1027 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-#line 1025 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- g_return_if_fail (selection_data != NULL);
#line 1027 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- drag_source = NULL;
+ g_return_if_fail (selection_data != NULL);
#line 1029 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ drag_source = NULL;
+#line 1031 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp0_ = self->priv->internal_drag_source_entry;
-#line 1029 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1031 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp0_ != NULL) {
-#line 6332 "Tree.c"
+#line 6343 "Tree.c"
SidebarSelectableEntry* selectable = NULL;
SidebarEntry* _tmp1_ = NULL;
SidebarSelectableEntry* _tmp2_ = NULL;
SidebarSelectableEntry* _tmp3_ = NULL;
-#line 1030 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1032 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp1_ = self->priv->internal_drag_source_entry;
-#line 1030 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1032 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, SIDEBAR_TYPE_SELECTABLE_ENTRY) ? ((SidebarSelectableEntry*) _tmp1_) : NULL);
-#line 1030 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- selectable = _tmp2_;
#line 1032 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ selectable = _tmp2_;
+#line 1034 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp3_ = selectable;
-#line 1032 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1034 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp3_ == NULL) {
-#line 6347 "Tree.c"
+#line 6358 "Tree.c"
SidebarEntry* _tmp4_ = NULL;
SidebarInternalDragSourceEntry* _tmp5_ = NULL;
-#line 1033 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1035 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp4_ = self->priv->internal_drag_source_entry;
-#line 1033 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1035 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp5_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, SIDEBAR_TYPE_INTERNAL_DRAG_SOURCE_ENTRY) ? ((SidebarInternalDragSourceEntry*) _tmp4_) : NULL);
-#line 1033 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1035 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (drag_source);
-#line 1033 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1035 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
drag_source = _tmp5_;
-#line 6358 "Tree.c"
+#line 6369 "Tree.c"
}
-#line 1029 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1031 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (selectable);
-#line 6362 "Tree.c"
+#line 6373 "Tree.c"
}
-#line 1037 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1039 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp6_ = drag_source;
-#line 1037 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1039 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp6_ == NULL) {
-#line 6368 "Tree.c"
+#line 6379 "Tree.c"
GtkTreePath* selected_path = NULL;
GtkTreePath* _tmp7_ = NULL;
GtkTreePath* _tmp8_ = NULL;
@@ -6376,81 +6387,81 @@ static void sidebar_tree_real_drag_data_get (GtkWidget* base, GdkDragContext* co
SidebarEntry* _tmp13_ = NULL;
SidebarInternalDragSourceEntry* _tmp14_ = NULL;
SidebarInternalDragSourceEntry* _tmp15_ = NULL;
-#line 1038 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1040 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp7_ = sidebar_tree_get_selected_path (self);
-#line 1038 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1040 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
selected_path = _tmp7_;
-#line 1039 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1041 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp8_ = selected_path;
-#line 1039 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1041 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp8_ == NULL) {
-#line 1040 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1042 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (selected_path);
-#line 1040 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1042 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (drag_source);
-#line 1040 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1042 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return;
-#line 6394 "Tree.c"
+#line 6405 "Tree.c"
}
-#line 1042 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1044 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp9_ = selected_path;
-#line 1042 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1044 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp10_ = sidebar_tree_get_wrapper_at_path (self, _tmp9_);
-#line 1042 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1044 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
wrapper = _tmp10_;
-#line 1043 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1045 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp11_ = wrapper;
-#line 1043 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1045 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp11_ == NULL) {
-#line 1044 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1046 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 1044 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1046 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (selected_path);
-#line 1044 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1046 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (drag_source);
-#line 1044 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1046 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return;
-#line 6414 "Tree.c"
+#line 6425 "Tree.c"
}
-#line 1046 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1048 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp12_ = wrapper;
-#line 1046 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1048 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp13_ = _tmp12_->entry;
-#line 1046 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1048 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, SIDEBAR_TYPE_INTERNAL_DRAG_SOURCE_ENTRY) ? ((SidebarInternalDragSourceEntry*) _tmp13_) : NULL);
-#line 1046 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1048 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (drag_source);
-#line 1046 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1048 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
drag_source = _tmp14_;
-#line 1047 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1049 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp15_ = drag_source;
-#line 1047 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1049 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp15_ == NULL) {
-#line 1048 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1050 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 1048 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1050 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (selected_path);
-#line 1048 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1050 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (drag_source);
-#line 1048 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1050 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return;
-#line 6438 "Tree.c"
+#line 6449 "Tree.c"
}
-#line 1037 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1039 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 1037 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1039 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (selected_path);
-#line 6444 "Tree.c"
+#line 6455 "Tree.c"
}
-#line 1051 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1053 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp16_ = drag_source;
-#line 1051 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1053 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp17_ = selection_data;
-#line 1051 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1053 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
sidebar_internal_drag_source_entry_prepare_selection_data (_tmp16_, _tmp17_);
-#line 1025 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1027 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (drag_source);
-#line 6454 "Tree.c"
+#line 6465 "Tree.c"
}
@@ -6483,87 +6494,87 @@ static void sidebar_tree_real_drag_data_received (GtkWidget* base, GdkDragContex
GdkDragContext* _tmp57_ = NULL;
gboolean _tmp58_ = FALSE;
guint _tmp59_ = 0U;
-#line 1054 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1056 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SIDEBAR_TYPE_TREE, SidebarTree);
-#line 1054 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1056 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-#line 1054 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1056 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_if_fail (selection_data != NULL);
-#line 1059 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1061 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp0_ = x;
-#line 1059 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1061 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp1_ = y;
-#line 1059 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1061 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp4_ = gtk_tree_view_get_dest_row_at_pos (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), _tmp0_, _tmp1_, &_tmp2_, &_tmp3_);
-#line 1059 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1061 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (path);
-#line 1059 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1061 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
path = _tmp2_;
-#line 1059 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1061 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
pos = _tmp3_;
-#line 1059 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1061 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (!_tmp4_) {
-#line 6507 "Tree.c"
+#line 6518 "Tree.c"
GdkDragContext* _tmp5_ = NULL;
GtkWidget* _tmp6_ = NULL;
-#line 1061 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1063 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp5_ = context;
-#line 1061 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1063 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp6_ = gtk_drag_get_source_widget (_tmp5_);
-#line 1061 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1063 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp6_ == NULL) {
-#line 6516 "Tree.c"
+#line 6527 "Tree.c"
SidebarTreeExternalDropHandler _tmp7_ = NULL;
void* _tmp7__target = NULL;
GdkDragContext* _tmp8_ = NULL;
GtkSelectionData* _tmp9_ = NULL;
guint _tmp10_ = 0U;
guint _tmp11_ = 0U;
-#line 1062 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1064 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp7_ = self->priv->drop_handler;
-#line 1062 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1064 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp7__target = self->priv->drop_handler_target;
-#line 1062 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1064 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp8_ = context;
-#line 1062 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1064 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp9_ = selection_data;
-#line 1062 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1064 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp10_ = info;
-#line 1062 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1064 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp11_ = time;
-#line 1062 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1064 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp7_ (_tmp8_, NULL, _tmp9_, _tmp10_, _tmp11_, _tmp7__target);
-#line 6537 "Tree.c"
+#line 6548 "Tree.c"
} else {
GdkDragContext* _tmp12_ = NULL;
guint _tmp13_ = 0U;
-#line 1064 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1066 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp12_ = context;
-#line 1064 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1066 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp13_ = time;
-#line 1064 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1066 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
gtk_drag_finish (_tmp12_, FALSE, FALSE, (guint32) _tmp13_);
-#line 6547 "Tree.c"
+#line 6558 "Tree.c"
}
-#line 1066 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1068 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (path);
-#line 1066 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1068 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return;
-#line 6553 "Tree.c"
+#line 6564 "Tree.c"
}
-#line 1070 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1072 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp14_ = path;
-#line 1070 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1072 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp15_ = sidebar_tree_get_wrapper_at_path (self, _tmp14_);
-#line 1070 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1072 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
wrapper = _tmp15_;
-#line 1073 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1075 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp16_ = context;
-#line 1073 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1075 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp17_ = gtk_drag_get_source_widget (_tmp16_);
-#line 1073 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1075 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp17_ == NULL) {
-#line 6567 "Tree.c"
+#line 6578 "Tree.c"
SidebarEntry* _tmp18_ = NULL;
SidebarTreeEntryWrapper* _tmp19_ = NULL;
SidebarTreeExternalDropHandler _tmp22_ = NULL;
@@ -6572,128 +6583,128 @@ static void sidebar_tree_real_drag_data_received (GtkWidget* base, GdkDragContex
GtkSelectionData* _tmp24_ = NULL;
guint _tmp25_ = 0U;
guint _tmp26_ = 0U;
-#line 1074 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1076 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp19_ = wrapper;
-#line 1074 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1076 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp19_ != NULL) {
-#line 6580 "Tree.c"
+#line 6591 "Tree.c"
SidebarTreeEntryWrapper* _tmp20_ = NULL;
SidebarEntry* _tmp21_ = NULL;
-#line 1074 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1076 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp20_ = wrapper;
-#line 1074 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1076 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp21_ = _tmp20_->entry;
-#line 1074 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1076 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp18_ = _tmp21_;
-#line 6589 "Tree.c"
+#line 6600 "Tree.c"
} else {
-#line 1074 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1076 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp18_ = NULL;
-#line 6593 "Tree.c"
+#line 6604 "Tree.c"
}
-#line 1074 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1076 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp22_ = self->priv->drop_handler;
-#line 1074 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1076 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp22__target = self->priv->drop_handler_target;
-#line 1074 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1076 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp23_ = context;
-#line 1074 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1076 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp24_ = selection_data;
-#line 1074 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1076 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp25_ = info;
-#line 1074 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1076 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp26_ = time;
-#line 1074 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1076 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp22_ (_tmp23_, _tmp18_, _tmp24_, _tmp25_, _tmp26_, _tmp22__target);
-#line 1077 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1079 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 1077 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1079 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (path);
-#line 1077 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1079 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return;
-#line 6615 "Tree.c"
+#line 6626 "Tree.c"
}
-#line 1081 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1083 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp27_ = wrapper;
-#line 1081 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1083 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp27_ == NULL) {
-#line 6621 "Tree.c"
+#line 6632 "Tree.c"
GdkDragContext* _tmp28_ = NULL;
guint _tmp29_ = 0U;
-#line 1082 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1084 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp28_ = context;
-#line 1082 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1084 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp29_ = time;
-#line 1082 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- gtk_drag_finish (_tmp28_, FALSE, FALSE, (guint32) _tmp29_);
#line 1084 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ gtk_drag_finish (_tmp28_, FALSE, FALSE, (guint32) _tmp29_);
+#line 1086 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 1084 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1086 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (path);
-#line 1084 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1086 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return;
-#line 6636 "Tree.c"
+#line 6647 "Tree.c"
}
-#line 1087 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1089 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp30_ = wrapper;
-#line 1087 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1089 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp31_ = _tmp30_->entry;
-#line 1087 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1089 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp32_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp31_, SIDEBAR_TYPE_INTERNAL_DROP_TARGET_ENTRY) ? ((SidebarInternalDropTargetEntry*) _tmp31_) : NULL);
-#line 1087 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1089 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
targetable = _tmp32_;
-#line 1088 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1090 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp33_ = targetable;
-#line 1088 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1090 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp33_ == NULL) {
-#line 6650 "Tree.c"
+#line 6661 "Tree.c"
GdkDragContext* _tmp34_ = NULL;
guint _tmp35_ = 0U;
-#line 1089 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1091 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp34_ = context;
-#line 1089 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1091 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp35_ = time;
-#line 1089 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- gtk_drag_finish (_tmp34_, FALSE, FALSE, (guint32) _tmp35_);
#line 1091 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ gtk_drag_finish (_tmp34_, FALSE, FALSE, (guint32) _tmp35_);
+#line 1093 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (targetable);
-#line 1091 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1093 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 1091 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1093 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (path);
-#line 1091 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1093 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return;
-#line 6667 "Tree.c"
+#line 6678 "Tree.c"
}
-#line 1094 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- success = FALSE;
#line 1096 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ success = FALSE;
+#line 1098 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp36_ = selection_data;
-#line 1096 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1098 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp37_ = gtk_selection_data_get_data_type (_tmp36_);
-#line 1096 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1098 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp38_ = gdk_atom_name (_tmp37_);
-#line 1096 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1098 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp39_ = _tmp38_;
-#line 1096 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1098 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp40_ = g_strcmp0 (_tmp39_, LIBRARY_WINDOW_TAG_PATH_MIME_TYPE) == 0;
-#line 1096 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1098 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_free0 (_tmp39_);
-#line 1096 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1098 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp40_) {
-#line 6685 "Tree.c"
+#line 6696 "Tree.c"
SidebarInternalDropTargetEntry* _tmp41_ = NULL;
GtkSelectionData* _tmp42_ = NULL;
gboolean _tmp43_ = FALSE;
-#line 1097 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1099 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp41_ = targetable;
-#line 1097 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1099 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp42_ = selection_data;
-#line 1097 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1099 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp43_ = sidebar_internal_drop_target_entry_internal_drop_received_arbitrary (_tmp41_, _tmp42_);
-#line 1097 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1099 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
success = _tmp43_;
-#line 6697 "Tree.c"
+#line 6708 "Tree.c"
} else {
GeeList* media = NULL;
GtkSelectionData* _tmp44_ = NULL;
@@ -6703,75 +6714,75 @@ static void sidebar_tree_real_drag_data_received (GtkWidget* base, GdkDragContex
GeeList* _tmp48_ = NULL;
gboolean _tmp49_ = FALSE;
GeeList* _tmp50_ = NULL;
-#line 1099 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1101 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp44_ = selection_data;
-#line 1099 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1101 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp45_ = gtk_selection_data_get_data (_tmp44_);
-#line 1099 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1101 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp46_ = selection_data;
-#line 1099 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1101 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp47_ = gtk_selection_data_get_length (_tmp46_);
-#line 1099 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1101 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp48_ = unserialize_media_sources (_tmp45_, _tmp47_);
-#line 1099 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- media = _tmp48_;
#line 1101 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ media = _tmp48_;
+#line 1103 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp50_ = media;
-#line 1101 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1103 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp50_ != NULL) {
-#line 6723 "Tree.c"
+#line 6734 "Tree.c"
GeeList* _tmp51_ = NULL;
gint _tmp52_ = 0;
gint _tmp53_ = 0;
-#line 1101 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1103 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp51_ = media;
-#line 1101 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1103 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp52_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp51_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1101 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1103 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp53_ = _tmp52_;
-#line 1101 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1103 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp49_ = _tmp53_ > 0;
-#line 6735 "Tree.c"
+#line 6746 "Tree.c"
} else {
-#line 1101 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1103 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp49_ = FALSE;
-#line 6739 "Tree.c"
+#line 6750 "Tree.c"
}
-#line 1101 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1103 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp49_) {
-#line 6743 "Tree.c"
+#line 6754 "Tree.c"
SidebarInternalDropTargetEntry* _tmp54_ = NULL;
GeeList* _tmp55_ = NULL;
gboolean _tmp56_ = FALSE;
-#line 1102 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1104 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp54_ = targetable;
-#line 1102 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1104 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp55_ = media;
-#line 1102 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1104 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp56_ = sidebar_internal_drop_target_entry_internal_drop_received (_tmp54_, _tmp55_);
-#line 1102 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1104 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
success = _tmp56_;
-#line 6755 "Tree.c"
+#line 6766 "Tree.c"
}
-#line 1096 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1098 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (media);
-#line 6759 "Tree.c"
+#line 6770 "Tree.c"
}
-#line 1105 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1107 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp57_ = context;
-#line 1105 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1107 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp58_ = success;
-#line 1105 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1107 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp59_ = time;
-#line 1105 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1107 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
gtk_drag_finish (_tmp57_, _tmp58_, FALSE, (guint32) _tmp59_);
-#line 1054 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1056 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (targetable);
-#line 1054 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1056 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 1054 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1056 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (path);
-#line 6775 "Tree.c"
+#line 6786 "Tree.c"
}
@@ -6796,90 +6807,90 @@ static gboolean sidebar_tree_real_drag_motion (GtkWidget* base, GdkDragContext*
GdkDragContext* _tmp16_ = NULL;
GdkDragAction _tmp17_ = 0;
guint _tmp18_ = 0U;
-#line 1108 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1110 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SIDEBAR_TYPE_TREE, SidebarTree);
-#line 1108 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), FALSE);
#line 1110 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), FALSE);
+#line 1112 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp0_ = context;
-#line 1110 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1112 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp1_ = x;
-#line 1110 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1112 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp2_ = y;
-#line 1110 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1112 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp3_ = time;
-#line 1110 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1112 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
GTK_WIDGET_CLASS (sidebar_tree_parent_class)->drag_motion (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), gtk_widget_get_type (), GtkWidget), _tmp0_, _tmp1_, _tmp2_, _tmp3_);
-#line 1114 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1116 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp4_ = x;
-#line 1114 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1116 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp5_ = y;
-#line 1114 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1116 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp8_ = gtk_tree_view_get_dest_row_at_pos (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), _tmp4_, _tmp5_, &_tmp6_, &_tmp7_);
-#line 1114 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1116 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (path);
-#line 1114 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1116 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
path = _tmp6_;
-#line 1114 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1116 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
pos = _tmp7_;
-#line 1114 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1116 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
has_dest = _tmp8_;
-#line 1117 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1119 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp10_ = has_dest;
-#line 1117 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1119 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (!_tmp10_) {
-#line 1117 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1119 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp9_ = TRUE;
-#line 6834 "Tree.c"
+#line 6845 "Tree.c"
} else {
GtkTreeViewDropPosition _tmp11_ = 0;
-#line 1117 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1119 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp11_ = pos;
-#line 1117 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1119 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp9_ = _tmp11_ == GTK_TREE_VIEW_DROP_BEFORE;
-#line 6841 "Tree.c"
+#line 6852 "Tree.c"
}
-#line 1117 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1119 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp9_) {
-#line 6845 "Tree.c"
+#line 6856 "Tree.c"
GtkTreePath* _tmp12_ = NULL;
-#line 1118 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1120 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp12_ = path;
-#line 1118 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1120 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
gtk_tree_view_set_drag_dest_row (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), _tmp12_, GTK_TREE_VIEW_DROP_INTO_OR_BEFORE);
-#line 6851 "Tree.c"
+#line 6862 "Tree.c"
} else {
GtkTreeViewDropPosition _tmp13_ = 0;
-#line 1119 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1121 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp13_ = pos;
-#line 1119 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1121 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp13_ == GTK_TREE_VIEW_DROP_AFTER) {
-#line 6858 "Tree.c"
+#line 6869 "Tree.c"
GtkTreePath* _tmp14_ = NULL;
-#line 1120 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1122 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp14_ = path;
-#line 1120 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1122 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
gtk_tree_view_set_drag_dest_row (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), _tmp14_, GTK_TREE_VIEW_DROP_INTO_OR_AFTER);
-#line 6864 "Tree.c"
+#line 6875 "Tree.c"
}
}
-#line 1122 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1124 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp15_ = context;
-#line 1122 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1124 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp16_ = context;
-#line 1122 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1124 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp17_ = gdk_drag_context_get_suggested_action (_tmp16_);
-#line 1122 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1124 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp18_ = time;
-#line 1122 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- gdk_drag_status (_tmp15_, _tmp17_, (guint32) _tmp18_);
#line 1124 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ gdk_drag_status (_tmp15_, _tmp17_, (guint32) _tmp18_);
+#line 1126 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = has_dest;
-#line 1124 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1126 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (path);
-#line 1124 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1126 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6883 "Tree.c"
+#line 6894 "Tree.c"
}
@@ -6899,91 +6910,91 @@ static gboolean sidebar_tree_can_rename_path (SidebarTree* self, GtkTreePath* pa
SidebarEntry* _tmp9_ = NULL;
GtkTreeSelection* _tmp10_ = NULL;
GtkTreePath* _tmp11_ = NULL;
-#line 1128 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1130 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_val_if_fail (SIDEBAR_IS_TREE (self), FALSE);
-#line 1128 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1130 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_val_if_fail (path != NULL, FALSE);
-#line 1129 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1131 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp0_ = self->priv->editing_disabled;
-#line 1129 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1131 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp0_ > 0) {
-#line 1130 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1132 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = FALSE;
-#line 1130 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1132 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6915 "Tree.c"
+#line 6926 "Tree.c"
}
-#line 1132 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1134 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp1_ = path;
-#line 1132 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1134 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp2_ = sidebar_tree_get_wrapper_at_path (self, _tmp1_);
-#line 1132 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1134 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
wrapper = _tmp2_;
-#line 1133 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1135 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp3_ = wrapper;
-#line 1133 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1135 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp3_ == NULL) {
-#line 1134 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1136 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = FALSE;
-#line 1134 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1136 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 1134 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1136 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6933 "Tree.c"
+#line 6944 "Tree.c"
}
-#line 1136 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1138 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp4_ = wrapper;
-#line 1136 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1138 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp5_ = _tmp4_->entry;
-#line 1136 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1138 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp6_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, SIDEBAR_TYPE_RENAMEABLE_ENTRY) ? ((SidebarRenameableEntry*) _tmp5_) : NULL);
-#line 1136 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1138 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
renameable = _tmp6_;
-#line 1137 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1139 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp7_ = renameable;
-#line 1137 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1139 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp7_ == NULL) {
-#line 1138 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1140 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = FALSE;
-#line 1138 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1140 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (renameable);
-#line 1138 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1140 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 1138 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1140 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6955 "Tree.c"
+#line 6966 "Tree.c"
}
-#line 1140 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1142 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp8_ = wrapper;
-#line 1140 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1142 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp9_ = _tmp8_->entry;
-#line 1140 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1142 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp9_, SIDEBAR_TYPE_HEADER)) {
-#line 1141 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1143 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = FALSE;
-#line 1141 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1143 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (renameable);
-#line 1141 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1143 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 1141 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1143 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6971 "Tree.c"
+#line 6982 "Tree.c"
}
-#line 1143 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1145 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp10_ = gtk_tree_view_get_selection (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView));
-#line 1143 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1145 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp11_ = path;
-#line 1143 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- gtk_tree_selection_select_path (_tmp10_, _tmp11_);
#line 1145 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ gtk_tree_selection_select_path (_tmp10_, _tmp11_);
+#line 1147 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = TRUE;
-#line 1145 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1147 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (renameable);
-#line 1145 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1147 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 1145 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1147 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6987 "Tree.c"
+#line 6998 "Tree.c"
}
@@ -6999,121 +7010,121 @@ static gboolean sidebar_tree_destroy_path (SidebarTree* self, GtkTreePath* path)
SidebarDestroyableEntry* _tmp5_ = NULL;
SidebarDestroyableEntry* _tmp6_ = NULL;
SidebarDestroyableEntry* _tmp7_ = NULL;
-#line 1148 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1150 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_val_if_fail (SIDEBAR_IS_TREE (self), FALSE);
-#line 1148 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1150 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_val_if_fail (path != NULL, FALSE);
-#line 1149 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1151 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp0_ = path;
-#line 1149 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1151 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp1_ = sidebar_tree_get_wrapper_at_path (self, _tmp0_);
-#line 1149 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1151 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
wrapper = _tmp1_;
-#line 1150 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1152 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp2_ = wrapper;
-#line 1150 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1152 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp2_ == NULL) {
-#line 1151 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1153 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = FALSE;
-#line 1151 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1153 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 1151 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1153 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 7023 "Tree.c"
+#line 7034 "Tree.c"
}
-#line 1153 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1155 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp3_ = wrapper;
-#line 1153 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1155 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp4_ = _tmp3_->entry;
-#line 1153 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1155 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp5_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, SIDEBAR_TYPE_DESTROYABLE_ENTRY) ? ((SidebarDestroyableEntry*) _tmp4_) : NULL);
-#line 1153 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1155 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
destroyable = _tmp5_;
-#line 1154 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1156 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp6_ = destroyable;
-#line 1154 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1156 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp6_ == NULL) {
-#line 1155 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1157 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = FALSE;
-#line 1155 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1157 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (destroyable);
-#line 1155 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1157 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 1155 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1157 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 7045 "Tree.c"
+#line 7056 "Tree.c"
}
-#line 1157 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1159 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp7_ = destroyable;
-#line 1157 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- sidebar_destroyable_entry_destroy_source (_tmp7_);
#line 1159 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ sidebar_destroyable_entry_destroy_source (_tmp7_);
+#line 1161 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = TRUE;
-#line 1159 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1161 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (destroyable);
-#line 1159 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1161 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 1159 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1161 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 7059 "Tree.c"
+#line 7070 "Tree.c"
}
static void _sidebar_tree_on_editing_done_gtk_cell_editable_editing_done (GtkCellEditable* _sender, gpointer self) {
-#line 1165 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1167 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
sidebar_tree_on_editing_done ((SidebarTree*) self);
-#line 7066 "Tree.c"
+#line 7077 "Tree.c"
}
static gboolean _sidebar_tree_on_editing_focus_out_gtk_widget_focus_out_event (GtkWidget* _sender, GdkEventFocus* event, gpointer self) {
gboolean result;
result = sidebar_tree_on_editing_focus_out ((SidebarTree*) self, event);
-#line 1166 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1168 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 7075 "Tree.c"
+#line 7086 "Tree.c"
}
static void sidebar_tree_on_editing_started (SidebarTree* self, GtkCellEditable* editable, const gchar* path) {
GtkCellEditable* _tmp0_ = NULL;
-#line 1162 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1164 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_if_fail (SIDEBAR_IS_TREE (self));
-#line 1162 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1164 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_if_fail (GTK_IS_CELL_EDITABLE (editable));
-#line 1162 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1164 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_if_fail (path != NULL);
-#line 1163 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1165 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp0_ = editable;
-#line 1163 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1165 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, gtk_entry_get_type ())) {
-#line 7091 "Tree.c"
+#line 7102 "Tree.c"
GtkCellEditable* _tmp1_ = NULL;
GtkEntry* _tmp2_ = NULL;
GtkEntry* _tmp3_ = NULL;
GtkEntry* _tmp4_ = NULL;
GtkEntry* _tmp5_ = NULL;
-#line 1164 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1166 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp1_ = editable;
-#line 1164 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1166 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_entry_get_type (), GtkEntry));
-#line 1164 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1166 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (self->priv->text_entry);
-#line 1164 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1166 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
self->priv->text_entry = _tmp2_;
-#line 1165 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1167 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp3_ = self->priv->text_entry;
-#line 1165 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1167 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GTK_TYPE_CELL_EDITABLE, GtkCellEditable), "editing-done", (GCallback) _sidebar_tree_on_editing_done_gtk_cell_editable_editing_done, self, 0);
-#line 1166 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1168 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp4_ = self->priv->text_entry;
-#line 1166 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1168 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), "focus-out-event", (GCallback) _sidebar_tree_on_editing_focus_out_gtk_widget_focus_out_event, self, 0);
-#line 1167 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1169 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp5_ = self->priv->text_entry;
-#line 1167 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1169 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_object_set (_tmp5_, "editable", TRUE, NULL);
-#line 7117 "Tree.c"
+#line 7128 "Tree.c"
}
}
@@ -7124,25 +7135,25 @@ static void sidebar_tree_on_editing_canceled (SidebarTree* self) {
guint _tmp2_ = 0U;
GtkEntry* _tmp3_ = NULL;
guint _tmp4_ = 0U;
-#line 1171 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1173 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_if_fail (SIDEBAR_IS_TREE (self));
-#line 1172 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1174 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp0_ = self->priv->text_entry;
-#line 1172 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- g_object_set (_tmp0_, "editable", FALSE, NULL);
#line 1174 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ g_object_set (_tmp0_, "editable", FALSE, NULL);
+#line 1176 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp1_ = self->priv->text_entry;
-#line 1174 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1176 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_signal_parse_name ("editing-done", GTK_TYPE_CELL_EDITABLE, &_tmp2_, NULL, FALSE);
-#line 1174 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1176 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GTK_TYPE_CELL_EDITABLE, GtkCellEditable), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _sidebar_tree_on_editing_done_gtk_cell_editable_editing_done, self);
-#line 1175 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1177 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp3_ = self->priv->text_entry;
-#line 1175 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1177 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_signal_parse_name ("focus-out-event", gtk_widget_get_type (), &_tmp4_, NULL, FALSE);
-#line 1175 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1177 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp4_, 0, NULL, (GCallback) _sidebar_tree_on_editing_focus_out_gtk_widget_focus_out_event, self);
-#line 7146 "Tree.c"
+#line 7157 "Tree.c"
}
@@ -7158,110 +7169,110 @@ static void sidebar_tree_on_editing_done (SidebarTree* self) {
guint _tmp14_ = 0U;
GtkEntry* _tmp15_ = NULL;
guint _tmp16_ = 0U;
-#line 1178 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1180 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_if_fail (SIDEBAR_IS_TREE (self));
-#line 1179 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1181 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp0_ = self->priv->text_entry;
-#line 1179 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- g_object_set (_tmp0_, "editable", FALSE, NULL);
#line 1181 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ g_object_set (_tmp0_, "editable", FALSE, NULL);
+#line 1183 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp1_ = sidebar_tree_get_current_path (self);
-#line 1181 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1183 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp2_ = _tmp1_;
-#line 1181 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1183 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp3_ = sidebar_tree_get_wrapper_at_path (self, _tmp2_);
-#line 1181 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1183 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp4_ = _tmp3_;
-#line 1181 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1183 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (_tmp2_);
-#line 1181 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1183 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
wrapper = _tmp4_;
-#line 1182 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1184 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp5_ = wrapper;
-#line 1182 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1184 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp5_ != NULL) {
-#line 7184 "Tree.c"
+#line 7195 "Tree.c"
SidebarRenameableEntry* renameable = NULL;
SidebarTreeEntryWrapper* _tmp6_ = NULL;
SidebarEntry* _tmp7_ = NULL;
SidebarRenameableEntry* _tmp8_ = NULL;
SidebarRenameableEntry* _tmp9_ = NULL;
-#line 1183 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1185 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp6_ = wrapper;
-#line 1183 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1185 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp7_ = _tmp6_->entry;
-#line 1183 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1185 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp8_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp7_, SIDEBAR_TYPE_RENAMEABLE_ENTRY) ? ((SidebarRenameableEntry*) _tmp7_) : NULL);
-#line 1183 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1185 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
renameable = _tmp8_;
-#line 1184 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1186 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp9_ = renameable;
-#line 1184 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1186 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp9_ != NULL) {
-#line 7202 "Tree.c"
+#line 7213 "Tree.c"
SidebarRenameableEntry* _tmp10_ = NULL;
GtkEntry* _tmp11_ = NULL;
const gchar* _tmp12_ = NULL;
-#line 1185 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1187 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp10_ = renameable;
-#line 1185 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1187 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp11_ = self->priv->text_entry;
-#line 1185 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1187 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp12_ = gtk_entry_get_text (_tmp11_);
-#line 1185 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1187 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
sidebar_renameable_entry_rename (_tmp10_, _tmp12_);
-#line 7214 "Tree.c"
+#line 7225 "Tree.c"
}
-#line 1182 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1184 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (renameable);
-#line 7218 "Tree.c"
+#line 7229 "Tree.c"
}
-#line 1188 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1190 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp13_ = self->priv->text_entry;
-#line 1188 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1190 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_signal_parse_name ("editing-done", GTK_TYPE_CELL_EDITABLE, &_tmp14_, NULL, FALSE);
-#line 1188 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1190 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GTK_TYPE_CELL_EDITABLE, GtkCellEditable), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp14_, 0, NULL, (GCallback) _sidebar_tree_on_editing_done_gtk_cell_editable_editing_done, self);
-#line 1189 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1191 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp15_ = self->priv->text_entry;
-#line 1189 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1191 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_signal_parse_name ("focus-out-event", gtk_widget_get_type (), &_tmp16_, NULL, FALSE);
-#line 1189 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1191 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp16_, 0, NULL, (GCallback) _sidebar_tree_on_editing_focus_out_gtk_widget_focus_out_event, self);
-#line 1178 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1180 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 7234 "Tree.c"
+#line 7245 "Tree.c"
}
static gboolean sidebar_tree_on_editing_focus_out (SidebarTree* self, GdkEventFocus* event) {
gboolean result = FALSE;
-#line 1192 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1194 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_val_if_fail (SIDEBAR_IS_TREE (self), FALSE);
-#line 1192 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1194 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1196 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1198 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = FALSE;
-#line 1196 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1198 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 7248 "Tree.c"
+#line 7259 "Tree.c"
}
static void sidebar_tree_on_new_search (SidebarTree* self) {
SavedSearchDialog* _tmp0_ = NULL;
SavedSearchDialog* _tmp1_ = NULL;
-#line 1199 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1201 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_if_fail (SIDEBAR_IS_TREE (self));
-#line 1200 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1202 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp0_ = saved_search_dialog_new ();
-#line 1200 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1202 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp1_ = _tmp0_;
-#line 1200 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1202 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
saved_search_dialog_show (_tmp1_);
-#line 1200 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1202 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_saved_search_dialog_unref0 (_tmp1_);
-#line 7265 "Tree.c"
+#line 7276 "Tree.c"
}
@@ -7274,37 +7285,37 @@ static void sidebar_tree_on_new_tag (SidebarTree* self) {
LibraryWindow* _tmp4_ = NULL;
Tag* _tmp5_ = NULL;
Tag* _tmp6_ = NULL;
-#line 1203 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1205 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_return_if_fail (SIDEBAR_IS_TREE (self));
-#line 1204 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1206 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp0_ = new_root_tag_command_new ();
-#line 1204 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1206 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
creation_command = _tmp0_;
-#line 1205 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1207 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp1_ = app_window_get_command_manager ();
-#line 1205 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1207 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp2_ = _tmp1_;
-#line 1205 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1207 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
command_manager_execute (_tmp2_, G_TYPE_CHECK_INSTANCE_CAST (creation_command, TYPE_COMMAND, Command));
-#line 1205 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1207 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_command_manager_unref0 (_tmp2_);
-#line 1206 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1208 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp3_ = library_window_get_app ();
-#line 1206 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1208 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp4_ = _tmp3_;
-#line 1206 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1208 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp5_ = new_root_tag_command_get_created_tag (creation_command);
-#line 1206 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1208 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp6_ = _tmp5_;
-#line 1206 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1208 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
library_window_rename_tag_in_sidebar (_tmp4_, _tmp6_);
-#line 1206 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1208 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (_tmp6_);
-#line 1206 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1208 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (_tmp4_);
-#line 1203 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+#line 1205 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (creation_command);
-#line 7308 "Tree.c"
+#line 7319 "Tree.c"
}
@@ -7323,19 +7334,19 @@ static void g_cclosure_user_marshal_VOID__OBJECT_BOOLEAN (GClosure * closure, GV
data1 = closure->data;
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
data2 = param_values->data[0].v_pointer;
-#line 7327 "Tree.c"
+#line 7338 "Tree.c"
} else {
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
data1 = param_values->data[0].v_pointer;
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
data2 = closure->data;
-#line 7333 "Tree.c"
+#line 7344 "Tree.c"
}
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
callback = (GMarshalFunc_VOID__OBJECT_BOOLEAN) (marshal_data ? marshal_data : cc->callback);
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
callback (data1, g_value_get_object (param_values + 1), g_value_get_boolean (param_values + 2), data2);
-#line 7339 "Tree.c"
+#line 7350 "Tree.c"
}
@@ -7354,19 +7365,19 @@ static void g_cclosure_user_marshal_VOID__OBJECT_OBJECT (GClosure * closure, GVa
data1 = closure->data;
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
data2 = param_values->data[0].v_pointer;
-#line 7358 "Tree.c"
+#line 7369 "Tree.c"
} else {
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
data1 = param_values->data[0].v_pointer;
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
data2 = closure->data;
-#line 7364 "Tree.c"
+#line 7375 "Tree.c"
}
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
callback = (GMarshalFunc_VOID__OBJECT_OBJECT) (marshal_data ? marshal_data : cc->callback);
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
callback (data1, g_value_get_object (param_values + 1), g_value_get_object (param_values + 2), data2);
-#line 7370 "Tree.c"
+#line 7381 "Tree.c"
}
@@ -7405,14 +7416,14 @@ static SidebarTreeEntryWrapper* sidebar_tree_entry_wrapper_construct (GType obje
self->row = _tmp4_;
#line 19 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return self;
-#line 7409 "Tree.c"
+#line 7420 "Tree.c"
}
static SidebarTreeEntryWrapper* sidebar_tree_entry_wrapper_new (GtkTreeModel* model, SidebarEntry* entry, GtkTreePath* path) {
#line 19 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return sidebar_tree_entry_wrapper_construct (SIDEBAR_TREE_TYPE_ENTRY_WRAPPER, model, entry, path);
-#line 7416 "Tree.c"
+#line 7427 "Tree.c"
}
@@ -7430,7 +7441,7 @@ static GtkTreePath* sidebar_tree_entry_wrapper_get_path (SidebarTreeEntryWrapper
result = _tmp1_;
#line 25 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 7434 "Tree.c"
+#line 7445 "Tree.c"
}
@@ -7470,7 +7481,7 @@ static void sidebar_tree_entry_wrapper_get_iter (SidebarTreeEntryWrapper* self,
*result = iter;
#line 33 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return;
-#line 7474 "Tree.c"
+#line 7485 "Tree.c"
}
@@ -7479,7 +7490,7 @@ static void sidebar_tree_entry_wrapper_class_init (SidebarTreeEntryWrapperClass
sidebar_tree_entry_wrapper_parent_class = g_type_class_peek_parent (klass);
#line 15 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
G_OBJECT_CLASS (klass)->finalize = sidebar_tree_entry_wrapper_finalize;
-#line 7483 "Tree.c"
+#line 7494 "Tree.c"
}
@@ -7497,7 +7508,7 @@ static void sidebar_tree_entry_wrapper_finalize (GObject* obj) {
_gtk_tree_row_reference_free0 (self->row);
#line 15 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
G_OBJECT_CLASS (sidebar_tree_entry_wrapper_parent_class)->finalize (obj);
-#line 7501 "Tree.c"
+#line 7512 "Tree.c"
}
@@ -7539,14 +7550,14 @@ static SidebarTreeRootWrapper* sidebar_tree_root_wrapper_construct (GType object
self->root_position = _tmp3_;
#line 40 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return self;
-#line 7543 "Tree.c"
+#line 7554 "Tree.c"
}
static SidebarTreeRootWrapper* sidebar_tree_root_wrapper_new (GtkTreeModel* model, SidebarEntry* entry, GtkTreePath* path, gint root_position) {
#line 40 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return sidebar_tree_root_wrapper_construct (SIDEBAR_TREE_TYPE_ROOT_WRAPPER, model, entry, path, root_position);
-#line 7550 "Tree.c"
+#line 7561 "Tree.c"
}
@@ -7555,7 +7566,7 @@ static void sidebar_tree_root_wrapper_class_init (SidebarTreeRootWrapperClass *
sidebar_tree_root_wrapper_parent_class = g_type_class_peek_parent (klass);
#line 37 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
G_OBJECT_CLASS (klass)->finalize = sidebar_tree_root_wrapper_finalize;
-#line 7559 "Tree.c"
+#line 7570 "Tree.c"
}
@@ -7569,7 +7580,7 @@ static void sidebar_tree_root_wrapper_finalize (GObject* obj) {
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SIDEBAR_TREE_TYPE_ROOT_WRAPPER, SidebarTreeRootWrapper);
#line 37 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
G_OBJECT_CLASS (sidebar_tree_root_wrapper_parent_class)->finalize (obj);
-#line 7573 "Tree.c"
+#line 7584 "Tree.c"
}
@@ -7620,7 +7631,7 @@ static void sidebar_tree_class_init (SidebarTreeClass * klass) {
g_signal_new ("page_created", SIDEBAR_TYPE_TREE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, SIDEBAR_TYPE_PAGE_REPRESENTATIVE, TYPE_PAGE);
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_signal_new ("destroying_page", SIDEBAR_TYPE_TREE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, SIDEBAR_TYPE_PAGE_REPRESENTATIVE, TYPE_PAGE);
-#line 7624 "Tree.c"
+#line 7635 "Tree.c"
}
@@ -7667,7 +7678,7 @@ static void sidebar_tree_instance_init (SidebarTree * self) {
self->priv->internal_drag_source_entry = NULL;
#line 77 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
self->priv->old_path_ref = NULL;
-#line 7671 "Tree.c"
+#line 7682 "Tree.c"
}
@@ -7711,7 +7722,7 @@ static void sidebar_tree_finalize (GObject* obj) {
_gtk_tree_row_reference_free0 (self->priv->old_path_ref);
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
G_OBJECT_CLASS (sidebar_tree_parent_class)->finalize (obj);
-#line 7715 "Tree.c"
+#line 7726 "Tree.c"
}