[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/applets/lock_logout
From: Laurent Montel <montel () kde ! org>
Date: 2008-08-18 7:25:49
Message-ID: 1219044349.816395.20525.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 848579 by mlaurent:
If we can't logout on windows don't display associate icons
M +2 -1 lockout.cpp
--- trunk/KDE/kdebase/workspace/plasma/applets/lock_logout/lockout.cpp #848578:848579
@@ -57,10 +57,11 @@
Plasma::Icon *icon_lock = new Plasma::Icon(KIcon("system-lock-screen"), "", this);
m_layout->addItem(icon_lock);
connect(icon_lock, SIGNAL(clicked()), this, SLOT(clickLock()));
-
+#ifndef Q_OS_WIN
Plasma::Icon *icon_logout = new Plasma::Icon(KIcon("system-shutdown"), "", this);
m_layout->addItem(icon_logout);
connect(icon_logout, SIGNAL(clicked()), this, SLOT(clickLogout()));
+#endif
}
LockOut::~LockOut()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic