diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2019-02-20 09:50:38 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2019-02-20 09:50:38 +0000 |
| commit | 774bee47ed685bd666173cb4d1664933217371c9 (patch) | |
| tree | 077955bb8b312b64b308fbd2ab1a32ee5989f605 /src/file-update.cpp | |
| parent | Fix Window centering LPEDialog (diff) | |
| download | inkscape-774bee47ed685bd666173cb4d1664933217371c9.tar.gz inkscape-774bee47ed685bd666173cb4d1664933217371c9.zip | |
Give more descriptive names to document file related variables and functions.
Makes searching through code for them easier.
Diffstat (limited to 'src/file-update.cpp')
| -rw-r--r-- | src/file-update.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file-update.cpp b/src/file-update.cpp index 764ba8b03..22dd022bc 100644 --- a/src/file-update.cpp +++ b/src/file-update.cpp @@ -253,7 +253,7 @@ bool sp_file_save_backup( Glib::ustring uri ) { void sp_file_convert_dpi(SPDocument *doc) { Inkscape::Preferences *prefs = Inkscape::Preferences::get(); - Glib::ustring uri = doc->getURI(); + Glib::ustring uri = doc->getDocumentURI(); SPRoot *root = doc->getRoot(); // See if we need to offer the user a fix for the 90->96 px per inch change. @@ -335,7 +335,7 @@ void sp_file_convert_dpi(SPDocument *doc) scale_dialog.set_border_width(10); scale_dialog.set_resizable(false); Gtk::Label explanation; - explanation.set_markup(Glib::ustring("<b>") + doc->getName() + "</b>\n" + + explanation.set_markup(Glib::ustring("<b>") + doc->getDocumentName() + "</b>\n" + _("was created in an older version of Inkscape (90 DPI) and we need " "to make it compatible with newer versions (96 DPI). Tell us about this file:\n")); explanation.set_line_wrap(true); |
