Japanese translation of message catalog for Sawfish Window-Manager
Revisão | e67907d8ef007b351bbcb9fdceefc4a568b9c0c9 (tree) |
---|---|
Hora | 2010-09-22 01:07:09 |
Autor | Christopher Roy Bratusek <zanghar@free...> |
Commiter | Christopher Roy Bratusek |
NEWS
behaviour change of never-close matcher (last new feature/behaviour change for 1.7.0)
@@ -8,6 +8,17 @@ | ||
8 | 8 | |
9 | 9 | * debian/sawfish-data.install.in: remove monitor.png from here, too. |
10 | 10 | |
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 | + | |
11 | 22 | 2010-09-19 Christopher Bratusek <zanghar@freenet.de> |
12 | 23 | * lisp/sawfish/wm/ext/old-window-menu.jl: removed. it has been replaced |
13 | 24 | by beos-window-menu in version 0.28.1 |
@@ -138,7 +138,7 @@ a window. (Only mouse-bindings are evaluated in this map.)" | ||
138 | 138 | (defcustom close-button-keymap (bind-keys (make-keymap) |
139 | 139 | "Button3-Click1" 'popup-window-menu |
140 | 140 | "S-Button1-Off" 'delete-group |
141 | - "Button1-Off" 'delete-window-safely) | |
141 | + "Button1-Off" 'delete-window) | |
142 | 142 | "Keymap containing bindings active when the pointer is in the close button |
143 | 143 | of a window. (Only mouse-bindings are evaluated in this map.)" |
144 | 144 | :group bindings |
@@ -404,20 +404,24 @@ use. Otherwise (window-size-hints W) is used." | ||
404 | 404 | ;;; deleting windows |
405 | 405 | |
406 | 406 | (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))))) | |
414 | 419 | |
415 | 420 | (define-command 'delete-window delete-window #:spec "%W") |
416 | 421 | |
417 | 422 | (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)) | |
421 | 425 | |
422 | 426 | (define-command 'delete-window-safely delete-window-safely #:spec "%W") |
423 | 427 |
@@ -182,8 +182,8 @@ resized by the @code{resize-window-interactively}, @code{halve-window-size} | ||
182 | 182 | and @code{double-window-size} functions, maximize-* functions, still do. See |
183 | 183 | @code{never-maximize} window-matcher to prevent this, too. |
184 | 184 | |
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. | |
187 | 187 | @end itemize |
188 | 188 | |
189 | 189 | @item Update of emacs major mode @file{sawfish.el} [Teika kazura] |
@@ -293,12 +293,6 @@ In window cycling, some unnecessary pointer warping is avoided. | ||
293 | 293 | Previously, the necessity of a warp was judged by the geometry before |
294 | 294 | the raise was done. Now the updated one is used. |
295 | 295 | |
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 | - | |
302 | 296 | @item @code{sawfish.cfg.utils} module [Christopher Bratusek] |
303 | 297 | |
304 | 298 | 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 | ||
315 | 309 | @item set the root-containers shadow-type to etched-in |
316 | 310 | |
317 | 311 | @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. | |
318 | 316 | @end itemize |
319 | 317 | |
320 | 318 | @item Doc improvements |