...
 
Commits (2)
...@@ -83,11 +83,11 @@ class ImportBookmarksDialog: ...@@ -83,11 +83,11 @@ class ImportBookmarksDialog:
elif label == "Chromium": elif label == "Chromium":
App().bookmarks.import_chromium(False) App().bookmarks.import_chromium(False)
else: else:
dialog = Gtk.FileChooserDialog( dialog = Gtk.FileChooserNative.new(
_("Import HTML bookmarks"), self.__window, _("Import HTML bookmarks"), self.__window,
Gtk.FileChooserAction.OPEN, Gtk.FileChooserAction.OPEN,
(Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, _("Import"),
Gtk.STOCK_OPEN, Gtk.ResponseType.OK)) _("Cancel"))
dialog.connect("response", self.__on_file_chooser_response) dialog.connect("response", self.__on_file_chooser_response)
dialog.run() dialog.run()
dialog.destroy() dialog.destroy()
......