diff options
| author | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-06-14 18:51:11 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-06-14 18:51:11 +0000 |
| commit | eb4d7e1225a2e1e5a5d1da8d0ab784632bc77291 (patch) | |
| tree | fc11d1a0d8e6e59982a0b49ccce5b1e074fde169 /src/interface.cpp | |
| parent | Update to experimental r13402 (diff) | |
| download | inkscape-eb4d7e1225a2e1e5a5d1da8d0ab784632bc77291.tar.gz inkscape-eb4d7e1225a2e1e5a5d1da8d0ab784632bc77291.zip | |
Add clip group option from Ponyscape
(bzr r13090.1.83)
Diffstat (limited to 'src/interface.cpp')
| -rw-r--r-- | src/interface.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/interface.cpp b/src/interface.cpp index 1cbeb44a3..e47cff598 100644 --- a/src/interface.cpp +++ b/src/interface.cpp @@ -1756,6 +1756,13 @@ void ContextMenu::MakeItemMenu (void) } mi->show(); append(*mi); + + /*SSet Clip Group */ + mi = Gtk::manage(new Gtk::MenuItem(_("Create Clip G_roup"),1)); + mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::CreateGroupClip)); + mi->set_sensitive(TRUE); + mi->show(); + append(*mi); /* Set Clip */ mi = Gtk::manage(new Gtk::MenuItem(_("Set Cl_ip"), 1)); @@ -1867,6 +1874,10 @@ void ContextMenu::ReleaseMask(void) sp_selection_unset_mask(_desktop, false); } +void ContextMenu::CreateGroupClip(void) +{ + sp_selection_set_clipgroup(_desktop); +} void ContextMenu::SetClip(void) { |
