SVN commit 941030 by hein: Merge a slightly modified patch adding an option to auto-open the window after program start, originally made by Peter Lewis. CCMAIL:prlewis@letterboxes.org M +4 -0 ChangeLog M +77 -68 app/config/behaviorsettings.ui M +5 -0 app/config/yakuake.kcfg M +3 -0 app/mainwindow.cpp --- trunk/extragear/utils/yakuake/ChangeLog #941029:941030 @@ -3,6 +3,10 @@ * Fixed a regression from the background painting changes in 2.9.4 that caused splitter handles between terminals to appear in the user-confi- gured background color. +* Improved graphics for the window state lock button in the default skin. +* Added an option to open the application window after program start. +* Slightly improved options layout on the Behavior page of the configura- + tion dialog. Changes in 2.9.4: --- trunk/extragear/utils/yakuake/app/config/behaviorsettings.ui #941029:941030 @@ -1,40 +1,58 @@ - + + BehaviorSettings - - + + 0 0 364 - 281 + 308 - - + + 0 - - - General + + + General - - - - - Keep window open when it loses focus + + + + + Open window after program start - + + + + If this option is enabled, the window will automatically open when the mouse pointer is moved to the same edge of the screen that it would open on when using the shortcut. + + + Open window when the mouse pointer touches the screen edge + + + + + + + Keep window open when it loses focus + + + + - + Qt::Horizontal - + QSizePolicy::Fixed - + 20 20 @@ -42,31 +60,31 @@ - - - + + + false - - + + 0 0 - - Keep window above other windows + + Keep window above other windows - + - + Qt::Horizontal - + QSizePolicy::Fixed - + 20 20 @@ -74,62 +92,52 @@ - - - + + + false - - + + 0 0 - - If this option is enabled, the shortcut normally used to open and retract the window will give it focus, rather than close it, if it has previously lost focus. + + If this option is enabled, the shortcut normally used to open and retract the window will give it focus, rather than close it, if it has previously lost focus. - - Use Open/Retract action to focus window + + Use Open/Retract action to focus window - - - - If this option is enabled, the window will automatically open when the mouse pointer is moved to the same edge of the screen that it would open on when using the shortcut. + + + + Focus terminals when the mouse pointer is moved over them - - Open window when the mouse pointer touches the screen edge - - - - - Focus terminals when the mouse pointer is moved over them - - - - - - Dialogs + + + Dialogs - + - - - Show startup notification popup + + + Show startup notification popup - - - Confirm quit when more than one session is open + + + Confirm quit when more than one session is open @@ -138,10 +146,10 @@ - + Qt::Vertical - + 20 0 @@ -156,6 +164,7 @@ kcfg_KeepAbove kcfg_ToggleToFocus kcfg_PollMouse + kcfg_OpenAfterStart kcfg_FocusFollowsMouse kcfg_ShowPopup kcfg_ConfirmQuit @@ -168,11 +177,11 @@ kcfg_KeepAbove setEnabled(bool) - + 32 59 - + 82 86 @@ -184,11 +193,11 @@ kcfg_ToggleToFocus setEnabled(bool) - + 24 59 - + 74 113 --- trunk/extragear/utils/yakuake/app/config/yakuake.kcfg #941029:941030 @@ -68,6 +68,11 @@ Whether an individual terminal in a session will be given focus when the mouse pointer is moved above it. false + + + Whether the application window window should be opened after program start. + false + --- trunk/extragear/utils/yakuake/app/mainwindow.cpp #941029:941030 @@ -100,6 +100,9 @@ if (Settings::showPopup()) showStartupPopup(); if (Settings::pollMouse()) toggleMousePoll(true); } + + if (Settings::openAfterStart()) + QMetaObject::invokeMethod(this, "toggleWindowState", Qt::QueuedConnection); } MainWindow::~MainWindow()