r15184 by cbradney - #8917: Force shapes icons in menus to have an icon so they show up on DE that turn off icons by default
scribus-commit
scribus-commit at lists.scribus.net
Sun Jun 13 23:20:25 CEST 2010
Revision: 15184
Author: cbradney
Date: 2010-06-13T21:15:23.814500Z
Commit message: #8917: Force shapes icons in menus to have an icon so they show up on DE that turn off icons by default
Changeset:
M /trunk/Scribus/scribus/ui/autoformbuttongroup.cpp
Diffs:
Index: scribus/ui/autoformbuttongroup.cpp
===================================================================
--- scribus/ui/autoformbuttongroup.cpp (revision 15183)
+++ scribus/ui/autoformbuttongroup.cpp (revision 15184)
@@ -79,6 +79,7 @@
void AutoformButtonGroup::addShape(QMenu* menu, int shapenum)
{
QAction *action = menu->addAction(QIcon(getIconPixmap(shapenum, 16)), "");
+ action->setIconVisibleInMenu(true);
connect(action, SIGNAL(triggered()), signalMapper, SLOT(map()));
signalMapper->setMapping(action, shapenum);
}
More information about the scribus-commit
mailing list