r18469 by craig - Clean up commit 18466. ScrActions now have setStatusTextAndShortcut() where we can set status bar text that also includes the shortcut key. fileNew works for now, rest commented out.

scribus-commit scribus-commit at lists.scribus.net
Mon Sep 9 18:51:32 UTC 2013


Author: craig
Date: Mon Sep  9 18:51:32 2013
New Revision: 18469

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18469
Log:
Clean up commit 18466. ScrActions now have setStatusTextAndShortcut() where we can set status bar text that also includes the shortcut key. fileNew works for now, rest commented out.

Modified:
    trunk/Scribus/scribus/actionmanager.cpp

Modified: trunk/Scribus/scribus/actionmanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18469&path=/trunk/Scribus/scribus/actionmanager.cpp
==============================================================================
--- trunk/Scribus/scribus/actionmanager.cpp (original)
+++ trunk/Scribus/scribus/actionmanager.cpp Mon Sep  9 18:51:32 2013
@@ -184,8 +184,6 @@
 	
 	
 	(*scrActions)["fileClose"]->setShortcutContext(Qt::WidgetShortcut);
-
-	(*scrActions)["fileNew"]->setStatusTip(tr("Create a new document"));
 }
 
 void ActionManager::initEditMenuActions()
@@ -1699,7 +1697,8 @@
 
 	//////
 	//File Menu
-	(*scrActions)["fileNew"]->setStatusTextAndShortcut( tr("&New"));
+	(*scrActions)["fileNew"]->setStatusTextAndShortcut( tr("Create a new document"));
+	/*
 	(*scrActions)["fileNewFromTemplate"]->setStatusTextAndShortcut( tr("New &from Template..."));
 	(*scrActions)["fileOpen"]->setStatusTextAndShortcut( tr("&Open..."));
 	(*scrActions)["fileClose"]->setStatusTextAndShortcut( tr("&Close"));
@@ -1969,6 +1968,7 @@
 	(*scrActions)["specialToggleAllPalettes"]->setStatusTextAndShortcut( tr("Toggle Palettes"));
 	(*scrActions)["specialToggleAllGuides"]->setStatusTextAndShortcut( tr("Toggle Guides"));
 	(*scrActions)["specialUnicodeSequenceBegin"]->setStatusTextAndShortcut( tr("Insert Unicode Character Begin Sequence"));
+	*/
 	//////
 	languageChangeUnicodeActions(scrActions);
 	languageChangeActions();




More information about the scribus-commit mailing list