Added separator in workspace list
svn path=/trunk/kdebase/kwin/; revision=43207
This commit is contained in:
parent
98ea0a56db
commit
bad0fc821a
1 changed files with 1 additions and 0 deletions
|
@ -1703,6 +1703,7 @@ void Workspace::desktopPopupAboutToShow()
|
||||||
desk_popup->insertItem( i18n("&All desktops"), 0 );
|
desk_popup->insertItem( i18n("&All desktops"), 0 );
|
||||||
if ( popup_client->isSticky() )
|
if ( popup_client->isSticky() )
|
||||||
desk_popup->setItemChecked( 0, TRUE );
|
desk_popup->setItemChecked( 0, TRUE );
|
||||||
|
desk_popup->insertSeparator( -1 );
|
||||||
int id;
|
int id;
|
||||||
for ( int i = 1; i <= numberOfDesktops(); i++ ) {
|
for ( int i = 1; i <= numberOfDesktops(); i++ ) {
|
||||||
id = desk_popup->insertItem( QString("&")+QString::number(i ), i );
|
id = desk_popup->insertItem( QString("&")+QString::number(i ), i );
|
||||||
|
|
Loading…
Reference in a new issue