Display correct folder name in bookmark edit dialog

This commit is contained in:
Alexander Butenko 2010-07-02 11:08:08 -04:00 committed by Christian Dywan
parent 659b7c351e
commit 067eb6c3ec

View file

@ -855,9 +855,9 @@ midori_browser_edit_bookmark_dialog_new (MidoriBrowser* browser,
const unsigned char* name = sqlite3_column_text (statement, 0); const unsigned char* name = sqlite3_column_text (statement, 0);
gtk_list_store_insert_with_values (model, NULL, G_MAXINT, gtk_list_store_insert_with_values (model, NULL, G_MAXINT,
0, name, 1, PANGO_ELLIPSIZE_END, -1); 0, name, 1, PANGO_ELLIPSIZE_END, -1);
/* FIXME: Not working */ if (!new_bookmark
/*if (katze_item_get_parent (bookmark) == item) && g_str_equal (katze_item_get_meta_string (bookmark, "folder"), name))
gtk_combo_box_set_active (GTK_COMBO_BOX (combo_folder), n);*/ gtk_combo_box_set_active (GTK_COMBO_BOX (combo_folder), n);
n++; n++;
} }
if (n < 2) if (n < 2)