]> spindle.queued.net Git - midori/commitdiff
Add Konqueror to the Import bookmarks dialogue
authorChristian Dywan <christian@twotoasts.de>
Sat, 5 Dec 2009 19:14:41 +0000 (20:14 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sat, 5 Dec 2009 19:14:41 +0000 (20:14 +0100)
midori/midori-browser.c

index 7324a0d64d47ae1b0f2451f35c0cb7f1457230a1..a5b68bd1c0a97d038afa9bb2bc78697a898f2b8b 100644 (file)
@@ -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));