summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/inkscape-preferences.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-03-19 23:19:10 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-03-19 23:19:10 +0000
commit56203e13823d18965321e46218f4d2995287383d (patch)
tree608ea929af1aafc1b820344662881ed52ea34966 /src/ui/dialog/inkscape-preferences.cpp
parentrestore broken ngettext (diff)
downloadinkscape-56203e13823d18965321e46218f4d2995287383d.tar.gz
inkscape-56203e13823d18965321e46218f4d2995287383d.zip
patch by Andrius R. for (un)clip and (un)mask commands
(bzr r263)
Diffstat (limited to '')
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index 54977ac05..b90ed8d98 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -511,6 +511,14 @@ void InkscapePreferences::initPageMisc()
_misc_overs_bitmap.init("options.bitmapoversample", "value", labels, values, num_items, 1);
_page_misc.add_line( false, _("Oversample bitmaps:"), _misc_overs_bitmap, "", "", false);
+ _page_misc.add_group_header( _("Clipping and masking:"));
+ _misc_mask_on_top.init ( _("Use the topmost selected object as a clipping path or mask"), "options.maskobject", "topmost", true);
+ _page_misc.add_line(true, "", _misc_mask_on_top, "",
+ _("Uncheck this to use the bottom selected object as the clipping path or mask"));
+ _misc_mask_remove.init ( _("Remove clipping path or mask after applying"), "options.maskobject", "remove", true);
+ _page_misc.add_line(true, "", _misc_mask_remove, "",
+ _("Affter applying, remove the object used as the clipping path or mask from the drawing"));
+
this->AddPage(_page_misc, _("Misc"), PREFS_PAGE_MISC);
}