diff options
| author | Jabiertxof <jabier.arraiza@marker.es> | 2018-09-13 12:15:17 +0000 |
|---|---|---|
| committer | Jabiertxof <jabier.arraiza@marker.es> | 2018-09-13 12:15:17 +0000 |
| commit | bfdf74d61f17dafc74d5d64f3224222718d6cddf (patch) | |
| tree | 0bdacdcdccf94b204cb494c78e654b98f61d4433 /src/ui/interface.cpp | |
| parent | fixes and improvementes to power clip and powermask (diff) | |
| download | inkscape-bfdf74d61f17dafc74d5d64f3224222718d6cddf.tar.gz inkscape-bfdf74d61f17dafc74d5d64f3224222718d6cddf.zip | |
Add per embed/linked SVG a DPI value
Diffstat (limited to 'src/ui/interface.cpp')
| -rw-r--r-- | src/ui/interface.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/interface.cpp b/src/ui/interface.cpp index 5f9a402f1..b19b10221 100644 --- a/src/ui/interface.cpp +++ b/src/ui/interface.cpp @@ -750,6 +750,8 @@ 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); @@ -757,6 +759,7 @@ 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 |
