• 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

修订版d7753e508810387ec0f43d183184018a27ccc136 (tree)
时间2012-01-15 06:14:34
作者Christopher Roy Bratusek <nano@tuxf...>
CommiterChristopher Roy Bratusek

Log Message

in styletab configuration replace spinbutton with choice-widgets

更改概述

差异

--- a/themes/StyleTab/theme.jl
+++ b/themes/StyleTab/theme.jl
@@ -37,15 +37,15 @@
3737 :type symbol
3838 :options (top bottom left right))
3939
40-(defcustom styletab-c:title-dimension 24 "Height of title border. "
40+(defcustom styletab-c:title-dimension 24 "Height of title border."
4141 :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))
4444
4545 (defcustom styletab-c:borders-dimension 4 "Width of window border."
4646 :group (appearance StyleTab:group)
47- :type number
48- :range (0 . 10))
47+ :type symbol
48+ :options (0 2 4 6 8))
4949
5050 (defcustom styletab-c:custom-button-width nil "Customize buttons width."
5151 :group (appearance StyleTab:group)
@@ -53,9 +53,9 @@
5353
5454 (defcustom styletab-c:button-width 0 "Width of Buttons."
5555 :group (appearance StyleTab:group)
56- :type number
56+ :type symbol
5757 :depends styletab-c:custom-button-width
58- :range (-4 . 4))
58+ :options (1 2 3 4 0 -1 -2 -3 -4))
5959
6060 (defcustom styletab-c:proposals 'Pink "Proposals."
6161 :group (appearance StyleTab:group StyleTab:color-group)
@@ -90,22 +90,22 @@
9090 (defcustom styletab-c:inactive-dimout 2 "Dimout inactive frame."
9191 :group (appearance StyleTab:group StyleTab:color-group)
9292 :depends styletab-c:custom-frame-colors
93- :type number
94- :range (0 . 5)
93+ :type symbol
94+ :options (0 1 2 3 4 5)
9595 :after-set (lambda () (color-changed)))
9696
9797 (defcustom styletab-c:active-hightlight-brighten 2 "Focus window brightness mouse over buttons."
9898 :group (appearance StyleTab:group StyleTab:color-group)
9999 :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)
102102 :after-set (lambda () (bright-changed)))
103103
104104 (defcustom styletab-c:inactive-hightlight-brighten 2 "Inactive windows brightness mouse over buttons."
105105 :group (appearance StyleTab:group StyleTab:color-group)
106- :type number
106+ :type symbol
107107 :depends styletab-c:custom-frame-colors
108- :range (-5 . 5)
108+ :options (1 2 3 4 5 0 -1 -2 -3 -4 -5)
109109 :after-set (lambda () (bright-changed)))
110110
111111 (defcustom styletab-c:hightlight-close nil
@@ -2107,7 +2107,6 @@
21072107 (eq (window-get w 'type) 'shaped-transient))
21082108 styletab-c:borders-dimension
21092109 (if (window-get w 'shaded) styletab-c:borders-dimension sharped-edge))))
2110-
21112110 (width . ,title-height))
21122111 ((class . bottom-left-corner)
21132112 (background . ,(lambda (w) (if (window-get w 'shaded)
@@ -2504,11 +2503,6 @@
25042503 (define (reframe-with-style)
25052504 (reframe-windows-with-style theme-name))
25062505
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-
25122506 (define (reframe-one w)
25132507 (when (not (window-get w 'tabbed))
25142508 (when (eq (window-get w 'current-frame-style) theme-name)
@@ -2580,9 +2574,8 @@
25802574
25812575 (add-frame-style theme-name get-frame)
25822576
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)
25862579
25872580 (custom-set-property 'styletab-c:styles ':after-set reload-frame-style-reframe)
25882581 (custom-set-property 'styletab-c:title-dimension ':after-set clear-icon-cache-reframe)