summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 563747b)
raw | patch | inline | side by side (parent: 563747b)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 11 Feb 2007 22:37:10 +0000 (22:37 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 11 Feb 2007 22:37:10 +0000 (22:37 +0000) |
src/selection-chemistry.cpp | patch | blob | history |
index feddc9e29e2d2010e8129f91ea49d68e4e461cfc..541d04fff12d97e068891823c7f13ba2f240131a 100644 (file)
// Check if something is selected.
if (selection->isEmpty()) {
- desktop->messageStack()->flash(Inkscape::WARNING_MESSAGE, _("Select <b>two or more objects</b> to group."));
+ desktop->messageStack()->flash(Inkscape::WARNING_MESSAGE, _("Select <b>some objects</b> to group."));
return;
}
GSList const *l = (GSList *) selection->reprList();
- // Check if at least two objects are selected.
- if (l->next == NULL) {
- desktop->messageStack()->flash(Inkscape::WARNING_MESSAGE, _("Select <b>at least two objects</b> to group."));
- return;
- }
-
GSList *p = g_slist_copy((GSList *) l);
selection->clear();