[rkward-cvs] rkward/rkward/windows rkcommandeditorwindow.cpp,1.26,1.27 rkcommandeditorwindowpart.rc,1.3,1.4

Thomas Friedrichsmeier tfry at users.sourceforge.net
Mon Apr 10 13:12:11 UTC 2006


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

Modified Files:
	rkcommandeditorwindow.cpp rkcommandeditorwindowpart.rc 
Log Message:
Remove some clutter in RKCommandEditorWindow

Index: rkcommandeditorwindow.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/windows/rkcommandeditorwindow.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** rkcommandeditorwindow.cpp	9 Nov 2005 22:53:26 -0000	1.26
--- rkcommandeditorwindow.cpp	10 Apr 2006 13:12:08 -0000	1.27
***************
*** 47,50 ****
--- 47,51 ----
  
  #include "../rkeditormanager.h"
+ #include "../misc/rkcommonfunctions.h"
  #include "../rkglobals.h"
  #include "../rkward.h"
***************
*** 67,70 ****
--- 68,75 ----
  	}
  
+ 	// strip down the khtmlpart's GUI. remove some stuff we definitely don't need.
+ 	RKCommonFunctions::removeContainers (m_doc, QStringList::split (',', "bookmarks,tools_spelling,tools_spelling_from_cursor,tools_spelling_selection,switch_to_cmd_line"), true);
+ 	RKCommonFunctions::moveContainer (m_doc, "Menu", "tools", "edit", true);
+ 
  	m_doc->insertChildClient (new RKCommandEditorWindowPart (m_view, this));
  

Index: rkcommandeditorwindowpart.rc
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/windows/rkcommandeditorwindowpart.rc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** rkcommandeditorwindowpart.rc	17 Sep 2005 19:23:52 -0000	1.3
--- rkcommandeditorwindowpart.rc	10 Apr 2006 13:12:09 -0000	1.4
***************
*** 2,5 ****
--- 2,11 ----
  <kpartgui name="rkward" version="0.3.3">
  	<MenuBar>
+ 		<Menu name="edit" noMerge="1"><text>&Edit</text>
+ 			<Menu name="tools"><text>&Tools Move</text>
+ 				<Merge/>
+ 			</Menu>
+ 			<Merge/>
+ 		</Menu>
  		<Menu name="run"><text>&Run</text>
  			<Action name="run_line"/>





More information about the rkward-tracker mailing list