From 9763a1225f7e3aa7b3ec65dc5d2376b0b95ef9f3 Mon Sep 17 00:00:00 2001 From: Alexander Butenko Date: Mon, 19 Jul 2010 21:42:15 +0200 Subject: [PATCH] Verify that we have "folder" meta value in bookmark edit dialog --- midori/midori-browser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midori/midori-browser.c b/midori/midori-browser.c index a9359d00..a6bb4221 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -855,7 +855,7 @@ midori_browser_edit_bookmark_dialog_new (MidoriBrowser* browser, const unsigned char* name = sqlite3_column_text (statement, 0); gtk_list_store_insert_with_values (model, NULL, G_MAXINT, 0, name, 1, PANGO_ELLIPSIZE_END, -1); - if (!new_bookmark + if (!new_bookmark && katze_item_get_meta_string (bookmark, "folder") && g_str_equal (katze_item_get_meta_string (bookmark, "folder"), name)) gtk_combo_box_set_active (GTK_COMBO_BOX (combo_folder), n); n++; -- 2.39.5