[Konsole-devel] [Bug 72446] How about 'hide menubar' in right click menu?
Kurt V.Hindenburg
khindenburg at cherrynebula.net
Tue Feb 10 06:55:31 UTC 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=72446
------- Additional Comments From khindenburg at cherrynebula.net 2004-02-10 07:55 -------
I think there should be a Hide/Show menubar text. It is easy with the new setCheckedState in kdelibs CVS. I don't understand what Stephan means in comment #1.
When the menubar is visible, the menu text is "Hide Menubar". When the menubar is hidden, the RMB has "Show Menubar". Makes sense to me....
--- konsole.cpp.orig 2004-02-10 01:46:34.252558584 -0500
+++ konsole.cpp 2004-02-10 01:51:01.448938560 -0500
@@ -419,6 +419,7 @@
{
showMenubar->plug ( m_rightButton, index );
m_rightButton->insertSeparator( index+1 );
+ showMenubar->setCheckedState( KGuiItem( "Hide &Menubar", "showmenu", QString::null, QString::null ) );
}
index = 2;
m_rightButton->setItemVisible(POPUP_NEW_SESSION_ID,true);
More information about the konsole-devel
mailing list