summaryrefslogtreecommitdiff
path: root/src/searches
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-11-25 04:11:58 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-11-25 04:11:58 +0100
commitccff5442184e84d511c2bd25ed3da53e4336a272 (patch)
tree8402a0ba68852e0aec5841ed4519ccfe88352223 /src/searches
parenta1e1833f48ed618273dab9198b547148a89832a7 (diff)
parent4a3f1fdfe1eb3743564adcee35d5513224339260 (diff)
Merge tag 'upstream/0.25.1'
Upstream version 0.25.1
Diffstat (limited to 'src/searches')
-rw-r--r--src/searches/Branch.c596
-rw-r--r--src/searches/Branch.vala36
-rw-r--r--src/searches/SavedSearchDialog.c4006
-rw-r--r--src/searches/SavedSearchDialog.vala15
-rw-r--r--src/searches/SavedSearchPage.c399
-rw-r--r--src/searches/SavedSearchPage.vala40
-rw-r--r--src/searches/SearchBoolean.c52
7 files changed, 2389 insertions, 2755 deletions
diff --git a/src/searches/Branch.c b/src/searches/Branch.c
index 409c89d..c582a55 100644
--- a/src/searches/Branch.c
+++ b/src/searches/Branch.c
@@ -200,17 +200,6 @@ typedef struct _ApplicationClass ApplicationClass;
#define _application_unref0(var) ((var == NULL) ? NULL : (var = (application_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
-#define TYPE_SAVED_SEARCH_DIALOG (saved_search_dialog_get_type ())
-#define SAVED_SEARCH_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SAVED_SEARCH_DIALOG, SavedSearchDialog))
-#define SAVED_SEARCH_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SAVED_SEARCH_DIALOG, SavedSearchDialogClass))
-#define IS_SAVED_SEARCH_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SAVED_SEARCH_DIALOG))
-#define IS_SAVED_SEARCH_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SAVED_SEARCH_DIALOG))
-#define SAVED_SEARCH_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SAVED_SEARCH_DIALOG, SavedSearchDialogClass))
-
-typedef struct _SavedSearchDialog SavedSearchDialog;
-typedef struct _SavedSearchDialogClass SavedSearchDialogClass;
-#define _saved_search_dialog_unref0(var) ((var == NULL) ? NULL : (var = (saved_search_dialog_unref (var), NULL)))
-
#define SIDEBAR_TYPE_SELECTABLE_ENTRY (sidebar_selectable_entry_get_type ())
#define SIDEBAR_SELECTABLE_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SIDEBAR_TYPE_SELECTABLE_ENTRY, SidebarSelectableEntry))
#define SIDEBAR_IS_SELECTABLE_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SIDEBAR_TYPE_SELECTABLE_ENTRY))
@@ -441,7 +430,7 @@ struct _SearchesHeaderClass {
};
struct _SearchesHeaderPrivate {
- GtkUIManager* ui;
+ GtkBuilder* builder;
GtkMenu* context_menu;
};
@@ -555,11 +544,6 @@ enum {
SidebarHeader* sidebar_header_new (const gchar* name, gboolean emphasized);
SidebarHeader* sidebar_header_construct (GType object_type, const gchar* name, gboolean emphasized);
static void searches_header_setup_context_menu (SearchesHeader* self);
-#define TRANSLATABLE "translatable"
-static void searches_header_on_new_search (SearchesHeader* self);
-static void _searches_header_on_new_search_gtk_action_callback (GtkAction* action, gpointer self);
-static void _vala_array_add146 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value);
-GFile* resources_get_ui (const gchar* filename);
void app_window_error_message (const gchar* message, GtkWindow* parent);
gpointer application_ref (gpointer instance);
void application_unref (gpointer instance);
@@ -571,16 +555,6 @@ GType application_get_type (void) G_GNUC_CONST;
Application* application_get_instance (void);
void application_panic (Application* self);
static GtkMenu* searches_header_real_get_sidebar_context_menu (SidebarContextable* base, GdkEventButton* event);
-SavedSearchDialog* saved_search_dialog_new (void);
-SavedSearchDialog* saved_search_dialog_construct (GType object_type);
-gpointer saved_search_dialog_ref (gpointer instance);
-void saved_search_dialog_unref (gpointer instance);
-GParamSpec* param_spec_saved_search_dialog (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void value_set_saved_search_dialog (GValue* value, gpointer v_object);
-void value_take_saved_search_dialog (GValue* value, gpointer v_object);
-gpointer value_get_saved_search_dialog (const GValue* value);
-GType saved_search_dialog_get_type (void) G_GNUC_CONST;
-void saved_search_dialog_show (SavedSearchDialog* self);
static void searches_header_finalize (GObject* obj);
GType sidebar_selectable_entry_get_type (void) G_GNUC_CONST;
GType page_get_type (void) G_GNUC_CONST;
@@ -633,14 +607,14 @@ static void searches_sidebar_entry_finalize (GObject* obj);
static void _searches_branch_on_saved_search_added_saved_search_table_search_added (SavedSearchTable* _sender, SavedSearch* search, gpointer self) {
#line 28 "/home/jens/Source/shotwell/src/searches/Branch.vala"
searches_branch_on_saved_search_added ((SearchesBranch*) self, search);
-#line 637 "Branch.c"
+#line 611 "Branch.c"
}
static void _searches_branch_on_saved_search_removed_saved_search_table_search_removed (SavedSearchTable* _sender, SavedSearch* search, gpointer self) {
#line 29 "/home/jens/Source/shotwell/src/searches/Branch.vala"
searches_branch_on_saved_search_removed ((SearchesBranch*) self, search);
-#line 644 "Branch.c"
+#line 618 "Branch.c"
}
@@ -649,7 +623,7 @@ static gint _searches_branch_comparator_gcompare_func (gconstpointer a, gconstpo
result = searches_branch_comparator ((SidebarEntry*) a, (SidebarEntry*) b);
#line 12 "/home/jens/Source/shotwell/src/searches/Branch.vala"
return result;
-#line 653 "Branch.c"
+#line 627 "Branch.c"
}
@@ -669,7 +643,7 @@ SearchesBranch* searches_branch_construct (GType object_type) {
self = (SearchesBranch*) sidebar_branch_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, SIDEBAR_TYPE_ENTRY, SidebarEntry), (SIDEBAR_BRANCH_OPTIONS_HIDE_IF_EMPTY | SIDEBAR_BRANCH_OPTIONS_AUTO_OPEN_ON_NEW_CHILD) | SIDEBAR_BRANCH_OPTIONS_STARTUP_EXPAND_TO_FIRST_CHILD, _searches_branch_comparator_gcompare_func, NULL);
#line 12 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_g_object_unref0 (_tmp1_);
-#line 673 "Branch.c"
+#line 647 "Branch.c"
{
GeeIterator* _search_it = NULL;
SavedSearchTable* _tmp2_ = NULL;
@@ -698,7 +672,7 @@ SearchesBranch* searches_branch_construct (GType object_type) {
_search_it = _tmp7_;
#line 19 "/home/jens/Source/shotwell/src/searches/Branch.vala"
while (TRUE) {
-#line 702 "Branch.c"
+#line 676 "Branch.c"
GeeIterator* _tmp8_ = NULL;
gboolean _tmp9_ = FALSE;
SavedSearch* search = NULL;
@@ -713,7 +687,7 @@ SearchesBranch* searches_branch_construct (GType object_type) {
if (!_tmp9_) {
#line 19 "/home/jens/Source/shotwell/src/searches/Branch.vala"
break;
-#line 717 "Branch.c"
+#line 691 "Branch.c"
}
#line 19 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp10_ = _search_it;
@@ -727,11 +701,11 @@ SearchesBranch* searches_branch_construct (GType object_type) {
searches_branch_on_saved_search_added (self, _tmp12_);
#line 19 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_g_object_unref0 (search);
-#line 731 "Branch.c"
+#line 705 "Branch.c"
}
#line 19 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_g_object_unref0 (_search_it);
-#line 735 "Branch.c"
+#line 709 "Branch.c"
}
#line 23 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp13_ = saved_search_table_get_instance ();
@@ -751,14 +725,14 @@ SearchesBranch* searches_branch_construct (GType object_type) {
_saved_search_table_unref0 (_tmp16_);
#line 11 "/home/jens/Source/shotwell/src/searches/Branch.vala"
return self;
-#line 755 "Branch.c"
+#line 729 "Branch.c"
}
SearchesBranch* searches_branch_new (void) {
#line 11 "/home/jens/Source/shotwell/src/searches/Branch.vala"
return searches_branch_construct (SEARCHES_TYPE_BRANCH);
-#line 762 "Branch.c"
+#line 736 "Branch.c"
}
@@ -781,7 +755,7 @@ SearchesSidebarEntry* searches_branch_get_entry_for_saved_search (SearchesBranch
result = (SearchesSidebarEntry*) _tmp2_;
#line 33 "/home/jens/Source/shotwell/src/searches/Branch.vala"
return result;
-#line 785 "Branch.c"
+#line 759 "Branch.c"
}
@@ -808,7 +782,7 @@ static gint searches_branch_comparator (SidebarEntry* a, SidebarEntry* b) {
result = 0;
#line 38 "/home/jens/Source/shotwell/src/searches/Branch.vala"
return result;
-#line 812 "Branch.c"
+#line 786 "Branch.c"
}
#line 40 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp2_ = a;
@@ -824,7 +798,7 @@ static gint searches_branch_comparator (SidebarEntry* a, SidebarEntry* b) {
result = _tmp6_;
#line 40 "/home/jens/Source/shotwell/src/searches/Branch.vala"
return result;
-#line 828 "Branch.c"
+#line 802 "Branch.c"
}
@@ -864,7 +838,7 @@ static void searches_branch_on_saved_search_added (SearchesBranch* self, SavedSe
_g_object_unref0 (_tmp5_);
#line 44 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_g_object_unref0 (entry);
-#line 868 "Branch.c"
+#line 842 "Branch.c"
}
@@ -907,7 +881,7 @@ static void searches_branch_on_saved_search_removed (SearchesBranch* self, Saved
sidebar_branch_prune (G_TYPE_CHECK_INSTANCE_CAST (self, SIDEBAR_TYPE_BRANCH, SidebarBranch), G_TYPE_CHECK_INSTANCE_CAST (entry, SIDEBAR_TYPE_ENTRY, SidebarEntry));
#line 51 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_g_object_unref0 (entry);
-#line 911 "Branch.c"
+#line 885 "Branch.c"
}
@@ -918,7 +892,7 @@ static void searches_branch_class_init (SearchesBranchClass * klass) {
g_type_class_add_private (klass, sizeof (SearchesBranchPrivate));
#line 7 "/home/jens/Source/shotwell/src/searches/Branch.vala"
G_OBJECT_CLASS (klass)->finalize = searches_branch_finalize;
-#line 922 "Branch.c"
+#line 896 "Branch.c"
}
@@ -930,7 +904,7 @@ static void searches_branch_instance_init (SearchesBranch * self) {
_tmp0_ = gee_hash_map_new (TYPE_SAVED_SEARCH, (GBoxedCopyFunc) g_object_ref, g_object_unref, SEARCHES_TYPE_SIDEBAR_ENTRY, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#line 8 "/home/jens/Source/shotwell/src/searches/Branch.vala"
self->priv->entry_map = _tmp0_;
-#line 934 "Branch.c"
+#line 908 "Branch.c"
}
@@ -968,7 +942,7 @@ static void searches_branch_finalize (GObject* obj) {
_g_object_unref0 (self->priv->entry_map);
#line 7 "/home/jens/Source/shotwell/src/searches/Branch.vala"
G_OBJECT_CLASS (searches_branch_parent_class)->finalize (obj);
-#line 972 "Branch.c"
+#line 946 "Branch.c"
}
@@ -995,228 +969,124 @@ SearchesHeader* searches_header_construct (GType object_type) {
searches_header_setup_context_menu (self);
#line 67 "/home/jens/Source/shotwell/src/searches/Branch.vala"
return self;
-#line 999 "Branch.c"
+#line 973 "Branch.c"
}
SearchesHeader* searches_header_new (void) {
#line 67 "/home/jens/Source/shotwell/src/searches/Branch.vala"
return searches_header_construct (SEARCHES_TYPE_HEADER);
-#line 1006 "Branch.c"
-}
-
-
-static void _searches_header_on_new_search_gtk_action_callback (GtkAction* action, gpointer self) {
-#line 76 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- searches_header_on_new_search ((SearchesHeader*) self);
-#line 1013 "Branch.c"
-}
-
-
-static void _vala_array_add146 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value) {
-#line 78 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- if ((*length) == (*size)) {
-#line 78 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- *size = (*size) ? (2 * (*size)) : 4;
-#line 78 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- *array = g_renew (GtkActionEntry, *array, *size);
-#line 1024 "Branch.c"
- }
-#line 78 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- (*array)[(*length)++] = *value;
-#line 1028 "Branch.c"
+#line 980 "Branch.c"
}
static gpointer _g_object_ref0 (gpointer self) {
-#line 91 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 77 "/home/jens/Source/shotwell/src/searches/Branch.vala"
return self ? g_object_ref (self) : NULL;
-#line 1035 "Branch.c"
+#line 987 "Branch.c"
}
static void searches_header_setup_context_menu (SearchesHeader* self) {
- GtkActionGroup* group = NULL;
- GtkActionGroup* _tmp0_ = NULL;
- GtkActionEntry* actions = NULL;
- GtkActionEntry* _tmp1_ = NULL;
- gint actions_length1 = 0;
- gint _actions_size_ = 0;
- GtkActionEntry new_search = {0};
- GtkActionEntry _tmp2_ = {0};
- const gchar* _tmp3_ = NULL;
- GtkActionEntry* _tmp4_ = NULL;
- gint _tmp4__length1 = 0;
- GtkActionEntry _tmp5_ = {0};
- GtkActionEntry* _tmp6_ = NULL;
- gint _tmp6__length1 = 0;
- GtkUIManager* _tmp7_ = NULL;
- GFile* ui_file = NULL;
- GFile* _tmp8_ = NULL;
- GtkUIManager* _tmp20_ = NULL;
- GtkWidget* _tmp21_ = NULL;
- GtkMenu* _tmp22_ = NULL;
- GtkUIManager* _tmp23_ = NULL;
+ GtkBuilder* _tmp0_ = NULL;
GError * _inner_error_ = NULL;
#line 72 "/home/jens/Source/shotwell/src/searches/Branch.vala"
g_return_if_fail (SEARCHES_IS_HEADER (self));
#line 73 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp0_ = gtk_action_group_new ("SidebarDefault");
+ _tmp0_ = gtk_builder_new ();
#line 73 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- group = _tmp0_;
-#line 74 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp1_ = g_new0 (GtkActionEntry, 0);
-#line 74 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- actions = _tmp1_;
-#line 74 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- actions_length1 = 0;
-#line 74 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _actions_size_ = actions_length1;
-#line 76 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp2_.name = "CommonNewSearch";
-#line 76 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp2_.stock_id = NULL;
-#line 76 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp2_.label = TRANSLATABLE;
-#line 76 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp2_.accelerator = NULL;
-#line 76 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp2_.tooltip = NULL;
-#line 76 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp2_.callback = (GCallback) _searches_header_on_new_search_gtk_action_callback;
-#line 76 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- new_search = _tmp2_;
+ _g_object_unref0 (self->priv->builder);
+#line 73 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ self->priv->builder = _tmp0_;
+#line 1002 "Branch.c"
+ {
+ GtkBuilder* _tmp1_ = NULL;
+ GMenuModel* model = NULL;
+ GtkBuilder* _tmp2_ = NULL;
+ GObject* _tmp3_ = NULL;
+ GMenuModel* _tmp4_ = NULL;
+ GMenuModel* _tmp5_ = NULL;
+ GtkMenu* _tmp6_ = NULL;
+#line 75 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ _tmp1_ = self->priv->builder;
+#line 75 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ gtk_builder_add_from_resource (_tmp1_, "/org/gnome/Shotwell/search_sidebar_context.ui", &_inner_error_);
+#line 75 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ if (G_UNLIKELY (_inner_error_ != NULL)) {
+#line 1017 "Branch.c"
+ goto __catch73_g_error;
+ }
+#line 77 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ _tmp2_ = self->priv->builder;
+#line 77 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ _tmp3_ = gtk_builder_get_object (_tmp2_, "popup-menu");
#line 77 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp3_ = _ ("Ne_w Saved Search…");
+ _tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, g_menu_model_get_type ()) ? ((GMenuModel*) _tmp3_) : NULL);
#line 77 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- new_search.label = _tmp3_;
+ model = _tmp4_;
#line 78 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp4_ = actions;
+ _tmp5_ = model;
#line 78 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp4__length1 = actions_length1;
+ _tmp6_ = (GtkMenu*) gtk_menu_new_from_model (_tmp5_);
#line 78 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp5_ = new_search;
+ g_object_ref_sink (_tmp6_);
#line 78 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _vala_array_add146 (&actions, &actions_length1, &_actions_size_, &_tmp5_);
-#line 80 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp6_ = actions;
-#line 80 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp6__length1 = actions_length1;
-#line 80 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- gtk_action_group_add_actions (group, _tmp6_, _tmp6__length1, self);
-#line 81 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp7_ = self->priv->ui;
-#line 81 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- gtk_ui_manager_insert_action_group (_tmp7_, group, 0);
-#line 83 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp8_ = resources_get_ui ("search_sidebar_context.ui");
-#line 83 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- ui_file = _tmp8_;
-#line 1116 "Branch.c"
- {
- GtkUIManager* _tmp9_ = NULL;
- gchar* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
-#line 85 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp9_ = self->priv->ui;
-#line 85 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp10_ = g_file_get_path (ui_file);
-#line 85 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp11_ = _tmp10_;
-#line 85 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- gtk_ui_manager_add_ui_from_file (_tmp9_, _tmp11_, &_inner_error_);
-#line 85 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _g_free0 (_tmp11_);
-#line 85 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1133 "Branch.c"
- goto __catch74_g_error;
- }
+ _g_object_unref0 (self->priv->context_menu);
+#line 78 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ self->priv->context_menu = _tmp6_;
+#line 74 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ _g_object_unref0 (model);
+#line 1040 "Branch.c"
}
- goto __finally74;
- __catch74_g_error:
+ goto __finally73;
+ __catch73_g_error:
{
- GError* err = NULL;
- gchar* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
- GError* _tmp14_ = NULL;
- const gchar* _tmp15_ = NULL;
- gchar* _tmp16_ = NULL;
- gchar* _tmp17_ = NULL;
- Application* _tmp18_ = NULL;
- Application* _tmp19_ = NULL;
-#line 84 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- err = _inner_error_;
-#line 84 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ GError* _error_ = NULL;
+ GError* _tmp7_ = NULL;
+ const gchar* _tmp8_ = NULL;
+ gchar* _tmp9_ = NULL;
+ gchar* _tmp10_ = NULL;
+ Application* _tmp11_ = NULL;
+ Application* _tmp12_ = NULL;
+#line 74 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ _error_ = _inner_error_;
+#line 74 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_inner_error_ = NULL;
-#line 87 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp12_ = g_file_get_path (ui_file);
-#line 87 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp13_ = _tmp12_;
-#line 87 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp14_ = err;
-#line 87 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp15_ = _tmp14_->message;
-#line 87 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp16_ = g_strdup_printf ("Error loading UI file %s: %s", _tmp13_, _tmp15_);
-#line 87 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp17_ = _tmp16_;
-#line 87 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- app_window_error_message (_tmp17_, NULL);
-#line 87 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _g_free0 (_tmp17_);
-#line 87 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _g_free0 (_tmp13_);
-#line 89 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp18_ = application_get_instance ();
-#line 89 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp19_ = _tmp18_;
-#line 89 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- application_panic (_tmp19_);
-#line 89 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _application_unref0 (_tmp19_);
-#line 84 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _g_error_free0 (err);
-#line 1181 "Branch.c"
+#line 80 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ _tmp7_ = _error_;
+#line 80 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ _tmp8_ = _tmp7_->message;
+#line 80 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ _tmp9_ = g_strdup_printf ("Error loading UI resource: %s", _tmp8_);
+#line 80 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ _tmp10_ = _tmp9_;
+#line 80 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ app_window_error_message (_tmp10_, NULL);
+#line 80 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ _g_free0 (_tmp10_);
+#line 82 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ _tmp11_ = application_get_instance ();
+#line 82 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ _tmp12_ = _tmp11_;
+#line 82 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ application_panic (_tmp12_);
+#line 82 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ _application_unref0 (_tmp12_);
+#line 74 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ _g_error_free0 (_error_);
+#line 1078 "Branch.c"
}
- __finally74:
-#line 84 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+ __finally73:
+#line 74 "/home/jens/Source/shotwell/src/searches/Branch.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 84 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _g_object_unref0 (ui_file);
-#line 84 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- actions = (g_free (actions), NULL);
-#line 84 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _g_object_unref0 (group);
-#line 84 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 74 "/home/jens/Source/shotwell/src/searches/Branch.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 84 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 74 "/home/jens/Source/shotwell/src/searches/Branch.vala"
g_clear_error (&_inner_error_);
-#line 84 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 74 "/home/jens/Source/shotwell/src/searches/Branch.vala"
return;
-#line 1198 "Branch.c"
+#line 1089 "Branch.c"
}
-#line 91 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp20_ = self->priv->ui;
-#line 91 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp21_ = gtk_ui_manager_get_widget (_tmp20_, "/SidebarSearchContextMenu");
-#line 91 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp22_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_menu_get_type (), GtkMenu));
-#line 91 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _g_object_unref0 (self->priv->context_menu);
-#line 91 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- self->priv->context_menu = _tmp22_;
-#line 93 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp23_ = self->priv->ui;
-#line 93 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- gtk_ui_manager_ensure_update (_tmp23_);
-#line 72 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _g_object_unref0 (ui_file);
-#line 72 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- actions = (g_free (actions), NULL);
-#line 72 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _g_object_unref0 (group);
-#line 1220 "Branch.c"
}
@@ -1225,34 +1095,17 @@ static GtkMenu* searches_header_real_get_sidebar_context_menu (SidebarContextabl
GtkMenu* result = NULL;
GtkMenu* _tmp0_ = NULL;
GtkMenu* _tmp1_ = NULL;
-#line 96 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 86 "/home/jens/Source/shotwell/src/searches/Branch.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SEARCHES_TYPE_HEADER, SearchesHeader);
-#line 97 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 87 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp0_ = self->priv->context_menu;
-#line 97 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 87 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 97 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 87 "/home/jens/Source/shotwell/src/searches/Branch.vala"
result = _tmp1_;
-#line 97 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 87 "/home/jens/Source/shotwell/src/searches/Branch.vala"
return result;
-#line 1239 "Branch.c"
-}
-
-
-static void searches_header_on_new_search (SearchesHeader* self) {
- SavedSearchDialog* _tmp0_ = NULL;
- SavedSearchDialog* _tmp1_ = NULL;
-#line 100 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- g_return_if_fail (SEARCHES_IS_HEADER (self));
-#line 101 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp0_ = saved_search_dialog_new ();
-#line 101 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp1_ = _tmp0_;
-#line 101 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- saved_search_dialog_show (_tmp1_);
-#line 101 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _saved_search_dialog_unref0 (_tmp1_);
-#line 1256 "Branch.c"
+#line 1109 "Branch.c"
}
@@ -1263,7 +1116,7 @@ static void searches_header_class_init (SearchesHeaderClass * klass) {
g_type_class_add_private (klass, sizeof (SearchesHeaderPrivate));
#line 63 "/home/jens/Source/shotwell/src/searches/Branch.vala"
G_OBJECT_CLASS (klass)->finalize = searches_header_finalize;
-#line 1267 "Branch.c"
+#line 1120 "Branch.c"
}
@@ -1272,21 +1125,16 @@ static void searches_header_sidebar_contextable_interface_init (SidebarContextab
searches_header_sidebar_contextable_parent_iface = g_type_interface_peek_parent (iface);
#line 63 "/home/jens/Source/shotwell/src/searches/Branch.vala"
iface->get_sidebar_context_menu = (GtkMenu* (*)(SidebarContextable*, GdkEventButton*)) searches_header_real_get_sidebar_context_menu;
-#line 1276 "Branch.c"
+#line 1129 "Branch.c"
}
static void searches_header_instance_init (SearchesHeader * self) {
- GtkUIManager* _tmp0_ = NULL;
#line 63 "/home/jens/Source/shotwell/src/searches/Branch.vala"
self->priv = SEARCHES_HEADER_GET_PRIVATE (self);
-#line 64 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp0_ = gtk_ui_manager_new ();
-#line 64 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- self->priv->ui = _tmp0_;
#line 65 "/home/jens/Source/shotwell/src/searches/Branch.vala"
self->priv->context_menu = NULL;
-#line 1290 "Branch.c"
+#line 1138 "Branch.c"
}
@@ -1295,12 +1143,12 @@ static void searches_header_finalize (GObject* obj) {
#line 63 "/home/jens/Source/shotwell/src/searches/Branch.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SEARCHES_TYPE_HEADER, SearchesHeader);
#line 64 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _g_object_unref0 (self->priv->ui);
+ _g_object_unref0 (self->priv->builder);
#line 65 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_g_object_unref0 (self->priv->context_menu);
#line 63 "/home/jens/Source/shotwell/src/searches/Branch.vala"
G_OBJECT_CLASS (searches_header_parent_class)->finalize (obj);
-#line 1304 "Branch.c"
+#line 1152 "Branch.c"
}
@@ -1322,28 +1170,28 @@ SearchesSidebarEntry* searches_sidebar_entry_construct (GType object_type, Saved
SearchesSidebarEntry * self = NULL;
SavedSearch* _tmp0_ = NULL;
SavedSearch* _tmp1_ = NULL;
-#line 111 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 97 "/home/jens/Source/shotwell/src/searches/Branch.vala"
g_return_val_if_fail (IS_SAVED_SEARCH (search), NULL);
-#line 111 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 97 "/home/jens/Source/shotwell/src/searches/Branch.vala"
self = (SearchesSidebarEntry*) sidebar_simple_page_entry_construct (object_type);
-#line 112 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 98 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp0_ = search;
-#line 112 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 98 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 112 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 98 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_g_object_unref0 (self->priv->search);
-#line 112 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 98 "/home/jens/Source/shotwell/src/searches/Branch.vala"
self->priv->search = _tmp1_;
-#line 111 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 97 "/home/jens/Source/shotwell/src/searches/Branch.vala"
return self;
-#line 1340 "Branch.c"
+#line 1188 "Branch.c"
}
SearchesSidebarEntry* searches_sidebar_entry_new (SavedSearch* search) {
-#line 111 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 97 "/home/jens/Source/shotwell/src/searches/Branch.vala"
return searches_sidebar_entry_construct (SEARCHES_TYPE_SIDEBAR_ENTRY, search);
-#line 1347 "Branch.c"
+#line 1195 "Branch.c"
}
@@ -1359,17 +1207,17 @@ SavedSearch* searches_sidebar_entry_for_saved_search (SearchesSidebarEntry* self
SavedSearch* result = NULL;
SavedSearch* _tmp0_ = NULL;
SavedSearch* _tmp1_ = NULL;
-#line 121 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 107 "/home/jens/Source/shotwell/src/searches/Branch.vala"
g_return_val_if_fail (SEARCHES_IS_SIDEBAR_ENTRY (self), NULL);
-#line 122 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 108 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp0_ = self->priv->search;
-#line 122 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 108 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 122 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 108 "/home/jens/Source/shotwell/src/searches/Branch.vala"
result = _tmp1_;
-#line 122 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 108 "/home/jens/Source/shotwell/src/searches/Branch.vala"
return result;
-#line 1373 "Branch.c"
+#line 1221 "Branch.c"
}
@@ -1378,17 +1226,17 @@ static gchar* searches_sidebar_entry_real_get_sidebar_name (SidebarSimplePageEnt
gchar* result = NULL;
SavedSearch* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 125 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 111 "/home/jens/Source/shotwell/src/searches/Branch.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SEARCHES_TYPE_SIDEBAR_ENTRY, SearchesSidebarEntry);
-#line 126 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 112 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp0_ = self->priv->search;
-#line 126 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 112 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp1_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_OBJECT, DataObject));
-#line 126 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 112 "/home/jens/Source/shotwell/src/searches/Branch.vala"
result = _tmp1_;
-#line 126 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 112 "/home/jens/Source/shotwell/src/searches/Branch.vala"
return result;
-#line 1392 "Branch.c"
+#line 1240 "Branch.c"
}
@@ -1397,17 +1245,17 @@ static gchar* searches_sidebar_entry_real_get_sidebar_icon (SidebarSimplePageEnt
gchar* result = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 129 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 115 "/home/jens/Source/shotwell/src/searches/Branch.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SEARCHES_TYPE_SIDEBAR_ENTRY, SearchesSidebarEntry);
-#line 130 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 116 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp0_ = searches_sidebar_entry_single_search_icon;
-#line 130 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 116 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 130 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 116 "/home/jens/Source/shotwell/src/searches/Branch.vala"
result = _tmp1_;
-#line 130 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 116 "/home/jens/Source/shotwell/src/searches/Branch.vala"
return result;
-#line 1411 "Branch.c"
+#line 1259 "Branch.c"
}
@@ -1416,32 +1264,32 @@ static Page* searches_sidebar_entry_real_create_page (SidebarSimplePageEntry* ba
Page* result = NULL;
SavedSearch* _tmp0_ = NULL;
SavedSearchPage* _tmp1_ = NULL;
-#line 133 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 119 "/home/jens/Source/shotwell/src/searches/Branch.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SEARCHES_TYPE_SIDEBAR_ENTRY, SearchesSidebarEntry);
-#line 134 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 120 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp0_ = self->priv->search;
-#line 134 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 120 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp1_ = saved_search_page_new (_tmp0_);
-#line 134 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 120 "/home/jens/Source/shotwell/src/searches/Branch.vala"
g_object_ref_sink (_tmp1_);
-#line 134 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 120 "/home/jens/Source/shotwell/src/searches/Branch.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_PAGE, Page);
-#line 134 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 120 "/home/jens/Source/shotwell/src/searches/Branch.vala"
return result;
-#line 1432 "Branch.c"
+#line 1280 "Branch.c"
}
static gboolean searches_sidebar_entry_real_is_user_renameable (SidebarRenameableEntry* base) {
SearchesSidebarEntry * self;
gboolean result = FALSE;
-#line 137 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 123 "/home/jens/Source/shotwell/src/searches/Branch.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SEARCHES_TYPE_SIDEBAR_ENTRY, SearchesSidebarEntry);
-#line 138 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 124 "/home/jens/Source/shotwell/src/searches/Branch.vala"
result = TRUE;
-#line 138 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 124 "/home/jens/Source/shotwell/src/searches/Branch.vala"
return result;
-#line 1445 "Branch.c"
+#line 1293 "Branch.c"
}
@@ -1452,85 +1300,85 @@ static void searches_sidebar_entry_real_rename (SidebarRenameableEntry* base, co
const gchar* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
gboolean _tmp4_ = FALSE;
-#line 141 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 127 "/home/jens/Source/shotwell/src/searches/Branch.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SEARCHES_TYPE_SIDEBAR_ENTRY, SearchesSidebarEntry);
-#line 141 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 127 "/home/jens/Source/shotwell/src/searches/Branch.vala"
g_return_if_fail (new_name != NULL);
-#line 142 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 128 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp0_ = saved_search_table_get_instance ();
-#line 142 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 128 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp1_ = _tmp0_;
-#line 142 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 128 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp2_ = new_name;
-#line 142 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 128 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp3_ = saved_search_table_exists (_tmp1_, _tmp2_);
-#line 142 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 128 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp4_ = !_tmp3_;
-#line 142 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 128 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_saved_search_table_unref0 (_tmp1_);
-#line 142 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 128 "/home/jens/Source/shotwell/src/searches/Branch.vala"
if (_tmp4_) {
-#line 1474 "Branch.c"
+#line 1322 "Branch.c"
CommandManager* _tmp5_ = NULL;
CommandManager* _tmp6_ = NULL;
SavedSearch* _tmp7_ = NULL;
const gchar* _tmp8_ = NULL;
RenameSavedSearchCommand* _tmp9_ = NULL;
RenameSavedSearchCommand* _tmp10_ = NULL;
-#line 143 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 129 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp5_ = app_window_get_command_manager ();
-#line 143 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 129 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp6_ = _tmp5_;
-#line 143 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 129 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp7_ = self->priv->search;
-#line 143 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 129 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp8_ = new_name;
-#line 143 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 129 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp9_ = rename_saved_search_command_new (_tmp7_, _tmp8_);
-#line 143 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 129 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp10_ = _tmp9_;
-#line 143 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 129 "/home/jens/Source/shotwell/src/searches/Branch.vala"
command_manager_execute (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_COMMAND, Command));
-#line 143 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 129 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_g_object_unref0 (_tmp10_);
-#line 143 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 129 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_command_manager_unref0 (_tmp6_);
-#line 1499 "Branch.c"
+#line 1347 "Branch.c"
} else {
const gchar* _tmp11_ = NULL;
SavedSearch* _tmp12_ = NULL;
gchar* _tmp13_ = NULL;
gchar* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
-#line 144 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 130 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp11_ = new_name;
-#line 144 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 130 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp12_ = self->priv->search;
-#line 144 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 130 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp13_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_DATA_OBJECT, DataObject));
-#line 144 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 130 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp14_ = _tmp13_;
-#line 144 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 130 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp15_ = g_strcmp0 (_tmp11_, _tmp14_) != 0;
-#line 144 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 130 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_g_free0 (_tmp14_);
-#line 144 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 130 "/home/jens/Source/shotwell/src/searches/Branch.vala"
if (_tmp15_) {
-#line 1520 "Branch.c"
+#line 1368 "Branch.c"
const gchar* _tmp16_ = NULL;
gchar* _tmp17_ = NULL;
gchar* _tmp18_ = NULL;
-#line 145 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 131 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp16_ = new_name;
-#line 145 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 131 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp17_ = resources_rename_search_exists_message (_tmp16_);
-#line 145 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 131 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp18_ = _tmp17_;
-#line 145 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 131 "/home/jens/Source/shotwell/src/searches/Branch.vala"
app_window_error_message (_tmp18_, NULL);
-#line 145 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 131 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_g_free0 (_tmp18_);
-#line 1534 "Branch.c"
+#line 1382 "Branch.c"
}
}
}
@@ -1540,99 +1388,99 @@ static void searches_sidebar_entry_real_destroy_source (SidebarDestroyableEntry*
SearchesSidebarEntry * self;
SavedSearch* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 148 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 134 "/home/jens/Source/shotwell/src/searches/Branch.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SEARCHES_TYPE_SIDEBAR_ENTRY, SearchesSidebarEntry);
-#line 149 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 135 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp0_ = self->priv->search;
-#line 149 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 135 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp1_ = dialogs_confirm_delete_saved_search (_tmp0_);
-#line 149 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 135 "/home/jens/Source/shotwell/src/searches/Branch.vala"
if (_tmp1_) {
-#line 1552 "Branch.c"
+#line 1400 "Branch.c"
CommandManager* _tmp2_ = NULL;
CommandManager* _tmp3_ = NULL;
SavedSearch* _tmp4_ = NULL;
DeleteSavedSearchCommand* _tmp5_ = NULL;
DeleteSavedSearchCommand* _tmp6_ = NULL;
-#line 150 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp2_ = app_window_get_command_manager ();
-#line 150 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp3_ = _tmp2_;
-#line 150 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp4_ = self->priv->search;
-#line 150 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp5_ = delete_saved_search_command_new (_tmp4_);
-#line 150 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp6_ = _tmp5_;
-#line 150 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/Branch.vala"
command_manager_execute (_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_COMMAND, Command));
-#line 150 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_g_object_unref0 (_tmp6_);
-#line 150 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_command_manager_unref0 (_tmp3_);
-#line 1574 "Branch.c"
+#line 1422 "Branch.c"
}
}
static void searches_sidebar_entry_class_init (SearchesSidebarEntryClass * klass) {
gchar* _tmp0_ = NULL;
-#line 105 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 91 "/home/jens/Source/shotwell/src/searches/Branch.vala"
searches_sidebar_entry_parent_class = g_type_class_peek_parent (klass);
-#line 105 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 91 "/home/jens/Source/shotwell/src/searches/Branch.vala"
g_type_class_add_private (klass, sizeof (SearchesSidebarEntryPrivate));
-#line 105 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 91 "/home/jens/Source/shotwell/src/searches/Branch.vala"
((SidebarSimplePageEntryClass *) klass)->get_sidebar_name = searches_sidebar_entry_real_get_sidebar_name;
-#line 105 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 91 "/home/jens/Source/shotwell/src/searches/Branch.vala"
((SidebarSimplePageEntryClass *) klass)->get_sidebar_icon = searches_sidebar_entry_real_get_sidebar_icon;
-#line 105 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 91 "/home/jens/Source/shotwell/src/searches/Branch.vala"
((SidebarSimplePageEntryClass *) klass)->create_page = searches_sidebar_entry_real_create_page;
-#line 105 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 91 "/home/jens/Source/shotwell/src/searches/Branch.vala"
G_OBJECT_CLASS (klass)->finalize = searches_sidebar_entry_finalize;
-#line 107 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 93 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_tmp0_ = g_strdup ("find");
-#line 107 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 93 "/home/jens/Source/shotwell/src/searches/Branch.vala"
searches_sidebar_entry_single_search_icon = _tmp0_;
-#line 1597 "Branch.c"
+#line 1445 "Branch.c"
}
static void searches_sidebar_entry_sidebar_renameable_entry_interface_init (SidebarRenameableEntryIface * iface) {
-#line 105 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 91 "/home/jens/Source/shotwell/src/searches/Branch.vala"
searches_sidebar_entry_sidebar_renameable_entry_parent_iface = g_type_interface_peek_parent (iface);
-#line 105 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 91 "/home/jens/Source/shotwell/src/searches/Branch.vala"
iface->is_user_renameable = (gboolean (*)(SidebarRenameableEntry*)) searches_sidebar_entry_real_is_user_renameable;
-#line 105 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 91 "/home/jens/Source/shotwell/src/searches/Branch.vala"
iface->rename = (void (*)(SidebarRenameableEntry*, const gchar*)) searches_sidebar_entry_real_rename;
-#line 1608 "Branch.c"
+#line 1456 "Branch.c"
}
static void searches_sidebar_entry_sidebar_destroyable_entry_interface_init (SidebarDestroyableEntryIface * iface) {
-#line 105 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 91 "/home/jens/Source/shotwell/src/searches/Branch.vala"
searches_sidebar_entry_sidebar_destroyable_entry_parent_iface = g_type_interface_peek_parent (iface);
-#line 105 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 91 "/home/jens/Source/shotwell/src/searches/Branch.vala"
iface->destroy_source = (void (*)(SidebarDestroyableEntry*)) searches_sidebar_entry_real_destroy_source;
-#line 1617 "Branch.c"
+#line 1465 "Branch.c"
}
static void searches_sidebar_entry_instance_init (SearchesSidebarEntry * self) {
-#line 105 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 91 "/home/jens/Source/shotwell/src/searches/Branch.vala"
self->priv = SEARCHES_SIDEBAR_ENTRY_GET_PRIVATE (self);
-#line 1624 "Branch.c"
+#line 1472 "Branch.c"
}
static void searches_sidebar_entry_finalize (GObject* obj) {
SearchesSidebarEntry * self;
-#line 105 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 91 "/home/jens/Source/shotwell/src/searches/Branch.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SEARCHES_TYPE_SIDEBAR_ENTRY, SearchesSidebarEntry);
-#line 109 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 95 "/home/jens/Source/shotwell/src/searches/Branch.vala"
_g_object_unref0 (self->priv->search);
-#line 105 "/home/jens/Source/shotwell/src/searches/Branch.vala"
+#line 91 "/home/jens/Source/shotwell/src/searches/Branch.vala"
G_OBJECT_CLASS (searches_sidebar_entry_parent_class)->finalize (obj);
-#line 1636 "Branch.c"
+#line 1484 "Branch.c"
}
diff --git a/src/searches/Branch.vala b/src/searches/Branch.vala
index 0c86733..f557baa 100644
--- a/src/searches/Branch.vala
+++ b/src/searches/Branch.vala
@@ -61,45 +61,31 @@ public class Searches.Branch : Sidebar.Branch {
}
public class Searches.Header : Sidebar.Header, Sidebar.Contextable {
- private Gtk.UIManager ui = new Gtk.UIManager();
+ private Gtk.Builder builder;
private Gtk.Menu? context_menu = null;
public Header() {
base (_("Saved Searches"));
setup_context_menu();
}
-
+
private void setup_context_menu() {
- Gtk.ActionGroup group = new Gtk.ActionGroup("SidebarDefault");
- Gtk.ActionEntry[] actions = new Gtk.ActionEntry[0];
-
- Gtk.ActionEntry new_search = { "CommonNewSearch", null, TRANSLATABLE, null, null, on_new_search };
- new_search.label = _("Ne_w Saved Search…");
- actions += new_search;
-
- group.add_actions(actions, this);
- ui.insert_action_group(group, 0);
-
- File ui_file = Resources.get_ui("search_sidebar_context.ui");
+ this.builder = new Gtk.Builder ();
try {
- ui.add_ui_from_file(ui_file.get_path());
- } catch (Error err) {
- AppWindow.error_message("Error loading UI file %s: %s".printf(
- ui_file.get_path(), err.message));
+ this.builder.add_from_resource
+ ("/org/gnome/Shotwell/search_sidebar_context.ui");
+ var model = builder.get_object ("popup-menu") as GLib.MenuModel;
+ this.context_menu = new Gtk.Menu.from_model (model);
+ } catch (Error error) {
+ AppWindow.error_message("Error loading UI resource: %s".printf(
+ error.message));
Application.get_instance().panic();
}
- context_menu = (Gtk.Menu) ui.get_widget("/SidebarSearchContextMenu");
-
- ui.ensure_update();
}
-
+
public Gtk.Menu? get_sidebar_context_menu(Gdk.EventButton? event) {
return context_menu;
}
-
- private void on_new_search() {
- (new SavedSearchDialog()).show();
- }
}
public class Searches.SidebarEntry : Sidebar.SimplePageEntry, Sidebar.RenameableEntry,
diff --git a/src/searches/SavedSearchDialog.c b/src/searches/SavedSearchDialog.c
index 10c261e..6fa32e2 100644
--- a/src/searches/SavedSearchDialog.c
+++ b/src/searches/SavedSearchDialog.c
@@ -16,8 +16,6 @@
#include <string.h>
#include <glib/gi18n-lib.h>
#include <gdk/gdk.h>
-#include <float.h>
-#include <math.h>
#include <gobject/gvaluecollector.h>
@@ -345,7 +343,6 @@ typedef enum {
struct _SavedSearchDialogSearchRowContainerPrivate {
GtkComboBoxText* type_combo;
GtkBox* box;
- GtkAlignment* align;
GtkButton* remove_button;
SearchConditionSearchType* search_types;
gint search_types_length1;
@@ -824,9 +821,9 @@ static void saved_search_dialog_finalize (SavedSearchDialog* obj);
static void _saved_search_dialog_on_title_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) {
-#line 690 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 684 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_on_title_changed ((SavedSearchDialog*) self);
-#line 830 "SavedSearchDialog.c"
+#line 827 "SavedSearchDialog.c"
}
@@ -842,65 +839,65 @@ SavedSearchDialog* saved_search_dialog_construct (GType object_type) {
gpointer _tmp7_ = NULL;
SavedSearchDialogSearchRowContainer* _tmp8_ = NULL;
GtkDialog* _tmp9_ = NULL;
-#line 654 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 648 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = (SavedSearchDialog*) g_type_create_instance (object_type);
-#line 655 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 649 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_setup_dialog (self);
-#line 658 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 652 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->search_title;
-#line 658 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 652 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = saved_search_table_get_instance ();
-#line 658 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 652 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = _tmp1_;
-#line 658 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 652 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = saved_search_table_generate_unique_name (_tmp2_);
-#line 658 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 652 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = _tmp3_;
-#line 658 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 652 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_entry_set_text (_tmp0_, _tmp4_);
-#line 658 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 652 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_free0 (_tmp4_);
-#line 658 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 652 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_table_unref0 (_tmp2_);
-#line 659 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 653 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = self->priv->search_title;
-#line 659 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 653 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_editable_select_region (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GTK_TYPE_EDITABLE, GtkEditable), 0, -1);
-#line 662 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 656 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_add_text_search (self);
-#line 663 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 657 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = self->priv->row_list;
-#line 663 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 657 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), 0);
-#line 663 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 657 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = (SavedSearchDialogSearchRowContainer*) _tmp7_;
-#line 663 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 657 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_container_allow_removal (_tmp8_, FALSE);
-#line 663 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 657 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_container_unref0 (_tmp8_);
-#line 665 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 659 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = self->priv->dialog;
-#line 665 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 659 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget));
-#line 666 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 660 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_set_valid (self, FALSE);
-#line 654 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 648 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return self;
-#line 890 "SavedSearchDialog.c"
+#line 887 "SavedSearchDialog.c"
}
SavedSearchDialog* saved_search_dialog_new (void) {
-#line 654 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 648 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return saved_search_dialog_construct (TYPE_SAVED_SEARCH_DIALOG);
-#line 897 "SavedSearchDialog.c"
+#line 894 "SavedSearchDialog.c"
}
static gpointer _g_object_ref0 (gpointer self) {
-#line 670 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 664 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return self ? g_object_ref (self) : NULL;
-#line 904 "SavedSearchDialog.c"
+#line 901 "SavedSearchDialog.c"
}
@@ -919,47 +916,47 @@ SavedSearchDialog* saved_search_dialog_construct_edit_existing (GType object_typ
GeeArrayList* _tmp24_ = NULL;
gint _tmp25_ = 0;
gint _tmp26_ = 0;
-#line 669 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 663 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (IS_SAVED_SEARCH (saved_search), NULL);
-#line 669 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 663 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = (SavedSearchDialog*) g_type_create_instance (object_type);
-#line 670 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 664 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = saved_search;
-#line 670 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 664 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 670 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 664 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->previous_search);
-#line 670 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 664 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->previous_search = _tmp1_;
-#line 671 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 665 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->edit_mode = TRUE;
-#line 672 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 666 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_setup_dialog (self);
-#line 674 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 668 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->dialog;
-#line 674 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 668 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
-#line 677 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 671 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = self->priv->operator;
-#line 677 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 671 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = saved_search;
-#line 677 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 671 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = saved_search_get_operator (_tmp4_);
-#line 677 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 671 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_combo_box_get_type (), GtkComboBox), (gint) ((SearchOperator) _tmp5_));
-#line 678 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 672 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = self->priv->search_title;
-#line 678 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 672 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = saved_search;
-#line 678 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 672 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DATA_OBJECT, DataObject));
-#line 678 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 672 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = _tmp8_;
-#line 678 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 672 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_entry_set_text (_tmp6_, _tmp9_);
-#line 678 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 672 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_free0 (_tmp9_);
-#line 963 "SavedSearchDialog.c"
+#line 960 "SavedSearchDialog.c"
{
GeeList* _sc_list = NULL;
SavedSearch* _tmp10_ = NULL;
@@ -969,25 +966,25 @@ SavedSearchDialog* saved_search_dialog_construct_edit_existing (GType object_typ
gint _tmp13_ = 0;
gint _tmp14_ = 0;
gint _sc_index = 0;
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp10_ = saved_search;
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp11_ = saved_search_get_conditions (_tmp10_);
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_sc_list = _tmp11_;
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp12_ = _sc_list;
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp13_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp14_ = _tmp13_;
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_sc_size = _tmp14_;
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_sc_index = -1;
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
while (TRUE) {
-#line 991 "SavedSearchDialog.c"
+#line 988 "SavedSearchDialog.c"
gint _tmp15_ = 0;
gint _tmp16_ = 0;
gint _tmp17_ = 0;
@@ -998,98 +995,98 @@ SavedSearchDialog* saved_search_dialog_construct_edit_existing (GType object_typ
SearchCondition* _tmp21_ = NULL;
SavedSearchDialogSearchRowContainer* _tmp22_ = NULL;
SavedSearchDialogSearchRowContainer* _tmp23_ = NULL;
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp15_ = _sc_index;
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_sc_index = _tmp15_ + 1;
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp16_ = _sc_index;
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp17_ = _sc_size;
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (!(_tmp16_ < _tmp17_)) {
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
break;
-#line 1014 "SavedSearchDialog.c"
+#line 1011 "SavedSearchDialog.c"
}
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp18_ = _sc_list;
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp19_ = _sc_index;
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp20_ = gee_list_get (_tmp18_, _tmp19_);
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
sc = (SearchCondition*) _tmp20_;
-#line 680 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 674 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp21_ = sc;
-#line 680 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 674 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp22_ = saved_search_dialog_search_row_container_new_edit_existing (_tmp21_);
-#line 680 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 674 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp23_ = _tmp22_;
-#line 680 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 674 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_add_row (self, _tmp23_);
-#line 680 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 674 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_container_unref0 (_tmp23_);
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_search_condition_unref0 (sc);
-#line 1036 "SavedSearchDialog.c"
+#line 1033 "SavedSearchDialog.c"
}
-#line 679 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 673 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (_sc_list);
-#line 1040 "SavedSearchDialog.c"
+#line 1037 "SavedSearchDialog.c"
}
-#line 683 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 677 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp24_ = self->priv->row_list;
-#line 683 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 677 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp25_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 683 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 677 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp26_ = _tmp25_;
-#line 683 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 677 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp26_ == 1) {
-#line 1050 "SavedSearchDialog.c"
+#line 1047 "SavedSearchDialog.c"
GeeArrayList* _tmp27_ = NULL;
gpointer _tmp28_ = NULL;
SavedSearchDialogSearchRowContainer* _tmp29_ = NULL;
-#line 684 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 678 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp27_ = self->priv->row_list;
-#line 684 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 678 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp28_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), 0);
-#line 684 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 678 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp29_ = (SavedSearchDialogSearchRowContainer*) _tmp28_;
-#line 684 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 678 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_container_allow_removal (_tmp29_, FALSE);
-#line 684 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 678 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_container_unref0 (_tmp29_);
-#line 1064 "SavedSearchDialog.c"
+#line 1061 "SavedSearchDialog.c"
}
-#line 686 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 680 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_set_valid (self, TRUE);
-#line 669 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 663 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return self;
-#line 1070 "SavedSearchDialog.c"
+#line 1067 "SavedSearchDialog.c"
}
SavedSearchDialog* saved_search_dialog_new_edit_existing (SavedSearch* saved_search) {
-#line 669 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 663 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return saved_search_dialog_construct_edit_existing (TYPE_SAVED_SEARCH_DIALOG, saved_search);
-#line 1077 "SavedSearchDialog.c"
+#line 1074 "SavedSearchDialog.c"
}
static void _saved_search_dialog_on_response_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
-#line 708 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 702 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_on_response ((SavedSearchDialog*) self, response_id);
-#line 1084 "SavedSearchDialog.c"
+#line 1081 "SavedSearchDialog.c"
}
static gboolean _saved_search_dialog_on_add_criteria_gtk_widget_button_press_event (GtkWidget* _sender, GdkEventButton* event, gpointer self) {
gboolean result;
result = saved_search_dialog_on_add_criteria ((SavedSearchDialog*) self, event);
-#line 712 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 707 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 1093 "SavedSearchDialog.c"
+#line 1090 "SavedSearchDialog.c"
}
@@ -1112,229 +1109,234 @@ static void saved_search_dialog_setup_dialog (SavedSearchDialog* self) {
GtkBox* _tmp15_ = NULL;
GtkBuilder* _tmp16_ = NULL;
GObject* _tmp17_ = NULL;
- GtkBuilder* _tmp18_ = NULL;
- GObject* _tmp19_ = NULL;
- GtkButton* _tmp20_ = NULL;
+ GtkDialog* _tmp18_ = NULL;
+ GtkBuilder* _tmp19_ = NULL;
+ GObject* _tmp20_ = NULL;
GtkButton* _tmp21_ = NULL;
- GtkBuilder* _tmp22_ = NULL;
- GObject* _tmp23_ = NULL;
- GtkEntry* _tmp24_ = NULL;
+ GtkButton* _tmp22_ = NULL;
+ GtkBuilder* _tmp23_ = NULL;
+ GObject* _tmp24_ = NULL;
GtkEntry* _tmp25_ = NULL;
GtkEntry* _tmp26_ = NULL;
- GtkBuilder* _tmp27_ = NULL;
- GObject* _tmp28_ = NULL;
- GtkBox* _tmp29_ = NULL;
- GtkBuilder* _tmp30_ = NULL;
- GObject* _tmp31_ = NULL;
- GtkComboBoxText* _tmp32_ = NULL;
+ GtkEntry* _tmp27_ = NULL;
+ GtkBuilder* _tmp28_ = NULL;
+ GObject* _tmp29_ = NULL;
+ GtkBox* _tmp30_ = NULL;
+ GtkBuilder* _tmp31_ = NULL;
+ GObject* _tmp32_ = NULL;
GtkComboBoxText* _tmp33_ = NULL;
- const gchar* _tmp34_ = NULL;
- GtkComboBoxText* _tmp35_ = NULL;
- const gchar* _tmp36_ = NULL;
- GtkComboBoxText* _tmp37_ = NULL;
- const gchar* _tmp38_ = NULL;
- GtkComboBoxText* _tmp39_ = NULL;
-#line 694 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ GtkComboBoxText* _tmp34_ = NULL;
+ const gchar* _tmp35_ = NULL;
+ GtkComboBoxText* _tmp36_ = NULL;
+ const gchar* _tmp37_ = NULL;
+ GtkComboBoxText* _tmp38_ = NULL;
+ const gchar* _tmp39_ = NULL;
+ GtkComboBoxText* _tmp40_ = NULL;
+#line 688 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (IS_SAVED_SEARCH_DIALOG (self));
-#line 695 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 689 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = app_window_create_builder ("shotwell.ui", NULL);
-#line 695 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 689 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->builder);
-#line 695 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 689 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->builder = _tmp0_;
-#line 697 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 691 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _ ("Search");
-#line 697 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 691 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = app_window_get_instance ();
-#line 697 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 691 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = _tmp2_;
-#line 697 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 691 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = gtk_widget_get_parent_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget));
-#line 697 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 691 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = _ ("Cancel");
-#line 697 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 691 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = _ ("OK");
-#line 697 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 691 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = (GtkDialog*) gtk_dialog_new_with_buttons (_tmp1_, G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_window_get_type (), GtkWindow), (GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT) | GTK_DIALOG_USE_HEADER_BAR, _tmp5_, GTK_RESPONSE_CANCEL, _tmp6_, GTK_RESPONSE_OK, NULL, NULL);
-#line 697 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 691 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp7_);
-#line 697 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 691 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->dialog);
-#line 697 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 691 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->dialog = _tmp7_;
-#line 697 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 691 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (_tmp3_);
-#line 705 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 699 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = self->priv->dialog;
-#line 705 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 699 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_window_get_type (), GtkWindow), FALSE);
-#line 706 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 700 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = self->priv->dialog;
-#line 706 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 700 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp10_ = app_window_get_instance ();
-#line 706 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 700 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp11_ = _tmp10_;
-#line 706 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 700 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_window_get_type (), GtkWindow));
-#line 706 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 700 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (_tmp11_);
-#line 707 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 701 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp12_ = self->priv->dialog;
-#line 707 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 701 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_dialog_set_default_response (_tmp12_, (gint) GTK_RESPONSE_OK);
-#line 708 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 702 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp13_ = self->priv->dialog;
-#line 708 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 702 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_connect (_tmp13_, "response", (GCallback) _saved_search_dialog_on_response_gtk_dialog_response, self);
-#line 709 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 703 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp14_ = self->priv->dialog;
-#line 709 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 703 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp15_ = (GtkBox*) gtk_dialog_get_content_area (_tmp14_);
-#line 709 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 703 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp16_ = self->priv->builder;
-#line 709 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 703 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp17_ = gtk_builder_get_object (_tmp16_, "criteria");
-#line 709 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 703 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_TYPE (_tmp17_, gtk_widget_get_type ()) ? ((GtkWidget*) _tmp17_) : NULL);
-#line 711 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp18_ = self->priv->builder;
-#line 711 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp19_ = gtk_builder_get_object (_tmp18_, "Add search button");
-#line 711 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp20_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, gtk_button_get_type ()) ? ((GtkButton*) _tmp19_) : NULL);
-#line 711 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 704 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp18_ = self->priv->dialog;
+#line 704 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ gtk_dialog_set_default_response (_tmp18_, (gint) GTK_RESPONSE_OK);
+#line 706 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp19_ = self->priv->builder;
+#line 706 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp20_ = gtk_builder_get_object (_tmp19_, "Add search button");
+#line 706 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp21_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp20_, gtk_button_get_type ()) ? ((GtkButton*) _tmp20_) : NULL);
+#line 706 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->add_criteria);
-#line 711 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- self->priv->add_criteria = _tmp20_;
-#line 712 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp21_ = self->priv->add_criteria;
-#line 712 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _saved_search_dialog_on_add_criteria_gtk_widget_button_press_event, self);
-#line 714 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp22_ = self->priv->builder;
-#line 714 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp23_ = gtk_builder_get_object (_tmp22_, "Search title");
-#line 714 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp24_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp23_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp23_) : NULL);
-#line 714 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 706 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ self->priv->add_criteria = _tmp21_;
+#line 707 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp22_ = self->priv->add_criteria;
+#line 707 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _saved_search_dialog_on_add_criteria_gtk_widget_button_press_event, self);
+#line 709 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp23_ = self->priv->builder;
+#line 709 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp24_ = gtk_builder_get_object (_tmp23_, "Search title");
+#line 709 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp25_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp24_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp24_) : NULL);
+#line 709 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->search_title);
-#line 714 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- self->priv->search_title = _tmp24_;
+#line 709 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ self->priv->search_title = _tmp25_;
+#line 710 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp26_ = self->priv->search_title;
+#line 710 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ gtk_entry_set_activates_default (_tmp26_, TRUE);
+#line 711 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp27_ = self->priv->search_title;
+#line 711 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _saved_search_dialog_on_title_changed_gtk_editable_changed, self);
+#line 713 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp28_ = self->priv->builder;
+#line 713 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp29_ = gtk_builder_get_object (_tmp28_, "row_box");
+#line 713 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp30_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp29_, gtk_box_get_type ()) ? ((GtkBox*) _tmp29_) : NULL);
+#line 713 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _g_object_unref0 (self->priv->row_box);
+#line 713 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ self->priv->row_box = _tmp30_;
+#line 715 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp31_ = self->priv->builder;
+#line 715 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp32_ = gtk_builder_get_object (_tmp31_, "Type of search criteria");
#line 715 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp25_ = self->priv->search_title;
+ _tmp33_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp32_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp32_) : NULL);
#line 715 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- gtk_entry_set_activates_default (_tmp25_, TRUE);
+ _g_object_unref0 (self->priv->operator);
+#line 715 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ self->priv->operator = _tmp33_;
#line 716 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp26_ = self->priv->search_title;
+ _tmp34_ = self->priv->operator;
#line 716 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _saved_search_dialog_on_title_changed_gtk_editable_changed, self);
-#line 718 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp27_ = self->priv->builder;
-#line 718 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp28_ = gtk_builder_get_object (_tmp27_, "row_box");
+ _tmp35_ = _ ("any");
+#line 716 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ gtk_combo_box_text_append_text (_tmp34_, _tmp35_);
+#line 717 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp36_ = self->priv->operator;
+#line 717 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp37_ = _ ("all");
+#line 717 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ gtk_combo_box_text_append_text (_tmp36_, _tmp37_);
#line 718 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp29_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp28_, gtk_box_get_type ()) ? ((GtkBox*) _tmp28_) : NULL);
+ _tmp38_ = self->priv->operator;
#line 718 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _g_object_unref0 (self->priv->row_box);
+ _tmp39_ = _ ("none");
#line 718 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- self->priv->row_box = _tmp29_;
-#line 720 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp30_ = self->priv->builder;
-#line 720 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp31_ = gtk_builder_get_object (_tmp30_, "Type of search criteria");
-#line 720 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp32_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp31_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp31_) : NULL);
-#line 720 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _g_object_unref0 (self->priv->operator);
-#line 720 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- self->priv->operator = _tmp32_;
-#line 721 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp33_ = self->priv->operator;
-#line 721 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp34_ = _ ("any");
-#line 721 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- gtk_combo_box_text_append_text (_tmp33_, _tmp34_);
-#line 722 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp35_ = self->priv->operator;
-#line 722 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp36_ = _ ("all");
-#line 722 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- gtk_combo_box_text_append_text (_tmp35_, _tmp36_);
-#line 723 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp37_ = self->priv->operator;
-#line 723 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp38_ = _ ("none");
-#line 723 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- gtk_combo_box_text_append_text (_tmp37_, _tmp38_);
-#line 724 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp39_ = self->priv->operator;
-#line 724 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, gtk_combo_box_get_type (), GtkComboBox), 0);
-#line 1274 "SavedSearchDialog.c"
+ gtk_combo_box_text_append_text (_tmp38_, _tmp39_);
+#line 719 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp40_ = self->priv->operator;
+#line 719 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, gtk_combo_box_get_type (), GtkComboBox), 0);
+#line 1276 "SavedSearchDialog.c"
}
void saved_search_dialog_show (SavedSearchDialog* self) {
GtkDialog* _tmp0_ = NULL;
GtkDialog* _tmp1_ = NULL;
-#line 728 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 723 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (IS_SAVED_SEARCH_DIALOG (self));
-#line 729 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 724 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->dialog;
-#line 729 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 724 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_dialog_run (_tmp0_);
-#line 730 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 725 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = self->priv->dialog;
-#line 730 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 725 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget));
-#line 1291 "SavedSearchDialog.c"
+#line 1293 "SavedSearchDialog.c"
}
static gboolean saved_search_dialog_on_add_criteria (SavedSearchDialog* self, GdkEventButton* event) {
gboolean result = FALSE;
-#line 734 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 729 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (IS_SAVED_SEARCH_DIALOG (self), FALSE);
-#line 734 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 729 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 735 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 730 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_add_text_search (self);
-#line 736 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 731 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = FALSE;
-#line 736 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 731 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 1307 "SavedSearchDialog.c"
+#line 1309 "SavedSearchDialog.c"
}
static void saved_search_dialog_add_text_search (SavedSearchDialog* self) {
SavedSearchDialogSearchRowContainer* text = NULL;
SavedSearchDialogSearchRowContainer* _tmp0_ = NULL;
-#line 739 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 734 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (IS_SAVED_SEARCH_DIALOG (self));
-#line 740 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 735 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = saved_search_dialog_search_row_container_new ();
-#line 740 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 735 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
text = _tmp0_;
-#line 741 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 736 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_add_row (self, text);
-#line 739 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 734 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_container_unref0 (text);
-#line 1324 "SavedSearchDialog.c"
+#line 1326 "SavedSearchDialog.c"
}
static void _saved_search_dialog_on_remove_row_saved_search_dialog_search_row_container_remove (SavedSearchDialogSearchRowContainer* _sender, SavedSearchDialogSearchRowContainer* this_row, gpointer self) {
-#line 750 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 745 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_on_remove_row ((SavedSearchDialog*) self, this_row);
-#line 1331 "SavedSearchDialog.c"
+#line 1333 "SavedSearchDialog.c"
}
static void _saved_search_dialog_on_row_changed_saved_search_dialog_search_row_container_changed (SavedSearchDialogSearchRowContainer* _sender, SavedSearchDialogSearchRowContainer* this_row, gpointer self) {
-#line 751 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 746 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_on_row_changed ((SavedSearchDialog*) self, this_row);
-#line 1338 "SavedSearchDialog.c"
+#line 1340 "SavedSearchDialog.c"
}
@@ -1352,67 +1354,67 @@ static void saved_search_dialog_add_row (SavedSearchDialog* self, SavedSearchDia
SavedSearchDialogSearchRowContainer* _tmp13_ = NULL;
SavedSearchDialogSearchRowContainer* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
-#line 745 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 740 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (IS_SAVED_SEARCH_DIALOG (self));
-#line 745 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 740 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_CONTAINER (row));
-#line 746 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 741 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->row_list;
-#line 746 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 741 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 746 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 741 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = _tmp1_;
-#line 746 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 741 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp2_ == 1) {
-#line 1368 "SavedSearchDialog.c"
+#line 1370 "SavedSearchDialog.c"
GeeArrayList* _tmp3_ = NULL;
gpointer _tmp4_ = NULL;
SavedSearchDialogSearchRowContainer* _tmp5_ = NULL;
-#line 747 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 742 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = self->priv->row_list;
-#line 747 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 742 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), 0);
-#line 747 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 742 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = (SavedSearchDialogSearchRowContainer*) _tmp4_;
-#line 747 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 742 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_container_allow_removal (_tmp5_, TRUE);
-#line 747 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 742 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_container_unref0 (_tmp5_);
-#line 1382 "SavedSearchDialog.c"
+#line 1384 "SavedSearchDialog.c"
}
-#line 748 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 743 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = self->priv->row_box;
-#line 748 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 743 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = row;
-#line 748 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 743 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = saved_search_dialog_search_row_container_get_widget (_tmp7_);
-#line 748 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 743 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = _tmp8_;
-#line 748 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 743 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_container_get_type (), GtkContainer), _tmp9_);
-#line 748 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 743 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (_tmp9_);
-#line 749 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 744 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp10_ = self->priv->row_list;
-#line 749 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 744 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp11_ = row;
-#line 749 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 744 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp11_);
-#line 750 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 745 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp12_ = row;
-#line 750 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 745 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_connect (_tmp12_, "remove", (GCallback) _saved_search_dialog_on_remove_row_saved_search_dialog_search_row_container_remove, self);
-#line 751 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 746 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp13_ = row;
-#line 751 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 746 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_connect (_tmp13_, "changed", (GCallback) _saved_search_dialog_on_row_changed_saved_search_dialog_search_row_container_changed, self);
-#line 752 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 747 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp14_ = row;
-#line 752 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 747 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp15_ = saved_search_dialog_search_row_container_is_complete (_tmp14_);
-#line 752 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 747 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_set_valid (self, _tmp15_);
-#line 1416 "SavedSearchDialog.c"
+#line 1418 "SavedSearchDialog.c"
}
@@ -1430,79 +1432,79 @@ static void saved_search_dialog_on_remove_row (SavedSearchDialog* self, SavedSea
GeeArrayList* _tmp10_ = NULL;
gint _tmp11_ = 0;
gint _tmp12_ = 0;
-#line 756 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 751 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (IS_SAVED_SEARCH_DIALOG (self));
-#line 756 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 751 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_CONTAINER (row));
-#line 757 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 752 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = row;
-#line 757 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 752 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_parse_name ("remove", SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_CONTAINER, &_tmp1_, NULL, FALSE);
-#line 757 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 752 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _saved_search_dialog_on_remove_row_saved_search_dialog_search_row_container_remove, self);
-#line 758 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 753 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = row;
-#line 758 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 753 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_parse_name ("changed", SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_CONTAINER, &_tmp3_, NULL, FALSE);
-#line 758 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 753 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _saved_search_dialog_on_row_changed_saved_search_dialog_search_row_container_changed, self);
-#line 759 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 754 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = self->priv->row_box;
-#line 759 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 754 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = row;
-#line 759 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 754 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = saved_search_dialog_search_row_container_get_widget (_tmp5_);
-#line 759 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 754 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = _tmp6_;
-#line 759 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 754 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_container_get_type (), GtkContainer), _tmp7_);
-#line 759 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 754 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (_tmp7_);
-#line 760 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 755 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = self->priv->row_list;
-#line 760 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 755 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = row;
-#line 760 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 755 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gee_abstract_collection_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp9_);
-#line 761 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 756 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp10_ = self->priv->row_list;
-#line 761 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 756 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp11_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 761 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 756 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp12_ = _tmp11_;
-#line 761 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 756 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp12_ == 1) {
-#line 1476 "SavedSearchDialog.c"
+#line 1478 "SavedSearchDialog.c"
GeeArrayList* _tmp13_ = NULL;
gpointer _tmp14_ = NULL;
SavedSearchDialogSearchRowContainer* _tmp15_ = NULL;
-#line 762 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 757 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp13_ = self->priv->row_list;
-#line 762 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 757 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp14_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), 0);
-#line 762 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 757 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp15_ = (SavedSearchDialogSearchRowContainer*) _tmp14_;
-#line 762 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 757 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_container_allow_removal (_tmp15_, FALSE);
-#line 762 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 757 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_container_unref0 (_tmp15_);
-#line 1490 "SavedSearchDialog.c"
+#line 1492 "SavedSearchDialog.c"
}
-#line 763 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 758 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_set_valid (self, TRUE);
-#line 1494 "SavedSearchDialog.c"
+#line 1496 "SavedSearchDialog.c"
}
static void saved_search_dialog_on_response (SavedSearchDialog* self, gint response_id) {
gint _tmp0_ = 0;
-#line 766 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 761 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (IS_SAVED_SEARCH_DIALOG (self));
-#line 767 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 762 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = response_id;
-#line 767 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 762 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) {
-#line 1506 "SavedSearchDialog.c"
+#line 1508 "SavedSearchDialog.c"
gboolean _tmp1_ = FALSE;
SavedSearchTable* _tmp2_ = NULL;
SavedSearchTable* _tmp3_ = NULL;
@@ -1524,111 +1526,111 @@ static void saved_search_dialog_on_response (SavedSearchDialog* self, gint respo
GeeArrayList* _tmp46_ = NULL;
SavedSearch* _tmp47_ = NULL;
SavedSearch* _tmp48_ = NULL;
-#line 768 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 763 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = saved_search_table_get_instance ();
-#line 768 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 763 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = _tmp2_;
-#line 768 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 763 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = self->priv->search_title;
-#line 768 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 763 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = gtk_entry_get_text (_tmp4_);
-#line 768 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 763 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = saved_search_table_exists (_tmp3_, _tmp5_);
-#line 768 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 763 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = _tmp6_;
-#line 768 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 763 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_table_unref0 (_tmp3_);
-#line 768 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 763 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp7_) {
-#line 1544 "SavedSearchDialog.c"
+#line 1546 "SavedSearchDialog.c"
gboolean _tmp8_ = FALSE;
gboolean _tmp9_ = FALSE;
-#line 769 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 764 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = self->priv->edit_mode;
-#line 769 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 764 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp9_) {
-#line 1551 "SavedSearchDialog.c"
+#line 1553 "SavedSearchDialog.c"
SavedSearch* _tmp10_ = NULL;
gchar* _tmp11_ = NULL;
gchar* _tmp12_ = NULL;
GtkEntry* _tmp13_ = NULL;
const gchar* _tmp14_ = NULL;
-#line 769 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 764 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp10_ = self->priv->previous_search;
-#line 769 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 764 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp11_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_OBJECT, DataObject));
-#line 769 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 764 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp12_ = _tmp11_;
-#line 769 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 764 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp13_ = self->priv->search_title;
-#line 769 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 764 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp14_ = gtk_entry_get_text (_tmp13_);
-#line 769 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 764 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = g_strcmp0 (_tmp12_, _tmp14_) == 0;
-#line 769 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 764 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_free0 (_tmp12_);
-#line 1571 "SavedSearchDialog.c"
+#line 1573 "SavedSearchDialog.c"
} else {
-#line 769 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 764 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = FALSE;
-#line 1575 "SavedSearchDialog.c"
+#line 1577 "SavedSearchDialog.c"
}
-#line 769 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 764 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = !_tmp8_;
-#line 1579 "SavedSearchDialog.c"
+#line 1581 "SavedSearchDialog.c"
} else {
-#line 768 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 763 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = FALSE;
-#line 1583 "SavedSearchDialog.c"
+#line 1585 "SavedSearchDialog.c"
}
-#line 768 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 763 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp1_) {
-#line 1587 "SavedSearchDialog.c"
+#line 1589 "SavedSearchDialog.c"
GtkEntry* _tmp15_ = NULL;
const gchar* _tmp16_ = NULL;
gchar* _tmp17_ = NULL;
gchar* _tmp18_ = NULL;
-#line 770 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 765 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp15_ = self->priv->search_title;
-#line 770 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 765 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp16_ = gtk_entry_get_text (_tmp15_);
-#line 770 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 765 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp17_ = resources_rename_search_exists_message (_tmp16_);
-#line 770 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 765 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp18_ = _tmp17_;
-#line 770 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 765 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
app_window_error_message (_tmp18_, NULL);
-#line 770 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 765 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_free0 (_tmp18_);
-#line 771 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 766 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return;
-#line 1606 "SavedSearchDialog.c"
+#line 1608 "SavedSearchDialog.c"
}
-#line 774 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 769 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp19_ = self->priv->edit_mode;
-#line 774 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 769 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp19_) {
-#line 1612 "SavedSearchDialog.c"
+#line 1614 "SavedSearchDialog.c"
SavedSearchTable* _tmp20_ = NULL;
SavedSearchTable* _tmp21_ = NULL;
SavedSearch* _tmp22_ = NULL;
-#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 771 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp20_ = saved_search_table_get_instance ();
-#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 771 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp21_ = _tmp20_;
-#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 771 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp22_ = self->priv->previous_search;
-#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 771 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_table_remove (_tmp21_, _tmp22_);
-#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 771 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_table_unref0 (_tmp21_);
-#line 1626 "SavedSearchDialog.c"
+#line 1628 "SavedSearchDialog.c"
}
-#line 780 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 775 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp23_ = gee_array_list_new (TYPE_SEARCH_CONDITION, (GBoxedCopyFunc) search_condition_ref, search_condition_unref, NULL, NULL, NULL);
-#line 780 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 775 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
conditions = _tmp23_;
-#line 1632 "SavedSearchDialog.c"
+#line 1634 "SavedSearchDialog.c"
{
GeeArrayList* _c_list = NULL;
GeeArrayList* _tmp24_ = NULL;
@@ -1638,25 +1640,25 @@ static void saved_search_dialog_on_response (SavedSearchDialog* self, gint respo
gint _tmp27_ = 0;
gint _tmp28_ = 0;
gint _c_index = 0;
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp24_ = self->priv->row_list;
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp25_ = _g_object_ref0 (_tmp24_);
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_c_list = _tmp25_;
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp26_ = _c_list;
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp27_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp28_ = _tmp27_;
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_c_size = _tmp28_;
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_c_index = -1;
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
while (TRUE) {
-#line 1660 "SavedSearchDialog.c"
+#line 1662 "SavedSearchDialog.c"
gint _tmp29_ = 0;
gint _tmp30_ = 0;
gint _tmp31_ = 0;
@@ -1668,77 +1670,77 @@ static void saved_search_dialog_on_response (SavedSearchDialog* self, gint respo
SavedSearchDialogSearchRowContainer* _tmp36_ = NULL;
SearchCondition* _tmp37_ = NULL;
SearchCondition* _tmp38_ = NULL;
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp29_ = _c_index;
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_c_index = _tmp29_ + 1;
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp30_ = _c_index;
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp31_ = _c_size;
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (!(_tmp30_ < _tmp31_)) {
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
break;
-#line 1684 "SavedSearchDialog.c"
+#line 1686 "SavedSearchDialog.c"
}
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp32_ = _c_list;
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp33_ = _c_index;
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp34_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp33_);
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
c = (SavedSearchDialogSearchRowContainer*) _tmp34_;
-#line 782 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 777 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp35_ = conditions;
-#line 782 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 777 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp36_ = c;
-#line 782 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 777 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp37_ = saved_search_dialog_search_row_container_get_search_condition (_tmp36_);
-#line 782 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 777 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp38_ = _tmp37_;
-#line 782 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 777 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp38_);
-#line 782 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 777 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_search_condition_unref0 (_tmp38_);
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_container_unref0 (c);
-#line 1708 "SavedSearchDialog.c"
+#line 1710 "SavedSearchDialog.c"
}
-#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 776 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (_c_list);
-#line 1712 "SavedSearchDialog.c"
+#line 1714 "SavedSearchDialog.c"
}
-#line 786 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp39_ = self->priv->operator;
-#line 786 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp40_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, gtk_combo_box_get_type (), GtkComboBox));
-#line 786 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 781 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
search_operator = (SearchOperator) _tmp40_;
-#line 787 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 782 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp41_ = saved_search_table_get_instance ();
-#line 787 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 782 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp42_ = _tmp41_;
-#line 787 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 782 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp43_ = self->priv->search_title;
-#line 787 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 782 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp44_ = gtk_entry_get_text (_tmp43_);
-#line 787 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 782 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp45_ = search_operator;
-#line 787 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 782 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp46_ = conditions;
-#line 787 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 782 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp47_ = saved_search_table_create (_tmp42_, _tmp44_, _tmp45_, _tmp46_);
-#line 787 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 782 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp48_ = _tmp47_;
-#line 787 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 782 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (_tmp48_);
-#line 787 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 782 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_table_unref0 (_tmp42_);
-#line 767 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 762 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (conditions);
-#line 1742 "SavedSearchDialog.c"
+#line 1744 "SavedSearchDialog.c"
}
}
@@ -1746,29 +1748,29 @@ static void saved_search_dialog_on_response (SavedSearchDialog* self, gint respo
static void saved_search_dialog_on_row_changed (SavedSearchDialog* self, SavedSearchDialogSearchRowContainer* row) {
SavedSearchDialogSearchRowContainer* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 791 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 786 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (IS_SAVED_SEARCH_DIALOG (self));
-#line 791 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 786 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_CONTAINER (row));
-#line 792 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 787 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = row;
-#line 792 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 787 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = saved_search_dialog_search_row_container_is_complete (_tmp0_);
-#line 792 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 787 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_set_valid (self, _tmp1_);
-#line 1760 "SavedSearchDialog.c"
+#line 1762 "SavedSearchDialog.c"
}
static void saved_search_dialog_on_title_changed (SavedSearchDialog* self) {
gboolean _tmp0_ = FALSE;
-#line 795 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 790 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (IS_SAVED_SEARCH_DIALOG (self));
-#line 796 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 791 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = saved_search_dialog_is_title_valid (self);
-#line 796 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 791 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_set_valid (self, _tmp0_);
-#line 1772 "SavedSearchDialog.c"
+#line 1774 "SavedSearchDialog.c"
}
@@ -1791,7 +1793,7 @@ static gchar* string_chomp (const gchar* self) {
result = _result_;
#line 1194 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 1795 "SavedSearchDialog.c"
+#line 1797 "SavedSearchDialog.c"
}
@@ -1811,107 +1813,107 @@ static gboolean saved_search_dialog_is_title_valid (SavedSearchDialog* self) {
const gchar* _tmp17_ = NULL;
gboolean _tmp18_ = FALSE;
gboolean _tmp19_ = FALSE;
-#line 799 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 794 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (IS_SAVED_SEARCH_DIALOG (self), FALSE);
-#line 800 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 795 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->edit_mode;
-#line 800 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 795 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp2_) {
-#line 1821 "SavedSearchDialog.c"
+#line 1823 "SavedSearchDialog.c"
SavedSearch* _tmp3_ = NULL;
-#line 800 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 795 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = self->priv->previous_search;
-#line 800 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 795 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _tmp3_ != NULL;
-#line 1827 "SavedSearchDialog.c"
+#line 1829 "SavedSearchDialog.c"
} else {
-#line 800 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 795 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = FALSE;
-#line 1831 "SavedSearchDialog.c"
+#line 1833 "SavedSearchDialog.c"
}
-#line 800 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 795 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp1_) {
-#line 1835 "SavedSearchDialog.c"
+#line 1837 "SavedSearchDialog.c"
SavedSearch* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
GtkEntry* _tmp7_ = NULL;
const gchar* _tmp8_ = NULL;
-#line 801 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 796 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = self->priv->previous_search;
-#line 801 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 796 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_DATA_OBJECT, DataObject));
-#line 801 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 796 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = _tmp5_;
-#line 801 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 796 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = self->priv->search_title;
-#line 801 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 796 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = gtk_entry_get_text (_tmp7_);
-#line 801 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 796 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = g_strcmp0 (_tmp6_, _tmp8_) == 0;
-#line 801 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 796 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_free0 (_tmp6_);
-#line 1855 "SavedSearchDialog.c"
+#line 1857 "SavedSearchDialog.c"
} else {
-#line 800 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 795 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = FALSE;
-#line 1859 "SavedSearchDialog.c"
+#line 1861 "SavedSearchDialog.c"
}
-#line 800 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 795 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp0_) {
-#line 802 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 797 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = TRUE;
-#line 802 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 797 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 1867 "SavedSearchDialog.c"
+#line 1869 "SavedSearchDialog.c"
}
-#line 803 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 798 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = self->priv->search_title;
-#line 803 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 798 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp10_ = gtk_entry_get_text (_tmp9_);
-#line 803 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 798 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp11_ = string_chomp (_tmp10_);
-#line 803 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 798 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp12_ = _tmp11_;
-#line 803 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 798 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp13_ = g_strcmp0 (_tmp12_, "") == 0;
-#line 803 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 798 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_free0 (_tmp12_);
-#line 803 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 798 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp13_) {
-#line 804 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 799 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = FALSE;
-#line 804 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 799 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 1887 "SavedSearchDialog.c"
+#line 1889 "SavedSearchDialog.c"
}
-#line 805 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 800 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp14_ = saved_search_table_get_instance ();
-#line 805 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 800 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp15_ = _tmp14_;
-#line 805 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 800 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp16_ = self->priv->search_title;
-#line 805 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 800 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp17_ = gtk_entry_get_text (_tmp16_);
-#line 805 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 800 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp18_ = saved_search_table_exists (_tmp15_, _tmp17_);
-#line 805 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 800 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp19_ = _tmp18_;
-#line 805 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 800 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_table_unref0 (_tmp15_);
-#line 805 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 800 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp19_) {
-#line 806 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 801 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = FALSE;
-#line 806 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 801 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 1909 "SavedSearchDialog.c"
+#line 1911 "SavedSearchDialog.c"
}
-#line 807 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 802 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = TRUE;
-#line 807 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 802 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 1915 "SavedSearchDialog.c"
+#line 1917 "SavedSearchDialog.c"
}
@@ -1919,39 +1921,39 @@ static void saved_search_dialog_set_valid (SavedSearchDialog* self, gboolean v)
gboolean _tmp0_ = FALSE;
GtkDialog* _tmp22_ = NULL;
gboolean _tmp23_ = FALSE;
-#line 811 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 806 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (IS_SAVED_SEARCH_DIALOG (self));
-#line 812 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 807 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = v;
-#line 812 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 807 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (!_tmp0_) {
-#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 808 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->valid = FALSE;
-#line 1931 "SavedSearchDialog.c"
+#line 1933 "SavedSearchDialog.c"
} else {
gboolean _tmp1_ = FALSE;
gboolean _tmp2_ = FALSE;
-#line 814 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 809 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = v;
-#line 814 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 809 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->valid;
-#line 814 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 809 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp1_ != _tmp2_) {
-#line 1941 "SavedSearchDialog.c"
+#line 1943 "SavedSearchDialog.c"
gboolean _tmp3_ = FALSE;
-#line 815 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 810 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = saved_search_dialog_is_title_valid (self);
-#line 815 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 810 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp3_) {
-#line 1947 "SavedSearchDialog.c"
+#line 1949 "SavedSearchDialog.c"
gint valid_rows = 0;
gint _tmp18_ = 0;
GeeArrayList* _tmp19_ = NULL;
gint _tmp20_ = 0;
gint _tmp21_ = 0;
-#line 817 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 812 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
valid_rows = 0;
-#line 1955 "SavedSearchDialog.c"
+#line 1957 "SavedSearchDialog.c"
{
GeeArrayList* _c_list = NULL;
GeeArrayList* _tmp4_ = NULL;
@@ -1961,25 +1963,25 @@ static void saved_search_dialog_set_valid (SavedSearchDialog* self, gboolean v)
gint _tmp7_ = 0;
gint _tmp8_ = 0;
gint _c_index = 0;
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = self->priv->row_list;
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = _g_object_ref0 (_tmp4_);
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_c_list = _tmp5_;
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = _c_list;
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = _tmp7_;
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_c_size = _tmp8_;
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_c_index = -1;
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
while (TRUE) {
-#line 1983 "SavedSearchDialog.c"
+#line 1985 "SavedSearchDialog.c"
gint _tmp9_ = 0;
gint _tmp10_ = 0;
gint _tmp11_ = 0;
@@ -1989,96 +1991,96 @@ static void saved_search_dialog_set_valid (SavedSearchDialog* self, gboolean v)
gpointer _tmp14_ = NULL;
SavedSearchDialogSearchRowContainer* _tmp15_ = NULL;
gboolean _tmp16_ = FALSE;
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = _c_index;
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_c_index = _tmp9_ + 1;
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp10_ = _c_index;
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp11_ = _c_size;
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (!(_tmp10_ < _tmp11_)) {
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
break;
-#line 2005 "SavedSearchDialog.c"
+#line 2007 "SavedSearchDialog.c"
}
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp12_ = _c_list;
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp13_ = _c_index;
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp14_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp13_);
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
c = (SavedSearchDialogSearchRowContainer*) _tmp14_;
-#line 819 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 814 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp15_ = c;
-#line 819 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 814 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp16_ = saved_search_dialog_search_row_container_is_complete (_tmp15_);
-#line 819 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 814 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp16_) {
-#line 2021 "SavedSearchDialog.c"
+#line 2023 "SavedSearchDialog.c"
gint _tmp17_ = 0;
-#line 820 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 815 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp17_ = valid_rows;
-#line 820 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 815 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
valid_rows = _tmp17_ + 1;
-#line 2027 "SavedSearchDialog.c"
+#line 2029 "SavedSearchDialog.c"
}
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_container_unref0 (c);
-#line 2031 "SavedSearchDialog.c"
+#line 2033 "SavedSearchDialog.c"
}
-#line 818 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 813 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (_c_list);
-#line 2035 "SavedSearchDialog.c"
+#line 2037 "SavedSearchDialog.c"
}
-#line 822 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 817 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp18_ = valid_rows;
-#line 822 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 817 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp19_ = self->priv->row_list;
-#line 822 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 817 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp20_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 822 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 817 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp21_ = _tmp20_;
-#line 822 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 817 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->valid = _tmp18_ == _tmp21_;
-#line 2047 "SavedSearchDialog.c"
+#line 2049 "SavedSearchDialog.c"
} else {
-#line 824 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 819 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->valid = FALSE;
-#line 2051 "SavedSearchDialog.c"
+#line 2053 "SavedSearchDialog.c"
}
}
}
-#line 828 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 823 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp22_ = self->priv->dialog;
-#line 828 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 823 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp23_ = self->priv->valid;
-#line 828 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 823 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_dialog_set_response_sensitive (_tmp22_, (gint) GTK_RESPONSE_OK, _tmp23_);
-#line 2061 "SavedSearchDialog.c"
+#line 2063 "SavedSearchDialog.c"
}
static SavedSearchDialogSearchRowContainer* saved_search_dialog_search_row_container_construct (GType object_type) {
SavedSearchDialogSearchRowContainer* self = NULL;
-#line 24 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 23 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = (SavedSearchDialogSearchRowContainer*) g_type_create_instance (object_type);
-#line 25 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 24 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_container_setup_gui (self);
-#line 26 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 25 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_container_set_type (self, SEARCH_CONDITION_SEARCH_TYPE_ANY_TEXT);
-#line 24 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 23 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return self;
-#line 2075 "SavedSearchDialog.c"
+#line 2077 "SavedSearchDialog.c"
}
static SavedSearchDialogSearchRowContainer* saved_search_dialog_search_row_container_new (void) {
-#line 24 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 23 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return saved_search_dialog_search_row_container_construct (SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_CONTAINER);
-#line 2082 "SavedSearchDialog.c"
+#line 2084 "SavedSearchDialog.c"
}
@@ -2092,60 +2094,60 @@ static SavedSearchDialogSearchRowContainer* saved_search_dialog_search_row_conta
SearchConditionSearchType _tmp5_ = 0;
SavedSearchDialogSearchRow* _tmp6_ = NULL;
SearchCondition* _tmp7_ = NULL;
-#line 29 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 28 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (IS_SEARCH_CONDITION (sc), NULL);
-#line 29 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 28 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = (SavedSearchDialogSearchRowContainer*) g_type_create_instance (object_type);
-#line 30 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 29 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_container_setup_gui (self);
-#line 31 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 30 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = sc;
-#line 31 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 30 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = search_condition_get_search_type (_tmp0_);
-#line 31 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 30 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = _tmp1_;
-#line 31 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 30 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_container_set_type (self, _tmp2_);
-#line 32 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 31 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = sc;
-#line 32 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 31 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = search_condition_get_search_type (_tmp3_);
-#line 32 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 31 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = _tmp4_;
-#line 32 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 31 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_container_set_type_combo_box (self, _tmp5_);
-#line 33 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 32 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = self->priv->my_row;
-#line 33 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 32 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = sc;
-#line 33 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 32 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_populate (_tmp6_, _tmp7_);
-#line 29 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 28 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return self;
-#line 2126 "SavedSearchDialog.c"
+#line 2128 "SavedSearchDialog.c"
}
static SavedSearchDialogSearchRowContainer* saved_search_dialog_search_row_container_new_edit_existing (SearchCondition* sc) {
-#line 29 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 28 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return saved_search_dialog_search_row_container_construct_edit_existing (SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_CONTAINER, sc);
-#line 2133 "SavedSearchDialog.c"
+#line 2135 "SavedSearchDialog.c"
}
static void _saved_search_dialog_search_row_container_on_type_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
-#line 49 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 48 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_container_on_type_changed ((SavedSearchDialogSearchRowContainer*) self);
-#line 2140 "SavedSearchDialog.c"
+#line 2142 "SavedSearchDialog.c"
}
static gboolean _saved_search_dialog_search_row_container_on_removed_gtk_widget_button_press_event (GtkWidget* _sender, GdkEventButton* event, gpointer self) {
gboolean result;
result = saved_search_dialog_search_row_container_on_removed ((SavedSearchDialogSearchRowContainer*) self, event);
-#line 52 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 51 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 2149 "SavedSearchDialog.c"
+#line 2151 "SavedSearchDialog.c"
}
@@ -2157,59 +2159,53 @@ static void saved_search_dialog_search_row_container_setup_gui (SavedSearchDialo
GtkComboBoxText* _tmp18_ = NULL;
GtkButton* _tmp19_ = NULL;
GtkButton* _tmp20_ = NULL;
- GtkAlignment* _tmp21_ = NULL;
+ GtkBox* _tmp21_ = NULL;
GtkBox* _tmp22_ = NULL;
- GtkBox* _tmp23_ = NULL;
- GtkComboBoxText* _tmp24_ = NULL;
- GtkBox* _tmp25_ = NULL;
- GtkAlignment* _tmp26_ = NULL;
- GtkBox* _tmp27_ = NULL;
- GtkAlignment* _tmp28_ = NULL;
- GtkAlignment* _tmp29_ = NULL;
- GtkBox* _tmp30_ = NULL;
- GtkButton* _tmp31_ = NULL;
- GtkBox* _tmp32_ = NULL;
-#line 37 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ GtkComboBoxText* _tmp23_ = NULL;
+ GtkBox* _tmp24_ = NULL;
+ GtkButton* _tmp25_ = NULL;
+ GtkBox* _tmp26_ = NULL;
+#line 36 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_CONTAINER (self));
-#line 38 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 37 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = search_condition_search_type_as_array (&_tmp0_);
-#line 38 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 37 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->search_types = (g_free (self->priv->search_types), NULL);
-#line 38 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 37 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->search_types = _tmp1_;
-#line 38 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 37 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->search_types_length1 = _tmp0_;
-#line 38 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 37 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->_search_types_size_ = self->priv->search_types_length1;
-#line 39 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 38 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = gee_hash_map_new (SEARCH_CONDITION_TYPE_SEARCH_TYPE, NULL, NULL, G_TYPE_INT, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-#line 39 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 38 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->search_types_index);
-#line 39 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 38 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->search_types_index = _tmp2_;
-#line 40 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 39 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
search_condition_search_type_sort_array (&self->priv->search_types, &self->priv->search_types_length1);
-#line 42 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 41 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
-#line 42 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 41 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp3_);
-#line 42 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 41 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->type_combo);
-#line 42 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 41 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->type_combo = _tmp3_;
-#line 2201 "SavedSearchDialog.c"
+#line 2197 "SavedSearchDialog.c"
{
gint i = 0;
-#line 43 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 42 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
i = 0;
-#line 2206 "SavedSearchDialog.c"
+#line 2202 "SavedSearchDialog.c"
{
gboolean _tmp4_ = FALSE;
-#line 43 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 42 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = TRUE;
-#line 43 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 42 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
while (TRUE) {
-#line 2213 "SavedSearchDialog.c"
+#line 2209 "SavedSearchDialog.c"
gint _tmp6_ = 0;
SearchConditionSearchType* _tmp7_ = NULL;
gint _tmp7__length1 = 0;
@@ -2225,147 +2221,121 @@ static void saved_search_dialog_search_row_container_setup_gui (SavedSearchDialo
SearchConditionSearchType _tmp15_ = 0;
gchar* _tmp16_ = NULL;
gchar* _tmp17_ = NULL;
-#line 43 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 42 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (!_tmp4_) {
-#line 2231 "SavedSearchDialog.c"
+#line 2227 "SavedSearchDialog.c"
gint _tmp5_ = 0;
-#line 43 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 42 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = i;
-#line 43 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 42 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
i = _tmp5_ + 1;
-#line 2237 "SavedSearchDialog.c"
+#line 2233 "SavedSearchDialog.c"
}
-#line 43 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 42 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = FALSE;
-#line 43 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 42 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = i;
-#line 43 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 42 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = self->priv->search_types;
-#line 43 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 42 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7__length1 = self->priv->search_types_length1;
-#line 43 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 42 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (!(_tmp6_ < _tmp7__length1)) {
-#line 43 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 42 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
break;
-#line 2251 "SavedSearchDialog.c"
+#line 2247 "SavedSearchDialog.c"
}
-#line 44 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 43 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = self->priv->search_types;
-#line 44 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 43 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8__length1 = self->priv->search_types_length1;
-#line 44 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 43 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = i;
-#line 44 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 43 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp10_ = _tmp8_[_tmp9_];
-#line 44 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 43 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
st = _tmp10_;
-#line 45 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 44 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp11_ = self->priv->search_types_index;
-#line 45 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 44 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp12_ = st;
-#line 45 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 44 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp13_ = i;
-#line 45 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 44 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), (gpointer) ((gintptr) _tmp12_), (gpointer) ((gintptr) _tmp13_));
-#line 46 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 45 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp14_ = self->priv->type_combo;
-#line 46 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 45 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp15_ = st;
-#line 46 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 45 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp16_ = search_condition_search_type_display_text (_tmp15_);
-#line 46 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 45 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp17_ = _tmp16_;
-#line 46 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 45 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp14_, _tmp17_);
-#line 46 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 45 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_free0 (_tmp17_);
-#line 2283 "SavedSearchDialog.c"
+#line 2279 "SavedSearchDialog.c"
}
}
}
-#line 48 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 47 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_container_set_type_combo_box (self, SEARCH_CONDITION_SEARCH_TYPE_ANY_TEXT);
-#line 49 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 48 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp18_ = self->priv->type_combo;
-#line 49 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 48 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _saved_search_dialog_search_row_container_on_type_changed_gtk_combo_box_changed, self);
-#line 51 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 50 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp19_ = (GtkButton*) gtk_button_new_from_icon_name ("list-remove-symbolic", GTK_ICON_SIZE_BUTTON);
-#line 51 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 50 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp19_);
-#line 51 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 50 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->remove_button);
-#line 51 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 50 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->remove_button = _tmp19_;
-#line 52 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 51 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp20_ = self->priv->remove_button;
-#line 52 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 51 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _saved_search_dialog_search_row_container_on_removed_gtk_widget_button_press_event, self);
-#line 54 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp21_ = (GtkAlignment*) gtk_alignment_new ((gfloat) 0, (gfloat) 0, (gfloat) 0, (gfloat) 0);
-#line 54 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 53 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp21_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3);
+#line 53 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp21_);
+#line 53 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _g_object_unref0 (self->priv->box);
+#line 53 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ self->priv->box = _tmp21_;
#line 54 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _g_object_unref0 (self->priv->align);
+ _tmp22_ = self->priv->box;
#line 54 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- self->priv->align = _tmp21_;
-#line 56 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp22_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3);
-#line 56 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- g_object_ref_sink (_tmp22_);
+ _tmp23_ = self->priv->type_combo;
+#line 54 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ gtk_box_pack_start (_tmp22_, G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
+#line 55 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp24_ = self->priv->box;
+#line 55 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp25_ = self->priv->remove_button;
+#line 55 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ gtk_box_pack_end (_tmp24_, G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 56 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _g_object_unref0 (self->priv->box);
+ _tmp26_ = self->priv->box;
#line 56 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- self->priv->box = _tmp22_;
-#line 57 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp23_ = self->priv->box;
-#line 57 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp24_ = self->priv->type_combo;
-#line 57 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- gtk_box_pack_start (_tmp23_, G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 58 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp25_ = self->priv->box;
-#line 58 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp26_ = self->priv->align;
-#line 58 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- gtk_box_pack_start (_tmp25_, G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 59 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp27_ = self->priv->box;
-#line 59 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp28_ = (GtkAlignment*) gtk_alignment_new ((gfloat) 0, (gfloat) 0, (gfloat) 0, (gfloat) 0);
-#line 59 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- g_object_ref_sink (_tmp28_);
-#line 59 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp29_ = _tmp28_;
-#line 59 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- gtk_box_pack_start (_tmp27_, G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
-#line 59 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _g_object_unref0 (_tmp29_);
-#line 60 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp30_ = self->priv->box;
-#line 60 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp31_ = self->priv->remove_button;
-#line 60 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- gtk_box_pack_start (_tmp30_, G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 61 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp32_ = self->priv->box;
-#line 61 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_widget_get_type (), GtkWidget));
-#line 2355 "SavedSearchDialog.c"
+ gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_widget_get_type (), GtkWidget));
+#line 2325 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_container_on_type_changed (SavedSearchDialogSearchRowContainer* self) {
SearchConditionSearchType _tmp0_ = 0;
-#line 64 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 59 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_CONTAINER (self));
-#line 65 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 60 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = saved_search_dialog_search_row_container_get_search_type (self);
-#line 65 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 60 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_container_set_type (self, _tmp0_);
-#line 66 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 61 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_emit_by_name (self, "changed", self);
-#line 2369 "SavedSearchDialog.c"
+#line 2339 "SavedSearchDialog.c"
}
@@ -2374,180 +2344,178 @@ static void saved_search_dialog_search_row_container_set_type_combo_box (SavedSe
GeeHashMap* _tmp1_ = NULL;
SearchConditionSearchType _tmp2_ = 0;
gpointer _tmp3_ = NULL;
-#line 69 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 64 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_CONTAINER (self));
-#line 70 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 65 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->type_combo;
-#line 70 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 65 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = self->priv->search_types_index;
-#line 70 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 65 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = st;
-#line 70 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 65 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), (gpointer) ((gintptr) _tmp2_));
-#line 70 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 65 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_combo_box_get_type (), GtkComboBox), (gint) ((gintptr) _tmp3_));
-#line 2390 "SavedSearchDialog.c"
+#line 2360 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_container_set_type (SavedSearchDialogSearchRowContainer* self, SearchConditionSearchType type) {
SavedSearchDialogSearchRow* _tmp0_ = NULL;
SearchConditionSearchType _tmp5_ = 0;
- GtkAlignment* _tmp12_ = NULL;
+ GtkBox* _tmp12_ = NULL;
SavedSearchDialogSearchRow* _tmp13_ = NULL;
GtkWidget* _tmp14_ = NULL;
GtkWidget* _tmp15_ = NULL;
-#line 73 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 68 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_CONTAINER (self));
-#line 74 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 69 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->my_row;
-#line 74 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 69 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp0_ != NULL) {
-#line 2407 "SavedSearchDialog.c"
- GtkAlignment* _tmp1_ = NULL;
+#line 2377 "SavedSearchDialog.c"
+ GtkBox* _tmp1_ = NULL;
SavedSearchDialogSearchRow* _tmp2_ = NULL;
GtkWidget* _tmp3_ = NULL;
GtkWidget* _tmp4_ = NULL;
-#line 75 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp1_ = self->priv->align;
-#line 75 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 70 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp1_ = self->priv->box;
+#line 70 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->my_row;
-#line 75 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 70 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = saved_search_dialog_search_row_get_widget (_tmp2_);
-#line 75 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 70 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = _tmp3_;
-#line 75 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 70 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_container_get_type (), GtkContainer), _tmp4_);
-#line 75 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 70 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (_tmp4_);
-#line 2424 "SavedSearchDialog.c"
+#line 2394 "SavedSearchDialog.c"
}
-#line 77 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 72 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = type;
-#line 77 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 72 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
switch (_tmp5_) {
-#line 77 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 72 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
case SEARCH_CONDITION_SEARCH_TYPE_ANY_TEXT:
-#line 77 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 72 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
case SEARCH_CONDITION_SEARCH_TYPE_EVENT_NAME:
-#line 77 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 72 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
case SEARCH_CONDITION_SEARCH_TYPE_FILE_NAME:
-#line 77 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 72 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
case SEARCH_CONDITION_SEARCH_TYPE_TAG:
-#line 77 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 72 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
case SEARCH_CONDITION_SEARCH_TYPE_COMMENT:
-#line 77 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 72 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
case SEARCH_CONDITION_SEARCH_TYPE_TITLE:
-#line 2442 "SavedSearchDialog.c"
+#line 2412 "SavedSearchDialog.c"
{
SavedSearchDialogSearchRowText* _tmp6_ = NULL;
-#line 84 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 79 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = saved_search_dialog_search_row_text_new (self);
-#line 84 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 79 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_unref0 (self->priv->my_row);
-#line 84 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 79 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->my_row = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW, SavedSearchDialogSearchRow);
-#line 85 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 80 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
break;
-#line 2453 "SavedSearchDialog.c"
+#line 2423 "SavedSearchDialog.c"
}
-#line 77 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 72 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
case SEARCH_CONDITION_SEARCH_TYPE_MEDIA_TYPE:
-#line 2457 "SavedSearchDialog.c"
+#line 2427 "SavedSearchDialog.c"
{
SavedSearchDialogSearchRowMediaType* _tmp7_ = NULL;
-#line 88 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 83 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = saved_search_dialog_search_row_media_type_new (self);
-#line 88 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 83 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_unref0 (self->priv->my_row);
-#line 88 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 83 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->my_row = G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW, SavedSearchDialogSearchRow);
-#line 89 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 84 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
break;
-#line 2468 "SavedSearchDialog.c"
+#line 2438 "SavedSearchDialog.c"
}
-#line 77 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 72 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
case SEARCH_CONDITION_SEARCH_TYPE_FLAG_STATE:
-#line 2472 "SavedSearchDialog.c"
+#line 2442 "SavedSearchDialog.c"
{
SavedSearchDialogSearchRowFlagged* _tmp8_ = NULL;
-#line 92 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 87 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = saved_search_dialog_search_row_flagged_new (self);
-#line 92 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 87 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_unref0 (self->priv->my_row);
-#line 92 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 87 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->my_row = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW, SavedSearchDialogSearchRow);
-#line 93 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 88 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
break;
-#line 2483 "SavedSearchDialog.c"
+#line 2453 "SavedSearchDialog.c"
}
-#line 77 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 72 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
case SEARCH_CONDITION_SEARCH_TYPE_MODIFIED_STATE:
-#line 2487 "SavedSearchDialog.c"
+#line 2457 "SavedSearchDialog.c"
{
SavedSearchDialogSearchRowModified* _tmp9_ = NULL;
-#line 96 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 91 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = saved_search_dialog_search_row_modified_new (self);
-#line 96 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 91 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_unref0 (self->priv->my_row);
-#line 96 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 91 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->my_row = G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW, SavedSearchDialogSearchRow);
-#line 97 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 92 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
break;
-#line 2498 "SavedSearchDialog.c"
+#line 2468 "SavedSearchDialog.c"
}
-#line 77 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 72 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
case SEARCH_CONDITION_SEARCH_TYPE_RATING:
-#line 2502 "SavedSearchDialog.c"
+#line 2472 "SavedSearchDialog.c"
{
SavedSearchDialogSearchRowRating* _tmp10_ = NULL;
-#line 100 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 95 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp10_ = saved_search_dialog_search_row_rating_new (self);
-#line 100 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 95 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_unref0 (self->priv->my_row);
-#line 100 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 95 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->my_row = G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW, SavedSearchDialogSearchRow);
-#line 101 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 96 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
break;
-#line 2513 "SavedSearchDialog.c"
+#line 2483 "SavedSearchDialog.c"
}
-#line 77 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 72 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
case SEARCH_CONDITION_SEARCH_TYPE_DATE:
-#line 2517 "SavedSearchDialog.c"
+#line 2487 "SavedSearchDialog.c"
{
SavedSearchDialogSearchRowDate* _tmp11_ = NULL;
-#line 104 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 99 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp11_ = saved_search_dialog_search_row_date_new (self);
-#line 104 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 99 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_unref0 (self->priv->my_row);
-#line 104 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 99 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->my_row = G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW, SavedSearchDialogSearchRow);
-#line 105 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 100 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
break;
-#line 2528 "SavedSearchDialog.c"
+#line 2498 "SavedSearchDialog.c"
}
default:
{
-#line 108 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _vala_assert (FALSE, "false");
-#line 109 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- break;
-#line 2536 "SavedSearchDialog.c"
+#line 103 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ g_assert_not_reached ();
+#line 2504 "SavedSearchDialog.c"
}
}
-#line 112 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp12_ = self->priv->align;
-#line 112 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 106 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ _tmp12_ = self->priv->box;
+#line 106 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp13_ = self->priv->my_row;
-#line 112 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 106 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp14_ = saved_search_dialog_search_row_get_widget (_tmp13_);
-#line 112 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 106 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp15_ = _tmp14_;
-#line 112 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_container_get_type (), GtkContainer), _tmp15_);
-#line 112 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 106 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ gtk_box_pack_start (_tmp12_, _tmp15_, TRUE, TRUE, (guint) 0);
+#line 106 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (_tmp15_);
-#line 2551 "SavedSearchDialog.c"
+#line 2519 "SavedSearchDialog.c"
}
@@ -2558,54 +2526,54 @@ static SearchConditionSearchType saved_search_dialog_search_row_container_get_se
GtkComboBoxText* _tmp1_ = NULL;
gint _tmp2_ = 0;
SearchConditionSearchType _tmp3_ = 0;
-#line 115 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 109 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_CONTAINER (self), 0);
-#line 116 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 110 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->search_types;
-#line 116 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 110 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0__length1 = self->priv->search_types_length1;
-#line 116 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 110 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = self->priv->type_combo;
-#line 116 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 110 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox));
-#line 116 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 110 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = _tmp0_[_tmp2_];
-#line 116 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 110 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = _tmp3_;
-#line 116 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 110 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 2578 "SavedSearchDialog.c"
+#line 2546 "SavedSearchDialog.c"
}
static gboolean saved_search_dialog_search_row_container_on_removed (SavedSearchDialogSearchRowContainer* self, GdkEventButton* event) {
gboolean result = FALSE;
-#line 119 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 113 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_CONTAINER (self), FALSE);
-#line 119 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 113 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 120 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 114 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_emit_by_name (self, "remove", self);
-#line 121 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 115 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = FALSE;
-#line 121 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 115 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 2594 "SavedSearchDialog.c"
+#line 2562 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_container_allow_removal (SavedSearchDialogSearchRowContainer* self, gboolean allow) {
GtkButton* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 124 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 118 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_CONTAINER (self));
-#line 125 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 119 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->remove_button;
-#line 125 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 119 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = allow;
-#line 125 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 119 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), _tmp1_);
-#line 2609 "SavedSearchDialog.c"
+#line 2577 "SavedSearchDialog.c"
}
@@ -2613,17 +2581,17 @@ static GtkWidget* saved_search_dialog_search_row_container_get_widget (SavedSear
GtkWidget* result = NULL;
GtkBox* _tmp0_ = NULL;
GtkWidget* _tmp1_ = NULL;
-#line 128 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 122 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_CONTAINER (self), NULL);
-#line 129 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 123 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->box;
-#line 129 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 123 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 129 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 123 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = _tmp1_;
-#line 129 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 123 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 2627 "SavedSearchDialog.c"
+#line 2595 "SavedSearchDialog.c"
}
@@ -2631,17 +2599,17 @@ static SearchCondition* saved_search_dialog_search_row_container_get_search_cond
SearchCondition* result = NULL;
SavedSearchDialogSearchRow* _tmp0_ = NULL;
SearchCondition* _tmp1_ = NULL;
-#line 132 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 126 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_CONTAINER (self), NULL);
-#line 133 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 127 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->my_row;
-#line 133 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 127 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = saved_search_dialog_search_row_get_search_condition (_tmp0_);
-#line 133 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 127 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = _tmp1_;
-#line 133 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 127 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 2645 "SavedSearchDialog.c"
+#line 2613 "SavedSearchDialog.c"
}
@@ -2649,17 +2617,17 @@ static gboolean saved_search_dialog_search_row_container_is_complete (SavedSearc
gboolean result = FALSE;
SavedSearchDialogSearchRow* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 130 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_CONTAINER (self), FALSE);
-#line 137 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 131 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->my_row;
-#line 137 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 131 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = saved_search_dialog_search_row_is_complete (_tmp0_);
-#line 137 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 131 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = _tmp1_;
-#line 137 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 131 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 2663 "SavedSearchDialog.c"
+#line 2631 "SavedSearchDialog.c"
}
@@ -2678,26 +2646,26 @@ static void g_cclosure_user_marshal_VOID__SAVED_SEARCH_DIALOG_SEARCH_ROW_CONTAIN
data1 = closure->data;
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
data2 = param_values->data[0].v_pointer;
-#line 2682 "SavedSearchDialog.c"
+#line 2650 "SavedSearchDialog.c"
} else {
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
data1 = param_values->data[0].v_pointer;
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
data2 = closure->data;
-#line 2688 "SavedSearchDialog.c"
+#line 2656 "SavedSearchDialog.c"
}
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
callback = (GMarshalFunc_VOID__SAVED_SEARCH_DIALOG_SEARCH_ROW_CONTAINER) (marshal_data ? marshal_data : cc->callback);
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
callback (data1, saved_search_dialog_value_get_search_row_container (param_values + 1), data2);
-#line 2694 "SavedSearchDialog.c"
+#line 2662 "SavedSearchDialog.c"
}
static void saved_search_dialog_value_search_row_container_init (GValue* value) {
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
value->data[0].v_pointer = NULL;
-#line 2701 "SavedSearchDialog.c"
+#line 2669 "SavedSearchDialog.c"
}
@@ -2706,7 +2674,7 @@ static void saved_search_dialog_value_search_row_container_free_value (GValue* v
if (value->data[0].v_pointer) {
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_container_unref (value->data[0].v_pointer);
-#line 2710 "SavedSearchDialog.c"
+#line 2678 "SavedSearchDialog.c"
}
}
@@ -2716,11 +2684,11 @@ static void saved_search_dialog_value_search_row_container_copy_value (const GVa
if (src_value->data[0].v_pointer) {
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
dest_value->data[0].v_pointer = saved_search_dialog_search_row_container_ref (src_value->data[0].v_pointer);
-#line 2720 "SavedSearchDialog.c"
+#line 2688 "SavedSearchDialog.c"
} else {
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
dest_value->data[0].v_pointer = NULL;
-#line 2724 "SavedSearchDialog.c"
+#line 2692 "SavedSearchDialog.c"
}
}
@@ -2728,37 +2696,37 @@ static void saved_search_dialog_value_search_row_container_copy_value (const GVa
static gpointer saved_search_dialog_value_search_row_container_peek_pointer (const GValue* value) {
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return value->data[0].v_pointer;
-#line 2732 "SavedSearchDialog.c"
+#line 2700 "SavedSearchDialog.c"
}
static gchar* saved_search_dialog_value_search_row_container_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (collect_values[0].v_pointer) {
-#line 2739 "SavedSearchDialog.c"
+#line 2707 "SavedSearchDialog.c"
SavedSearchDialogSearchRowContainer* object;
object = collect_values[0].v_pointer;
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (object->parent_instance.g_class == NULL) {
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 2746 "SavedSearchDialog.c"
+#line 2714 "SavedSearchDialog.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 2750 "SavedSearchDialog.c"
+#line 2718 "SavedSearchDialog.c"
}
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
value->data[0].v_pointer = saved_search_dialog_search_row_container_ref (object);
-#line 2754 "SavedSearchDialog.c"
+#line 2722 "SavedSearchDialog.c"
} else {
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
value->data[0].v_pointer = NULL;
-#line 2758 "SavedSearchDialog.c"
+#line 2726 "SavedSearchDialog.c"
}
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return NULL;
-#line 2762 "SavedSearchDialog.c"
+#line 2730 "SavedSearchDialog.c"
}
@@ -2769,25 +2737,25 @@ static gchar* saved_search_dialog_value_search_row_container_lcopy_value (const
if (!object_p) {
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 2773 "SavedSearchDialog.c"
+#line 2741 "SavedSearchDialog.c"
}
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (!value->data[0].v_pointer) {
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
*object_p = NULL;
-#line 2779 "SavedSearchDialog.c"
+#line 2747 "SavedSearchDialog.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
*object_p = value->data[0].v_pointer;
-#line 2783 "SavedSearchDialog.c"
+#line 2751 "SavedSearchDialog.c"
} else {
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
*object_p = saved_search_dialog_search_row_container_ref (value->data[0].v_pointer);
-#line 2787 "SavedSearchDialog.c"
+#line 2755 "SavedSearchDialog.c"
}
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return NULL;
-#line 2791 "SavedSearchDialog.c"
+#line 2759 "SavedSearchDialog.c"
}
@@ -2801,7 +2769,7 @@ static GParamSpec* saved_search_dialog_param_spec_search_row_container (const gc
G_PARAM_SPEC (spec)->value_type = object_type;
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return G_PARAM_SPEC (spec);
-#line 2805 "SavedSearchDialog.c"
+#line 2773 "SavedSearchDialog.c"
}
@@ -2810,7 +2778,7 @@ static gpointer saved_search_dialog_value_get_search_row_container (const GValue
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_CONTAINER), NULL);
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return value->data[0].v_pointer;
-#line 2814 "SavedSearchDialog.c"
+#line 2782 "SavedSearchDialog.c"
}
@@ -2830,17 +2798,17 @@ static void saved_search_dialog_value_set_search_row_container (GValue* value, g
value->data[0].v_pointer = v_object;
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_container_ref (value->data[0].v_pointer);
-#line 2834 "SavedSearchDialog.c"
+#line 2802 "SavedSearchDialog.c"
} else {
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
value->data[0].v_pointer = NULL;
-#line 2838 "SavedSearchDialog.c"
+#line 2806 "SavedSearchDialog.c"
}
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (old) {
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_container_unref (old);
-#line 2844 "SavedSearchDialog.c"
+#line 2812 "SavedSearchDialog.c"
}
}
@@ -2859,17 +2827,17 @@ static void saved_search_dialog_value_take_search_row_container (GValue* value,
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
value->data[0].v_pointer = v_object;
-#line 2863 "SavedSearchDialog.c"
+#line 2831 "SavedSearchDialog.c"
} else {
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
value->data[0].v_pointer = NULL;
-#line 2867 "SavedSearchDialog.c"
+#line 2835 "SavedSearchDialog.c"
}
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (old) {
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_container_unref (old);
-#line 2873 "SavedSearchDialog.c"
+#line 2841 "SavedSearchDialog.c"
}
}
@@ -2885,18 +2853,18 @@ static void saved_search_dialog_search_row_container_class_init (SavedSearchDial
g_signal_new ("remove", SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_CONTAINER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__SAVED_SEARCH_DIALOG_SEARCH_ROW_CONTAINER, G_TYPE_NONE, 1, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_CONTAINER);
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_new ("changed", SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_CONTAINER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__SAVED_SEARCH_DIALOG_SEARCH_ROW_CONTAINER, G_TYPE_NONE, 1, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_CONTAINER);
-#line 2889 "SavedSearchDialog.c"
+#line 2857 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_container_instance_init (SavedSearchDialogSearchRowContainer * self) {
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv = SAVED_SEARCH_DIALOG_SEARCH_ROW_CONTAINER_GET_PRIVATE (self);
-#line 22 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 21 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->my_row = NULL;
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->ref_count = 1;
-#line 2900 "SavedSearchDialog.c"
+#line 2868 "SavedSearchDialog.c"
}
@@ -2911,16 +2879,14 @@ static void saved_search_dialog_search_row_container_finalize (SavedSearchDialog
#line 16 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->box);
#line 17 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _g_object_unref0 (self->priv->align);
-#line 18 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->remove_button);
-#line 19 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 18 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->search_types = (g_free (self->priv->search_types), NULL);
-#line 20 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 19 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->search_types_index);
-#line 22 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 21 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_unref0 (self->priv->my_row);
-#line 2924 "SavedSearchDialog.c"
+#line 2890 "SavedSearchDialog.c"
}
@@ -2945,7 +2911,7 @@ static gpointer saved_search_dialog_search_row_container_ref (gpointer instance)
g_atomic_int_inc (&self->ref_count);
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return instance;
-#line 2949 "SavedSearchDialog.c"
+#line 2915 "SavedSearchDialog.c"
}
@@ -2958,304 +2924,304 @@ static void saved_search_dialog_search_row_container_unref (gpointer instance) {
SAVED_SEARCH_DIALOG_SEARCH_ROW_CONTAINER_GET_CLASS (self)->finalize (self);
#line 11 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 2962 "SavedSearchDialog.c"
+#line 2928 "SavedSearchDialog.c"
}
}
static GtkWidget* saved_search_dialog_search_row_real_get_widget (SavedSearchDialogSearchRow* self) {
-#line 144 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 138 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_critical ("Type `%s' does not implement abstract method `saved_search_dialog_search_row_get_widget'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
-#line 144 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 138 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return NULL;
-#line 2972 "SavedSearchDialog.c"
+#line 2938 "SavedSearchDialog.c"
}
GtkWidget* saved_search_dialog_search_row_get_widget (SavedSearchDialogSearchRow* self) {
-#line 144 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 138 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW (self), NULL);
-#line 144 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 138 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return SAVED_SEARCH_DIALOG_SEARCH_ROW_GET_CLASS (self)->get_widget (self);
-#line 2981 "SavedSearchDialog.c"
+#line 2947 "SavedSearchDialog.c"
}
static SearchCondition* saved_search_dialog_search_row_real_get_search_condition (SavedSearchDialogSearchRow* self) {
-#line 147 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 141 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_critical ("Type `%s' does not implement abstract method `saved_search_dialog_search_row_get_search_condition'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
-#line 147 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 141 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return NULL;
-#line 2990 "SavedSearchDialog.c"
+#line 2956 "SavedSearchDialog.c"
}
SearchCondition* saved_search_dialog_search_row_get_search_condition (SavedSearchDialogSearchRow* self) {
-#line 147 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 141 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW (self), NULL);
-#line 147 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 141 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return SAVED_SEARCH_DIALOG_SEARCH_ROW_GET_CLASS (self)->get_search_condition (self);
-#line 2999 "SavedSearchDialog.c"
+#line 2965 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_real_populate (SavedSearchDialogSearchRow* self, SearchCondition* sc) {
-#line 150 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 144 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_critical ("Type `%s' does not implement abstract method `saved_search_dialog_search_row_populate'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
-#line 150 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 144 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return;
-#line 3008 "SavedSearchDialog.c"
+#line 2974 "SavedSearchDialog.c"
}
void saved_search_dialog_search_row_populate (SavedSearchDialogSearchRow* self, SearchCondition* sc) {
-#line 150 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 144 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW (self));
-#line 150 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 144 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
SAVED_SEARCH_DIALOG_SEARCH_ROW_GET_CLASS (self)->populate (self, sc);
-#line 3017 "SavedSearchDialog.c"
+#line 2983 "SavedSearchDialog.c"
}
static gboolean saved_search_dialog_search_row_real_is_complete (SavedSearchDialogSearchRow* self) {
-#line 153 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 147 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_critical ("Type `%s' does not implement abstract method `saved_search_dialog_search_row_is_complete'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
-#line 153 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 147 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return FALSE;
-#line 3026 "SavedSearchDialog.c"
+#line 2992 "SavedSearchDialog.c"
}
gboolean saved_search_dialog_search_row_is_complete (SavedSearchDialogSearchRow* self) {
-#line 153 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 147 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW (self), FALSE);
-#line 153 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 147 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return SAVED_SEARCH_DIALOG_SEARCH_ROW_GET_CLASS (self)->is_complete (self);
-#line 3035 "SavedSearchDialog.c"
+#line 3001 "SavedSearchDialog.c"
}
static SavedSearchDialogSearchRow* saved_search_dialog_search_row_construct (GType object_type) {
SavedSearchDialogSearchRow* self = NULL;
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = (SavedSearchDialogSearchRow*) g_type_create_instance (object_type);
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return self;
-#line 3045 "SavedSearchDialog.c"
+#line 3011 "SavedSearchDialog.c"
}
static void saved_search_dialog_value_search_row_init (GValue* value) {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
value->data[0].v_pointer = NULL;
-#line 3052 "SavedSearchDialog.c"
+#line 3018 "SavedSearchDialog.c"
}
static void saved_search_dialog_value_search_row_free_value (GValue* value) {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (value->data[0].v_pointer) {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_unref (value->data[0].v_pointer);
-#line 3061 "SavedSearchDialog.c"
+#line 3027 "SavedSearchDialog.c"
}
}
static void saved_search_dialog_value_search_row_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (src_value->data[0].v_pointer) {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
dest_value->data[0].v_pointer = saved_search_dialog_search_row_ref (src_value->data[0].v_pointer);
-#line 3071 "SavedSearchDialog.c"
+#line 3037 "SavedSearchDialog.c"
} else {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
dest_value->data[0].v_pointer = NULL;
-#line 3075 "SavedSearchDialog.c"
+#line 3041 "SavedSearchDialog.c"
}
}
static gpointer saved_search_dialog_value_search_row_peek_pointer (const GValue* value) {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return value->data[0].v_pointer;
-#line 3083 "SavedSearchDialog.c"
+#line 3049 "SavedSearchDialog.c"
}
static gchar* saved_search_dialog_value_search_row_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (collect_values[0].v_pointer) {
-#line 3090 "SavedSearchDialog.c"
+#line 3056 "SavedSearchDialog.c"
SavedSearchDialogSearchRow* object;
object = collect_values[0].v_pointer;
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (object->parent_instance.g_class == NULL) {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 3097 "SavedSearchDialog.c"
+#line 3063 "SavedSearchDialog.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 3101 "SavedSearchDialog.c"
+#line 3067 "SavedSearchDialog.c"
}
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
value->data[0].v_pointer = saved_search_dialog_search_row_ref (object);
-#line 3105 "SavedSearchDialog.c"
+#line 3071 "SavedSearchDialog.c"
} else {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
value->data[0].v_pointer = NULL;
-#line 3109 "SavedSearchDialog.c"
+#line 3075 "SavedSearchDialog.c"
}
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return NULL;
-#line 3113 "SavedSearchDialog.c"
+#line 3079 "SavedSearchDialog.c"
}
static gchar* saved_search_dialog_value_search_row_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
SavedSearchDialogSearchRow** object_p;
object_p = collect_values[0].v_pointer;
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (!object_p) {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 3124 "SavedSearchDialog.c"
+#line 3090 "SavedSearchDialog.c"
}
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (!value->data[0].v_pointer) {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
*object_p = NULL;
-#line 3130 "SavedSearchDialog.c"
+#line 3096 "SavedSearchDialog.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
*object_p = value->data[0].v_pointer;
-#line 3134 "SavedSearchDialog.c"
+#line 3100 "SavedSearchDialog.c"
} else {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
*object_p = saved_search_dialog_search_row_ref (value->data[0].v_pointer);
-#line 3138 "SavedSearchDialog.c"
+#line 3104 "SavedSearchDialog.c"
}
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return NULL;
-#line 3142 "SavedSearchDialog.c"
+#line 3108 "SavedSearchDialog.c"
}
static GParamSpec* saved_search_dialog_param_spec_search_row (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
SavedSearchDialogParamSpecSearchRow* spec;
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (g_type_is_a (object_type, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW), NULL);
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return G_PARAM_SPEC (spec);
-#line 3156 "SavedSearchDialog.c"
+#line 3122 "SavedSearchDialog.c"
}
static gpointer saved_search_dialog_value_get_search_row (const GValue* value) {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW), NULL);
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return value->data[0].v_pointer;
-#line 3165 "SavedSearchDialog.c"
+#line 3131 "SavedSearchDialog.c"
}
static void saved_search_dialog_value_set_search_row (GValue* value, gpointer v_object) {
SavedSearchDialogSearchRow* old;
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW));
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
old = value->data[0].v_pointer;
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (v_object) {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW));
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
value->data[0].v_pointer = v_object;
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_ref (value->data[0].v_pointer);
-#line 3185 "SavedSearchDialog.c"
+#line 3151 "SavedSearchDialog.c"
} else {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
value->data[0].v_pointer = NULL;
-#line 3189 "SavedSearchDialog.c"
+#line 3155 "SavedSearchDialog.c"
}
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (old) {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_unref (old);
-#line 3195 "SavedSearchDialog.c"
+#line 3161 "SavedSearchDialog.c"
}
}
static void saved_search_dialog_value_take_search_row (GValue* value, gpointer v_object) {
SavedSearchDialogSearchRow* old;
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW));
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
old = value->data[0].v_pointer;
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (v_object) {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW));
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
value->data[0].v_pointer = v_object;
-#line 3214 "SavedSearchDialog.c"
+#line 3180 "SavedSearchDialog.c"
} else {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
value->data[0].v_pointer = NULL;
-#line 3218 "SavedSearchDialog.c"
+#line 3184 "SavedSearchDialog.c"
}
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (old) {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_unref (old);
-#line 3224 "SavedSearchDialog.c"
+#line 3190 "SavedSearchDialog.c"
}
}
static void saved_search_dialog_search_row_class_init (SavedSearchDialogSearchRowClass * klass) {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_parent_class = g_type_class_peek_parent (klass);
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->finalize = saved_search_dialog_search_row_finalize;
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->get_widget = saved_search_dialog_search_row_real_get_widget;
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->get_search_condition = saved_search_dialog_search_row_real_get_search_condition;
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->populate = saved_search_dialog_search_row_real_populate;
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->is_complete = saved_search_dialog_search_row_real_is_complete;
-#line 3242 "SavedSearchDialog.c"
+#line 3208 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_instance_init (SavedSearchDialogSearchRow * self) {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->ref_count = 1;
-#line 3249 "SavedSearchDialog.c"
+#line 3215 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_finalize (SavedSearchDialogSearchRow* obj) {
SavedSearchDialogSearchRow * self;
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW, SavedSearchDialogSearchRow);
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_handlers_destroy (self);
-#line 3259 "SavedSearchDialog.c"
+#line 3225 "SavedSearchDialog.c"
}
@@ -3276,46 +3242,46 @@ static GType saved_search_dialog_search_row_get_type (void) {
static gpointer saved_search_dialog_search_row_ref (gpointer instance) {
SavedSearchDialogSearchRow* self;
self = instance;
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_atomic_int_inc (&self->ref_count);
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return instance;
-#line 3284 "SavedSearchDialog.c"
+#line 3250 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_unref (gpointer instance) {
SavedSearchDialogSearchRow* self;
self = instance;
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
SAVED_SEARCH_DIALOG_SEARCH_ROW_GET_CLASS (self)->finalize (self);
-#line 142 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 136 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 3297 "SavedSearchDialog.c"
+#line 3263 "SavedSearchDialog.c"
}
}
static void _saved_search_dialog_search_row_text_on_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
-#line 190 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 184 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_text_on_changed ((SavedSearchDialogSearchRowText*) self);
-#line 3305 "SavedSearchDialog.c"
+#line 3271 "SavedSearchDialog.c"
}
static void _saved_search_dialog_search_row_text_on_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) {
-#line 191 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 185 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_text_on_changed ((SavedSearchDialogSearchRowText*) self);
-#line 3312 "SavedSearchDialog.c"
+#line 3278 "SavedSearchDialog.c"
}
static gpointer _saved_search_dialog_search_row_container_ref0 (gpointer self) {
-#line 164 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 158 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return self ? saved_search_dialog_search_row_container_ref (self) : NULL;
-#line 3319 "SavedSearchDialog.c"
+#line 3285 "SavedSearchDialog.c"
}
@@ -3350,130 +3316,130 @@ static SavedSearchDialogSearchRowText* saved_search_dialog_search_row_text_const
GtkBox* _tmp26_ = NULL;
GtkEntry* _tmp27_ = NULL;
GtkBox* _tmp28_ = NULL;
-#line 163 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 157 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_CONTAINER (parent), NULL);
-#line 163 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 157 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = (SavedSearchDialogSearchRowText*) saved_search_dialog_search_row_construct (object_type);
-#line 164 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 158 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = parent;
-#line 164 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 158 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _saved_search_dialog_search_row_container_ref0 (_tmp0_);
-#line 164 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 158 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_container_unref0 (self->priv->parent);
-#line 164 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 158 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->parent = _tmp1_;
-#line 167 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 161 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
-#line 167 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 161 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp2_);
-#line 167 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 161 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->text_context);
-#line 167 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 161 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->text_context = _tmp2_;
-#line 168 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 162 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = self->priv->text_context;
-#line 168 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 162 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = _ ("contains");
-#line 168 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 162 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp3_, _tmp4_);
-#line 169 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 163 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = self->priv->text_context;
-#line 169 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 163 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = _ ("is exactly");
-#line 169 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 163 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp5_, _tmp6_);
-#line 170 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 164 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = self->priv->text_context;
-#line 170 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 164 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = _ ("starts with");
-#line 170 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 164 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp7_, _tmp8_);
-#line 171 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 165 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = self->priv->text_context;
-#line 171 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 165 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp10_ = _ ("ends with");
-#line 171 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 165 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp9_, _tmp10_);
-#line 172 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 166 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp11_ = self->priv->text_context;
-#line 172 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 166 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp12_ = _ ("does not contain");
-#line 172 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 166 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp11_, _tmp12_);
-#line 173 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 167 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp13_ = self->priv->text_context;
-#line 173 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 167 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp14_ = _ ("is not set");
-#line 173 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 167 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp13_, _tmp14_);
-#line 174 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 168 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp15_ = self->priv->text_context;
-#line 174 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 168 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp16_ = _ ("is set");
-#line 174 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 168 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp15_, _tmp16_);
-#line 175 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 169 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp17_ = self->priv->text_context;
-#line 175 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 169 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_combo_box_get_type (), GtkComboBox), 0);
-#line 176 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 170 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp18_ = self->priv->text_context;
-#line 176 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 170 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _saved_search_dialog_search_row_text_on_changed_gtk_combo_box_changed, self);
-#line 178 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 172 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp19_ = (GtkEntry*) gtk_entry_new ();
-#line 178 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 172 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp19_);
-#line 178 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 172 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->entry);
-#line 178 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 172 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->entry = _tmp19_;
-#line 179 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 173 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp20_ = self->priv->entry;
-#line 179 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 173 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_entry_set_width_chars (_tmp20_, 25);
-#line 180 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 174 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp21_ = self->priv->entry;
-#line 180 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 174 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_entry_set_activates_default (_tmp21_, TRUE);
-#line 181 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 175 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp22_ = self->priv->entry;
-#line 181 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 175 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _saved_search_dialog_search_row_text_on_changed_gtk_editable_changed, self);
-#line 183 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 177 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp23_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3);
-#line 183 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 177 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp23_);
-#line 183 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 177 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->box);
-#line 183 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 177 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->box = _tmp23_;
-#line 184 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 178 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp24_ = self->priv->box;
-#line 184 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 178 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp25_ = self->priv->text_context;
-#line 184 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 178 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_box_pack_start (_tmp24_, G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 185 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 179 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp26_ = self->priv->box;
-#line 185 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 179 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp27_ = self->priv->entry;
-#line 185 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 179 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_box_pack_start (_tmp26_, G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 186 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 180 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp28_ = self->priv->box;
-#line 186 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 180 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, gtk_widget_get_type (), GtkWidget));
-#line 163 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 157 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return self;
-#line 3470 "SavedSearchDialog.c"
+#line 3436 "SavedSearchDialog.c"
}
static SavedSearchDialogSearchRowText* saved_search_dialog_search_row_text_new (SavedSearchDialogSearchRowContainer* parent) {
-#line 163 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 157 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return saved_search_dialog_search_row_text_construct (SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_TEXT, parent);
-#line 3477 "SavedSearchDialog.c"
+#line 3443 "SavedSearchDialog.c"
}
@@ -3482,17 +3448,17 @@ static GtkWidget* saved_search_dialog_search_row_text_real_get_widget (SavedSear
GtkWidget* result = NULL;
GtkBox* _tmp0_ = NULL;
GtkWidget* _tmp1_ = NULL;
-#line 194 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 188 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_TEXT, SavedSearchDialogSearchRowText);
-#line 195 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 189 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->box;
-#line 195 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 189 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 195 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 189 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = _tmp1_;
-#line 195 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 189 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 3496 "SavedSearchDialog.c"
+#line 3462 "SavedSearchDialog.c"
}
@@ -3510,44 +3476,44 @@ static SearchCondition* saved_search_dialog_search_row_text_real_get_search_cond
SearchConditionTextContext _tmp5_ = 0;
SearchConditionText* c = NULL;
SearchConditionText* _tmp6_ = NULL;
-#line 198 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 192 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_TEXT, SavedSearchDialogSearchRowText);
-#line 199 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 193 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->parent;
-#line 199 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 193 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = saved_search_dialog_search_row_container_get_search_type (_tmp0_);
-#line 199 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 193 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
type = _tmp1_;
-#line 200 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 194 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->entry;
-#line 200 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 194 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = gtk_entry_get_text (_tmp2_);
-#line 200 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 194 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = g_strdup (_tmp3_);
-#line 200 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 194 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
text = _tmp4_;
-#line 201 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 195 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = saved_search_dialog_search_row_text_get_text_context (self);
-#line 201 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 195 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
context = _tmp5_;
-#line 202 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 196 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = search_condition_text_new (type, text, context);
-#line 202 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 196 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
c = _tmp6_;
-#line 203 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 197 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (c, TYPE_SEARCH_CONDITION, SearchCondition);
-#line 203 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 197 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_free0 (text);
-#line 203 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 197 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 3544 "SavedSearchDialog.c"
+#line 3510 "SavedSearchDialog.c"
}
static gpointer _search_condition_ref0 (gpointer self) {
-#line 207 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 201 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return self ? search_condition_ref (self) : NULL;
-#line 3551 "SavedSearchDialog.c"
+#line 3517 "SavedSearchDialog.c"
}
@@ -3562,39 +3528,39 @@ static void saved_search_dialog_search_row_text_real_populate (SavedSearchDialog
GtkEntry* _tmp5_ = NULL;
const gchar* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
-#line 206 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 200 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_TEXT, SavedSearchDialogSearchRowText);
-#line 206 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 200 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (IS_SEARCH_CONDITION (sc));
-#line 207 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 201 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = sc;
-#line 207 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 201 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _search_condition_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_SEARCH_CONDITION_TEXT) ? ((SearchConditionText*) _tmp0_) : NULL);
-#line 207 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 201 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
text = _tmp1_;
-#line 208 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 202 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_vala_assert (text != NULL, "text != null");
-#line 209 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 203 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->text_context;
-#line 209 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 203 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = search_condition_text_get_context (text);
-#line 209 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 203 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = _tmp3_;
-#line 209 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 203 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_combo_box_get_type (), GtkComboBox), (gint) _tmp4_);
-#line 210 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 204 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = self->priv->entry;
-#line 210 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 204 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = search_condition_text_get_text (text);
-#line 210 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 204 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = _tmp6_;
-#line 210 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 204 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_entry_set_text (_tmp5_, _tmp7_);
-#line 211 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 205 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_text_on_changed (self);
-#line 206 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 200 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_search_condition_unref0 (text);
-#line 3598 "SavedSearchDialog.c"
+#line 3564 "SavedSearchDialog.c"
}
@@ -3609,53 +3575,53 @@ static gboolean saved_search_dialog_search_row_text_real_is_complete (SavedSearc
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
-#line 214 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 208 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_TEXT, SavedSearchDialogSearchRowText);
-#line 215 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 209 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->entry;
-#line 215 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 209 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = gtk_entry_get_text (_tmp2_);
-#line 215 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 209 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = _tmp3_;
-#line 215 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 209 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = string_chomp (_tmp4_);
-#line 215 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 209 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = _tmp5_;
-#line 215 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 209 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = g_strcmp0 (_tmp6_, "") != 0;
-#line 215 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 209 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_free0 (_tmp6_);
-#line 215 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 209 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp7_) {
-#line 215 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 209 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = TRUE;
-#line 3633 "SavedSearchDialog.c"
+#line 3599 "SavedSearchDialog.c"
} else {
SearchConditionTextContext _tmp8_ = 0;
-#line 216 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 210 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = saved_search_dialog_search_row_text_get_text_context (self);
-#line 216 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 210 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _tmp8_ == SEARCH_CONDITION_TEXT_CONTEXT_IS_NOT_SET;
-#line 3640 "SavedSearchDialog.c"
+#line 3606 "SavedSearchDialog.c"
}
-#line 215 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 209 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp1_) {
-#line 215 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 209 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = TRUE;
-#line 3646 "SavedSearchDialog.c"
+#line 3612 "SavedSearchDialog.c"
} else {
SearchConditionTextContext _tmp9_ = 0;
-#line 217 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 211 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = saved_search_dialog_search_row_text_get_text_context (self);
-#line 217 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 211 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = _tmp9_ == SEARCH_CONDITION_TEXT_CONTEXT_IS_SET;
-#line 3653 "SavedSearchDialog.c"
+#line 3619 "SavedSearchDialog.c"
}
-#line 215 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 209 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = _tmp0_;
-#line 215 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 209 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 3659 "SavedSearchDialog.c"
+#line 3625 "SavedSearchDialog.c"
}
@@ -3663,17 +3629,17 @@ static SearchConditionTextContext saved_search_dialog_search_row_text_get_text_c
SearchConditionTextContext result = 0;
GtkComboBoxText* _tmp0_ = NULL;
gint _tmp1_ = 0;
-#line 220 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 214 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_TEXT (self), 0);
-#line 221 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 215 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->text_context;
-#line 221 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 215 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_combo_box_get_type (), GtkComboBox));
-#line 221 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 215 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = (SearchConditionTextContext) _tmp1_;
-#line 221 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 215 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 3677 "SavedSearchDialog.c"
+#line 3643 "SavedSearchDialog.c"
}
@@ -3682,73 +3648,73 @@ static void saved_search_dialog_search_row_text_on_changed (SavedSearchDialogSea
SearchConditionTextContext _tmp1_ = 0;
SavedSearchDialogSearchRowContainer* _tmp5_ = NULL;
SavedSearchDialogSearchRowContainer* _tmp6_ = NULL;
-#line 224 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 218 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_TEXT (self));
-#line 225 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 219 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = saved_search_dialog_search_row_text_get_text_context (self);
-#line 225 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 219 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp1_ == SEARCH_CONDITION_TEXT_CONTEXT_IS_NOT_SET) {
-#line 225 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 219 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = TRUE;
-#line 3694 "SavedSearchDialog.c"
+#line 3660 "SavedSearchDialog.c"
} else {
SearchConditionTextContext _tmp2_ = 0;
-#line 226 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 220 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = saved_search_dialog_search_row_text_get_text_context (self);
-#line 226 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 220 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = _tmp2_ == SEARCH_CONDITION_TEXT_CONTEXT_IS_SET;
-#line 3701 "SavedSearchDialog.c"
+#line 3667 "SavedSearchDialog.c"
}
-#line 225 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 219 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp0_) {
-#line 3705 "SavedSearchDialog.c"
+#line 3671 "SavedSearchDialog.c"
GtkEntry* _tmp3_ = NULL;
-#line 227 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 221 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = self->priv->entry;
-#line 227 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 221 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget));
-#line 3711 "SavedSearchDialog.c"
+#line 3677 "SavedSearchDialog.c"
} else {
GtkEntry* _tmp4_ = NULL;
-#line 229 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 223 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = self->priv->entry;
-#line 229 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 223 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_show (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget));
-#line 3718 "SavedSearchDialog.c"
+#line 3684 "SavedSearchDialog.c"
}
-#line 232 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 226 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = self->priv->parent;
-#line 232 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 226 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = self->priv->parent;
-#line 232 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 226 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_emit_by_name (_tmp5_, "changed", _tmp6_);
-#line 3726 "SavedSearchDialog.c"
+#line 3692 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_text_class_init (SavedSearchDialogSearchRowTextClass * klass) {
-#line 156 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 150 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_text_parent_class = g_type_class_peek_parent (klass);
-#line 156 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 150 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->finalize = saved_search_dialog_search_row_text_finalize;
-#line 156 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 150 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_type_class_add_private (klass, sizeof (SavedSearchDialogSearchRowTextPrivate));
-#line 156 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 150 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->get_widget = saved_search_dialog_search_row_text_real_get_widget;
-#line 156 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 150 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->get_search_condition = saved_search_dialog_search_row_text_real_get_search_condition;
-#line 156 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 150 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->populate = saved_search_dialog_search_row_text_real_populate;
-#line 156 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 150 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->is_complete = saved_search_dialog_search_row_text_real_is_complete;
-#line 3745 "SavedSearchDialog.c"
+#line 3711 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_text_instance_init (SavedSearchDialogSearchRowText * self) {
-#line 156 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 150 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv = SAVED_SEARCH_DIALOG_SEARCH_ROW_TEXT_GET_PRIVATE (self);
-#line 3752 "SavedSearchDialog.c"
+#line 3718 "SavedSearchDialog.c"
}
@@ -3758,31 +3724,31 @@ static void saved_search_dialog_search_row_text_finalize (SavedSearchDialogSearc
guint _tmp1_ = 0U;
GtkEntry* _tmp2_ = NULL;
guint _tmp3_ = 0U;
-#line 156 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 150 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_TEXT, SavedSearchDialogSearchRowText);
-#line 190 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 184 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->text_context;
-#line 190 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 184 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_parse_name ("changed", gtk_combo_box_get_type (), &_tmp1_, NULL, FALSE);
-#line 190 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 184 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_combo_box_get_type (), GtkComboBox), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _saved_search_dialog_search_row_text_on_changed_gtk_combo_box_changed, self);
-#line 191 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 185 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->entry;
-#line 191 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 185 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_parse_name ("changed", GTK_TYPE_EDITABLE, &_tmp3_, NULL, FALSE);
-#line 191 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 185 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GTK_TYPE_EDITABLE, GtkEditable), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _saved_search_dialog_search_row_text_on_changed_gtk_editable_changed, self);
-#line 157 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 151 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->box);
-#line 158 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 152 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->text_context);
-#line 159 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 153 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->entry);
-#line 161 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 155 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_container_unref0 (self->priv->parent);
-#line 156 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 150 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
SAVED_SEARCH_DIALOG_SEARCH_ROW_CLASS (saved_search_dialog_search_row_text_parent_class)->finalize (obj);
-#line 3786 "SavedSearchDialog.c"
+#line 3752 "SavedSearchDialog.c"
}
@@ -3799,9 +3765,9 @@ static GType saved_search_dialog_search_row_text_get_type (void) {
static void _saved_search_dialog_search_row_media_type_on_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
-#line 268 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 262 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_media_type_on_changed ((SavedSearchDialogSearchRowMediaType*) self);
-#line 3805 "SavedSearchDialog.c"
+#line 3771 "SavedSearchDialog.c"
}
@@ -3831,114 +3797,114 @@ static SavedSearchDialogSearchRowMediaType* saved_search_dialog_search_row_media
GtkBox* _tmp21_ = NULL;
GtkComboBoxText* _tmp22_ = NULL;
GtkBox* _tmp23_ = NULL;
-#line 243 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 237 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_CONTAINER (parent), NULL);
-#line 243 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 237 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = (SavedSearchDialogSearchRowMediaType*) saved_search_dialog_search_row_construct (object_type);
-#line 244 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 238 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = parent;
-#line 244 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 238 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _saved_search_dialog_search_row_container_ref0 (_tmp0_);
-#line 244 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 238 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_container_unref0 (self->priv->parent);
-#line 244 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 238 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->parent = _tmp1_;
-#line 247 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 241 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
-#line 247 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 241 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp2_);
-#line 247 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 241 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->media_context);
-#line 247 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 241 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->media_context = _tmp2_;
-#line 248 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 242 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = self->priv->media_context;
-#line 248 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 242 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = _ ("is");
-#line 248 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 242 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp3_, _tmp4_);
-#line 249 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 243 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = self->priv->media_context;
-#line 249 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 243 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = _ ("is not");
-#line 249 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 243 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp5_, _tmp6_);
-#line 250 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 244 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = self->priv->media_context;
-#line 250 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 244 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_combo_box_get_type (), GtkComboBox), 0);
-#line 251 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 245 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = self->priv->media_context;
-#line 251 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 245 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _saved_search_dialog_search_row_media_type_on_changed_gtk_combo_box_changed, self);
-#line 254 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 248 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
-#line 254 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 248 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp9_);
-#line 254 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 248 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->media_type);
-#line 254 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 248 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->media_type = _tmp9_;
-#line 255 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 249 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp10_ = self->priv->media_type;
-#line 255 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 249 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp11_ = _ ("any photo");
-#line 255 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 249 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp10_, _tmp11_);
-#line 256 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 250 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp12_ = self->priv->media_type;
-#line 256 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 250 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp13_ = _ ("a raw photo");
-#line 256 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 250 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp12_, _tmp13_);
-#line 257 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 251 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp14_ = self->priv->media_type;
-#line 257 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 251 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp15_ = _ ("a video");
-#line 257 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 251 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp14_, _tmp15_);
-#line 258 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 252 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp16_ = self->priv->media_type;
-#line 258 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 252 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_combo_box_get_type (), GtkComboBox), 0);
-#line 259 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 253 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp17_ = self->priv->media_type;
-#line 259 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 253 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _saved_search_dialog_search_row_media_type_on_changed_gtk_combo_box_changed, self);
-#line 261 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 255 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp18_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3);
-#line 261 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 255 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp18_);
-#line 261 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 255 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->box);
-#line 261 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 255 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->box = _tmp18_;
-#line 262 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 256 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp19_ = self->priv->box;
-#line 262 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 256 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp20_ = self->priv->media_context;
-#line 262 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 256 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_box_pack_start (_tmp19_, G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 263 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 257 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp21_ = self->priv->box;
-#line 263 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 257 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp22_ = self->priv->media_type;
-#line 263 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 257 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_box_pack_start (_tmp21_, G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 264 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 258 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp23_ = self->priv->box;
-#line 264 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 258 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_widget_get_type (), GtkWidget));
-#line 243 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 237 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return self;
-#line 3935 "SavedSearchDialog.c"
+#line 3901 "SavedSearchDialog.c"
}
static SavedSearchDialogSearchRowMediaType* saved_search_dialog_search_row_media_type_new (SavedSearchDialogSearchRowContainer* parent) {
-#line 243 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 237 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return saved_search_dialog_search_row_media_type_construct (SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_MEDIA_TYPE, parent);
-#line 3942 "SavedSearchDialog.c"
+#line 3908 "SavedSearchDialog.c"
}
@@ -3947,17 +3913,17 @@ static GtkWidget* saved_search_dialog_search_row_media_type_real_get_widget (Sav
GtkWidget* result = NULL;
GtkBox* _tmp0_ = NULL;
GtkWidget* _tmp1_ = NULL;
-#line 272 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 266 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_MEDIA_TYPE, SavedSearchDialogSearchRowMediaType);
-#line 273 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 267 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->box;
-#line 273 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 267 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 273 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 267 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = _tmp1_;
-#line 273 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 267 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 3961 "SavedSearchDialog.c"
+#line 3927 "SavedSearchDialog.c"
}
@@ -3975,35 +3941,35 @@ static SearchCondition* saved_search_dialog_search_row_media_type_real_get_searc
gint _tmp5_ = 0;
SearchConditionMediaType* c = NULL;
SearchConditionMediaType* _tmp6_ = NULL;
-#line 276 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 270 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_MEDIA_TYPE, SavedSearchDialogSearchRowMediaType);
-#line 277 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 271 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->parent;
-#line 277 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 271 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = saved_search_dialog_search_row_container_get_search_type (_tmp0_);
-#line 277 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 271 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
search_type = _tmp1_;
-#line 278 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 272 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->media_context;
-#line 278 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 272 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_combo_box_get_type (), GtkComboBox));
-#line 278 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 272 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
context = (SearchConditionMediaTypeContext) _tmp3_;
-#line 279 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 273 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = self->priv->media_type;
-#line 279 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 273 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_combo_box_get_type (), GtkComboBox));
-#line 279 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 273 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
type = (SearchConditionMediaTypeMediaType) _tmp5_;
-#line 280 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 274 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = search_condition_media_type_new (search_type, context, type);
-#line 280 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 274 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
c = _tmp6_;
-#line 281 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 275 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (c, TYPE_SEARCH_CONDITION, SearchCondition);
-#line 281 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 275 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 4007 "SavedSearchDialog.c"
+#line 3973 "SavedSearchDialog.c"
}
@@ -4018,91 +3984,91 @@ static void saved_search_dialog_search_row_media_type_real_populate (SavedSearch
GtkComboBoxText* _tmp5_ = NULL;
SearchConditionMediaTypeMediaType _tmp6_ = 0;
SearchConditionMediaTypeMediaType _tmp7_ = 0;
-#line 284 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 278 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_MEDIA_TYPE, SavedSearchDialogSearchRowMediaType);
-#line 284 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 278 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (IS_SEARCH_CONDITION (sc));
-#line 285 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 279 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = sc;
-#line 285 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 279 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _search_condition_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_SEARCH_CONDITION_MEDIA_TYPE) ? ((SearchConditionMediaType*) _tmp0_) : NULL);
-#line 285 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 279 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
media = _tmp1_;
-#line 286 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 280 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_vala_assert (media != NULL, "media != null");
-#line 287 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 281 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->media_context;
-#line 287 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 281 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = search_condition_media_type_get_context (media);
-#line 287 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 281 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = _tmp3_;
-#line 287 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 281 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_combo_box_get_type (), GtkComboBox), (gint) _tmp4_);
-#line 288 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 282 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = self->priv->media_type;
-#line 288 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 282 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = search_condition_media_type_get_media_type (media);
-#line 288 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 282 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = _tmp6_;
-#line 288 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 282 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_combo_box_get_type (), GtkComboBox), (gint) _tmp7_);
-#line 284 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 278 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_search_condition_unref0 (media);
-#line 4052 "SavedSearchDialog.c"
+#line 4018 "SavedSearchDialog.c"
}
static gboolean saved_search_dialog_search_row_media_type_real_is_complete (SavedSearchDialogSearchRow* base) {
SavedSearchDialogSearchRowMediaType * self;
gboolean result = FALSE;
-#line 291 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 285 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_MEDIA_TYPE, SavedSearchDialogSearchRowMediaType);
-#line 292 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 286 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = TRUE;
-#line 292 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 286 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 4065 "SavedSearchDialog.c"
+#line 4031 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_media_type_on_changed (SavedSearchDialogSearchRowMediaType* self) {
SavedSearchDialogSearchRowContainer* _tmp0_ = NULL;
SavedSearchDialogSearchRowContainer* _tmp1_ = NULL;
-#line 295 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 289 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_MEDIA_TYPE (self));
-#line 296 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 290 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->parent;
-#line 296 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 290 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = self->priv->parent;
-#line 296 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 290 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_emit_by_name (_tmp0_, "changed", _tmp1_);
-#line 4080 "SavedSearchDialog.c"
+#line 4046 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_media_type_class_init (SavedSearchDialogSearchRowMediaTypeClass * klass) {
-#line 236 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 230 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_media_type_parent_class = g_type_class_peek_parent (klass);
-#line 236 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 230 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->finalize = saved_search_dialog_search_row_media_type_finalize;
-#line 236 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 230 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_type_class_add_private (klass, sizeof (SavedSearchDialogSearchRowMediaTypePrivate));
-#line 236 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 230 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->get_widget = saved_search_dialog_search_row_media_type_real_get_widget;
-#line 236 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 230 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->get_search_condition = saved_search_dialog_search_row_media_type_real_get_search_condition;
-#line 236 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 230 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->populate = saved_search_dialog_search_row_media_type_real_populate;
-#line 236 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 230 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->is_complete = saved_search_dialog_search_row_media_type_real_is_complete;
-#line 4099 "SavedSearchDialog.c"
+#line 4065 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_media_type_instance_init (SavedSearchDialogSearchRowMediaType * self) {
-#line 236 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 230 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv = SAVED_SEARCH_DIALOG_SEARCH_ROW_MEDIA_TYPE_GET_PRIVATE (self);
-#line 4106 "SavedSearchDialog.c"
+#line 4072 "SavedSearchDialog.c"
}
@@ -4112,31 +4078,31 @@ static void saved_search_dialog_search_row_media_type_finalize (SavedSearchDialo
guint _tmp1_ = 0U;
GtkComboBoxText* _tmp2_ = NULL;
guint _tmp3_ = 0U;
-#line 236 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 230 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_MEDIA_TYPE, SavedSearchDialogSearchRowMediaType);
-#line 268 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 262 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->media_context;
-#line 268 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 262 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_parse_name ("changed", gtk_combo_box_get_type (), &_tmp1_, NULL, FALSE);
-#line 268 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 262 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_combo_box_get_type (), GtkComboBox), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _saved_search_dialog_search_row_media_type_on_changed_gtk_combo_box_changed, self);
-#line 269 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 263 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->media_type;
-#line 269 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 263 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_parse_name ("changed", gtk_combo_box_get_type (), &_tmp3_, NULL, FALSE);
-#line 269 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 263 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_combo_box_get_type (), GtkComboBox), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _saved_search_dialog_search_row_media_type_on_changed_gtk_combo_box_changed, self);
-#line 237 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 231 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->box);
-#line 238 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 232 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->media_context);
-#line 239 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 233 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->media_type);
-#line 241 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 235 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_container_unref0 (self->priv->parent);
-#line 236 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 230 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
SAVED_SEARCH_DIALOG_SEARCH_ROW_CLASS (saved_search_dialog_search_row_media_type_parent_class)->finalize (obj);
-#line 4140 "SavedSearchDialog.c"
+#line 4106 "SavedSearchDialog.c"
}
@@ -4153,9 +4119,9 @@ static GType saved_search_dialog_search_row_media_type_get_type (void) {
static void _saved_search_dialog_search_row_modified_on_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
-#line 330 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 324 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_modified_on_changed ((SavedSearchDialogSearchRowModified*) self);
-#line 4159 "SavedSearchDialog.c"
+#line 4125 "SavedSearchDialog.c"
}
@@ -4185,114 +4151,114 @@ static SavedSearchDialogSearchRowModified* saved_search_dialog_search_row_modifi
GtkBox* _tmp21_ = NULL;
GtkComboBoxText* _tmp22_ = NULL;
GtkBox* _tmp23_ = NULL;
-#line 307 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 301 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_CONTAINER (parent), NULL);
-#line 307 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 301 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = (SavedSearchDialogSearchRowModified*) saved_search_dialog_search_row_construct (object_type);
-#line 308 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 302 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = parent;
-#line 308 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 302 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _saved_search_dialog_search_row_container_ref0 (_tmp0_);
-#line 308 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 302 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_container_unref0 (self->priv->parent);
-#line 308 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 302 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->parent = _tmp1_;
-#line 310 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 304 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
-#line 310 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 304 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp2_);
-#line 310 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 304 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->modified_context);
-#line 310 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 304 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->modified_context = _tmp2_;
-#line 311 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 305 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = self->priv->modified_context;
-#line 311 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 305 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = _ ("has");
-#line 311 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 305 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp3_, _tmp4_);
-#line 312 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 306 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = self->priv->modified_context;
-#line 312 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 306 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = _ ("has no");
-#line 312 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 306 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp5_, _tmp6_);
-#line 313 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 307 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = self->priv->modified_context;
-#line 313 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 307 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_combo_box_get_type (), GtkComboBox), 0);
-#line 314 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 308 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = self->priv->modified_context;
-#line 314 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 308 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _saved_search_dialog_search_row_modified_on_changed_gtk_combo_box_changed, self);
-#line 316 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 310 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
-#line 316 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 310 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp9_);
-#line 316 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 310 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->modified_state);
-#line 316 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 310 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->modified_state = _tmp9_;
-#line 317 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 311 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp10_ = self->priv->modified_state;
-#line 317 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 311 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp11_ = _ ("modifications");
-#line 317 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 311 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp10_, _tmp11_);
-#line 318 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 312 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp12_ = self->priv->modified_state;
-#line 318 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 312 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp13_ = _ ("internal modifications");
-#line 318 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 312 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp12_, _tmp13_);
-#line 319 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 313 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp14_ = self->priv->modified_state;
-#line 319 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 313 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp15_ = _ ("external modifications");
-#line 319 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 313 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp14_, _tmp15_);
-#line 320 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 314 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp16_ = self->priv->modified_state;
-#line 320 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 314 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_combo_box_get_type (), GtkComboBox), 0);
-#line 321 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 315 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp17_ = self->priv->modified_state;
-#line 321 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 315 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _saved_search_dialog_search_row_modified_on_changed_gtk_combo_box_changed, self);
-#line 323 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 317 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp18_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3);
-#line 323 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 317 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp18_);
-#line 323 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 317 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->box);
-#line 323 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 317 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->box = _tmp18_;
-#line 324 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 318 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp19_ = self->priv->box;
-#line 324 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 318 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp20_ = self->priv->modified_context;
-#line 324 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 318 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_box_pack_start (_tmp19_, G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 325 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 319 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp21_ = self->priv->box;
-#line 325 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 319 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp22_ = self->priv->modified_state;
-#line 325 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 319 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_box_pack_start (_tmp21_, G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 326 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 320 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp23_ = self->priv->box;
-#line 326 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 320 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_widget_get_type (), GtkWidget));
-#line 307 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 301 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return self;
-#line 4289 "SavedSearchDialog.c"
+#line 4255 "SavedSearchDialog.c"
}
static SavedSearchDialogSearchRowModified* saved_search_dialog_search_row_modified_new (SavedSearchDialogSearchRowContainer* parent) {
-#line 307 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 301 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return saved_search_dialog_search_row_modified_construct (SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_MODIFIED, parent);
-#line 4296 "SavedSearchDialog.c"
+#line 4262 "SavedSearchDialog.c"
}
@@ -4301,17 +4267,17 @@ static GtkWidget* saved_search_dialog_search_row_modified_real_get_widget (Saved
GtkWidget* result = NULL;
GtkBox* _tmp0_ = NULL;
GtkWidget* _tmp1_ = NULL;
-#line 334 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 328 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_MODIFIED, SavedSearchDialogSearchRowModified);
-#line 335 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 329 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->box;
-#line 335 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 329 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 335 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 329 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = _tmp1_;
-#line 335 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 329 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 4315 "SavedSearchDialog.c"
+#line 4281 "SavedSearchDialog.c"
}
@@ -4329,35 +4295,35 @@ static SearchCondition* saved_search_dialog_search_row_modified_real_get_search_
gint _tmp5_ = 0;
SearchConditionModified* c = NULL;
SearchConditionModified* _tmp6_ = NULL;
-#line 338 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 332 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_MODIFIED, SavedSearchDialogSearchRowModified);
-#line 339 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 333 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->parent;
-#line 339 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 333 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = saved_search_dialog_search_row_container_get_search_type (_tmp0_);
-#line 339 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 333 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
search_type = _tmp1_;
-#line 340 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 334 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->modified_context;
-#line 340 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 334 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_combo_box_get_type (), GtkComboBox));
-#line 340 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 334 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
context = (SearchConditionModifiedContext) _tmp3_;
-#line 341 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 335 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = self->priv->modified_state;
-#line 341 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 335 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_combo_box_get_type (), GtkComboBox));
-#line 341 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 335 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
state = (SearchConditionModifiedState) _tmp5_;
-#line 342 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 336 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = search_condition_modified_new (search_type, context, state);
-#line 342 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 336 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
c = _tmp6_;
-#line 343 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 337 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (c, TYPE_SEARCH_CONDITION, SearchCondition);
-#line 343 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 337 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 4361 "SavedSearchDialog.c"
+#line 4327 "SavedSearchDialog.c"
}
@@ -4372,91 +4338,91 @@ static void saved_search_dialog_search_row_modified_real_populate (SavedSearchDi
GtkComboBoxText* _tmp5_ = NULL;
SearchConditionModifiedContext _tmp6_ = 0;
SearchConditionModifiedContext _tmp7_ = 0;
-#line 346 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 340 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_MODIFIED, SavedSearchDialogSearchRowModified);
-#line 346 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 340 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (IS_SEARCH_CONDITION (sc));
-#line 347 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 341 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = sc;
-#line 347 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 341 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _search_condition_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_SEARCH_CONDITION_MODIFIED) ? ((SearchConditionModified*) _tmp0_) : NULL);
-#line 347 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 341 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
scm = _tmp1_;
-#line 348 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 342 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_vala_assert (scm != NULL, "scm != null");
-#line 349 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 343 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->modified_state;
-#line 349 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 343 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = search_condition_modified_get_state (scm);
-#line 349 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 343 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = _tmp3_;
-#line 349 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 343 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_combo_box_get_type (), GtkComboBox), (gint) _tmp4_);
-#line 350 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 344 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = self->priv->modified_context;
-#line 350 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 344 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = search_condition_modified_get_context (scm);
-#line 350 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 344 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = _tmp6_;
-#line 350 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 344 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_combo_box_get_type (), GtkComboBox), (gint) _tmp7_);
-#line 346 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 340 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_search_condition_unref0 (scm);
-#line 4406 "SavedSearchDialog.c"
+#line 4372 "SavedSearchDialog.c"
}
static gboolean saved_search_dialog_search_row_modified_real_is_complete (SavedSearchDialogSearchRow* base) {
SavedSearchDialogSearchRowModified * self;
gboolean result = FALSE;
-#line 353 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 347 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_MODIFIED, SavedSearchDialogSearchRowModified);
-#line 354 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 348 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = TRUE;
-#line 354 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 348 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 4419 "SavedSearchDialog.c"
+#line 4385 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_modified_on_changed (SavedSearchDialogSearchRowModified* self) {
SavedSearchDialogSearchRowContainer* _tmp0_ = NULL;
SavedSearchDialogSearchRowContainer* _tmp1_ = NULL;
-#line 357 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 351 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_MODIFIED (self));
-#line 358 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 352 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->parent;
-#line 358 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 352 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = self->priv->parent;
-#line 358 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 352 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_emit_by_name (_tmp0_, "changed", _tmp1_);
-#line 4434 "SavedSearchDialog.c"
+#line 4400 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_modified_class_init (SavedSearchDialogSearchRowModifiedClass * klass) {
-#line 300 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 294 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_modified_parent_class = g_type_class_peek_parent (klass);
-#line 300 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 294 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->finalize = saved_search_dialog_search_row_modified_finalize;
-#line 300 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 294 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_type_class_add_private (klass, sizeof (SavedSearchDialogSearchRowModifiedPrivate));
-#line 300 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 294 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->get_widget = saved_search_dialog_search_row_modified_real_get_widget;
-#line 300 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 294 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->get_search_condition = saved_search_dialog_search_row_modified_real_get_search_condition;
-#line 300 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 294 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->populate = saved_search_dialog_search_row_modified_real_populate;
-#line 300 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 294 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->is_complete = saved_search_dialog_search_row_modified_real_is_complete;
-#line 4453 "SavedSearchDialog.c"
+#line 4419 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_modified_instance_init (SavedSearchDialogSearchRowModified * self) {
-#line 300 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 294 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv = SAVED_SEARCH_DIALOG_SEARCH_ROW_MODIFIED_GET_PRIVATE (self);
-#line 4460 "SavedSearchDialog.c"
+#line 4426 "SavedSearchDialog.c"
}
@@ -4466,31 +4432,31 @@ static void saved_search_dialog_search_row_modified_finalize (SavedSearchDialogS
guint _tmp1_ = 0U;
GtkComboBoxText* _tmp2_ = NULL;
guint _tmp3_ = 0U;
-#line 300 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 294 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_MODIFIED, SavedSearchDialogSearchRowModified);
-#line 330 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 324 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->modified_state;
-#line 330 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 324 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_parse_name ("changed", gtk_combo_box_get_type (), &_tmp1_, NULL, FALSE);
-#line 330 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 324 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_combo_box_get_type (), GtkComboBox), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _saved_search_dialog_search_row_modified_on_changed_gtk_combo_box_changed, self);
-#line 331 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 325 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->modified_context;
-#line 331 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 325 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_parse_name ("changed", gtk_combo_box_get_type (), &_tmp3_, NULL, FALSE);
-#line 331 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 325 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_combo_box_get_type (), GtkComboBox), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _saved_search_dialog_search_row_modified_on_changed_gtk_combo_box_changed, self);
-#line 301 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 295 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->box);
-#line 302 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 296 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->modified_context);
-#line 303 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 297 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->modified_state);
-#line 305 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 299 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_container_unref0 (self->priv->parent);
-#line 300 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 294 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
SAVED_SEARCH_DIALOG_SEARCH_ROW_CLASS (saved_search_dialog_search_row_modified_parent_class)->finalize (obj);
-#line 4494 "SavedSearchDialog.c"
+#line 4460 "SavedSearchDialog.c"
}
@@ -4507,9 +4473,9 @@ static GType saved_search_dialog_search_row_modified_get_type (void) {
static void _saved_search_dialog_search_row_flagged_on_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
-#line 385 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 379 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_flagged_on_changed ((SavedSearchDialogSearchRowFlagged*) self);
-#line 4513 "SavedSearchDialog.c"
+#line 4479 "SavedSearchDialog.c"
}
@@ -4532,88 +4498,88 @@ static SavedSearchDialogSearchRowFlagged* saved_search_dialog_search_row_flagged
GtkBox* _tmp14_ = NULL;
GtkComboBoxText* _tmp15_ = NULL;
GtkBox* _tmp16_ = NULL;
-#line 368 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 362 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_CONTAINER (parent), NULL);
-#line 368 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 362 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = (SavedSearchDialogSearchRowFlagged*) saved_search_dialog_search_row_construct (object_type);
-#line 369 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 363 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = parent;
-#line 369 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 363 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _saved_search_dialog_search_row_container_ref0 (_tmp0_);
-#line 369 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 363 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_container_unref0 (self->priv->parent);
-#line 369 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 363 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->parent = _tmp1_;
-#line 372 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 366 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
-#line 372 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 366 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp2_);
-#line 372 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 366 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->flagged_state);
-#line 372 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 366 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->flagged_state = _tmp2_;
-#line 373 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 367 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = self->priv->flagged_state;
-#line 373 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 367 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = _ ("flagged");
-#line 373 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 367 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp3_, _tmp4_);
-#line 374 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 368 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = self->priv->flagged_state;
-#line 374 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 368 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = _ ("not flagged");
-#line 374 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 368 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp5_, _tmp6_);
-#line 375 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 369 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = self->priv->flagged_state;
-#line 375 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 369 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_combo_box_get_type (), GtkComboBox), 0);
-#line 376 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 370 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = self->priv->flagged_state;
-#line 376 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 370 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _saved_search_dialog_search_row_flagged_on_changed_gtk_combo_box_changed, self);
-#line 378 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 372 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3);
-#line 378 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 372 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp9_);
-#line 378 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 372 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->box);
-#line 378 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 372 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->box = _tmp9_;
-#line 379 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 373 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp10_ = self->priv->box;
-#line 379 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 373 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp11_ = _ ("is");
-#line 379 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 373 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp12_ = (GtkLabel*) gtk_label_new (_tmp11_);
-#line 379 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 373 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp12_);
-#line 379 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 373 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp13_ = _tmp12_;
-#line 379 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 373 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_box_pack_start (_tmp10_, G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 379 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 373 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (_tmp13_);
-#line 380 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 374 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp14_ = self->priv->box;
-#line 380 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 374 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp15_ = self->priv->flagged_state;
-#line 380 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 374 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_box_pack_start (_tmp14_, G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 381 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 375 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp16_ = self->priv->box;
-#line 381 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 375 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_widget_get_type (), GtkWidget));
-#line 368 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 362 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return self;
-#line 4610 "SavedSearchDialog.c"
+#line 4576 "SavedSearchDialog.c"
}
static SavedSearchDialogSearchRowFlagged* saved_search_dialog_search_row_flagged_new (SavedSearchDialogSearchRowContainer* parent) {
-#line 368 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 362 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return saved_search_dialog_search_row_flagged_construct (SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_FLAGGED, parent);
-#line 4617 "SavedSearchDialog.c"
+#line 4583 "SavedSearchDialog.c"
}
@@ -4622,17 +4588,17 @@ static GtkWidget* saved_search_dialog_search_row_flagged_real_get_widget (SavedS
GtkWidget* result = NULL;
GtkBox* _tmp0_ = NULL;
GtkWidget* _tmp1_ = NULL;
-#line 388 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 382 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_FLAGGED, SavedSearchDialogSearchRowFlagged);
-#line 389 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 383 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->box;
-#line 389 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 383 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 389 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 383 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = _tmp1_;
-#line 389 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 383 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 4636 "SavedSearchDialog.c"
+#line 4602 "SavedSearchDialog.c"
}
@@ -4647,29 +4613,29 @@ static SearchCondition* saved_search_dialog_search_row_flagged_real_get_search_c
gint _tmp3_ = 0;
SearchConditionFlagged* c = NULL;
SearchConditionFlagged* _tmp4_ = NULL;
-#line 392 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 386 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_FLAGGED, SavedSearchDialogSearchRowFlagged);
-#line 393 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 387 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->parent;
-#line 393 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 387 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = saved_search_dialog_search_row_container_get_search_type (_tmp0_);
-#line 393 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 387 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
search_type = _tmp1_;
-#line 394 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 388 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->flagged_state;
-#line 394 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 388 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_combo_box_get_type (), GtkComboBox));
-#line 394 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 388 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
state = (SearchConditionFlaggedState) _tmp3_;
-#line 395 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 389 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = search_condition_flagged_new (search_type, state);
-#line 395 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 389 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
c = _tmp4_;
-#line 396 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 390 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (c, TYPE_SEARCH_CONDITION, SearchCondition);
-#line 396 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 390 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 4673 "SavedSearchDialog.c"
+#line 4639 "SavedSearchDialog.c"
}
@@ -4681,83 +4647,83 @@ static void saved_search_dialog_search_row_flagged_real_populate (SavedSearchDia
GtkComboBoxText* _tmp2_ = NULL;
SearchConditionFlaggedState _tmp3_ = 0;
SearchConditionFlaggedState _tmp4_ = 0;
-#line 399 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 393 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_FLAGGED, SavedSearchDialogSearchRowFlagged);
-#line 399 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 393 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (IS_SEARCH_CONDITION (sc));
-#line 400 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 394 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = sc;
-#line 400 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 394 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _search_condition_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_SEARCH_CONDITION_FLAGGED) ? ((SearchConditionFlagged*) _tmp0_) : NULL);
-#line 400 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 394 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
f = _tmp1_;
-#line 401 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 395 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_vala_assert (f != NULL, "f != null");
-#line 402 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 396 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->flagged_state;
-#line 402 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 396 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = search_condition_flagged_get_state (f);
-#line 402 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 396 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = _tmp3_;
-#line 402 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 396 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_combo_box_get_type (), GtkComboBox), (gint) _tmp4_);
-#line 399 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 393 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_search_condition_unref0 (f);
-#line 4707 "SavedSearchDialog.c"
+#line 4673 "SavedSearchDialog.c"
}
static gboolean saved_search_dialog_search_row_flagged_real_is_complete (SavedSearchDialogSearchRow* base) {
SavedSearchDialogSearchRowFlagged * self;
gboolean result = FALSE;
-#line 405 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 399 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_FLAGGED, SavedSearchDialogSearchRowFlagged);
-#line 406 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 400 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = TRUE;
-#line 406 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 400 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 4720 "SavedSearchDialog.c"
+#line 4686 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_flagged_on_changed (SavedSearchDialogSearchRowFlagged* self) {
SavedSearchDialogSearchRowContainer* _tmp0_ = NULL;
SavedSearchDialogSearchRowContainer* _tmp1_ = NULL;
-#line 409 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 403 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_FLAGGED (self));
-#line 410 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 404 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->parent;
-#line 410 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 404 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = self->priv->parent;
-#line 410 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 404 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_emit_by_name (_tmp0_, "changed", _tmp1_);
-#line 4735 "SavedSearchDialog.c"
+#line 4701 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_flagged_class_init (SavedSearchDialogSearchRowFlaggedClass * klass) {
-#line 362 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 356 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_flagged_parent_class = g_type_class_peek_parent (klass);
-#line 362 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 356 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->finalize = saved_search_dialog_search_row_flagged_finalize;
-#line 362 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 356 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_type_class_add_private (klass, sizeof (SavedSearchDialogSearchRowFlaggedPrivate));
-#line 362 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 356 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->get_widget = saved_search_dialog_search_row_flagged_real_get_widget;
-#line 362 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 356 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->get_search_condition = saved_search_dialog_search_row_flagged_real_get_search_condition;
-#line 362 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 356 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->populate = saved_search_dialog_search_row_flagged_real_populate;
-#line 362 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 356 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->is_complete = saved_search_dialog_search_row_flagged_real_is_complete;
-#line 4754 "SavedSearchDialog.c"
+#line 4720 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_flagged_instance_init (SavedSearchDialogSearchRowFlagged * self) {
-#line 362 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 356 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv = SAVED_SEARCH_DIALOG_SEARCH_ROW_FLAGGED_GET_PRIVATE (self);
-#line 4761 "SavedSearchDialog.c"
+#line 4727 "SavedSearchDialog.c"
}
@@ -4765,23 +4731,23 @@ static void saved_search_dialog_search_row_flagged_finalize (SavedSearchDialogSe
SavedSearchDialogSearchRowFlagged * self;
GtkComboBoxText* _tmp0_ = NULL;
guint _tmp1_ = 0U;
-#line 362 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 356 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_FLAGGED, SavedSearchDialogSearchRowFlagged);
-#line 385 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 379 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->flagged_state;
-#line 385 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 379 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_parse_name ("changed", gtk_combo_box_get_type (), &_tmp1_, NULL, FALSE);
-#line 385 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 379 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_combo_box_get_type (), GtkComboBox), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _saved_search_dialog_search_row_flagged_on_changed_gtk_combo_box_changed, self);
-#line 363 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 357 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->box);
-#line 364 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 358 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->flagged_state);
-#line 366 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 360 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_container_unref0 (self->priv->parent);
-#line 362 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 356 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
SAVED_SEARCH_DIALOG_SEARCH_ROW_CLASS (saved_search_dialog_search_row_flagged_parent_class)->finalize (obj);
-#line 4785 "SavedSearchDialog.c"
+#line 4751 "SavedSearchDialog.c"
}
@@ -4798,9 +4764,9 @@ static GType saved_search_dialog_search_row_flagged_get_type (void) {
static void _saved_search_dialog_search_row_rating_on_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
-#line 451 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 445 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_rating_on_changed ((SavedSearchDialogSearchRowRating*) self);
-#line 4804 "SavedSearchDialog.c"
+#line 4770 "SavedSearchDialog.c"
}
@@ -4844,158 +4810,158 @@ static SavedSearchDialogSearchRowRating* saved_search_dialog_search_row_rating_c
GtkBox* _tmp35_ = NULL;
GtkComboBoxText* _tmp36_ = NULL;
GtkBox* _tmp37_ = NULL;
-#line 421 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 415 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_CONTAINER (parent), NULL);
-#line 421 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 415 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = (SavedSearchDialogSearchRowRating*) saved_search_dialog_search_row_construct (object_type);
-#line 422 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 416 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = parent;
-#line 422 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 416 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _saved_search_dialog_search_row_container_ref0 (_tmp0_);
-#line 422 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 416 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_container_unref0 (self->priv->parent);
-#line 422 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 416 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->parent = _tmp1_;
-#line 425 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 419 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
-#line 425 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 419 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp2_);
-#line 425 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 419 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->rating);
-#line 425 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 419 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->rating = _tmp2_;
-#line 426 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 420 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = self->priv->rating;
-#line 426 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 420 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = resources_rating_combo_box (RATING_REJECTED);
-#line 426 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 420 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp3_, _tmp4_);
-#line 427 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 421 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = self->priv->rating;
-#line 427 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 421 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = resources_rating_combo_box (RATING_UNRATED);
-#line 427 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 421 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp5_, _tmp6_);
-#line 428 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 422 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = self->priv->rating;
-#line 428 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 422 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = resources_rating_combo_box (RATING_ONE);
-#line 428 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 422 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp7_, _tmp8_);
-#line 429 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 423 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = self->priv->rating;
-#line 429 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 423 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp10_ = resources_rating_combo_box (RATING_TWO);
-#line 429 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 423 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp9_, _tmp10_);
-#line 430 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 424 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp11_ = self->priv->rating;
-#line 430 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 424 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp12_ = resources_rating_combo_box (RATING_THREE);
-#line 430 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 424 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp11_, _tmp12_);
-#line 431 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 425 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp13_ = self->priv->rating;
-#line 431 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 425 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp14_ = resources_rating_combo_box (RATING_FOUR);
-#line 431 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 425 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp13_, _tmp14_);
-#line 432 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 426 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp15_ = self->priv->rating;
-#line 432 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 426 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp16_ = resources_rating_combo_box (RATING_FIVE);
-#line 432 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 426 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp15_, _tmp16_);
-#line 433 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 427 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp17_ = self->priv->rating;
-#line 433 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 427 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_combo_box_get_type (), GtkComboBox), 0);
-#line 434 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 428 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp18_ = self->priv->rating;
-#line 434 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 428 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _saved_search_dialog_search_row_rating_on_changed_gtk_combo_box_changed, self);
-#line 436 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 430 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp19_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
-#line 436 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 430 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp19_);
-#line 436 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 430 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->context);
-#line 436 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 430 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->context = _tmp19_;
-#line 437 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 431 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp20_ = self->priv->context;
-#line 437 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 431 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp21_ = _ ("and higher");
-#line 437 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 431 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp20_, _tmp21_);
-#line 438 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 432 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp22_ = self->priv->context;
-#line 438 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 432 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp23_ = _ ("only");
-#line 438 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 432 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp22_, _tmp23_);
-#line 439 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 433 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp24_ = self->priv->context;
-#line 439 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 433 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp25_ = _ ("and lower");
-#line 439 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 433 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp24_, _tmp25_);
-#line 440 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 434 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp26_ = self->priv->context;
-#line 440 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 434 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_combo_box_get_type (), GtkComboBox), 0);
-#line 441 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 435 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp27_ = self->priv->context;
-#line 441 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 435 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _saved_search_dialog_search_row_rating_on_changed_gtk_combo_box_changed, self);
-#line 443 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 437 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp28_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3);
-#line 443 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 437 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp28_);
-#line 443 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 437 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->box);
-#line 443 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 437 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->box = _tmp28_;
-#line 444 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 438 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp29_ = self->priv->box;
-#line 444 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 438 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp30_ = _ ("is");
-#line 444 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 438 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp31_ = (GtkLabel*) gtk_label_new (_tmp30_);
-#line 444 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 438 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp31_);
-#line 444 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 438 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp32_ = _tmp31_;
-#line 444 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 438 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_box_pack_start (_tmp29_, G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 444 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 438 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (_tmp32_);
-#line 445 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 439 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp33_ = self->priv->box;
-#line 445 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 439 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp34_ = self->priv->rating;
-#line 445 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 439 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_box_pack_start (_tmp33_, G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 446 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 440 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp35_ = self->priv->box;
-#line 446 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 440 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp36_ = self->priv->context;
-#line 446 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 440 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_box_pack_start (_tmp35_, G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 447 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 441 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp37_ = self->priv->box;
-#line 447 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 441 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, gtk_widget_get_type (), GtkWidget));
-#line 421 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 415 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return self;
-#line 4992 "SavedSearchDialog.c"
+#line 4958 "SavedSearchDialog.c"
}
static SavedSearchDialogSearchRowRating* saved_search_dialog_search_row_rating_new (SavedSearchDialogSearchRowContainer* parent) {
-#line 421 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 415 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return saved_search_dialog_search_row_rating_construct (SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_RATING, parent);
-#line 4999 "SavedSearchDialog.c"
+#line 4965 "SavedSearchDialog.c"
}
@@ -5004,17 +4970,17 @@ static GtkWidget* saved_search_dialog_search_row_rating_real_get_widget (SavedSe
GtkWidget* result = NULL;
GtkBox* _tmp0_ = NULL;
GtkWidget* _tmp1_ = NULL;
-#line 455 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 449 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_RATING, SavedSearchDialogSearchRowRating);
-#line 456 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 450 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->box;
-#line 456 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 450 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 456 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 450 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = _tmp1_;
-#line 456 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 450 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 5018 "SavedSearchDialog.c"
+#line 4984 "SavedSearchDialog.c"
}
@@ -5032,35 +4998,35 @@ static SearchCondition* saved_search_dialog_search_row_rating_real_get_search_co
gint _tmp5_ = 0;
SearchConditionRating* c = NULL;
SearchConditionRating* _tmp6_ = NULL;
-#line 459 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 453 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_RATING, SavedSearchDialogSearchRowRating);
-#line 460 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 454 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->parent;
-#line 460 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 454 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = saved_search_dialog_search_row_container_get_search_type (_tmp0_);
-#line 460 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 454 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
search_type = _tmp1_;
-#line 461 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 455 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->rating;
-#line 461 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 455 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_combo_box_get_type (), GtkComboBox));
-#line 461 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 455 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
search_rating = ((Rating) _tmp3_) + RATING_REJECTED;
-#line 462 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 456 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = self->priv->context;
-#line 462 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 456 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_combo_box_get_type (), GtkComboBox));
-#line 462 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 456 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
search_context = (SearchConditionRatingContext) _tmp5_;
-#line 463 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 457 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = search_condition_rating_new (search_type, search_rating, search_context);
-#line 463 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 457 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
c = _tmp6_;
-#line 464 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 458 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (c, TYPE_SEARCH_CONDITION, SearchCondition);
-#line 464 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 458 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 5064 "SavedSearchDialog.c"
+#line 5030 "SavedSearchDialog.c"
}
@@ -5075,91 +5041,91 @@ static void saved_search_dialog_search_row_rating_real_populate (SavedSearchDial
GtkComboBoxText* _tmp5_ = NULL;
Rating _tmp6_ = 0;
Rating _tmp7_ = 0;
-#line 467 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 461 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_RATING, SavedSearchDialogSearchRowRating);
-#line 467 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 461 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (IS_SEARCH_CONDITION (sc));
-#line 468 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 462 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = sc;
-#line 468 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 462 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _search_condition_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_SEARCH_CONDITION_RATING) ? ((SearchConditionRating*) _tmp0_) : NULL);
-#line 468 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 462 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
r = _tmp1_;
-#line 469 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 463 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_vala_assert (r != NULL, "r != null");
-#line 470 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 464 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->context;
-#line 470 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 464 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = search_condition_rating_get_context (r);
-#line 470 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 464 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = _tmp3_;
-#line 470 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 464 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_combo_box_get_type (), GtkComboBox), (gint) _tmp4_);
-#line 471 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 465 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = self->priv->rating;
-#line 471 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 465 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = search_condition_rating_get_rating (r);
-#line 471 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 465 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = _tmp6_;
-#line 471 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 465 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_combo_box_get_type (), GtkComboBox), (gint) (_tmp7_ - RATING_REJECTED));
-#line 467 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 461 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_search_condition_unref0 (r);
-#line 5109 "SavedSearchDialog.c"
+#line 5075 "SavedSearchDialog.c"
}
static gboolean saved_search_dialog_search_row_rating_real_is_complete (SavedSearchDialogSearchRow* base) {
SavedSearchDialogSearchRowRating * self;
gboolean result = FALSE;
-#line 474 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 468 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_RATING, SavedSearchDialogSearchRowRating);
-#line 475 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 469 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = TRUE;
-#line 475 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 469 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 5122 "SavedSearchDialog.c"
+#line 5088 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_rating_on_changed (SavedSearchDialogSearchRowRating* self) {
SavedSearchDialogSearchRowContainer* _tmp0_ = NULL;
SavedSearchDialogSearchRowContainer* _tmp1_ = NULL;
-#line 478 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 472 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_RATING (self));
-#line 479 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 473 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->parent;
-#line 479 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 473 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = self->priv->parent;
-#line 479 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 473 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_emit_by_name (_tmp0_, "changed", _tmp1_);
-#line 5137 "SavedSearchDialog.c"
+#line 5103 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_rating_class_init (SavedSearchDialogSearchRowRatingClass * klass) {
-#line 414 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 408 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_rating_parent_class = g_type_class_peek_parent (klass);
-#line 414 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 408 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->finalize = saved_search_dialog_search_row_rating_finalize;
-#line 414 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 408 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_type_class_add_private (klass, sizeof (SavedSearchDialogSearchRowRatingPrivate));
-#line 414 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 408 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->get_widget = saved_search_dialog_search_row_rating_real_get_widget;
-#line 414 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 408 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->get_search_condition = saved_search_dialog_search_row_rating_real_get_search_condition;
-#line 414 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 408 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->populate = saved_search_dialog_search_row_rating_real_populate;
-#line 414 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 408 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->is_complete = saved_search_dialog_search_row_rating_real_is_complete;
-#line 5156 "SavedSearchDialog.c"
+#line 5122 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_rating_instance_init (SavedSearchDialogSearchRowRating * self) {
-#line 414 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 408 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv = SAVED_SEARCH_DIALOG_SEARCH_ROW_RATING_GET_PRIVATE (self);
-#line 5163 "SavedSearchDialog.c"
+#line 5129 "SavedSearchDialog.c"
}
@@ -5169,31 +5135,31 @@ static void saved_search_dialog_search_row_rating_finalize (SavedSearchDialogSea
guint _tmp1_ = 0U;
GtkComboBoxText* _tmp2_ = NULL;
guint _tmp3_ = 0U;
-#line 414 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 408 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_RATING, SavedSearchDialogSearchRowRating);
-#line 451 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 445 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->rating;
-#line 451 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 445 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_parse_name ("changed", gtk_combo_box_get_type (), &_tmp1_, NULL, FALSE);
-#line 451 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 445 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_combo_box_get_type (), GtkComboBox), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _saved_search_dialog_search_row_rating_on_changed_gtk_combo_box_changed, self);
-#line 452 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 446 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->context;
-#line 452 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 446 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_parse_name ("changed", gtk_combo_box_get_type (), &_tmp3_, NULL, FALSE);
-#line 452 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 446 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_combo_box_get_type (), GtkComboBox), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _saved_search_dialog_search_row_rating_on_changed_gtk_combo_box_changed, self);
-#line 415 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 409 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->box);
-#line 416 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 410 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->rating);
-#line 417 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 411 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->context);
-#line 419 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 413 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_container_unref0 (self->priv->parent);
-#line 414 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 408 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
SAVED_SEARCH_DIALOG_SEARCH_ROW_CLASS (saved_search_dialog_search_row_rating_parent_class)->finalize (obj);
-#line 5197 "SavedSearchDialog.c"
+#line 5163 "SavedSearchDialog.c"
}
@@ -5210,23 +5176,23 @@ static GType saved_search_dialog_search_row_rating_get_type (void) {
static void _saved_search_dialog_search_row_date_on_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
-#line 529 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 523 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_date_on_changed ((SavedSearchDialogSearchRowDate*) self);
-#line 5216 "SavedSearchDialog.c"
+#line 5182 "SavedSearchDialog.c"
}
static void _saved_search_dialog_search_row_date_on_one_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 512 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 506 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_date_on_one_clicked ((SavedSearchDialogSearchRowDate*) self);
-#line 5223 "SavedSearchDialog.c"
+#line 5189 "SavedSearchDialog.c"
}
static void _saved_search_dialog_search_row_date_on_two_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 514 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 508 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_date_on_two_clicked ((SavedSearchDialogSearchRowDate*) self);
-#line 5230 "SavedSearchDialog.c"
+#line 5196 "SavedSearchDialog.c"
}
@@ -5265,162 +5231,162 @@ static SavedSearchDialogSearchRowDate* saved_search_dialog_search_row_date_const
GtkBox* _tmp30_ = NULL;
GtkButton* _tmp31_ = NULL;
GtkBox* _tmp32_ = NULL;
-#line 495 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 489 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_CONTAINER (parent), NULL);
-#line 495 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 489 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = (SavedSearchDialogSearchRowDate*) saved_search_dialog_search_row_construct (object_type);
-#line 496 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 490 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = parent;
-#line 496 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 490 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _saved_search_dialog_search_row_container_ref0 (_tmp0_);
-#line 496 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 490 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_container_unref0 (self->priv->parent);
-#line 496 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 490 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->parent = _tmp1_;
-#line 499 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 493 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
-#line 499 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 493 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp2_);
-#line 499 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 493 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->context);
-#line 499 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 493 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->context = _tmp2_;
-#line 500 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 494 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = self->priv->context;
-#line 500 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 494 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = _ ("is exactly");
-#line 500 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 494 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp3_, _tmp4_);
-#line 501 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 495 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = self->priv->context;
-#line 501 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 495 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = _ ("is after");
-#line 501 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 495 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp5_, _tmp6_);
-#line 502 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 496 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = self->priv->context;
-#line 502 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 496 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = _ ("is before");
-#line 502 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 496 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp7_, _tmp8_);
-#line 503 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 497 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = self->priv->context;
-#line 503 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 497 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp10_ = _ ("is between");
-#line 503 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 497 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp9_, _tmp10_);
-#line 504 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 498 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp11_ = self->priv->context;
-#line 504 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 498 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp12_ = _ ("is not set");
-#line 504 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 498 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_text_append_text (_tmp11_, _tmp12_);
-#line 505 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 499 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp13_ = self->priv->context;
-#line 505 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 499 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_combo_box_get_type (), GtkComboBox), 0);
-#line 506 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 500 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp14_ = self->priv->context;
-#line 506 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 500 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _saved_search_dialog_search_row_date_on_changed_gtk_combo_box_changed, self);
-#line 508 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 502 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp15_ = (GtkCalendar*) gtk_calendar_new ();
-#line 508 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 502 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp15_);
-#line 508 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 502 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->cal_one);
-#line 508 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 502 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->cal_one = _tmp15_;
-#line 509 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 503 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp16_ = (GtkCalendar*) gtk_calendar_new ();
-#line 509 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 503 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp16_);
-#line 509 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 503 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->cal_two);
-#line 509 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 503 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->cal_two = _tmp16_;
-#line 511 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 505 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp17_ = (GtkButton*) gtk_button_new ();
-#line 511 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 505 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp17_);
-#line 511 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 505 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->label_one);
-#line 511 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 505 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->label_one = _tmp17_;
-#line 512 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 506 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp18_ = self->priv->label_one;
-#line 512 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 506 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_connect (_tmp18_, "clicked", (GCallback) _saved_search_dialog_search_row_date_on_one_clicked_gtk_button_clicked, self);
-#line 513 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 507 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp19_ = (GtkButton*) gtk_button_new ();
-#line 513 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 507 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp19_);
-#line 513 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 507 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->label_two);
-#line 513 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 507 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->label_two = _tmp19_;
-#line 514 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 508 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp20_ = self->priv->label_two;
-#line 514 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 508 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_connect (_tmp20_, "clicked", (GCallback) _saved_search_dialog_search_row_date_on_two_clicked_gtk_button_clicked, self);
-#line 516 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 510 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp21_ = _ ("and");
-#line 516 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 510 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp22_ = (GtkLabel*) gtk_label_new (_tmp21_);
-#line 516 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 510 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp22_);
-#line 516 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 510 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->and);
-#line 516 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 510 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->and = _tmp22_;
-#line 518 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 512 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp23_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3);
-#line 518 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 512 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp23_);
-#line 518 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 512 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->box);
-#line 518 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 512 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->box = _tmp23_;
-#line 519 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 513 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp24_ = self->priv->box;
-#line 519 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 513 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp25_ = self->priv->context;
-#line 519 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 513 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_box_pack_start (_tmp24_, G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 520 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 514 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp26_ = self->priv->box;
-#line 520 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 514 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp27_ = self->priv->label_one;
-#line 520 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 514 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_box_pack_start (_tmp26_, G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 521 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 515 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp28_ = self->priv->box;
-#line 521 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 515 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp29_ = self->priv->and;
-#line 521 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 515 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_box_pack_start (_tmp28_, G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 522 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 516 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp30_ = self->priv->box;
-#line 522 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 516 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp31_ = self->priv->label_two;
-#line 522 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 516 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_box_pack_start (_tmp30_, G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 524 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 518 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp32_ = self->priv->box;
-#line 524 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 518 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_widget_get_type (), GtkWidget));
-#line 525 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 519 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_date_update_date_labels (self);
-#line 495 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 489 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return self;
-#line 5417 "SavedSearchDialog.c"
+#line 5383 "SavedSearchDialog.c"
}
static SavedSearchDialogSearchRowDate* saved_search_dialog_search_row_date_new (SavedSearchDialogSearchRowContainer* parent) {
-#line 495 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 489 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return saved_search_dialog_search_row_date_construct (SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_DATE, parent);
-#line 5424 "SavedSearchDialog.c"
+#line 5390 "SavedSearchDialog.c"
}
@@ -5439,110 +5405,110 @@ static void saved_search_dialog_search_row_date_update_date_labels (SavedSearchD
GDateTime* _tmp20_ = NULL;
gchar* _tmp21_ = NULL;
gchar* _tmp22_ = NULL;
-#line 532 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 526 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_DATE (self));
-#line 533 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 527 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->context;
-#line 533 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 527 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_combo_box_get_type (), GtkComboBox));
-#line 533 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 527 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
c = (SearchConditionDateContext) _tmp1_;
-#line 536 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 530 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = c;
-#line 536 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 530 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp2_ == SEARCH_CONDITION_DATE_CONTEXT_BETWEEN) {
-#line 5455 "SavedSearchDialog.c"
+#line 5421 "SavedSearchDialog.c"
GtkButton* _tmp3_ = NULL;
GtkLabel* _tmp4_ = NULL;
GtkButton* _tmp5_ = NULL;
-#line 537 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 531 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = self->priv->label_one;
-#line 537 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 531 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_show (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget));
-#line 538 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 532 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = self->priv->and;
-#line 538 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 532 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_show (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget));
-#line 539 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 533 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = self->priv->label_two;
-#line 539 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 533 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_show (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget));
-#line 5471 "SavedSearchDialog.c"
+#line 5437 "SavedSearchDialog.c"
} else {
SearchConditionDateContext _tmp6_ = 0;
-#line 540 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 534 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = c;
-#line 540 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 534 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp6_ == SEARCH_CONDITION_DATE_CONTEXT_IS_NOT_SET) {
-#line 5478 "SavedSearchDialog.c"
+#line 5444 "SavedSearchDialog.c"
GtkButton* _tmp7_ = NULL;
GtkLabel* _tmp8_ = NULL;
GtkButton* _tmp9_ = NULL;
-#line 541 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 535 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = self->priv->label_one;
-#line 541 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 535 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget));
-#line 542 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 536 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = self->priv->and;
-#line 542 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 536 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget));
-#line 543 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 537 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = self->priv->label_two;
-#line 543 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 537 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget));
-#line 5494 "SavedSearchDialog.c"
+#line 5460 "SavedSearchDialog.c"
} else {
GtkButton* _tmp10_ = NULL;
GtkLabel* _tmp11_ = NULL;
GtkButton* _tmp12_ = NULL;
-#line 545 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 539 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp10_ = self->priv->label_one;
-#line 545 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 539 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_show (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget));
-#line 546 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 540 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp11_ = self->priv->and;
-#line 546 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 540 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget));
-#line 547 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 541 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp12_ = self->priv->label_two;
-#line 547 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 541 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget));
-#line 5511 "SavedSearchDialog.c"
+#line 5477 "SavedSearchDialog.c"
}
}
-#line 551 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 545 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp13_ = self->priv->label_one;
-#line 551 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 545 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp14_ = saved_search_dialog_search_row_date_get_date_one (self);
-#line 551 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 545 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp15_ = _tmp14_;
-#line 551 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 545 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp16_ = g_date_time_format (_tmp15_, SAVED_SEARCH_DIALOG_SEARCH_ROW_DATE_DATE_FORMAT);
-#line 551 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 545 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp17_ = _tmp16_;
-#line 551 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 545 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_button_set_label (_tmp13_, _tmp17_);
-#line 551 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 545 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_free0 (_tmp17_);
-#line 551 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 545 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_date_time_unref0 (_tmp15_);
-#line 552 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 546 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp18_ = self->priv->label_two;
-#line 552 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 546 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp19_ = saved_search_dialog_search_row_date_get_date_two (self);
-#line 552 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 546 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp20_ = _tmp19_;
-#line 552 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 546 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp21_ = g_date_time_format (_tmp20_, SAVED_SEARCH_DIALOG_SEARCH_ROW_DATE_DATE_FORMAT);
-#line 552 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 546 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp22_ = _tmp21_;
-#line 552 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 546 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_button_set_label (_tmp18_, _tmp22_);
-#line 552 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 546 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_free0 (_tmp22_);
-#line 552 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 546 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_date_time_unref0 (_tmp20_);
-#line 5546 "SavedSearchDialog.c"
+#line 5512 "SavedSearchDialog.c"
}
@@ -5551,17 +5517,17 @@ static GtkWidget* saved_search_dialog_search_row_date_real_get_widget (SavedSear
GtkWidget* result = NULL;
GtkBox* _tmp0_ = NULL;
GtkWidget* _tmp1_ = NULL;
-#line 555 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 549 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_DATE, SavedSearchDialogSearchRowDate);
-#line 556 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 550 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->box;
-#line 556 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 550 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 556 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 550 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = _tmp1_;
-#line 556 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 550 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 5565 "SavedSearchDialog.c"
+#line 5531 "SavedSearchDialog.c"
}
@@ -5577,33 +5543,33 @@ static GDateTime* saved_search_dialog_search_row_date_get_date_one (SavedSearchD
gint _tmp7_ = 0;
gint _tmp8_ = 0;
GDateTime* _tmp9_ = NULL;
-#line 559 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 553 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_DATE (self), NULL);
-#line 560 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 554 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->cal_one;
-#line 560 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 554 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_get (_tmp0_, "year", &_tmp1_, NULL);
-#line 560 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 554 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = _tmp1_;
-#line 560 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 554 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = self->priv->cal_one;
-#line 560 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 554 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_get (_tmp3_, "month", &_tmp4_, NULL);
-#line 560 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 554 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = _tmp4_;
-#line 560 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 554 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = self->priv->cal_one;
-#line 560 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 554 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_get (_tmp6_, "day", &_tmp7_, NULL);
-#line 560 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 554 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = _tmp7_;
-#line 560 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 554 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = g_date_time_new_local (_tmp2_, _tmp5_ + 1, _tmp8_, 0, 0, 0.0);
-#line 560 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 554 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = _tmp9_;
-#line 560 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 554 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 5607 "SavedSearchDialog.c"
+#line 5573 "SavedSearchDialog.c"
}
@@ -5619,33 +5585,33 @@ static GDateTime* saved_search_dialog_search_row_date_get_date_two (SavedSearchD
gint _tmp7_ = 0;
gint _tmp8_ = 0;
GDateTime* _tmp9_ = NULL;
-#line 563 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 557 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_val_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_DATE (self), NULL);
-#line 564 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 558 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->cal_two;
-#line 564 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 558 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_get (_tmp0_, "year", &_tmp1_, NULL);
-#line 564 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 558 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = _tmp1_;
-#line 564 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 558 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = self->priv->cal_two;
-#line 564 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 558 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_get (_tmp3_, "month", &_tmp4_, NULL);
-#line 564 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 558 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = _tmp4_;
-#line 564 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 558 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = self->priv->cal_two;
-#line 564 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 558 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_get (_tmp6_, "day", &_tmp7_, NULL);
-#line 564 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 558 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = _tmp7_;
-#line 564 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 558 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = g_date_time_new_local (_tmp2_, _tmp5_ + 1, _tmp8_, 0, 0, 0.0);
-#line 564 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 558 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = _tmp9_;
-#line 564 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 558 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 5649 "SavedSearchDialog.c"
+#line 5615 "SavedSearchDialog.c"
}
@@ -5659,35 +5625,35 @@ static void saved_search_dialog_search_row_date_set_date_one (SavedSearchDialogS
GtkCalendar* _tmp6_ = NULL;
GDateTime* _tmp7_ = NULL;
gint _tmp8_ = 0;
-#line 567 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 561 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_DATE (self));
-#line 567 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 561 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (date != NULL);
-#line 568 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 562 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->cal_one;
-#line 568 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 562 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = date;
-#line 568 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 562 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = g_date_time_get_day_of_month (_tmp1_);
-#line 568 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 562 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_set (_tmp0_, "day", _tmp2_, NULL);
-#line 569 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 563 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = self->priv->cal_one;
-#line 569 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 563 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = date;
-#line 569 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 563 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = g_date_time_get_month (_tmp4_);
-#line 569 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 563 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_set (_tmp3_, "month", _tmp5_ - 1, NULL);
-#line 570 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 564 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = self->priv->cal_one;
-#line 570 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 564 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = date;
-#line 570 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 564 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = g_date_time_get_year (_tmp7_);
-#line 570 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 564 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_set (_tmp6_, "year", _tmp8_, NULL);
-#line 5691 "SavedSearchDialog.c"
+#line 5657 "SavedSearchDialog.c"
}
@@ -5701,35 +5667,35 @@ static void saved_search_dialog_search_row_date_set_date_two (SavedSearchDialogS
GtkCalendar* _tmp6_ = NULL;
GDateTime* _tmp7_ = NULL;
gint _tmp8_ = 0;
-#line 573 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 567 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_DATE (self));
-#line 573 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 567 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (date != NULL);
-#line 574 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 568 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->cal_two;
-#line 574 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 568 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = date;
-#line 574 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 568 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = g_date_time_get_day_of_month (_tmp1_);
-#line 574 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 568 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_set (_tmp0_, "day", _tmp2_, NULL);
-#line 575 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 569 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = self->priv->cal_two;
-#line 575 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 569 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = date;
-#line 575 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 569 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = g_date_time_get_month (_tmp4_);
-#line 575 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 569 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_set (_tmp3_, "month", _tmp5_ - 1, NULL);
-#line 576 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 570 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = self->priv->cal_two;
-#line 576 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 570 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = date;
-#line 576 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 570 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = g_date_time_get_year (_tmp7_);
-#line 576 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 570 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_set (_tmp6_, "year", _tmp8_, NULL);
-#line 5733 "SavedSearchDialog.c"
+#line 5699 "SavedSearchDialog.c"
}
@@ -5749,43 +5715,43 @@ static SearchCondition* saved_search_dialog_search_row_date_real_get_search_cond
GDateTime* _tmp7_ = NULL;
SearchConditionDate* _tmp8_ = NULL;
SearchConditionDate* _tmp9_ = NULL;
-#line 579 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 573 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_DATE, SavedSearchDialogSearchRowDate);
-#line 580 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 574 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->parent;
-#line 580 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 574 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = saved_search_dialog_search_row_container_get_search_type (_tmp0_);
-#line 580 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 574 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
search_type = _tmp1_;
-#line 581 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 575 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->context;
-#line 581 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 575 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_combo_box_get_type (), GtkComboBox));
-#line 581 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 575 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
search_context = (SearchConditionDateContext) _tmp3_;
-#line 582 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 576 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = saved_search_dialog_search_row_date_get_date_one (self);
-#line 582 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 576 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = _tmp4_;
-#line 582 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 576 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = saved_search_dialog_search_row_date_get_date_two (self);
-#line 582 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 576 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = _tmp6_;
-#line 582 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 576 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = search_condition_date_new (search_type, search_context, _tmp5_, _tmp7_);
-#line 582 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 576 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = _tmp8_;
-#line 582 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 576 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_date_time_unref0 (_tmp7_);
-#line 582 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 576 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_date_time_unref0 (_tmp5_);
-#line 582 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 576 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
c = _tmp9_;
-#line 584 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 578 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (c, TYPE_SEARCH_CONDITION, SearchCondition);
-#line 584 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 578 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 5789 "SavedSearchDialog.c"
+#line 5755 "SavedSearchDialog.c"
}
@@ -5801,136 +5767,136 @@ static void saved_search_dialog_search_row_date_real_populate (SavedSearchDialog
GDateTime* _tmp6_ = NULL;
GDateTime* _tmp7_ = NULL;
GDateTime* _tmp8_ = NULL;
-#line 587 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 581 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_DATE, SavedSearchDialogSearchRowDate);
-#line 587 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 581 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (IS_SEARCH_CONDITION (sc));
-#line 588 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 582 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = sc;
-#line 588 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 582 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = _search_condition_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_SEARCH_CONDITION_DATE) ? ((SearchConditionDate*) _tmp0_) : NULL);
-#line 588 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 582 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
cond = _tmp1_;
-#line 589 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 583 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_vala_assert (cond != NULL, "cond != null");
-#line 590 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 584 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = self->priv->context;
-#line 590 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 584 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = search_condition_date_get_context (cond);
-#line 590 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 584 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp4_ = _tmp3_;
-#line 590 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 584 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_combo_box_get_type (), GtkComboBox), (gint) _tmp4_);
-#line 591 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 585 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = search_condition_date_get_date_one (cond);
-#line 591 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 585 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = _tmp5_;
-#line 591 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 585 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_date_set_date_one (self, _tmp6_);
-#line 592 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 586 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp7_ = search_condition_date_get_date_two (cond);
-#line 592 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 586 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = _tmp7_;
-#line 592 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 586 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_date_set_date_two (self, _tmp8_);
-#line 593 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- saved_search_dialog_search_row_date_update_date_labels (self);
#line 587 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+ saved_search_dialog_search_row_date_update_date_labels (self);
+#line 581 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_search_condition_unref0 (cond);
-#line 5841 "SavedSearchDialog.c"
+#line 5807 "SavedSearchDialog.c"
}
static gboolean saved_search_dialog_search_row_date_real_is_complete (SavedSearchDialogSearchRow* base) {
SavedSearchDialogSearchRowDate * self;
gboolean result = FALSE;
-#line 596 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 590 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_DATE, SavedSearchDialogSearchRowDate);
-#line 597 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 591 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
result = TRUE;
-#line 597 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 591 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return result;
-#line 5854 "SavedSearchDialog.c"
+#line 5820 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_date_on_changed (SavedSearchDialogSearchRowDate* self) {
SavedSearchDialogSearchRowContainer* _tmp0_ = NULL;
SavedSearchDialogSearchRowContainer* _tmp1_ = NULL;
-#line 600 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 594 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_DATE (self));
-#line 601 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 595 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->parent;
-#line 601 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 595 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp1_ = self->priv->parent;
-#line 601 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 595 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_emit_by_name (_tmp0_, "changed", _tmp1_);
-#line 602 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 596 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_date_update_date_labels (self);
-#line 5871 "SavedSearchDialog.c"
+#line 5837 "SavedSearchDialog.c"
}
static Block9Data* block9_data_ref (Block9Data* _data9_) {
-#line 605 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_atomic_int_inc (&_data9_->_ref_count_);
-#line 605 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return _data9_;
-#line 5880 "SavedSearchDialog.c"
+#line 5846 "SavedSearchDialog.c"
}
static void block9_data_unref (void * _userdata_) {
Block9Data* _data9_;
_data9_ = (Block9Data*) _userdata_;
-#line 605 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (g_atomic_int_dec_and_test (&_data9_->_ref_count_)) {
-#line 5889 "SavedSearchDialog.c"
+#line 5855 "SavedSearchDialog.c"
SavedSearchDialogSearchRowDate* self;
-#line 605 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = _data9_->self;
-#line 605 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (_data9_->d);
-#line 605 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_unref0 (self);
-#line 605 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_slice_free (Block9Data, _data9_);
-#line 5899 "SavedSearchDialog.c"
+#line 5865 "SavedSearchDialog.c"
}
}
static void __lambda12_ (SavedSearchDialogSearchRowDate* self) {
-#line 616 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 610 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_date_update_date_labels (self);
-#line 5907 "SavedSearchDialog.c"
+#line 5873 "SavedSearchDialog.c"
}
static void ___lambda12__gtk_calendar_day_selected (GtkCalendar* _sender, gpointer self) {
-#line 616 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 610 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
__lambda12_ ((SavedSearchDialogSearchRowDate*) self);
-#line 5914 "SavedSearchDialog.c"
+#line 5880 "SavedSearchDialog.c"
}
static void __lambda13_ (Block9Data* _data9_) {
SavedSearchDialogSearchRowDate* self;
GtkDialog* _tmp0_ = NULL;
-#line 617 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 611 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = _data9_->self;
-#line 618 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 612 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = _data9_->d;
-#line 618 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 612 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_dialog_response (_tmp0_, (gint) GTK_RESPONSE_ACCEPT);
-#line 5927 "SavedSearchDialog.c"
+#line 5893 "SavedSearchDialog.c"
}
static void ___lambda13__gtk_calendar_day_selected_double_click (GtkCalendar* _sender, gpointer self) {
-#line 617 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 611 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
__lambda13_ (self);
-#line 5934 "SavedSearchDialog.c"
+#line 5900 "SavedSearchDialog.c"
}
@@ -5971,192 +5937,192 @@ static void saved_search_dialog_search_row_date_popup_calendar (SavedSearchDialo
GtkCalendar* _tmp32_ = NULL;
gulong _tmp33_ = 0UL;
GtkDialog* _tmp34_ = NULL;
-#line 605 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_DATE (self));
-#line 605 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (GTK_IS_CALENDAR (cal));
-#line 605 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_data9_ = g_slice_new0 (Block9Data);
-#line 605 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_data9_->_ref_count_ = 1;
-#line 605 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_data9_->self = saved_search_dialog_search_row_ref (self);
-#line 606 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 600 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = cal;
-#line 606 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 600 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_get (_tmp0_, "day", &_tmp1_, NULL);
-#line 606 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 600 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp2_ = _tmp1_;
-#line 606 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 600 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
orig_day = _tmp2_;
-#line 607 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 601 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp3_ = cal;
-#line 607 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 601 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_get (_tmp3_, "month", &_tmp4_, NULL);
-#line 607 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 601 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp5_ = _tmp4_;
-#line 607 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 601 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
orig_month = _tmp5_;
-#line 608 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 602 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp6_ = cal;
-#line 608 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 602 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_get (_tmp6_, "year", &_tmp7_, NULL);
-#line 608 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 602 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp8_ = _tmp7_;
-#line 608 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 602 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
orig_year = _tmp8_;
-#line 609 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 603 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp9_ = (GtkDialog*) gtk_dialog_new_with_buttons (NULL, NULL, GTK_DIALOG_MODAL, RESOURCES_CANCEL_LABEL, GTK_RESPONSE_REJECT, RESOURCES_OK_LABEL, GTK_RESPONSE_ACCEPT, NULL);
-#line 609 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 603 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp9_);
-#line 609 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 603 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_data9_->d = _tmp9_;
-#line 612 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 606 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp10_ = _data9_->d;
-#line 612 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 606 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_window_set_modal (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_window_get_type (), GtkWindow), TRUE);
-#line 613 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 607 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp11_ = _data9_->d;
-#line 613 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 607 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_window_get_type (), GtkWindow), FALSE);
-#line 614 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 608 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp12_ = _data9_->d;
-#line 614 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 608 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_window_set_decorated (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_window_get_type (), GtkWindow), FALSE);
-#line 615 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 609 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp13_ = _data9_->d;
-#line 615 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 609 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp14_ = (GtkBox*) gtk_dialog_get_content_area (_tmp13_);
-#line 615 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 609 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp15_ = cal;
-#line 615 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 609 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_box_get_type (), GtkBox), gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget));
-#line 616 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 610 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp16_ = cal;
-#line 616 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 610 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp17_ = g_signal_connect (_tmp16_, "day-selected", (GCallback) ___lambda12__gtk_calendar_day_selected, self);
-#line 616 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 610 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
id_1 = _tmp17_;
-#line 617 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 611 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp18_ = cal;
-#line 617 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 611 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp19_ = g_signal_connect_data (_tmp18_, "day-selected-double-click", (GCallback) ___lambda13__gtk_calendar_day_selected_double_click, block9_data_ref (_data9_), (GClosureNotify) block9_data_unref, 0);
-#line 617 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 611 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
id_2 = _tmp19_;
-#line 620 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 614 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp20_ = _data9_->d;
-#line 620 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 614 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_widget_get_type (), GtkWidget));
-#line 621 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 615 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp21_ = _data9_->d;
-#line 621 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 615 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp22_ = gtk_dialog_run (_tmp21_);
-#line 621 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 615 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
res = _tmp22_;
-#line 622 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 616 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp23_ = res;
-#line 622 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 616 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (_tmp23_ != ((gint) GTK_RESPONSE_ACCEPT)) {
-#line 6061 "SavedSearchDialog.c"
+#line 6027 "SavedSearchDialog.c"
GtkCalendar* _tmp24_ = NULL;
gint _tmp25_ = 0;
GtkCalendar* _tmp26_ = NULL;
gint _tmp27_ = 0;
GtkCalendar* _tmp28_ = NULL;
gint _tmp29_ = 0;
-#line 624 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 618 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp24_ = cal;
-#line 624 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 618 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp25_ = orig_day;
-#line 624 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 618 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_set (_tmp24_, "day", _tmp25_, NULL);
-#line 625 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 619 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp26_ = cal;
-#line 625 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 619 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp27_ = orig_month;
-#line 625 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 619 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_set (_tmp26_, "month", _tmp27_, NULL);
-#line 626 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 620 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp28_ = cal;
-#line 626 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 620 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp29_ = orig_year;
-#line 626 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 620 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_set (_tmp28_, "year", _tmp29_, NULL);
-#line 6086 "SavedSearchDialog.c"
+#line 6052 "SavedSearchDialog.c"
}
-#line 628 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 622 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp30_ = cal;
-#line 628 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 622 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp31_ = id_1;
-#line 628 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 622 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_handler_disconnect (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, G_TYPE_OBJECT, GObject), _tmp31_);
-#line 629 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 623 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp32_ = cal;
-#line 629 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 623 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp33_ = id_2;
-#line 629 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 623 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_handler_disconnect (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, G_TYPE_OBJECT, GObject), _tmp33_);
-#line 630 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 624 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp34_ = _data9_->d;
-#line 630 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 624 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_widget_get_type (), GtkWidget));
-#line 631 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 625 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_date_update_date_labels (self);
-#line 605 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
block9_data_unref (_data9_);
-#line 605 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_data9_ = NULL;
-#line 6110 "SavedSearchDialog.c"
+#line 6076 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_date_on_one_clicked (SavedSearchDialogSearchRowDate* self) {
GtkCalendar* _tmp0_ = NULL;
-#line 634 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 628 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_DATE (self));
-#line 635 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 629 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->cal_one;
-#line 635 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 629 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_date_popup_calendar (self, _tmp0_);
-#line 6122 "SavedSearchDialog.c"
+#line 6088 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_date_on_two_clicked (SavedSearchDialogSearchRowDate* self) {
GtkCalendar* _tmp0_ = NULL;
-#line 638 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 632 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (SAVED_SEARCH_DIALOG_IS_SEARCH_ROW_DATE (self));
-#line 639 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 633 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->cal_two;
-#line 639 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 633 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_date_popup_calendar (self, _tmp0_);
-#line 6134 "SavedSearchDialog.c"
+#line 6100 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_date_class_init (SavedSearchDialogSearchRowDateClass * klass) {
-#line 483 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 477 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_date_parent_class = g_type_class_peek_parent (klass);
-#line 483 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 477 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->finalize = saved_search_dialog_search_row_date_finalize;
-#line 483 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 477 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_type_class_add_private (klass, sizeof (SavedSearchDialogSearchRowDatePrivate));
-#line 483 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 477 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->get_widget = saved_search_dialog_search_row_date_real_get_widget;
-#line 483 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 477 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->get_search_condition = saved_search_dialog_search_row_date_real_get_search_condition;
-#line 483 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 477 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->populate = saved_search_dialog_search_row_date_real_populate;
-#line 483 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 477 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
((SavedSearchDialogSearchRowClass *) klass)->is_complete = saved_search_dialog_search_row_date_real_is_complete;
-#line 6153 "SavedSearchDialog.c"
+#line 6119 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_date_instance_init (SavedSearchDialogSearchRowDate * self) {
-#line 483 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 477 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv = SAVED_SEARCH_DIALOG_SEARCH_ROW_DATE_GET_PRIVATE (self);
-#line 6160 "SavedSearchDialog.c"
+#line 6126 "SavedSearchDialog.c"
}
@@ -6164,33 +6130,33 @@ static void saved_search_dialog_search_row_date_finalize (SavedSearchDialogSearc
SavedSearchDialogSearchRowDate * self;
GtkComboBoxText* _tmp0_ = NULL;
guint _tmp1_ = 0U;
-#line 483 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 477 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_DATE, SavedSearchDialogSearchRowDate);
-#line 529 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 523 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->context;
-#line 529 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 523 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_parse_name ("changed", gtk_combo_box_get_type (), &_tmp1_, NULL, FALSE);
-#line 529 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 523 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_combo_box_get_type (), GtkComboBox), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _saved_search_dialog_search_row_date_on_changed_gtk_combo_box_changed, self);
-#line 485 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 479 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->box);
-#line 486 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 480 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->context);
-#line 487 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 481 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->label_one);
-#line 488 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 482 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->label_two);
-#line 489 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 483 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->cal_one);
-#line 490 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 484 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->cal_two);
-#line 491 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 485 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->and);
-#line 493 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 487 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_container_unref0 (self->priv->parent);
-#line 483 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 477 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
SAVED_SEARCH_DIALOG_SEARCH_ROW_CLASS (saved_search_dialog_search_row_date_parent_class)->finalize (obj);
-#line 6194 "SavedSearchDialog.c"
+#line 6160 "SavedSearchDialog.c"
}
@@ -6209,7 +6175,7 @@ static GType saved_search_dialog_search_row_date_get_type (void) {
static void value_saved_search_dialog_init (GValue* value) {
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
value->data[0].v_pointer = NULL;
-#line 6213 "SavedSearchDialog.c"
+#line 6179 "SavedSearchDialog.c"
}
@@ -6218,7 +6184,7 @@ static void value_saved_search_dialog_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_unref (value->data[0].v_pointer);
-#line 6222 "SavedSearchDialog.c"
+#line 6188 "SavedSearchDialog.c"
}
}
@@ -6228,11 +6194,11 @@ static void value_saved_search_dialog_copy_value (const GValue* src_value, GValu
if (src_value->data[0].v_pointer) {
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
dest_value->data[0].v_pointer = saved_search_dialog_ref (src_value->data[0].v_pointer);
-#line 6232 "SavedSearchDialog.c"
+#line 6198 "SavedSearchDialog.c"
} else {
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
dest_value->data[0].v_pointer = NULL;
-#line 6236 "SavedSearchDialog.c"
+#line 6202 "SavedSearchDialog.c"
}
}
@@ -6240,37 +6206,37 @@ static void value_saved_search_dialog_copy_value (const GValue* src_value, GValu
static gpointer value_saved_search_dialog_peek_pointer (const GValue* value) {
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return value->data[0].v_pointer;
-#line 6244 "SavedSearchDialog.c"
+#line 6210 "SavedSearchDialog.c"
}
static gchar* value_saved_search_dialog_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (collect_values[0].v_pointer) {
-#line 6251 "SavedSearchDialog.c"
+#line 6217 "SavedSearchDialog.c"
SavedSearchDialog* object;
object = collect_values[0].v_pointer;
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (object->parent_instance.g_class == NULL) {
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 6258 "SavedSearchDialog.c"
+#line 6224 "SavedSearchDialog.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 6262 "SavedSearchDialog.c"
+#line 6228 "SavedSearchDialog.c"
}
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
value->data[0].v_pointer = saved_search_dialog_ref (object);
-#line 6266 "SavedSearchDialog.c"
+#line 6232 "SavedSearchDialog.c"
} else {
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
value->data[0].v_pointer = NULL;
-#line 6270 "SavedSearchDialog.c"
+#line 6236 "SavedSearchDialog.c"
}
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return NULL;
-#line 6274 "SavedSearchDialog.c"
+#line 6240 "SavedSearchDialog.c"
}
@@ -6281,25 +6247,25 @@ static gchar* value_saved_search_dialog_lcopy_value (const GValue* value, guint
if (!object_p) {
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 6285 "SavedSearchDialog.c"
+#line 6251 "SavedSearchDialog.c"
}
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (!value->data[0].v_pointer) {
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
*object_p = NULL;
-#line 6291 "SavedSearchDialog.c"
+#line 6257 "SavedSearchDialog.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
*object_p = value->data[0].v_pointer;
-#line 6295 "SavedSearchDialog.c"
+#line 6261 "SavedSearchDialog.c"
} else {
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
*object_p = saved_search_dialog_ref (value->data[0].v_pointer);
-#line 6299 "SavedSearchDialog.c"
+#line 6265 "SavedSearchDialog.c"
}
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return NULL;
-#line 6303 "SavedSearchDialog.c"
+#line 6269 "SavedSearchDialog.c"
}
@@ -6313,7 +6279,7 @@ GParamSpec* param_spec_saved_search_dialog (const gchar* name, const gchar* nick
G_PARAM_SPEC (spec)->value_type = object_type;
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return G_PARAM_SPEC (spec);
-#line 6317 "SavedSearchDialog.c"
+#line 6283 "SavedSearchDialog.c"
}
@@ -6322,7 +6288,7 @@ gpointer value_get_saved_search_dialog (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_SAVED_SEARCH_DIALOG), NULL);
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return value->data[0].v_pointer;
-#line 6326 "SavedSearchDialog.c"
+#line 6292 "SavedSearchDialog.c"
}
@@ -6342,17 +6308,17 @@ void value_set_saved_search_dialog (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_ref (value->data[0].v_pointer);
-#line 6346 "SavedSearchDialog.c"
+#line 6312 "SavedSearchDialog.c"
} else {
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
value->data[0].v_pointer = NULL;
-#line 6350 "SavedSearchDialog.c"
+#line 6316 "SavedSearchDialog.c"
}
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (old) {
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_unref (old);
-#line 6356 "SavedSearchDialog.c"
+#line 6322 "SavedSearchDialog.c"
}
}
@@ -6371,17 +6337,17 @@ void value_take_saved_search_dialog (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
value->data[0].v_pointer = v_object;
-#line 6375 "SavedSearchDialog.c"
+#line 6341 "SavedSearchDialog.c"
} else {
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
value->data[0].v_pointer = NULL;
-#line 6379 "SavedSearchDialog.c"
+#line 6345 "SavedSearchDialog.c"
}
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
if (old) {
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_unref (old);
-#line 6385 "SavedSearchDialog.c"
+#line 6351 "SavedSearchDialog.c"
}
}
@@ -6393,7 +6359,7 @@ static void saved_search_dialog_class_init (SavedSearchDialogClass * klass) {
((SavedSearchDialogClass *) klass)->finalize = saved_search_dialog_finalize;
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_type_class_add_private (klass, sizeof (SavedSearchDialogPrivate));
-#line 6397 "SavedSearchDialog.c"
+#line 6363 "SavedSearchDialog.c"
}
@@ -6401,19 +6367,19 @@ static void saved_search_dialog_instance_init (SavedSearchDialog * self) {
GeeArrayList* _tmp0_ = NULL;
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv = SAVED_SEARCH_DIALOG_GET_PRIVATE (self);
-#line 649 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 643 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = gee_array_list_new (SAVED_SEARCH_DIALOG_TYPE_SEARCH_ROW_CONTAINER, (GBoxedCopyFunc) saved_search_dialog_search_row_container_ref, saved_search_dialog_search_row_container_unref, NULL, NULL, NULL);
-#line 649 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 643 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->row_list = _tmp0_;
-#line 650 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 644 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->edit_mode = FALSE;
-#line 651 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 645 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->previous_search = NULL;
-#line 652 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 646 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->priv->valid = FALSE;
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
self->ref_count = 1;
-#line 6417 "SavedSearchDialog.c"
+#line 6383 "SavedSearchDialog.c"
}
@@ -6425,29 +6391,29 @@ static void saved_search_dialog_finalize (SavedSearchDialog* obj) {
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SAVED_SEARCH_DIALOG, SavedSearchDialog);
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_handlers_destroy (self);
-#line 690 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 684 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = self->priv->search_title;
-#line 690 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 684 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_parse_name ("changed", GTK_TYPE_EDITABLE, &_tmp1_, NULL, FALSE);
-#line 690 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 684 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GTK_TYPE_EDITABLE, GtkEditable), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _saved_search_dialog_on_title_changed_gtk_editable_changed, self);
-#line 643 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 637 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->builder);
-#line 644 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 638 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->dialog);
-#line 645 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 639 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->add_criteria);
-#line 646 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 640 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->operator);
-#line 647 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 641 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->row_box);
-#line 648 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 642 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->search_title);
-#line 649 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 643 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->row_list);
-#line 651 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
+#line 645 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_g_object_unref0 (self->priv->previous_search);
-#line 6451 "SavedSearchDialog.c"
+#line 6417 "SavedSearchDialog.c"
}
@@ -6472,7 +6438,7 @@ gpointer saved_search_dialog_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
return instance;
-#line 6476 "SavedSearchDialog.c"
+#line 6442 "SavedSearchDialog.c"
}
@@ -6485,7 +6451,7 @@ void saved_search_dialog_unref (gpointer instance) {
SAVED_SEARCH_DIALOG_GET_CLASS (self)->finalize (self);
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 6489 "SavedSearchDialog.c"
+#line 6455 "SavedSearchDialog.c"
}
}
diff --git a/src/searches/SavedSearchDialog.vala b/src/searches/SavedSearchDialog.vala
index 1716a26..5365cde 100644
--- a/src/searches/SavedSearchDialog.vala
+++ b/src/searches/SavedSearchDialog.vala
@@ -14,7 +14,6 @@ public class SavedSearchDialog {
private Gtk.ComboBoxText type_combo;
private Gtk.Box box;
- private Gtk.Alignment align;
private Gtk.Button remove_button;
private SearchCondition.SearchType[] search_types;
private Gee.HashMap<SearchCondition.SearchType, int> search_types_index;
@@ -51,13 +50,9 @@ public class SavedSearchDialog {
remove_button = new Gtk.Button.from_icon_name("list-remove-symbolic", Gtk.IconSize.BUTTON);
remove_button.button_press_event.connect(on_removed);
- align = new Gtk.Alignment(0,0,0,0);
-
box = new Gtk.Box(Gtk.Orientation.HORIZONTAL, 3);
box.pack_start(type_combo, false, false, 0);
- box.pack_start(align, false, false, 0);
- box.pack_start(new Gtk.Alignment(0,0,0,0), true, true, 0); // Fill space.
- box.pack_start(remove_button, false, false, 0);
+ box.pack_end(remove_button, false, false, 0);
box.show_all();
}
@@ -72,7 +67,7 @@ public class SavedSearchDialog {
private void set_type(SearchCondition.SearchType type) {
if (my_row != null)
- align.remove(my_row.get_widget());
+ box.remove(my_row.get_widget());
switch (type) {
case SearchCondition.SearchType.ANY_TEXT:
@@ -105,11 +100,10 @@ public class SavedSearchDialog {
break;
default:
- assert(false);
- break;
+ assert_not_reached ();
}
- align.add(my_row.get_widget());
+ box.pack_start (my_row.get_widget());
}
public SearchCondition.SearchType get_search_type() {
@@ -707,6 +701,7 @@ public class SavedSearchDialog {
dialog.set_default_response(Gtk.ResponseType.OK);
dialog.response.connect(on_response);
dialog.get_content_area().add(builder.get_object("criteria") as Gtk.Widget);
+ dialog.set_default_response (Gtk.ResponseType.OK);
add_criteria = builder.get_object("Add search button") as Gtk.Button;
add_criteria.button_press_event.connect(on_add_criteria);
diff --git a/src/searches/SavedSearchPage.c b/src/searches/SavedSearchPage.c
index 90e4575..699003c 100644
--- a/src/searches/SavedSearchPage.c
+++ b/src/searches/SavedSearchPage.c
@@ -15,7 +15,7 @@
#include <string.h>
#include <gee.h>
#include <gdk/gdk.h>
-#include <glib/gi18n-lib.h>
+#include <gio/gio.h>
#define TYPE_VIEW_MANAGER (view_manager_get_type ())
@@ -371,6 +371,16 @@ typedef struct _ConfigurationFacadeClass ConfigurationFacadeClass;
typedef struct _ConfigFacade ConfigFacade;
typedef struct _ConfigFacadeClass ConfigFacadeClass;
+#define TYPE_APP_WINDOW (app_window_get_type ())
+#define APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_APP_WINDOW, AppWindow))
+#define APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_APP_WINDOW, AppWindowClass))
+#define IS_APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_APP_WINDOW))
+#define IS_APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_APP_WINDOW))
+#define APP_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_APP_WINDOW, AppWindowClass))
+
+typedef struct _AppWindow AppWindow;
+typedef struct _AppWindowClass AppWindowClass;
+
#define TYPE_COMMAND_MANAGER (command_manager_get_type ())
#define COMMAND_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_COMMAND_MANAGER, CommandManager))
#define COMMAND_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_COMMAND_MANAGER, CommandManagerClass))
@@ -422,16 +432,6 @@ typedef struct _DeleteSavedSearchCommand DeleteSavedSearchCommand;
typedef struct _DeleteSavedSearchCommandClass DeleteSavedSearchCommandClass;
#define _command_manager_unref0(var) ((var == NULL) ? NULL : (var = (command_manager_unref (var), NULL)))
-#define TYPE_APP_WINDOW (app_window_get_type ())
-#define APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_APP_WINDOW, AppWindow))
-#define APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_APP_WINDOW, AppWindowClass))
-#define IS_APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_APP_WINDOW))
-#define IS_APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_APP_WINDOW))
-#define APP_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_APP_WINDOW, AppWindowClass))
-
-typedef struct _AppWindow AppWindow;
-typedef struct _AppWindowClass AppWindowClass;
-
#define TYPE_LIBRARY_WINDOW (library_window_get_type ())
#define LIBRARY_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_LIBRARY_WINDOW, LibraryWindow))
#define LIBRARY_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_LIBRARY_WINDOW, LibraryWindowClass))
@@ -491,7 +491,7 @@ struct _SavedSearchManagerPrivate {
struct _Page {
GtkScrolledWindow parent_instance;
PagePrivate * priv;
- GtkUIManager* ui;
+ GtkBuilder* builder;
GtkToolbar* toolbar;
gboolean in_view;
};
@@ -501,8 +501,6 @@ struct _PageClass {
void (*set_page_name) (Page* self, const gchar* page_name);
void (*set_container) (Page* self, GtkWindow* container);
void (*clear_container) (Page* self);
- GtkMenuBar* (*get_menubar) (Page* self);
- GtkWidget* (*get_page_ui_widget) (Page* self, const gchar* path);
GtkToolbar* (*get_toolbar) (Page* self);
GtkMenu* (*get_page_context_menu) (Page* self);
void (*switching_from) (Page* self);
@@ -510,10 +508,8 @@ struct _PageClass {
void (*ready) (Page* self);
void (*switching_to_fullscreen) (Page* self, FullscreenWindow* fsw);
void (*returning_from_fullscreen) (Page* self, FullscreenWindow* fsw);
+ void (*add_actions) (Page* self);
void (*init_collect_ui_filenames) (Page* self, GeeList* ui_filenames);
- GtkActionEntry* (*init_collect_action_entries) (Page* self, int* result_length1);
- GtkToggleActionEntry* (*init_collect_toggle_action_entries) (Page* self, int* result_length1);
- void (*register_radio_actions) (Page* self, GtkActionGroup* action_group);
InjectionGroup** (*init_collect_injection_groups) (Page* self, int* result_length1);
void (*init_actions) (Page* self, gint selected_count, gint count);
void (*update_actions) (Page* self, gint selected_count, gint count);
@@ -625,13 +621,13 @@ struct _MediaPageClass {
void (*on_move_to_trash) (MediaPage* self);
void (*on_edit_title) (MediaPage* self);
void (*on_edit_comment) (MediaPage* self);
- void (*on_display_titles) (MediaPage* self, GtkAction* action);
- void (*on_display_comments) (MediaPage* self, GtkAction* action);
- void (*on_display_ratings) (MediaPage* self, GtkAction* action);
- void (*on_display_tags) (MediaPage* self, GtkAction* action);
+ void (*on_display_titles) (MediaPage* self, GSimpleAction* action, GVariant* value);
+ void (*on_display_comments) (MediaPage* self, GSimpleAction* action, GVariant* value);
+ void (*on_display_ratings) (MediaPage* self, GSimpleAction* action, GVariant* value);
+ void (*on_display_tags) (MediaPage* self, GSimpleAction* action, GVariant* value);
void (*get_config_photos_sort) (MediaPage* self, gboolean* sort_order, gint* sort_by);
void (*set_config_photos_sort) (MediaPage* self, gboolean sort_order, gint sort_by);
- void (*on_sort_changed) (MediaPage* self);
+ void (*on_sort_changed) (MediaPage* self, GSimpleAction* action, GVariant* value);
void (*developer_changed) (MediaPage* self, RawDeveloper rd);
DataView* (*create_thumbnail) (MediaPage* self, DataSource* source);
};
@@ -731,6 +727,12 @@ GType raw_developer_get_type (void) G_GNUC_CONST;
enum {
SAVED_SEARCH_PAGE_DUMMY_PROPERTY
};
+static void saved_search_page_on_rename_search (SavedSearchPage* self);
+static void _saved_search_page_on_rename_search_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
+static void saved_search_page_on_edit_search (SavedSearchPage* self);
+static void _saved_search_page_on_edit_search_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
+static void saved_search_page_on_delete_search (SavedSearchPage* self);
+static void _saved_search_page_on_delete_search_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
SavedSearchPage* saved_search_page_new (SavedSearch* search);
SavedSearchPage* saved_search_page_construct (GType object_type, SavedSearch* search);
gchar* data_object_get_name (DataObject* self);
@@ -781,18 +783,10 @@ static void saved_search_page_real_set_config_photos_sort (MediaPage* base, gboo
void configuration_facade_set_library_photos_sort (ConfigurationFacade* self, gboolean sort_order, gint sort_by);
static void saved_search_page_real_init_collect_ui_filenames (Page* base, GeeList* ui_filenames);
void page_init_collect_ui_filenames (Page* self, GeeList* ui_filenames);
-static GtkActionEntry* saved_search_page_real_init_collect_action_entries (Page* base, int* result_length1);
-GtkActionEntry* page_init_collect_action_entries (Page* self, int* result_length1);
-#define TRANSLATABLE "translatable"
-static void saved_search_page_on_rename_search (SavedSearchPage* self);
-static void _saved_search_page_on_rename_search_gtk_action_callback (GtkAction* action, gpointer self);
-static void _vala_array_add147 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value);
-static void saved_search_page_on_edit_search (SavedSearchPage* self);
-static void _saved_search_page_on_edit_search_gtk_action_callback (GtkAction* action, gpointer self);
-static void _vala_array_add148 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value);
-static void saved_search_page_on_delete_search (SavedSearchPage* self);
-static void _saved_search_page_on_delete_search_gtk_action_callback (GtkAction* action, gpointer self);
-static void _vala_array_add149 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value);
+static void saved_search_page_real_add_actions (Page* base);
+void page_add_actions (Page* self);
+GType app_window_get_type (void) G_GNUC_CONST;
+AppWindow* app_window_get_instance (void);
gboolean dialogs_confirm_delete_saved_search (SavedSearch* search);
gpointer command_manager_ref (gpointer instance);
void command_manager_unref (gpointer instance);
@@ -809,7 +803,6 @@ DeleteSavedSearchCommand* delete_saved_search_command_construct (GType object_ty
GType page_command_get_type (void) G_GNUC_CONST;
GType single_data_source_command_get_type (void) G_GNUC_CONST;
GType delete_saved_search_command_get_type (void) G_GNUC_CONST;
-GType app_window_get_type (void) G_GNUC_CONST;
GType library_window_get_type (void) G_GNUC_CONST;
LibraryWindow* library_window_get_app (void);
void library_window_rename_search_in_sidebar (LibraryWindow* self, SavedSearch* search);
@@ -824,18 +817,16 @@ SavedSearchDialog* saved_search_dialog_new_edit_existing (SavedSearch* saved_sea
SavedSearchDialog* saved_search_dialog_construct_edit_existing (GType object_type, SavedSearch* saved_search);
void saved_search_dialog_show (SavedSearchDialog* self);
static void saved_search_page_real_update_actions (Page* base, gint selected_count, gint count);
-void page_set_action_details (Page* self, const gchar* name, const gchar* label, const gchar* tooltip, gboolean sensitive);
-#define RESOURCES_RENAME_SEARCH_MENU _ ("Re_name…")
-#define RESOURCES_EDIT_SEARCH_MENU _ ("_Edit…")
-#define RESOURCES_DELETE_SEARCH_MENU _ ("_Delete")
+void page_set_action_sensitive (Page* self, const gchar* name, gboolean sensitive);
void page_update_actions (Page* self, gint selected_count, gint count);
static void saved_search_page_finalize (GObject* obj);
+static const GActionEntry SAVED_SEARCH_PAGE_entries[3] = {{"RenameSearch", _saved_search_page_on_rename_search_gsimple_action_activate_callback}, {"EditSearch", _saved_search_page_on_edit_search_gsimple_action_activate_callback}, {"DeleteSearch", _saved_search_page_on_delete_search_gsimple_action_activate_callback}};
static gpointer _g_object_ref0 (gpointer self) {
#line 12 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
return self ? g_object_ref (self) : NULL;
-#line 839 "SavedSearchPage.c"
+#line 830 "SavedSearchPage.c"
}
@@ -862,14 +853,14 @@ SavedSearchManager* saved_search_manager_construct (GType object_type, SavedSear
self->priv->search = _tmp2_;
#line 10 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
return self;
-#line 866 "SavedSearchPage.c"
+#line 857 "SavedSearchPage.c"
}
SavedSearchManager* saved_search_manager_new (SavedSearchPage* owner, SavedSearch* search) {
#line 10 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
return saved_search_manager_construct (TYPE_SAVED_SEARCH_MANAGER, owner, search);
-#line 873 "SavedSearchPage.c"
+#line 864 "SavedSearchPage.c"
}
@@ -893,7 +884,7 @@ static gboolean saved_search_manager_real_include_in_view (ViewManager* base, Da
result = _tmp2_;
#line 16 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
return result;
-#line 897 "SavedSearchPage.c"
+#line 888 "SavedSearchPage.c"
}
@@ -906,14 +897,14 @@ static void saved_search_manager_class_init (SavedSearchManagerClass * klass) {
g_type_class_add_private (klass, sizeof (SavedSearchManagerPrivate));
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
((ViewManagerClass *) klass)->include_in_view = saved_search_manager_real_include_in_view;
-#line 910 "SavedSearchPage.c"
+#line 901 "SavedSearchPage.c"
}
static void saved_search_manager_instance_init (SavedSearchManager * self) {
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
self->priv = SAVED_SEARCH_MANAGER_GET_PRIVATE (self);
-#line 917 "SavedSearchPage.c"
+#line 908 "SavedSearchPage.c"
}
@@ -925,7 +916,7 @@ static void saved_search_manager_finalize (ViewManager* obj) {
_g_object_unref0 (self->priv->search);
#line 8 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
VIEW_MANAGER_CLASS (saved_search_manager_parent_class)->finalize (obj);
-#line 929 "SavedSearchPage.c"
+#line 920 "SavedSearchPage.c"
}
@@ -941,6 +932,27 @@ GType saved_search_manager_get_type (void) {
}
+static void _saved_search_page_on_rename_search_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
+#line 50 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+ saved_search_page_on_rename_search ((SavedSearchPage*) self);
+#line 939 "SavedSearchPage.c"
+}
+
+
+static void _saved_search_page_on_edit_search_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
+#line 50 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+ saved_search_page_on_edit_search ((SavedSearchPage*) self);
+#line 946 "SavedSearchPage.c"
+}
+
+
+static void _saved_search_page_on_delete_search_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
+#line 50 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+ saved_search_page_on_delete_search ((SavedSearchPage*) self);
+#line 953 "SavedSearchPage.c"
+}
+
+
SavedSearchPage* saved_search_page_construct (GType object_type, SavedSearch* search) {
SavedSearchPage * self = NULL;
SavedSearch* _tmp0_ = NULL;
@@ -968,7 +980,7 @@ SavedSearchPage* saved_search_page_construct (GType object_type, SavedSearch* se
_g_object_unref0 (self->priv->search);
#line 28 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
self->priv->search = _tmp4_;
-#line 972 "SavedSearchPage.c"
+#line 984 "SavedSearchPage.c"
{
GeeIterator* _sources_it = NULL;
MediaCollectionRegistry* _tmp5_ = NULL;
@@ -997,7 +1009,7 @@ SavedSearchPage* saved_search_page_construct (GType object_type, SavedSearch* se
_sources_it = _tmp10_;
#line 31 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
while (TRUE) {
-#line 1001 "SavedSearchPage.c"
+#line 1013 "SavedSearchPage.c"
GeeIterator* _tmp11_ = NULL;
gboolean _tmp12_ = FALSE;
MediaSourceCollection* sources = NULL;
@@ -1019,7 +1031,7 @@ SavedSearchPage* saved_search_page_construct (GType object_type, SavedSearch* se
if (!_tmp12_) {
#line 31 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
break;
-#line 1023 "SavedSearchPage.c"
+#line 1035 "SavedSearchPage.c"
}
#line 31 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_tmp13_ = _sources_it;
@@ -1051,24 +1063,24 @@ SavedSearchPage* saved_search_page_construct (GType object_type, SavedSearch* se
_data_collection_unref0 (_tmp16_);
#line 31 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_data_collection_unref0 (sources);
-#line 1055 "SavedSearchPage.c"
+#line 1067 "SavedSearchPage.c"
}
#line 31 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_g_object_unref0 (_sources_it);
-#line 1059 "SavedSearchPage.c"
+#line 1071 "SavedSearchPage.c"
}
#line 34 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- checkerboard_page_init_page_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), "/SearchContextMenu");
+ checkerboard_page_init_page_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), "SearchContextMenu");
#line 26 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
return self;
-#line 1065 "SavedSearchPage.c"
+#line 1077 "SavedSearchPage.c"
}
SavedSearchPage* saved_search_page_new (SavedSearch* search) {
#line 26 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
return saved_search_page_construct (TYPE_SAVED_SEARCH_PAGE, search);
-#line 1072 "SavedSearchPage.c"
+#line 1084 "SavedSearchPage.c"
}
@@ -1098,13 +1110,13 @@ static void saved_search_page_real_get_config_photos_sort (MediaPage* base, gboo
if (sort_order) {
#line 37 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
*sort_order = _vala_sort_order;
-#line 1102 "SavedSearchPage.c"
+#line 1114 "SavedSearchPage.c"
}
#line 37 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
if (sort_by) {
#line 37 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
*sort_by = _vala_sort_by;
-#line 1108 "SavedSearchPage.c"
+#line 1120 "SavedSearchPage.c"
}
}
@@ -1129,7 +1141,7 @@ static void saved_search_page_real_set_config_photos_sort (MediaPage* base, gboo
configuration_facade_set_library_photos_sort (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_);
#line 42 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_g_object_unref0 (_tmp1_);
-#line 1133 "SavedSearchPage.c"
+#line 1145 "SavedSearchPage.c"
}
@@ -1149,229 +1161,64 @@ static void saved_search_page_real_init_collect_ui_filenames (Page* base, GeeLis
_tmp1_ = ui_filenames;
#line 47 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection), "savedsearch.ui");
-#line 1153 "SavedSearchPage.c"
-}
-
-
-static void _saved_search_page_on_rename_search_gtk_action_callback (GtkAction* action, gpointer self) {
-#line 53 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- saved_search_page_on_rename_search ((SavedSearchPage*) self);
-#line 1160 "SavedSearchPage.c"
-}
-
-
-static void _vala_array_add147 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value) {
-#line 54 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- if ((*length) == (*size)) {
-#line 54 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- *size = (*size) ? (2 * (*size)) : 4;
-#line 54 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- *array = g_renew (GtkActionEntry, *array, *size);
-#line 1171 "SavedSearchPage.c"
- }
-#line 54 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- (*array)[(*length)++] = *value;
-#line 1175 "SavedSearchPage.c"
-}
-
-
-static void _saved_search_page_on_edit_search_gtk_action_callback (GtkAction* action, gpointer self) {
-#line 56 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- saved_search_page_on_edit_search ((SavedSearchPage*) self);
-#line 1182 "SavedSearchPage.c"
-}
-
-
-static void _vala_array_add148 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value) {
-#line 57 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- if ((*length) == (*size)) {
-#line 57 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- *size = (*size) ? (2 * (*size)) : 4;
-#line 57 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- *array = g_renew (GtkActionEntry, *array, *size);
-#line 1193 "SavedSearchPage.c"
- }
-#line 57 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- (*array)[(*length)++] = *value;
-#line 1197 "SavedSearchPage.c"
+#line 1165 "SavedSearchPage.c"
}
-static void _saved_search_page_on_delete_search_gtk_action_callback (GtkAction* action, gpointer self) {
-#line 59 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- saved_search_page_on_delete_search ((SavedSearchPage*) self);
-#line 1204 "SavedSearchPage.c"
-}
-
-
-static void _vala_array_add149 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value) {
-#line 60 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- if ((*length) == (*size)) {
-#line 60 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- *size = (*size) ? (2 * (*size)) : 4;
-#line 60 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- *array = g_renew (GtkActionEntry, *array, *size);
-#line 1215 "SavedSearchPage.c"
- }
-#line 60 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- (*array)[(*length)++] = *value;
-#line 1219 "SavedSearchPage.c"
-}
-
-
-static GtkActionEntry* saved_search_page_real_init_collect_action_entries (Page* base, int* result_length1) {
+static void saved_search_page_real_add_actions (Page* base) {
SavedSearchPage * self;
- GtkActionEntry* result = NULL;
- GtkActionEntry* actions = NULL;
- gint _tmp0_ = 0;
- GtkActionEntry* _tmp1_ = NULL;
- gint actions_length1 = 0;
- gint _actions_size_ = 0;
- GtkActionEntry rename_search = {0};
- GtkActionEntry _tmp2_ = {0};
- GtkActionEntry* _tmp3_ = NULL;
- gint _tmp3__length1 = 0;
- GtkActionEntry _tmp4_ = {0};
- GtkActionEntry edit_search = {0};
- GtkActionEntry _tmp5_ = {0};
- GtkActionEntry* _tmp6_ = NULL;
- gint _tmp6__length1 = 0;
- GtkActionEntry _tmp7_ = {0};
- GtkActionEntry delete_search = {0};
- GtkActionEntry _tmp8_ = {0};
- GtkActionEntry* _tmp9_ = NULL;
- gint _tmp9__length1 = 0;
- GtkActionEntry _tmp10_ = {0};
- GtkActionEntry* _tmp11_ = NULL;
- gint _tmp11__length1 = 0;
-#line 50 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SAVED_SEARCH_PAGE, SavedSearchPage);
-#line 51 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp1_ = PAGE_CLASS (saved_search_page_parent_class)->init_collect_action_entries (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_COLLECTION_PAGE, CollectionPage), TYPE_PAGE, Page), &_tmp0_);
-#line 51 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- actions = _tmp1_;
-#line 51 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- actions_length1 = _tmp0_;
-#line 51 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _actions_size_ = actions_length1;
-#line 53 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp2_.name = "RenameSearch";
-#line 53 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp2_.stock_id = NULL;
-#line 53 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp2_.label = TRANSLATABLE;
-#line 53 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp2_.accelerator = NULL;
-#line 53 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp2_.tooltip = NULL;
-#line 53 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp2_.callback = (GCallback) _saved_search_page_on_rename_search_gtk_action_callback;
-#line 53 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- rename_search = _tmp2_;
-#line 54 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp3_ = actions;
-#line 54 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp3__length1 = actions_length1;
-#line 54 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp4_ = rename_search;
-#line 54 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _vala_array_add147 (&actions, &actions_length1, &_actions_size_, &_tmp4_);
-#line 56 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp5_.name = "EditSearch";
-#line 56 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp5_.stock_id = NULL;
-#line 56 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp5_.label = TRANSLATABLE;
+ AppWindow* _tmp0_ = NULL;
+ AppWindow* _tmp1_ = NULL;
#line 56 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp5_.accelerator = NULL;
-#line 56 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp5_.tooltip = NULL;
-#line 56 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp5_.callback = (GCallback) _saved_search_page_on_edit_search_gtk_action_callback;
-#line 56 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- edit_search = _tmp5_;
-#line 57 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp6_ = actions;
-#line 57 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp6__length1 = actions_length1;
-#line 57 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp7_ = edit_search;
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SAVED_SEARCH_PAGE, SavedSearchPage);
#line 57 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _vala_array_add148 (&actions, &actions_length1, &_actions_size_, &_tmp7_);
-#line 59 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp8_.name = "DeleteSearch";
+ PAGE_CLASS (saved_search_page_parent_class)->add_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_COLLECTION_PAGE, CollectionPage), TYPE_PAGE, Page));
#line 59 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp8_.stock_id = NULL;
+ _tmp0_ = app_window_get_instance ();
#line 59 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp8_.label = TRANSLATABLE;
-#line 59 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp8_.accelerator = NULL;
-#line 59 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp8_.tooltip = NULL;
+ _tmp1_ = _tmp0_;
#line 59 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp8_.callback = (GCallback) _saved_search_page_on_delete_search_gtk_action_callback;
+ g_action_map_add_action_entries (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, g_action_map_get_type (), GActionMap), SAVED_SEARCH_PAGE_entries, G_N_ELEMENTS (SAVED_SEARCH_PAGE_entries), self);
#line 59 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- delete_search = _tmp8_;
-#line 60 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp9_ = actions;
-#line 60 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp9__length1 = actions_length1;
-#line 60 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp10_ = delete_search;
-#line 60 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _vala_array_add149 (&actions, &actions_length1, &_actions_size_, &_tmp10_);
-#line 62 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp11_ = actions;
-#line 62 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- _tmp11__length1 = actions_length1;
-#line 62 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- if (result_length1) {
-#line 62 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- *result_length1 = _tmp11__length1;
-#line 1332 "SavedSearchPage.c"
- }
-#line 62 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- result = _tmp11_;
-#line 62 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- return result;
-#line 1338 "SavedSearchPage.c"
+ _g_object_unref0 (_tmp1_);
+#line 1185 "SavedSearchPage.c"
}
static void saved_search_page_on_delete_search (SavedSearchPage* self) {
SavedSearch* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 65 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 62 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
g_return_if_fail (IS_SAVED_SEARCH_PAGE (self));
-#line 66 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 63 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_tmp0_ = self->priv->search;
-#line 66 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 63 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_tmp1_ = dialogs_confirm_delete_saved_search (_tmp0_);
-#line 66 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 63 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
if (_tmp1_) {
-#line 1353 "SavedSearchPage.c"
+#line 1200 "SavedSearchPage.c"
CommandManager* _tmp2_ = NULL;
CommandManager* _tmp3_ = NULL;
SavedSearch* _tmp4_ = NULL;
DeleteSavedSearchCommand* _tmp5_ = NULL;
DeleteSavedSearchCommand* _tmp6_ = NULL;
-#line 67 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 64 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_tmp2_ = app_window_get_command_manager ();
-#line 67 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 64 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_tmp3_ = _tmp2_;
-#line 67 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 64 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_tmp4_ = self->priv->search;
-#line 67 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 64 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_tmp5_ = delete_saved_search_command_new (_tmp4_);
-#line 67 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 64 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_tmp6_ = _tmp5_;
-#line 67 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 64 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
command_manager_execute (_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_COMMAND, Command));
-#line 67 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 64 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_g_object_unref0 (_tmp6_);
-#line 67 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 64 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_command_manager_unref0 (_tmp3_);
-#line 1375 "SavedSearchPage.c"
+#line 1222 "SavedSearchPage.c"
}
}
@@ -1380,19 +1227,19 @@ static void saved_search_page_on_rename_search (SavedSearchPage* self) {
LibraryWindow* _tmp0_ = NULL;
LibraryWindow* _tmp1_ = NULL;
SavedSearch* _tmp2_ = NULL;
-#line 70 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 67 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
g_return_if_fail (IS_SAVED_SEARCH_PAGE (self));
-#line 71 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 68 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_tmp0_ = library_window_get_app ();
-#line 71 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 68 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_tmp1_ = _tmp0_;
-#line 71 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 68 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_tmp2_ = self->priv->search;
-#line 71 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 68 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
library_window_rename_search_in_sidebar (_tmp1_, _tmp2_);
-#line 71 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 68 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_g_object_unref0 (_tmp1_);
-#line 1396 "SavedSearchPage.c"
+#line 1243 "SavedSearchPage.c"
}
@@ -1400,19 +1247,19 @@ static void saved_search_page_on_edit_search (SavedSearchPage* self) {
SavedSearchDialog* ssd = NULL;
SavedSearch* _tmp0_ = NULL;
SavedSearchDialog* _tmp1_ = NULL;
-#line 74 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 71 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
g_return_if_fail (IS_SAVED_SEARCH_PAGE (self));
-#line 75 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 72 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_tmp0_ = self->priv->search;
-#line 75 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 72 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_tmp1_ = saved_search_dialog_new_edit_existing (_tmp0_);
-#line 75 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 72 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
ssd = _tmp1_;
-#line 76 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 73 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
saved_search_dialog_show (ssd);
-#line 74 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 71 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_saved_search_dialog_unref0 (ssd);
-#line 1416 "SavedSearchPage.c"
+#line 1263 "SavedSearchPage.c"
}
@@ -1420,21 +1267,21 @@ static void saved_search_page_real_update_actions (Page* base, gint selected_cou
SavedSearchPage * self;
gint _tmp0_ = 0;
gint _tmp1_ = 0;
-#line 79 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 76 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SAVED_SEARCH_PAGE, SavedSearchPage);
-#line 80 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- page_set_action_details (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RenameSearch", RESOURCES_RENAME_SEARCH_MENU, NULL, TRUE);
-#line 83 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- page_set_action_details (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "EditSearch", RESOURCES_EDIT_SEARCH_MENU, NULL, TRUE);
-#line 86 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- page_set_action_details (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DeleteSearch", RESOURCES_DELETE_SEARCH_MENU, NULL, TRUE);
-#line 89 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 77 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+ page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RenameSearch", TRUE);
+#line 78 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+ page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "EditSearch", TRUE);
+#line 79 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+ page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DeleteSearch", TRUE);
+#line 81 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_tmp0_ = selected_count;
-#line 89 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 81 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
_tmp1_ = count;
-#line 89 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
+#line 81 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
PAGE_CLASS (saved_search_page_parent_class)->update_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_COLLECTION_PAGE, CollectionPage), TYPE_PAGE, Page), _tmp0_, _tmp1_);
-#line 1438 "SavedSearchPage.c"
+#line 1285 "SavedSearchPage.c"
}
@@ -1450,19 +1297,19 @@ static void saved_search_page_class_init (SavedSearchPageClass * klass) {
#line 21 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
((PageClass *) klass)->init_collect_ui_filenames = saved_search_page_real_init_collect_ui_filenames;
#line 21 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
- ((PageClass *) klass)->init_collect_action_entries = saved_search_page_real_init_collect_action_entries;
+ ((PageClass *) klass)->add_actions = saved_search_page_real_add_actions;
#line 21 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
((PageClass *) klass)->update_actions = saved_search_page_real_update_actions;
#line 21 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
G_OBJECT_CLASS (klass)->finalize = saved_search_page_finalize;
-#line 1459 "SavedSearchPage.c"
+#line 1306 "SavedSearchPage.c"
}
static void saved_search_page_instance_init (SavedSearchPage * self) {
#line 21 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
self->priv = SAVED_SEARCH_PAGE_GET_PRIVATE (self);
-#line 1466 "SavedSearchPage.c"
+#line 1313 "SavedSearchPage.c"
}
@@ -1474,7 +1321,7 @@ static void saved_search_page_finalize (GObject* obj) {
_g_object_unref0 (self->priv->search);
#line 21 "/home/jens/Source/shotwell/src/searches/SavedSearchPage.vala"
G_OBJECT_CLASS (saved_search_page_parent_class)->finalize (obj);
-#line 1478 "SavedSearchPage.c"
+#line 1325 "SavedSearchPage.c"
}
diff --git a/src/searches/SavedSearchPage.vala b/src/searches/SavedSearchPage.vala
index 1693ca3..c57ec7d 100644
--- a/src/searches/SavedSearchPage.vala
+++ b/src/searches/SavedSearchPage.vala
@@ -31,7 +31,7 @@ public class SavedSearchPage : CollectionPage {
foreach (MediaSourceCollection sources in MediaCollectionRegistry.get_instance().get_all())
get_view().monitor_source_collection(sources, new SavedSearchManager(this, search), null);
- init_page_context_menu("/SearchContextMenu");
+ init_page_context_menu("SearchContextMenu");
}
protected override void get_config_photos_sort(out bool sort_order, out int sort_by) {
@@ -46,20 +46,17 @@ public class SavedSearchPage : CollectionPage {
base.init_collect_ui_filenames(ui_filenames);
ui_filenames.add("savedsearch.ui");
}
-
- protected override Gtk.ActionEntry[] init_collect_action_entries() {
- Gtk.ActionEntry[] actions = base.init_collect_action_entries();
-
- Gtk.ActionEntry rename_search = { "RenameSearch", null, TRANSLATABLE, null, null, on_rename_search };
- actions += rename_search;
-
- Gtk.ActionEntry edit_search = { "EditSearch", null, TRANSLATABLE, null, null, on_edit_search };
- actions += edit_search;
-
- Gtk.ActionEntry delete_search = { "DeleteSearch", null, TRANSLATABLE, null, null, on_delete_search };
- actions += delete_search;
-
- return actions;
+
+ private const GLib.ActionEntry[] entries = {
+ { "RenameSearch", on_rename_search },
+ { "EditSearch", on_edit_search },
+ { "DeleteSearch", on_delete_search }
+ };
+
+ protected override void add_actions () {
+ base.add_actions ();
+
+ AppWindow.get_instance ().add_action_entries (entries, this);
}
private void on_delete_search() {
@@ -77,15 +74,10 @@ public class SavedSearchPage : CollectionPage {
}
protected override void update_actions(int selected_count, int count) {
- set_action_details("RenameSearch",
- Resources.RENAME_SEARCH_MENU,
- null, true);
- set_action_details("EditSearch",
- Resources.EDIT_SEARCH_MENU,
- null, true);
- set_action_details("DeleteSearch",
- Resources.DELETE_SEARCH_MENU,
- null, true);
+ set_action_sensitive ("RenameSearch", true);
+ set_action_sensitive ("EditSearch", true);
+ set_action_sensitive ("DeleteSearch", true);
+
base.update_actions(selected_count, count);
}
}
diff --git a/src/searches/SearchBoolean.c b/src/searches/SearchBoolean.c
index 45d29d8..3710948 100644
--- a/src/searches/SearchBoolean.c
+++ b/src/searches/SearchBoolean.c
@@ -742,10 +742,10 @@ enum {
};
SearchConditionSearchType* search_condition_search_type_as_array (int* result_length1);
void search_condition_search_type_sort_array (SearchConditionSearchType** array, int* array_length1);
-static gint __lambda10_ (void* a, void* b);
+static gint __lambda11_ (void* a, void* b);
gint utf8_cs_compare (void* a, void* b);
gchar* search_condition_search_type_display_text (SearchConditionSearchType self);
-static gint ___lambda10____compar_fn_t (void* key1, void* key2);
+static gint ___lambda11____compar_fn_t (void* key1, void* key2);
gchar* search_condition_search_type_to_string (SearchConditionSearchType self);
SearchConditionSearchType search_condition_search_type_from_string (const gchar* str);
gboolean search_condition_predicate (SearchCondition* self, MediaSource* source);
@@ -1156,7 +1156,7 @@ SearchConditionSearchType* search_condition_search_type_as_array (int* result_le
}
-static gint __lambda10_ (void* a, void* b) {
+static gint __lambda11_ (void* a, void* b) {
gint result = 0;
void* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
@@ -1181,9 +1181,9 @@ static gint __lambda10_ (void* a, void* b) {
}
-static gint ___lambda10____compar_fn_t (void* key1, void* key2) {
+static gint ___lambda11____compar_fn_t (void* key1, void* key2) {
gint result;
- result = __lambda10_ (key1, key2);
+ result = __lambda11_ (key1, key2);
#line 70 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
return result;
#line 1190 "SearchBoolean.c"
@@ -1204,7 +1204,7 @@ void search_condition_search_type_sort_array (SearchConditionSearchType** array,
#line 70 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
_tmp1__length1 = *array_length1;
#line 70 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
- qsort (_tmp0_, (gsize) _tmp1__length1, (gsize) sizeof (SearchConditionSearchType), ___lambda10____compar_fn_t);
+ qsort (_tmp0_, (gsize) _tmp1__length1, (gsize) sizeof (SearchConditionSearchType), ___lambda11____compar_fn_t);
#line 1209 "SearchBoolean.c"
}
@@ -5691,7 +5691,7 @@ void saved_search_reconstitute (SavedSearch* self) {
#line 847 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 5684 "SearchBoolean.c"
- goto __catch75_database_error;
+ goto __catch74_database_error;
}
#line 847 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -5707,8 +5707,8 @@ void saved_search_reconstitute (SavedSearch* self) {
_tmp6_->search_id = _tmp0_;
#line 5699 "SearchBoolean.c"
}
- goto __finally75;
- __catch75_database_error:
+ goto __finally74;
+ __catch74_database_error:
{
GError* err = NULL;
GError* _tmp7_ = NULL;
@@ -5724,7 +5724,7 @@ void saved_search_reconstitute (SavedSearch* self) {
_g_error_free0 (err);
#line 5716 "SearchBoolean.c"
}
- __finally75:
+ __finally74:
#line 846 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 846 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
@@ -5835,7 +5835,7 @@ gboolean saved_search_rename (SavedSearch* self, const gchar* new_name) {
#line 865 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 5828 "SearchBoolean.c"
- goto __catch76_database_error;
+ goto __catch75_database_error;
}
#line 865 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -5846,8 +5846,8 @@ gboolean saved_search_rename (SavedSearch* self, const gchar* new_name) {
#line 5837 "SearchBoolean.c"
}
}
- goto __finally76;
- __catch76_database_error:
+ goto __finally75;
+ __catch75_database_error:
{
GError* err = NULL;
GError* _tmp12_ = NULL;
@@ -5867,7 +5867,7 @@ gboolean saved_search_rename (SavedSearch* self, const gchar* new_name) {
return result;
#line 5859 "SearchBoolean.c"
}
- __finally76:
+ __finally75:
#line 864 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 864 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
@@ -6041,7 +6041,7 @@ static SavedSearchTable* saved_search_table_construct (GType object_type) {
#line 900 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 6034 "SearchBoolean.c"
- goto __catch77_database_error;
+ goto __catch76_database_error;
}
#line 900 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -6132,8 +6132,8 @@ static SavedSearchTable* saved_search_table_construct (GType object_type) {
_g_object_unref0 (_tmp0_);
#line 6124 "SearchBoolean.c"
}
- goto __finally77;
- __catch77_database_error:
+ goto __finally76;
+ __catch76_database_error:
{
GError* err = NULL;
GError* _tmp18_ = NULL;
@@ -6149,7 +6149,7 @@ static SavedSearchTable* saved_search_table_construct (GType object_type) {
_g_error_free0 (err);
#line 6141 "SearchBoolean.c"
}
- __finally77:
+ __finally76:
#line 899 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 899 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
@@ -6282,7 +6282,7 @@ SavedSearch* saved_search_table_create (SavedSearchTable* self, const gchar* nam
#line 926 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 6275 "SearchBoolean.c"
- goto __catch78_database_error;
+ goto __catch77_database_error;
}
#line 926 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
_g_object_unref0 (search);
@@ -6304,8 +6304,8 @@ SavedSearch* saved_search_table_create (SavedSearchTable* self, const gchar* nam
_saved_search_row_unref0 (_tmp0_);
#line 6296 "SearchBoolean.c"
}
- goto __finally78;
- __catch78_database_error:
+ goto __finally77;
+ __catch77_database_error:
{
GError* err = NULL;
GError* _tmp9_ = NULL;
@@ -6321,7 +6321,7 @@ SavedSearch* saved_search_table_create (SavedSearchTable* self, const gchar* nam
_g_error_free0 (err);
#line 6313 "SearchBoolean.c"
}
- __finally78:
+ __finally77:
#line 925 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 925 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
@@ -6386,7 +6386,7 @@ void saved_search_table_remove (SavedSearchTable* self, SavedSearch* search) {
#line 940 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 6379 "SearchBoolean.c"
- goto __catch79_database_error;
+ goto __catch78_database_error;
}
#line 940 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -6397,8 +6397,8 @@ void saved_search_table_remove (SavedSearchTable* self, SavedSearch* search) {
#line 6388 "SearchBoolean.c"
}
}
- goto __finally79;
- __catch79_database_error:
+ goto __finally78;
+ __catch78_database_error:
{
GError* err = NULL;
GError* _tmp4_ = NULL;
@@ -6414,7 +6414,7 @@ void saved_search_table_remove (SavedSearchTable* self, SavedSearch* search) {
_g_error_free0 (err);
#line 6406 "SearchBoolean.c"
}
- __finally79:
+ __finally78:
#line 939 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 939 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"