• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Japanese translation of message catalog for Sawfish Window-Manager


Commit MetaInfo

修订版059c412b959b8098e0c51e52971526f39c61d429 (tree)
时间2011-06-15 04:24:05
作者Christopher Roy Bratusek <nano@tuxf...>
CommiterChristopher Roy Bratusek

Log Message

added an ugly hack to ensure tab-adjustments are correct when switching between tabbed themes from SawfishConfig

更改概述

差异

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
11 2011-06-14 Christopher Roy Bratusek <nano@tuxfamily.org>
22 * lisp/sawfish/wm/frames.jl: add an option to control the titlebar
3- text position, both in vertical and horizontal direction
3+ text position, both in vertical and horizontal direction. Added an
4+ ugly hack to ensure tab-adjustments are correct when switching between
5+ tabbed themes from SawfishConfig.
46
57 * themes/StyleTab/theme.jl: set title-x offsets so that
68 update-text-position works properly with StyleTab
--- a/lisp/sawfish/wm/frames.jl
+++ b/lisp/sawfish/wm/frames.jl
@@ -537,11 +537,20 @@ generate.")
537537 (check-frame-availability default-frame-style)
538538 (after-setting-frame-option)
539539 ;; XXX Fucking evil!
540+ ;; XXX offsets would be wrong else...
540541 (if use-custom-text-position
541542 (setq use-custom-text-position nil)
542543 (update-text-position)
543544 (setq use-custom-text-position t)
544- (update-text-position)))
545+ (update-text-position))
546+ ;; XXX even more Fucking evil!
547+ ;; XXX tab-adjustments would be wrong else
548+ ;; XXX even though each theme sets them...
549+ (if (or (eq default-frame-style (intern "StyleTab"))
550+ (eq default-frame-style (intern "Elberg-tabbbed"))
551+ (eq default-frame-style (intern "get-S-tabbed"))
552+ (eq default-frame-style (intern "gradient-tabbed")))
553+ (reframe-windows-with-style default-frame-style)))
545554
546555 (define (rebuild-frames-with-style style)
547556 (map-windows (lambda (w)