r20510 by craig -
scribus-commit
scribus-commit at lists.scribus.net
Mon Nov 2 09:29:10 UTC 2015
Author: craig
Date: Mon Nov 2 09:29:09 2015
New Revision: 20510
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20510
Log:
#13198: Add Chat to Community menu item
Modified:
trunk/Scribus/scribus/actionmanager.cpp
trunk/Scribus/scribus/scribus.cpp
Modified: trunk/Scribus/scribus/actionmanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20510&path=/trunk/Scribus/scribus/actionmanager.cpp
==============================================================================
--- trunk/Scribus/scribus/actionmanager.cpp (original)
+++ trunk/Scribus/scribus/actionmanager.cpp Mon Nov 2 09:29:09 2015
@@ -1001,6 +1001,8 @@
scrActions->insert(name, new ScrAction(ScrAction::DataQString, QPixmap(), QPixmap(), "", defaultKey(name), mainWindow, "http://wiki.scribus.net"));
name="helpOnlineTutorial1";
scrActions->insert(name, new ScrAction(ScrAction::DataQString, QPixmap(), QPixmap(), "", defaultKey(name), mainWindow, ""));
+ name="helpChat";
+ scrActions->insert(name, new ScrAction(ScrAction::DataQString, QPixmap(), QPixmap(), "", defaultKey(name), mainWindow, "http://webchat.freenode.net/?channels=scribus"));
name="helpCheckUpdates";
scrActions->insert(name, new ScrAction("", defaultKey(name), mainWindow));
@@ -1018,6 +1020,7 @@
connect( (*scrActions)["helpOnlineDocs"], SIGNAL(triggeredData(QString)), ul, SLOT(launchUrlExt(const QString)) );
connect( (*scrActions)["helpOnlineWiki"], SIGNAL(triggeredData(QString)), ul, SLOT(launchUrlExt(const QString)) );
connect( (*scrActions)["helpOnlineTutorial1"], SIGNAL(triggeredData(QString)), ul, SLOT(launchUrlExt(const QString)) );
+ connect( (*scrActions)["helpChat"], SIGNAL(triggeredData(QString)), ul, SLOT(launchUrlExt(const QString)) );
}
void ActionManager::initUnicodeActions(QMap<QString, QPointer<ScrAction> > *actionMap, QWidget *actionParent, QStringList *actionNamesList)
@@ -1744,6 +1747,7 @@
(*scrActions)["helpOnlineWiki"]->setTexts( tr("Scribus Wiki"));
(*scrActions)["helpOnlineTutorial1"]->setTexts( tr("Getting Started with Scribus"));
(*scrActions)["helpCheckUpdates"]->setTexts( tr("Check for Updates"));
+ (*scrActions)["helpChat"]->setTexts( tr("Chat with the Community"));
//GUI and specials
(*scrActions)["specialToggleAllPalettes"]->setTexts( tr("Toggle Palettes"));
@@ -2360,7 +2364,8 @@
<< "helpOnlineDocs"
<< "helpOnlineWiki"
<< "helpOnlineTutorial1"
- << "helpCheckUpdates";
+ << "helpCheckUpdates"
+ << "helpChat";
//Other
// ++itmenu;
// itmenu->second << "";
Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20510&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp (original)
+++ trunk/Scribus/scribus/scribus.cpp Mon Nov 2 09:29:09 2015
@@ -1150,6 +1150,7 @@
//Help menu
scrMenuMgr->createMenu("Help", ActionManager::defaultMenuNameEntryTranslated("Help"));
scrMenuMgr->addMenuItemString("helpManual", "Help");
+ scrMenuMgr->addMenuItemString("helpChat", "Help");
scrMenuMgr->addMenuItemString("SEPARATOR", "Help");
scrMenuMgr->addMenuItemString("helpTooltips", "Help");
scrMenuMgr->addMenuItemString("SEPARATOR", "Help");
More information about the scribus-commit
mailing list