Japanese translation of message catalog for Sawfish Window-Manager
修訂 | 5ac11b33ce312efd95d7d4b9c088a387d68e6ac6 (tree) |
---|---|
時間 | 2012-04-06 05:23:56 |
作者 | Christopher Roy Bratusek <nano@tuxf...> |
Commiter | Christopher Roy Bratusek |
SawfishConfing: re-aling buttons
@@ -1,3 +1,6 @@ | ||
1 | +2012-04-05 Christopher Roy Bratusek <nano@tuxfamily.org> | |
2 | + * lisp/sawfish/cfg/shell.jl: re-align buttons | |
3 | + | |
1 | 4 | 2012-03-26 Christopher Roy Bratusek <nano@tuxfamily.org> |
2 | 5 | * lisp/sawfish/wm/ext/match-window.jl |
3 | 6 | * lisp/sawfish/wm/ext/window-history.jl |
@@ -57,13 +57,15 @@ | ||
57 | 57 | |
58 | 58 | (define (initialize-shell) |
59 | 59 | (let ((vbox (gtk-vbox-new nil box-spacing)) |
60 | - (hbox (gtk-hbutton-box-new)) | |
60 | + (hbox-a (gtk-hbutton-box-new)) | |
61 | + (hbox-b (gtk-hbutton-box-new)) | |
61 | 62 | (s-scroller (gtk-scrolled-window-new)) |
62 | 63 | root-container) |
63 | 64 | |
64 | 65 | (setq main-window (gtk-window-new 'toplevel)) |
65 | 66 | |
66 | - (gtk-box-set-homogeneous hbox nil) | |
67 | + (gtk-box-set-homogeneous hbox-a nil) | |
68 | + (gtk-box-set-homogeneous hbox-b nil) | |
67 | 69 | (gtk-window-set-resizable main-window t) |
68 | 70 | (gtk-window-set-icon-name main-window "sawfish-config") |
69 | 71 | (gtk-window-set-default-size main-window 550 400) |
@@ -120,9 +122,13 @@ | ||
120 | 122 | |
121 | 123 | (g-signal-connect main-window "delete_event" on-quit) |
122 | 124 | |
123 | - (gtk-box-set-spacing hbox button-box-spacing) | |
124 | - (gtk-button-box-set-layout hbox 'center) | |
125 | - (gtk-box-pack-end vbox hbox) | |
125 | + (gtk-box-set-spacing hbox-a button-box-spacing) | |
126 | + (gtk-button-box-set-layout hbox-a 'center) | |
127 | + (gtk-box-pack-end vbox hbox-a) | |
128 | + | |
129 | + (gtk-box-set-spacing hbox-b button-box-spacing) | |
130 | + (gtk-button-box-set-layout hbox-b 'center) | |
131 | + (gtk-box-pack-end vbox hbox-b) | |
126 | 132 | |
127 | 133 | (g-signal-connect ok-widget "clicked" on-ok) |
128 | 134 | (g-signal-connect revert-widget "clicked" on-revert) |
@@ -154,14 +160,14 @@ | ||
154 | 160 | (copy-file file (concat "~/.sawfish/themes/" filex)) |
155 | 161 | (sawfish-config-display-info "Only tar-archives can be installed at the moment." nil))))) |
156 | 162 | |
157 | - (gtk-container-add hbox wiki-button) | |
158 | - (gtk-container-add hbox install-theme-label) | |
159 | - (gtk-container-add hbox install-theme-button) | |
160 | - (gtk-container-add hbox doc-button) | |
161 | - (gtk-container-add hbox edit-button) | |
162 | - (gtk-container-add hbox about-button) | |
163 | - (gtk-container-add hbox revert-widget) | |
164 | - (gtk-container-add hbox ok-widget) | |
163 | + (gtk-container-add hbox-a wiki-button) | |
164 | + (gtk-container-add hbox-b install-theme-label) | |
165 | + (gtk-container-add hbox-b install-theme-button) | |
166 | + (gtk-container-add hbox-b doc-button) | |
167 | + (gtk-container-add hbox-b edit-button) | |
168 | + (gtk-container-add hbox-a about-button) | |
169 | + (gtk-container-add hbox-a revert-widget) | |
170 | + (gtk-container-add hbox-a ok-widget) | |
165 | 171 | |
166 | 172 | (gtk-container-add root-container vbox) |
167 | 173 | (gtk-widget-show-all main-window) |