[rkward-cvs] SF.net SVN: rkward:[2453] branches/release_branch_0.4.9

tfry at users.sourceforge.net tfry at users.sourceforge.net
Fri May 1 13:53:28 UTC 2009


Revision: 2453
          http://rkward.svn.sourceforge.net/rkward/?rev=2453&view=rev
Author:   tfry
Date:     2009-05-01 13:53:28 +0000 (Fri, 01 May 2009)

Log Message:
-----------
Deactivate KDirOperator shortcuts

Modified Paths:
--------------
    branches/release_branch_0.4.9/ChangeLog
    branches/release_branch_0.4.9/configure.in.in
    branches/release_branch_0.4.9/rkward/windows/rkfilebrowser.cpp

Modified: branches/release_branch_0.4.9/ChangeLog
===================================================================
--- branches/release_branch_0.4.9/ChangeLog	2009-05-01 11:44:27 UTC (rev 2452)
+++ branches/release_branch_0.4.9/ChangeLog	2009-05-01 13:53:28 UTC (rev 2453)
@@ -1,4 +1,5 @@
 --- Version 0.4.9b - ???????????
+- Workaround: Deactivate all filemanagement shortcuts in the File Browser. These would sometimes trigger when they should not.
 - Fix crash while inserting rows in a data.frame with string variables
 - Fix immediate crash issue with R 2.9.0 (requires recompilation against R 2.9)
 - Fix device window capturing with R 2.8.0

Modified: branches/release_branch_0.4.9/configure.in.in
===================================================================
--- branches/release_branch_0.4.9/configure.in.in	2009-05-01 11:44:27 UTC (rev 2452)
+++ branches/release_branch_0.4.9/configure.in.in	2009-05-01 13:53:28 UTC (rev 2453)
@@ -1,6 +1,6 @@
 #MIN_CONFIG(3)
 
-AM_INIT_AUTOMAKE(rkward,0.4.9a)
+AM_INIT_AUTOMAKE(rkward,0.4.9b-test1)
 
 dnl CXXFLAGS="$NOOPT_CXXFLAGS" dnl __kdevelop[noopt]__
 dnl CFLAGS="$NOOPT_CFLAGS" dnl __kdevelop[noopt]__

Modified: branches/release_branch_0.4.9/rkward/windows/rkfilebrowser.cpp
===================================================================
--- branches/release_branch_0.4.9/rkward/windows/rkfilebrowser.cpp	2009-05-01 11:44:27 UTC (rev 2452)
+++ branches/release_branch_0.4.9/rkward/windows/rkfilebrowser.cpp	2009-05-01 13:53:28 UTC (rev 2453)
@@ -90,7 +90,13 @@
 	urlbox->setSizePolicy (QSizePolicy (QSizePolicy::Expanding, QSizePolicy::Fixed));
 	urlbox->listBox ()->installEventFilter (this);
 
+// Workaround: KDirOperator sneaks its actions into its toplevel QWidget. Among those "trash", bound to the Del key, and
+// that can lead to ugly results (see http://sourceforge.net/tracker/?func=detail&aid=2033636&group_id=50231&atid=459007).
+// For good measure we deactivate all shortcuts.
 	dir = new KDirOperator (KURL (), this);
+	for (int i = 0; i < dir->actionCollection ()->count (); ++i) {
+		dir->actionCollection ()->action (i)->setShortcut (KShortcut::null ());
+	}
 	dir->setView(KFile::Simple);
 	dir->setPreviewWidget (0);
 


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