From 05d9c26e379e63783fd0ebbb98b6a8e335eec18f Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 5 Dec 2009 20:14:41 +0100 Subject: [PATCH] Add Konqueror to the Import bookmarks dialogue --- midori/midori-browser.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 7324a0d6..a5b68bd1 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -4132,6 +4132,7 @@ _action_bookmarks_import_activate (GtkAction* action, { ".local/share/data/Arora/bookmarks.xbel", N_("Arora"), "arora" }, { ".kazehakase/bookmarks.xml", N_("Kazehakase"), "kazehakase-icon" }, { ".opera/bookmarks.adr", N_("Opera"), "opera" }, + { ".kde/share/apps/konqueror/bookmarks.xml", N_("Konqueror"), "konqueror" }, }; GtkWidget* dialog; @@ -4251,8 +4252,9 @@ _action_bookmarks_import_activate (GtkAction* action, gtk_widget_destroy (dialog); if (!path) { - GtkWidget* file_dialog = sokoke_file_chooser_dialog_new ( - _("Save file as"), + GtkWidget* file_dialog; + + file_dialog = sokoke_file_chooser_dialog_new (_("Save file as"), GTK_WINDOW (browser), GTK_FILE_CHOOSER_ACTION_OPEN); if (gtk_dialog_run (GTK_DIALOG (file_dialog)) == GTK_RESPONSE_OK) path = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (file_dialog)); -- 2.39.5