Added separator in workspace list

svn path=/trunk/kdebase/kwin/; revision=43207
This commit is contained in:
Kurt Granroth 2000-03-12 06:18:14 +00:00
parent 98ea0a56db
commit bad0fc821a

View file

@ -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 );