Japanese translation of message catalog for Sawfish Window-Manager
修订版 | 059c412b959b8098e0c51e52971526f39c61d429 (tree) |
---|---|
时间 | 2011-06-15 04:24:05 |
作者 | Christopher Roy Bratusek <nano@tuxf...> |
Commiter | Christopher Roy Bratusek |
added an ugly hack to ensure tab-adjustments are correct when switching between tabbed themes from SawfishConfig
@@ -1,6 +1,8 @@ | ||
1 | 1 | 2011-06-14 Christopher Roy Bratusek <nano@tuxfamily.org> |
2 | 2 | * 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. | |
4 | 6 | |
5 | 7 | * themes/StyleTab/theme.jl: set title-x offsets so that |
6 | 8 | update-text-position works properly with StyleTab |
@@ -537,11 +537,20 @@ generate.") | ||
537 | 537 | (check-frame-availability default-frame-style) |
538 | 538 | (after-setting-frame-option) |
539 | 539 | ;; XXX Fucking evil! |
540 | + ;; XXX offsets would be wrong else... | |
540 | 541 | (if use-custom-text-position |
541 | 542 | (setq use-custom-text-position nil) |
542 | 543 | (update-text-position) |
543 | 544 | (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))) | |
545 | 554 | |
546 | 555 | (define (rebuild-frames-with-style style) |
547 | 556 | (map-windows (lambda (w) |