• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

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

修訂5ac11b33ce312efd95d7d4b9c088a387d68e6ac6 (tree)
時間2012-04-06 05:23:56
作者Christopher Roy Bratusek <nano@tuxf...>
CommiterChristopher Roy Bratusek

Log Message

SawfishConfing: re-aling buttons

Change Summary

差異

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
1+2012-04-05 Christopher Roy Bratusek <nano@tuxfamily.org>
2+ * lisp/sawfish/cfg/shell.jl: re-align buttons
3+
14 2012-03-26 Christopher Roy Bratusek <nano@tuxfamily.org>
25 * lisp/sawfish/wm/ext/match-window.jl
36 * lisp/sawfish/wm/ext/window-history.jl
--- a/lisp/sawfish/cfg/shell.jl
+++ b/lisp/sawfish/cfg/shell.jl
@@ -57,13 +57,15 @@
5757
5858 (define (initialize-shell)
5959 (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))
6162 (s-scroller (gtk-scrolled-window-new))
6263 root-container)
6364
6465 (setq main-window (gtk-window-new 'toplevel))
6566
66- (gtk-box-set-homogeneous hbox nil)
67+ (gtk-box-set-homogeneous hbox-a nil)
68+ (gtk-box-set-homogeneous hbox-b nil)
6769 (gtk-window-set-resizable main-window t)
6870 (gtk-window-set-icon-name main-window "sawfish-config")
6971 (gtk-window-set-default-size main-window 550 400)
@@ -120,9 +122,13 @@
120122
121123 (g-signal-connect main-window "delete_event" on-quit)
122124
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)
126132
127133 (g-signal-connect ok-widget "clicked" on-ok)
128134 (g-signal-connect revert-widget "clicked" on-revert)
@@ -154,14 +160,14 @@
154160 (copy-file file (concat "~/.sawfish/themes/" filex))
155161 (sawfish-config-display-info "Only tar-archives can be installed at the moment." nil)))))
156162
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)
165171
166172 (gtk-container-add root-container vbox)
167173 (gtk-widget-show-all main-window)