[rkward-cvs] rkward/rkward rkward.cpp,1.125,1.126

Pierre ecoch at users.sourceforge.net
Fri Apr 14 22:14:33 UTC 2006


Update of /cvsroot/rkward/rkward/rkward
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28817/rkward

Modified Files:
	rkward.cpp 
Log Message:
- giving back focus to the script editor after running line/selection/all.
- rewording exit dialog box.

Index: rkward.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/rkward.cpp,v
retrieving revision 1.125
retrieving revision 1.126
diff -C2 -d -r1.125 -r1.126
*** rkward.cpp	12 Apr 2006 12:36:03 -0000	1.125
--- rkward.cpp	14 Apr 2006 22:14:31 -0000	1.126
***************
*** 451,455 ****
  	if (!RKGlobals::rObjectList ()->isEmpty ()) {
  		int res;
! 		res = KMessageBox::questionYesNoCancel (this, i18n ("Quitting RKWard: Do you want to save the workspace?\nPress Cancel, if you do not want to quit"), i18n ("Save Workspace?"));
  		if (res == KMessageBox::Yes) {
  			new RKSaveAgent (RKGlobals::rObjectList ()->getWorkspaceURL (), false, RKSaveAgent::Quit);
--- 451,455 ----
  	if (!RKGlobals::rObjectList ()->isEmpty ()) {
  		int res;
! 		res = KMessageBox::questionYesNoCancel (this, i18n ("Quitting RKWard: Do you want to save the workspace?\nRKWard will remain open if you press Cancel"), i18n ("Save Workspace?"));
  		if (res == KMessageBox::Yes) {
  			new RKSaveAgent (RKGlobals::rObjectList ()->getWorkspaceURL (), false, RKSaveAgent::Quit);
***************
*** 484,489 ****
  void RKwardApp::raiseWatch () {
  	RK_TRACE (APP);
- 
  	watch_view->show ();
  }
  
--- 484,492 ----
  void RKwardApp::raiseWatch () {
  	RK_TRACE (APP);
  	watch_view->show ();
+ 	KMdiChildView *window = activeWindow ();
+ 	if (window) {
+ 		window->activate ();
+ 	}
  }
  





More information about the rkward-tracker mailing list