From: Alexander Butenko Date: Mon, 19 Jul 2010 19:42:15 +0000 (+0200) Subject: Verify that we have "folder" meta value in bookmark edit dialog X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9763a1225f7e3aa7b3ec65dc5d2376b0b95ef9f3;p=midori Verify that we have "folder" meta value in bookmark edit dialog --- 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++;