r18568 by craig - Rebuild insert menu after plugin init. Adds barcode generator back
scribus-commit
scribus-commit at lists.scribus.net
Tue Oct 22 20:09:25 UTC 2013
Author: craig
Date: Tue Oct 22 20:09:25 2013
New Revision: 18568
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18568
Log:
Rebuild insert menu after plugin init. Adds barcode generator back
Modified:
trunk/Scribus/scribus/pluginmanager.cpp
Modified: trunk/Scribus/scribus/pluginmanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18568&path=/trunk/Scribus/scribus/pluginmanager.cpp
==============================================================================
--- trunk/Scribus/scribus/pluginmanager.cpp (original)
+++ trunk/Scribus/scribus/pluginmanager.cpp Tue Oct 22 20:09:25 2013
@@ -321,6 +321,7 @@
}
// mw->scrMenuMgr->addMenuItem(mw->scrActions[ai.name], ai.menu, true);
mw->scrMenuMgr->addMenuItemString(ai.name, ai.menu);
+ qDebug()<<ai.name<<ai.menu;
}
}
else
@@ -362,8 +363,11 @@
}
}
+ //CB maybe we should just call mw->createMenuBar() here instead...
mw->scrMenuMgr->clearMenu("File");
mw->scrMenuMgr->addMenuItemStringstoMenuBar("File", mw->scrActions);
+ mw->scrMenuMgr->clearMenu("Insert");
+ mw->scrMenuMgr->addMenuItemStringstoMenuBar("Insert", mw->scrActions);
mw->scrMenuMgr->clearMenu("Item");
mw->scrMenuMgr->addMenuItemStringstoMenuBar("Item", mw->scrActions);
mw->scrMenuMgr->clearMenu("Extras");
More information about the scribus-commit
mailing list