diff options
Diffstat (limited to 'x11-terms/kuake/files/kuake-0.3-alignment-fix.patch')
-rw-r--r-- | x11-terms/kuake/files/kuake-0.3-alignment-fix.patch | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/x11-terms/kuake/files/kuake-0.3-alignment-fix.patch b/x11-terms/kuake/files/kuake-0.3-alignment-fix.patch deleted file mode 100644 index 47d2033f47f7..000000000000 --- a/x11-terms/kuake/files/kuake-0.3-alignment-fix.patch +++ /dev/null @@ -1,77 +0,0 @@ -diff -Nur kuake-0.3.orig/src/kuake.cpp kuake-0.3/src/kuake.cpp ---- kuake-0.3.orig/src/kuake.cpp 2004-03-11 21:16:07.000000000 +0100 -+++ kuake-0.3/src/kuake.cpp 2005-03-23 22:32:24.000000000 +0100 -@@ -128,15 +128,19 @@ - kwinmodule = new KWinModule(this); - - readConfig(); -- changeState(true); -+ //changeState(true); - //resizeKuake(); - //emit slotChangeState(); - -+ if (!compact) -+ stack->show(); - show(); - - KStartupInfoId id; - id.initId(kapp->startupId()); - KStartupInfo::sendFinish(id); -+ -+ resizeKeepingState(); - } - // --------------------------------------------------------------- // - -@@ -334,7 +338,7 @@ - KWin::setStrut(winId(), 0, 0, 0, (toggleButton)?_BUTTON_SIZE:0); - break; - case _ALIGN_LEFT: -- setGeometry(0, 0, (toggleButton)?0:-_BUTTON_SIZE, screenHeight); -+ setGeometry((toggleButton)?0:-_BUTTON_SIZE, 0, _BUTTON_SIZE, screenHeight); - pbResize->setGeometry(0, 0, _BUTTON_SIZE, screenHeight); - KWin::setStrut(winId(), (toggleButton)?_BUTTON_SIZE:0, 0, 0, 0); - break; -@@ -370,6 +374,11 @@ - KConfig conf ("kuakerc"); - - sizeRatio = conf.readNumEntry("size_ratio", _SIZE_RATIO_THIRD); -+ alignment = conf.readNumEntry ("alignment", _ALIGN_BOTTOM); -+ animation_steps = conf.readNumEntry("animation", _ANIMATION_MEDIUM); -+ toggleButton = conf.readBoolEntry("toggleButton", true); -+ compact = !conf.readBoolEntry("state", true); -+ - switch (sizeRatio) - { - case _SIZE_RATIO_FULL: -@@ -391,14 +400,13 @@ - break; - } - -- alignment = conf.readNumEntry ("alignment", _ALIGN_BOTTOM); - switch (alignment) - { - case _ALIGN_TOP: - emit slotAlignmentTop(); - break; - case _ALIGN_BOTTOM: -- emit slotAlignmentTop(); -+ emit slotAlignmentBottom(); - break; - case _ALIGN_LEFT: - emit slotAlignmentLeft(); -@@ -411,7 +419,6 @@ - break; - } - -- animation_steps = conf.readNumEntry("animation", _ANIMATION_MEDIUM); - switch (animation_steps) - { - case _ANIMATION_NONE: -@@ -428,7 +435,6 @@ - break; - } - -- toggleButton = conf.readBoolEntry("toggleButton", true); - ctx->setItemChecked(ctxToggleButtonID, toggleButton); - } - // --------------------------------------------------------------- // |