[Xfce4-commits] <midori:master> Verify that we have "folder" meta value in bookmark edit dialog

Christian Dywan noreply at xfce.org
Mon Jul 19 21:44:06 CEST 2010


Updating branch refs/heads/master
         to 9763a1225f7e3aa7b3ec65dc5d2376b0b95ef9f3 (commit)
       from f764f25747607ced59403a8da7ef9029d5bbf9a4 (commit)

commit 9763a1225f7e3aa7b3ec65dc5d2376b0b95ef9f3
Author: Alexander Butenko <a.butenka at gmail.com>
Date:   Mon Jul 19 21:42:15 2010 +0200

    Verify that we have "folder" meta value in bookmark edit dialog

 midori/midori-browser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index a9359d0..a6bb422 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++;



More information about the Xfce4-commits mailing list