diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-12-21 21:01:01 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-12-21 21:01:01 +0000 |
| commit | 2135fdee3aeff1dd82d11f191a7295990cd60cb5 (patch) | |
| tree | 492c61c59577687e6b445a543346c27efdf5ef95 /src/ui/dialog/inkscape-preferences.cpp | |
| parent | Purge sp_desktop_sketch and sp_desktop_tempgroup (diff) | |
| download | inkscape-2135fdee3aeff1dd82d11f191a7295990cd60cb5.tar.gz inkscape-2135fdee3aeff1dd82d11f191a7295990cd60cb5.zip | |
Purge sp_desktop_message_stack
(bzr r13817)
Diffstat (limited to 'src/ui/dialog/inkscape-preferences.cpp')
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index cea489f50..31dddda7c 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -216,7 +216,7 @@ static void StyleFromSelectionToTool(Glib::ustring const &prefs_path, StyleSwatc Inkscape::Selection *selection = desktop->getSelection(); if (selection->isEmpty()) { - sp_desktop_message_stack(desktop)->flash(Inkscape::ERROR_MESSAGE, + desktop->getMessageStack()->flash(Inkscape::ERROR_MESSAGE, _("<b>No objects selected</b> to take the style from.")); return; } @@ -225,7 +225,7 @@ static void StyleFromSelectionToTool(Glib::ustring const &prefs_path, StyleSwatc /* TODO: If each item in the selection has the same style then don't consider it an error. * Maybe we should try to handle multiple selections anyway, e.g. the intersection of the * style attributes for the selected items. */ - sp_desktop_message_stack(desktop)->flash(Inkscape::ERROR_MESSAGE, + desktop->getMessageStack()->flash(Inkscape::ERROR_MESSAGE, _("<b>More than one object selected.</b> Cannot take style from multiple objects.")); return; } |
