summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
authorFelipe Corr??a da Silva Sanches <juca@members.fsf.org>2009-12-11 08:37:11 +0000
committerFelipe C. da S. Sanches <juca@members.fsf.org>2009-12-11 08:37:11 +0000
commitb13df173f8e6471ce720d45370447b9e52cd3925 (patch)
treed1735aba3e3d2a25f96967272394922f07509635 /src/desktop.cpp
parentFrench translation update (diff)
downloadinkscape-b13df173f8e6471ce720d45370447b9e52cd3925.tar.gz
inkscape-b13df173f8e6471ce720d45370447b9e52cd3925.zip
- new: Print Colors Preview Dialog and rendermode
- works with shapes. I still need to make it work with gradients and imported images (bzr r8881)
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index 319a0d407..0e4d4caf3 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -458,6 +458,9 @@ void SPDesktop::displayModeToggle() {
_setDisplayMode(Inkscape::RENDERMODE_OUTLINE);
break;
case Inkscape::RENDERMODE_OUTLINE:
+ _setDisplayMode(Inkscape::RENDERMODE_PRINT_COLORS_PREVIEW);
+ break;
+ case Inkscape::RENDERMODE_PRINT_COLORS_PREVIEW:
default:
_setDisplayMode(Inkscape::RENDERMODE_NORMAL);
}