diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-09-22 01:23:04 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-09-22 01:23:04 +0000 |
| commit | 7cd9900d0d7ff692a6cf0a0fbfa3651413c27ca8 (patch) | |
| tree | 733ddd2e985d44d1ebc3318dee89a8658424aaa9 /src/ui | |
| parent | fix CTRL+button2 rotation direction (diff) | |
| download | inkscape-7cd9900d0d7ff692a6cf0a0fbfa3651413c27ca8.tar.gz inkscape-7cd9900d0d7ff692a6cf0a0fbfa3651413c27ca8.zip | |
Fix problems on dialogs with extensions. TODO: Add dialog on drag&drop a SVG
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 2 | ||||
| -rw-r--r-- | src/ui/interface.cpp | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index c52d4f93c..a1aae3cde 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -1745,7 +1745,7 @@ void InkscapePreferences::initPageBitmaps() { Glib::ustring labels[] = {_("Include"), _("Embed"), _("Link")}; Glib::ustring values[] = {"include", "embed", "link"}; - _svg_link.init("/dialogs/import/link_svg", labels, values, G_N_ELEMENTS(values), "include"); + _svg_link.init("/dialogs/import/import_mode_svg", labels, values, G_N_ELEMENTS(values), "include"); _page_bitmaps.add_line( false, _("SVG import mode:"), _svg_link, "", "", false); } diff --git a/src/ui/interface.cpp b/src/ui/interface.cpp index b19b10221..35723af04 100644 --- a/src/ui/interface.cpp +++ b/src/ui/interface.cpp @@ -750,8 +750,6 @@ static void sp_recent_open(GtkRecentChooser *recent_menu, gpointer /*user_data*/) { // dealing with the bizarre filename convention in Inkscape for now - Inkscape::Preferences *prefs = Inkscape::Preferences::get(); - prefs->setString("/options/openmethod/value", "open"); gchar *uri = gtk_recent_chooser_get_current_uri(GTK_RECENT_CHOOSER(recent_menu)); gchar *local_fn = g_filename_from_uri(uri, nullptr, nullptr); gchar *utf8_fn = g_filename_to_utf8(local_fn, -1, nullptr, nullptr, nullptr); @@ -759,7 +757,6 @@ sp_recent_open(GtkRecentChooser *recent_menu, gpointer /*user_data*/) g_free(utf8_fn); g_free(local_fn); g_free(uri); - prefs->setString("/options/openmethod/value", "done"); } static void @@ -1293,7 +1290,7 @@ sp_ui_drag_data_received(GtkWidget *widget, Inkscape::GC::release(newgroup); DocumentUndo::done( doc, SP_VERB_NONE, - _("Drop SVG") ); + _("Drop SVG") ); break; } |
