Browse Source

Change icons in the Switch user menu to be consistent between the classic and kickoff menu

(cherry picked from commit e988e6ee41)
v3.5.13-sru
Slávek Banko 9 years ago
parent
commit
202c2d481f
  1. 7
      kicker/kicker/ui/k_mnu.cpp

7
kicker/kicker/ui/k_mnu.cpp

@ -472,9 +472,10 @@ void PanelKMenu::slotPopulateSessions()
sessionsMenu->clear();
if (kapp->authorize("start_new_session") && (p = dm.numReserve()) >= 0)
{
if (kapp->authorize("lock_screen"))
sessionsMenu->insertItem(/*SmallIconSet("lockfork"),*/ i18n("Lock Current && Start New Session"), 100 );
sessionsMenu->insertItem(SmallIconSet("fork"), i18n("Start New Session"), 101 );
if (kapp->authorize("lock_screen")) {
sessionsMenu->insertItem(SmallIconSet("lock"), i18n("Lock Current && Start New Session"), 100 );
}
sessionsMenu->insertItem(SmallIconSet("switchuser"), i18n("Start New Session"), 101 );
if (!p) {
sessionsMenu->setItemEnabled( 100, false );
sessionsMenu->setItemEnabled( 101, false );

Loading…
Cancel
Save