r15185 by cbradney - #8917: Force shapes icons in menus to have an icon so they show up on DEs that turn off icons by default

scribus-commit scribus-commit at lists.scribus.net
Sun Jun 13 23:20:43 CEST 2010


Revision: 15185
Author: cbradney
Date: 2010-06-13T21:15:45.168885Z
Commit message: #8917: Force shapes icons in menus to have an icon so they show up on DEs that turn off icons by default

Changeset: 
M  /branches/Version135/Scribus/scribus/autoformbuttongroup.cpp

Diffs:
Index: scribus/autoformbuttongroup.cpp
===================================================================
--- scribus/autoformbuttongroup.cpp	(revision 15184)
+++ scribus/autoformbuttongroup.cpp	(revision 15185)
@@ -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