• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
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

Revisãoe67907d8ef007b351bbcb9fdceefc4a568b9c0c9 (tree)
Hora2010-09-22 01:07:09
AutorChristopher Roy Bratusek <zanghar@free...>
CommiterChristopher Roy Bratusek

Mensagem de Log

NEWS
behaviour change of never-close matcher (last new feature/behaviour change for 1.7.0)

Mudança Sumário

Diff

--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,17 @@
88
99 * debian/sawfish-data.install.in: remove monitor.png from here, too.
1010
11+2010-09-21 Teika kazura <teika@lavabit.com>
12+ * lisp/sawfish/wm/keymaps.jl
13+ * lisp/sawfish/wm/windows.jl: window-property 'never-delete'
14+ spec change.
15+ It was only used in delete-window-safely. But now, this property
16+ is valid for some others too, but only when they are called
17+ interactively. This allows user to choose the mouse binding of
18+ "close-button".
19+ The key binding of "close-button" is reverted to 'delete-window',
20+ the previous.
21+
1122 2010-09-19 Christopher Bratusek <zanghar@freenet.de>
1223 * lisp/sawfish/wm/ext/old-window-menu.jl: removed. it has been replaced
1324 by beos-window-menu in version 0.28.1
--- a/lisp/sawfish/wm/keymaps.jl
+++ b/lisp/sawfish/wm/keymaps.jl
@@ -138,7 +138,7 @@ a window. (Only mouse-bindings are evaluated in this map.)"
138138 (defcustom close-button-keymap (bind-keys (make-keymap)
139139 "Button3-Click1" 'popup-window-menu
140140 "S-Button1-Off" 'delete-group
141- "Button1-Off" 'delete-window-safely)
141+ "Button1-Off" 'delete-window)
142142 "Keymap containing bindings active when the pointer is in the close button
143143 of a window. (Only mouse-bindings are evaluated in this map.)"
144144 :group bindings
--- a/lisp/sawfish/wm/windows.jl
+++ b/lisp/sawfish/wm/windows.jl
@@ -404,20 +404,24 @@ use. Otherwise (window-size-hints W) is used."
404404 ;;; deleting windows
405405
406406 (define (delete-window w #!optional safely)
407- "Delete the window."
408- (cond
409- ((window-supports-wm-protocol-p w 'WM_DELETE_WINDOW)
410- (send-client-message w 'WM_PROTOCOLS (vector (x-atom 'WM_DELETE_WINDOW)
411- (x-server-timestamp)) 32))
412- (safely (beep))
413- (t (x-kill-client w))))
407+ "Delete a window. If the window does not support that protocol,
408+kill the client."
409+ (unless (and (memq this-command
410+ '(delete-window delete-window-safely
411+ delete-group delete-window-instance))
412+ (window-get w 'never-delete))
413+ (cond
414+ ((window-supports-wm-protocol-p w 'WM_DELETE_WINDOW)
415+ (send-client-message w 'WM_PROTOCOLS (vector (x-atom 'WM_DELETE_WINDOW)
416+ (x-server-timestamp)) 32))
417+ (safely (beep))
418+ (t (x-kill-client w)))))
414419
415420 (define-command 'delete-window delete-window #:spec "%W")
416421
417422 (define (delete-window-safely w)
418- "Delete the window, or beep if the window can't be closed safely."
419- (if (not (window-get w 'never-delete))
420- (delete-window w t)))
423+ "Delete a window, or beep if the window can't be closed safely."
424+ (delete-window w t))
421425
422426 (define-command 'delete-window-safely delete-window-safely #:spec "%W")
423427
--- a/man/news.texi
+++ b/man/news.texi
@@ -182,8 +182,8 @@ resized by the @code{resize-window-interactively}, @code{halve-window-size}
182182 and @code{double-window-size} functions, maximize-* functions, still do. See
183183 @code{never-maximize} window-matcher to prevent this, too.
184184
185-@item @code{never-close}: this window-matcher prevents the window brom being
186-closed by the @code{delete-window-safely} function. @code{delete-window} still does.
185+@item @code{never-close}: this window-matcher prevents the windows brom being
186+closed when calling the deletion-function interactively.
187187 @end itemize
188188
189189 @item Update of emacs major mode @file{sawfish.el} [Teika kazura]
@@ -293,12 +293,6 @@ In window cycling, some unnecessary pointer warping is avoided.
293293 Previously, the necessity of a warp was judged by the geometry before
294294 the raise was done. Now the updated one is used.
295295
296-@item Minor change in default keymap [Christopher Bratusek]
297-
298-The close-button of a window now calls @code{delete-window-safely}
299-rather than @code{delete-window}. It's less aggressive and honours
300-the @code{never-close} window-matcher, too.
301-
302296 @item @code{sawfish.cfg.utils} module [Christopher Bratusek]
303297
304298 Previously the functions @code{remove-newlines} and
@@ -315,6 +309,10 @@ if the icon does not show up, then run @code{gtk-update-icon-cache
315309 @item set the root-containers shadow-type to etched-in
316310
317311 @item use nicer stock-buttons with icons instead of plain buttons
312+
313+@item change the boolean buttons in @code{Window Rules} to display
314+Enable rather than Yes and No. This improves the thing a bit. A
315+real solution (read: revised UI) will come with Sawfish 3.0.0.
318316 @end itemize
319317
320318 @item Doc improvements