diff options
author | Darrell Anderson <[email protected]> | 2013-03-02 21:50:47 -0600 |
---|---|---|
committer | Darrell Anderson <[email protected]> | 2013-03-02 21:50:47 -0600 |
commit | 2a17176ac076c140c9e4c7581f6d1c74e1f3b755 (patch) | |
tree | 980facf18ad10c567460b9e09e7cbd2c90935a28 | |
parent | 7bd9856f9552e2a705b48365395394fe26a16147 (diff) | |
download | tdebase-2a17176ac076c140c9e4c7581f6d1c74e1f3b755.tar.gz tdebase-2a17176ac076c140c9e4c7581f6d1c74e1f3b755.zip |
Restore 'Custom' session option to login manager.
This resolves bug report 1413.
-rw-r--r-- | tdm/kfrontend/kgreeter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tdm/kfrontend/kgreeter.cpp b/tdm/kfrontend/kgreeter.cpp index 173b7def3..b8e2cd320 100644 --- a/tdm/kfrontend/kgreeter.cpp +++ b/tdm/kfrontend/kgreeter.cpp @@ -619,6 +619,7 @@ void KGreeter::putSession( const TQString &type, const TQString &name, bool hid, const char *exe ) { int prio = exe ? (!strcmp( exe, "default" ) ? 0 : + !strcmp( exe, "custom" ) ? 1 : !strcmp( exe, "failsafe" ) ? 3 : 2) : 2; for (uint i = 0; i < sessionTypes.size(); i++) if (sessionTypes[i].type == type) { @@ -646,6 +647,7 @@ KGreeter::insertSessions() } } putSession( "default", i18n("Default"), false, "default" ); + putSession( "custom", i18n("Custom"), false, "custom" ); putSession( "failsafe", i18n("Failsafe"), false, "failsafe" ); qBubbleSort( sessionTypes ); for (uint i = 0; i < sessionTypes.size() && !sessionTypes[i].hid; i++) { |