[rkward-cvs] SF.net SVN: rkward: [1844] trunk/rkward/rkward

tfry at users.sourceforge.net tfry at users.sourceforge.net
Tue Apr 24 15:11:18 UTC 2007


Revision: 1844
          http://svn.sourceforge.net/rkward/?rev=1844&view=rev
Author:   tfry
Date:     2007-04-24 08:11:17 -0700 (Tue, 24 Apr 2007)

Log Message:
-----------
Fix status bar text of toplevel window actions (as far as available)

Modified Paths:
--------------
    trunk/rkward/rkward/rkward.cpp
    trunk/rkward/rkward/windows/rktoplevelwindowgui.cpp

Modified: trunk/rkward/rkward/rkward.cpp
===================================================================
--- trunk/rkward/rkward/rkward.cpp	2007-04-24 15:01:53 UTC (rev 1843)
+++ trunk/rkward/rkward/rkward.cpp	2007-04-24 15:11:17 UTC (rev 1844)
@@ -125,6 +125,8 @@
 	setHelpMenuEnabled (false);
 	setXMLFile ("rkwardui.rc");
 	insertChildClient (toplevel_actions = new RKTopLevelWindowGUI (this));
+	connect (toplevel_actions->actionCollection (), SIGNAL (actionStatusText (const QString &)), this, SLOT (slotSetStatusBarText (const QString &)));
+	connect (toplevel_actions->actionCollection (), SIGNAL (clearStatusText ()), this, SLOT (slotSetStatusReady ()));
 	createShellGUI (true);
 
 	connect (this, SIGNAL (childWindowCloseRequest (KMdiChildView *)), this, SLOT (slotChildWindowCloseRequest (KMdiChildView *)));

Modified: trunk/rkward/rkward/windows/rktoplevelwindowgui.cpp
===================================================================
--- trunk/rkward/rkward/windows/rktoplevelwindowgui.cpp	2007-04-24 15:01:53 UTC (rev 1843)
+++ trunk/rkward/rkward/windows/rktoplevelwindowgui.cpp	2007-04-24 15:11:17 UTC (rev 1844)
@@ -66,6 +66,8 @@
 	new KAction (i18n ("Activate Document view"), 0, KShortcut ("Alt+0"), this, SLOT (activateDocumentView()), actionCollection (), "window_activate_docview");
 
 	new KAction (i18n ("Show &Output"), 0, 0, this, SLOT (slotOutputShow ()), actionCollection (), "output_show");
+
+	actionCollection ()->setHighlightingEnabled (true);
 }
 
 RKTopLevelWindowGUI::~RKTopLevelWindowGUI () {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list