summaryrefslogtreecommitdiffstats
path: root/src/file-update.cpp
diff options
context:
space:
mode:
authorJabiertxo Arraiza Cenoz <jtx@jtx-desktop.markerlab.es>2017-12-01 19:58:51 +0000
committerJabiertxo Arraiza Cenoz <jtx@jtx-desktop.markerlab.es>2017-12-01 19:58:51 +0000
commit07cf3b8481f98d075278020f0f9a6a806c8438f8 (patch)
tree216dbf8a72e697302ae55afc698ccee5860b3a20 /src/file-update.cpp
parentWorking on continuous paths (diff)
parentAdd a warning dialog for previous commit (diff)
downloadinkscape-07cf3b8481f98d075278020f0f9a6a806c8438f8.tar.gz
inkscape-07cf3b8481f98d075278020f0f9a6a806c8438f8.zip
Merge branch 'master' into powerpencilII
Diffstat (limited to 'src/file-update.cpp')
-rw-r--r--src/file-update.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/file-update.cpp b/src/file-update.cpp
index 303a5c4f1..1d95b5d4c 100644
--- a/src/file-update.cpp
+++ b/src/file-update.cpp
@@ -318,6 +318,7 @@ void sp_file_convert_dpi(SPDocument *doc)
bool backup = prefs->getBool("/options/dpifixbackup", true);
if (INKSCAPE.use_gui() && sp_file_convert_dpi_method_commandline == -1) {
Gtk::Dialog scale_dialog(_("Convert legacy Inkscape file"));
+ scale_dialog.set_transient_for( *(INKSCAPE.active_desktop()->getToplevel()) );
scale_dialog.set_border_width(10);
scale_dialog.set_resizable(false);
Gtk::Label explanation;