Japanese translation of message catalog for Sawfish Window-Manager
修订版 | d7753e508810387ec0f43d183184018a27ccc136 (tree) |
---|---|
时间 | 2012-01-15 06:14:34 |
作者 | Christopher Roy Bratusek <nano@tuxf...> |
Commiter | Christopher Roy Bratusek |
in styletab configuration replace spinbutton with choice-widgets
@@ -37,15 +37,15 @@ | ||
37 | 37 | :type symbol |
38 | 38 | :options (top bottom left right)) |
39 | 39 | |
40 | -(defcustom styletab-c:title-dimension 24 "Height of title border. " | |
40 | +(defcustom styletab-c:title-dimension 24 "Height of title border." | |
41 | 41 | :group (appearance StyleTab:group) |
42 | - :type number | |
43 | - :range (16 . 32)) | |
42 | + :type symbol | |
43 | + :options (16 18 20 22 24 26 28 30 32)) | |
44 | 44 | |
45 | 45 | (defcustom styletab-c:borders-dimension 4 "Width of window border." |
46 | 46 | :group (appearance StyleTab:group) |
47 | - :type number | |
48 | - :range (0 . 10)) | |
47 | + :type symbol | |
48 | + :options (0 2 4 6 8)) | |
49 | 49 | |
50 | 50 | (defcustom styletab-c:custom-button-width nil "Customize buttons width." |
51 | 51 | :group (appearance StyleTab:group) |
@@ -53,9 +53,9 @@ | ||
53 | 53 | |
54 | 54 | (defcustom styletab-c:button-width 0 "Width of Buttons." |
55 | 55 | :group (appearance StyleTab:group) |
56 | - :type number | |
56 | + :type symbol | |
57 | 57 | :depends styletab-c:custom-button-width |
58 | - :range (-4 . 4)) | |
58 | + :options (1 2 3 4 0 -1 -2 -3 -4)) | |
59 | 59 | |
60 | 60 | (defcustom styletab-c:proposals 'Pink "Proposals." |
61 | 61 | :group (appearance StyleTab:group StyleTab:color-group) |
@@ -90,22 +90,22 @@ | ||
90 | 90 | (defcustom styletab-c:inactive-dimout 2 "Dimout inactive frame." |
91 | 91 | :group (appearance StyleTab:group StyleTab:color-group) |
92 | 92 | :depends styletab-c:custom-frame-colors |
93 | - :type number | |
94 | - :range (0 . 5) | |
93 | + :type symbol | |
94 | + :options (0 1 2 3 4 5) | |
95 | 95 | :after-set (lambda () (color-changed))) |
96 | 96 | |
97 | 97 | (defcustom styletab-c:active-hightlight-brighten 2 "Focus window brightness mouse over buttons." |
98 | 98 | :group (appearance StyleTab:group StyleTab:color-group) |
99 | 99 | :depends styletab-c:custom-frame-colors |
100 | - :type number | |
101 | - :range (-5 . 5) | |
100 | + :type symbol | |
101 | + :options (1 2 3 4 5 0 -1 -2 -3 -4 -5) | |
102 | 102 | :after-set (lambda () (bright-changed))) |
103 | 103 | |
104 | 104 | (defcustom styletab-c:inactive-hightlight-brighten 2 "Inactive windows brightness mouse over buttons." |
105 | 105 | :group (appearance StyleTab:group StyleTab:color-group) |
106 | - :type number | |
106 | + :type symbol | |
107 | 107 | :depends styletab-c:custom-frame-colors |
108 | - :range (-5 . 5) | |
108 | + :options (1 2 3 4 5 0 -1 -2 -3 -4 -5) | |
109 | 109 | :after-set (lambda () (bright-changed))) |
110 | 110 | |
111 | 111 | (defcustom styletab-c:hightlight-close nil |
@@ -2107,7 +2107,6 @@ | ||
2107 | 2107 | (eq (window-get w 'type) 'shaped-transient)) |
2108 | 2108 | styletab-c:borders-dimension |
2109 | 2109 | (if (window-get w 'shaded) styletab-c:borders-dimension sharped-edge)))) |
2110 | - | |
2111 | 2110 | (width . ,title-height)) |
2112 | 2111 | ((class . bottom-left-corner) |
2113 | 2112 | (background . ,(lambda (w) (if (window-get w 'shaded) |
@@ -2504,11 +2503,6 @@ | ||
2504 | 2503 | (define (reframe-with-style) |
2505 | 2504 | (reframe-windows-with-style theme-name)) |
2506 | 2505 | |
2507 | -(define (rebuild-one w) | |
2508 | - (when (not (window-get w 'tabbed)) | |
2509 | - (when (eq (window-get w 'current-frame-style) theme-name) | |
2510 | - (rebuild-frame w)))) | |
2511 | - | |
2512 | 2506 | (define (reframe-one w) |
2513 | 2507 | (when (not (window-get w 'tabbed)) |
2514 | 2508 | (when (eq (window-get w 'current-frame-style) theme-name) |
@@ -2580,9 +2574,8 @@ | ||
2580 | 2574 | |
2581 | 2575 | (add-frame-style theme-name get-frame) |
2582 | 2576 | |
2583 | -(call-after-state-changed '(sticky fixed-position stacking) rebuild-one) | |
2584 | -(call-after-state-changed '(maximized) reframe-one) | |
2585 | -(add-hook 'remove-from-workspace-hook rebuild-one) | |
2577 | +(call-after-state-changed '(maximized sticky fixed-position stacking) reframe-one) | |
2578 | +(add-hook 'remove-from-workspace-hook reframe-one) | |
2586 | 2579 | |
2587 | 2580 | (custom-set-property 'styletab-c:styles ':after-set reload-frame-style-reframe) |
2588 | 2581 | (custom-set-property 'styletab-c:title-dimension ':after-set clear-icon-cache-reframe) |