mirror of
https://github.com/gryf/wmaker.git
synced 2026-07-10 12:46:36 +02:00
Compare commits
268 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6afa419b01 | |||
| a2bf67f54c | |||
| 351e05dca9 | |||
| ae78e88eef | |||
| f049635fa5 | |||
| 4221e30bd2 | |||
| 71558f4ce3 | |||
| 4b61081353 | |||
| 4138c57631 | |||
| 0bbb122b94 | |||
| 0e274dc979 | |||
| 4dfb0dd059 | |||
| bcb53700d6 | |||
| e5f7ef23a6 | |||
| 70f89fd9c5 | |||
| 19202fd2db | |||
| aadd694a6b | |||
| fbec3a728f | |||
| 944bb49997 | |||
| 0ac6827a9b | |||
| f030ab7664 | |||
| 2a8fc1df9a | |||
| 296456f361 | |||
| f2cd2c9f03 | |||
| d125f80dee | |||
| 8e47ca8e62 | |||
| 29cf48b934 | |||
| 816fa00625 | |||
| 6ebec0bb9f | |||
| 7c50721747 | |||
| 4559cbbccc | |||
| e828e1c074 | |||
| 97a9300aa4 | |||
| fd56152202 | |||
| 58862300f9 | |||
| 1612d2f345 | |||
| 920c6d16b1 | |||
| 8aecba27d1 | |||
| fc63d72032 | |||
| eb2a9d97a2 | |||
| 9abe4165d1 | |||
| 82ab2d2d06 | |||
| bbf24d1d39 | |||
| 224cb403a7 | |||
| 1cd8fea423 | |||
| a98680cd14 | |||
| 7d423a3a0f | |||
| 033d2d9a6f | |||
| 6e2075f3df | |||
| 5d2fd7bf7e | |||
| f6742662ec | |||
| 583f66ec4e | |||
| cd23e77fd1 | |||
| 230a501d36 | |||
| 3022edd060 | |||
| 1713a88656 | |||
| 00a25db9ea | |||
| c678580621 | |||
| 44bc9cc264 | |||
| dfa92906c0 | |||
| 27dc5efd2e | |||
| 86659be668 | |||
| e314f10909 | |||
| 54a24ab6f7 | |||
| a17d131da3 | |||
| 6320bb6219 | |||
| f9bc310fa6 | |||
| 58249c2b9b | |||
| bb716a4ca1 | |||
| 91f8e21668 | |||
| 5f18f60fd2 | |||
| a215869067 | |||
| 909deea70c | |||
| 984a992d0e | |||
| e82d86813e | |||
| d9bc96e497 | |||
| a7baed6cf7 | |||
| a12f0d453a | |||
| 41193bdacd | |||
| a7f8e990db | |||
| b59273f199 | |||
| be922384ac | |||
| 31f16b65a3 | |||
| 3665410377 | |||
| 4477ae4da4 | |||
| 9330a021e5 | |||
| 41ab926090 | |||
| b32ccee5cb | |||
| 6734646265 | |||
| 6a044fe5ae | |||
| 6dd1498f7c | |||
| 090b761fde | |||
| 49db946aa2 | |||
| a2cc89dd3d | |||
| de09ac5dad | |||
| 3dce639aae | |||
| 00dffbe317 | |||
| 7759d06851 | |||
| bf644338e4 | |||
| 95561fba08 | |||
| a0b223263e | |||
| 2555413838 | |||
| 3e3f06a7be | |||
| 1f80c82091 | |||
| fb5f6c30c0 | |||
| 972d85610a | |||
| f0f95165e4 | |||
| f895b906a4 | |||
| 5ab9b7c6be | |||
| 1e490f8233 | |||
| ba3df2599d | |||
| c803218ed1 | |||
| 6c6853ea30 | |||
| b48b503eb1 | |||
| 1c8b680e3d | |||
| 5eeaf6b890 | |||
| f9236c8d20 | |||
| 26bb94a8e7 | |||
| b185d46286 | |||
| 8f29bdc690 | |||
| e2cfed3377 | |||
| 4665972175 | |||
| 8606ae9a83 | |||
| 070f0ad8f4 | |||
| 2913ac0f09 | |||
| dae63b5e96 | |||
| 738a78b3e2 | |||
| 1dace5699f | |||
| 5a95631091 | |||
| 2427200c3e | |||
| d6c1ac3ecf | |||
| 9b5eaa3d3e | |||
| 2beb5f2c52 | |||
| f1809a7786 | |||
| 8b919b0d33 | |||
| d13b78bdde | |||
| 6668715402 | |||
| 100745d356 | |||
| 7c89ca2551 | |||
| 0c737bc834 | |||
| b3f8d0997b | |||
| 673ea18020 | |||
| c89ec25c80 | |||
| 569fbff07c | |||
| 36879de261 | |||
| bfd88e07e6 | |||
| 81b89f6a4c | |||
| 6cfc71d40a | |||
| ccc676a2bf | |||
| 2dbd778ed4 | |||
| f63635dd17 | |||
| 97702618de | |||
| b68a1994c2 | |||
| fe459fbab3 | |||
| 5f2dac318c | |||
| bfda22ef1a | |||
| 46daa76f77 | |||
| 02cc702029 | |||
| 6f195b18fc | |||
| 101ef6f28e | |||
| 5a5595f76c | |||
| 1a5abe9d84 | |||
| d364afff02 | |||
| 273d17a0be | |||
| d6f754e747 | |||
| b07075aed3 | |||
| ad4545b1d8 | |||
| ee36395ddf | |||
| ff865c31f0 | |||
| adc1687f98 | |||
| ac0690b324 | |||
| c261f8ec35 | |||
| e037ae3684 | |||
| 83f0b764e6 | |||
| 3140c09240 | |||
| 8fba9945e0 | |||
| 30cd22859a | |||
| e13cfcd093 | |||
| c2a03a3de5 | |||
| db6b50e6c1 | |||
| fa8121ee61 | |||
| f6320d4fa5 | |||
| cea5f6107c | |||
| 5d643a67dd | |||
| 9087222d1e | |||
| dede386b3d | |||
| b2b2ebad4c | |||
| d4a0b2f115 | |||
| 2411298ff6 | |||
| cdaa7a4520 | |||
| 7df224440b | |||
| 01ad3ead5d | |||
| 6fa1c0c009 | |||
| ac92f1a844 | |||
| 21d3fadebb | |||
| 3986629590 | |||
| c052addd1d | |||
| 6e4698fe11 | |||
| 3617e4c20c | |||
| f3fdf0b8dd | |||
| 9328ba5b3c | |||
| c9fbcda0b0 | |||
| eadb7f3ab2 | |||
| 9e7987713f | |||
| 62d62eebf1 | |||
| 160f879cce | |||
| 28da4c98e3 | |||
| 17a47af160 | |||
| 014a315f3a | |||
| e2f8525728 | |||
| 002d415d02 | |||
| 92bc458fac | |||
| 6f3dbfeaba | |||
| 3426f8110b | |||
| f9b2cf9747 | |||
| ad590811f6 | |||
| d48a37060c | |||
| 23417d9934 | |||
| 5561199c87 | |||
| 6429847494 | |||
| b7a1528833 | |||
| 2ea6162629 | |||
| 5a730d63b2 | |||
| fd31b29d0d | |||
| ebf2801f4a | |||
| 8b46f16205 | |||
| 2da2045efa | |||
| 67e9e7e554 | |||
| 4f18b3e1f4 | |||
| cb1760dc0b | |||
| 9f7e51e66d | |||
| bf6f81434b | |||
| af892d7dd6 | |||
| 7fa14a0137 | |||
| 51d36afc8f | |||
| 84727563f9 | |||
| c7c0b43629 | |||
| ac33bb9d1b | |||
| 563cda28d3 | |||
| 65802d3402 | |||
| 9de5a27dbc | |||
| 42e4069541 | |||
| e5632a9120 | |||
| c3ad2513a9 | |||
| 7277787110 | |||
| 2f33b3c2bc | |||
| fd19456d66 | |||
| 688c2277d7 | |||
| 755ce07d76 | |||
| fc6ed78654 | |||
| c11b08d42b | |||
| f7e1f5d5f4 | |||
| 4660e5b1eb | |||
| f58cf6a8cd | |||
| 15ae70b159 | |||
| 88393f4a6c | |||
| 1f74d4698c | |||
| 97189ce2cc | |||
| 2fec5f9f28 | |||
| 7a2eb68aa4 | |||
| 8a822004ee | |||
| 54db8d6c43 | |||
| e11800652e | |||
| b2c5078987 | |||
| 9c4b19d8aa | |||
| b281587397 | |||
| 7e42fedcbb | |||
| c84e787a24 |
+39
@@ -87,11 +87,50 @@ WINGs/WUtil.pc
|
|||||||
|
|
||||||
wrlib/libwraster.map
|
wrlib/libwraster.map
|
||||||
|
|
||||||
|
WindowMaker/appearance.menu
|
||||||
|
WindowMaker/menu
|
||||||
|
WindowMaker/menu.bg
|
||||||
|
WindowMaker/menu.fi
|
||||||
|
WindowMaker/menu.fy
|
||||||
|
WindowMaker/menu.hu
|
||||||
|
WindowMaker/menu.ko
|
||||||
|
WindowMaker/menu.nl
|
||||||
|
WindowMaker/menu.ro
|
||||||
|
WindowMaker/menu.sk
|
||||||
|
WindowMaker/menu.zh_TW
|
||||||
|
WindowMaker/plmenu
|
||||||
|
WindowMaker/plmenu.bg
|
||||||
|
WindowMaker/plmenu.es
|
||||||
|
WindowMaker/plmenu.fi
|
||||||
|
WindowMaker/plmenu.fy
|
||||||
|
WindowMaker/plmenu.ja
|
||||||
|
WindowMaker/plmenu.ko
|
||||||
|
WindowMaker/plmenu.nl
|
||||||
|
WindowMaker/plmenu.pl
|
||||||
|
WindowMaker/plmenu.ro
|
||||||
|
WindowMaker/plmenu.sk
|
||||||
|
WindowMaker/plmenu.zh_CN
|
||||||
|
WindowMaker/plmenu.zh_TW
|
||||||
|
WindowMaker/wmmacros
|
||||||
|
|
||||||
|
|
||||||
WindowMaker/Defaults/WMRootMenu
|
WindowMaker/Defaults/WMRootMenu
|
||||||
WindowMaker/Defaults/WMState
|
WindowMaker/Defaults/WMState
|
||||||
WindowMaker/Defaults/WMWindowAttributes
|
WindowMaker/Defaults/WMWindowAttributes
|
||||||
WindowMaker/Defaults/WindowMaker
|
WindowMaker/Defaults/WindowMaker
|
||||||
WindowMaker/IconSets/Default.iconset
|
WindowMaker/IconSets/Default.iconset
|
||||||
|
|
||||||
|
# These files are generated by the i18n process
|
||||||
|
/po/WindowMaker.pot
|
||||||
|
/po/*.mo
|
||||||
|
/WINGs/po/WINGs.pot
|
||||||
|
/WINGs/po/*.mo
|
||||||
|
/WPrefs.app/po/WPrefs.pot
|
||||||
|
/WPrefs.app/po/*.mo
|
||||||
|
/util/po/*.pot
|
||||||
|
/util/po/*.mo
|
||||||
|
|
||||||
# Some text editors generate backup files
|
# Some text editors generate backup files
|
||||||
*~
|
*~
|
||||||
|
|
||||||
|
.pc
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
If you find a bug please fill this form and send it to
|
If you find a bug please fill this form and send it to
|
||||||
wmaker-dev@lists.windowmaker.org Please, USE THIS FORM!!!
|
wmaker-dev@googlegroups.com Please, USE THIS FORM!!!
|
||||||
|
|
||||||
0. Before reporting this bug I already:
|
0. Before reporting this bug I already:
|
||||||
[ ] read the NEWS, README and INSTALL files
|
[ ] read the NEWS, README and INSTALL files
|
||||||
|
|||||||
@@ -1,3 +1,95 @@
|
|||||||
|
Changes since version 0.95.7:
|
||||||
|
.............................
|
||||||
|
|
||||||
|
- Build on Ubuntu 14.04
|
||||||
|
(Johann Haarhoff <johann@haarhoff.org.za>)
|
||||||
|
- Window Maker 0.95.7 Debian files
|
||||||
|
- create_appicon_from_dock checks if no_appicon flag is set
|
||||||
|
- New applications do not create Cached Icon
|
||||||
|
- Remove unused argument in save_appicon
|
||||||
|
- Avoid recreate Cached icon moving between docks
|
||||||
|
- Avoid create again a docked application cache icon
|
||||||
|
- save the icon filename instead the full path
|
||||||
|
- Remove cache icon when detached
|
||||||
|
- usermenu.c Avoid compiler warnings
|
||||||
|
- Enable usermenu
|
||||||
|
(Rodolfo GarcÃa Peñas (kix) <kix@kix.es>)
|
||||||
|
- wmaker: fixed infinite loop in switching within group
|
||||||
|
(Satya Mishra <qufgmx@gmail.com>)
|
||||||
|
- wmaker: Print error dialog when attempting to delete an in-use workspace.
|
||||||
|
(Doug Torrance <dtorrance@piedmont.edu>)
|
||||||
|
- debian: Ignore missing documentation for --runstatedir.
|
||||||
|
- debian: Use dh_autoreconf.
|
||||||
|
- debian: Simplify debian/rules.
|
||||||
|
- debian: Fix typo occured. (Thanks, lintian.)
|
||||||
|
- debian: wmaker manpage moved from 1x to 1.
|
||||||
|
(Andreas Metzler <ametzler@bebt.de>)
|
||||||
|
- debian: Add wmiv to wmaker package.
|
||||||
|
- debian: Add version 0.95.6-1.2 entry to changelog.
|
||||||
|
- debian: Update with final version of 0.95.7-1 packaging.
|
||||||
|
- wmaker: Maintain sorting of windows by workspace in switch menu.
|
||||||
|
- debian: Update with version 0.95.7-2 packaging.
|
||||||
|
- wmaker: Update copyright years in info panel.
|
||||||
|
- wmaker: Remove prototype for unused get_right_position_on_screen function.
|
||||||
|
- wmaker: Fix typos (used codespell).
|
||||||
|
- wmaker: Add option for window snap to top edge to maximize to full screen.
|
||||||
|
- wmaker: Use window placement settings on other workspaces.
|
||||||
|
- wmaker: Add keyboard shortcuts for keeping window on top or at bottom.
|
||||||
|
- wmaker: Display keyboard shortcuts for remaining options in window menu.
|
||||||
|
- wmaker: Fix whitespace in menu.h; passes checkpatch.pl inspection.
|
||||||
|
- wmaker: Implement basic menu shading.
|
||||||
|
(Doug Torrance <dtorrance@piedmont.edu>)
|
||||||
|
- Translations: Dutch language files updated
|
||||||
|
- Translations: Frisian language files updated
|
||||||
|
(Alwin <translations@ziggo.nl>)
|
||||||
|
- wmlib: Add pkg-config file.
|
||||||
|
- wmlib: Remove install-exec-local target.
|
||||||
|
- WPrefs: Code formatting in TexturePanel.c; minimizes checkpatch.pl warnings.
|
||||||
|
- WPrefs: Add support for fpixmap ("fillscale") texture.
|
||||||
|
- check-doc: Ignore runstatedir in check-cmdline-options-doc.sh
|
||||||
|
- check-doc: Ignore with-aix-soname in check-cmdline-options-doc.sh
|
||||||
|
- debian: Remove 56_ignore_runstatedir.diff.
|
||||||
|
- debian: Update with version 0.95.7-3 packaging.
|
||||||
|
- debian: Update with version 0.95.7-4 packaging.
|
||||||
|
- debian: Update with version 0.95.7-5 packaging.
|
||||||
|
- debian: Update with version 0.95.7-6 packaging.
|
||||||
|
- wmmenugen: Fix segfault; argv[argc] doesn't exist.
|
||||||
|
(Doug Torrance <dtorrance@piedmont.edu>)
|
||||||
|
- getstyle: fix wcopy_file paths
|
||||||
|
(Alexandru Lazar <alazar@startmail.com>)
|
||||||
|
- wmaker: fix stacking order of dock and fullscreen
|
||||||
|
- wmaker: allow alt+tabbed windows over fullscreen
|
||||||
|
(Bjørn Mork <bjorn@mork.no>)
|
||||||
|
- WPrefs: Update path for Debian menu
|
||||||
|
- Use wprefs_bindir output variable to set WPrefs path in menus.
|
||||||
|
- Remove WindowMaker/mkMakefile script.
|
||||||
|
- Don't try and add removed file mkMakefile to distribution tarball.
|
||||||
|
- Look for plmenu in build directory when creating WMRootMenu.
|
||||||
|
- debian: Update with version 0.95.7-7 packaging.
|
||||||
|
- configure: Use PKG_PROG_PKG_CONFIG macro to allow cross building.
|
||||||
|
(Doug Torrance <dtorrance@piedmont.edu>)
|
||||||
|
- Trivial cleanup: Removed unused defines.
|
||||||
|
(Roman Dobosz <gryf73@gmail.com>)
|
||||||
|
- Added 'head' parameter to wMaximizeWindow
|
||||||
|
- Added wGetHeadRelativeToCurrentHead function
|
||||||
|
- Added option for ability to move half-maximized between heads.
|
||||||
|
- Added possibility for half-maximized windows to move across the screens.
|
||||||
|
- Fixed wrong (re)stored dimensions for unmaximized window.
|
||||||
|
(gryf <gryf73@gmail.com>)
|
||||||
|
- Bugfix for moving windows between heads.
|
||||||
|
- New option for enabling alternative half-maximized window movement.
|
||||||
|
- Alternative way for traversing half-maximized windows.
|
||||||
|
- New option for moving mouse pointer along with half-maximized windows.
|
||||||
|
- Implementation for moving mouse pointer within the maximized window.
|
||||||
|
- Refactoring handleMaximize() function
|
||||||
|
- Removed trailing whitespaces from readme files.
|
||||||
|
- Fixed couple of compilator warning and removed unused macros.
|
||||||
|
(Roman Dobosz <gryf73@gmail.com>)
|
||||||
|
- wmaker: Do not place icons under the dock
|
||||||
|
(Cyrus Rahman <crahman@gmail.com>)
|
||||||
|
- debian: Update with version 0.95.7-8 packaging.
|
||||||
|
(Doug Torrance <dtorrance@piedmont.edu>)
|
||||||
|
|
||||||
Changes since version 0.95.6:
|
Changes since version 0.95.6:
|
||||||
.............................
|
.............................
|
||||||
|
|
||||||
@@ -396,6 +488,51 @@ Changes since version 0.95.6:
|
|||||||
- debian: Import version 0.95.6-1.
|
- debian: Import version 0.95.6-1.
|
||||||
- debian: Import version 0.95.6-1.1.
|
- debian: Import version 0.95.6-1.1.
|
||||||
(Doug Torrance <dtorrance@monmouthcollege.edu>)
|
(Doug Torrance <dtorrance@monmouthcollege.edu>)
|
||||||
|
- Import of (partly outdated) Ukrainian translations.
|
||||||
|
(Martin Dietze <mdietze@gmail.com>)
|
||||||
|
- Add folder with fedora .spec file
|
||||||
|
(Alexey I. Froloff <raorn@raorn.name>)
|
||||||
|
- make: Add Ukrainian translation files to EXTRA_DIST.
|
||||||
|
- wmiv: Add long command line options --help and --version.
|
||||||
|
- wmiv: Improve help text.
|
||||||
|
- doc: Add manpage for wmiv.
|
||||||
|
(Doug Torrance <dtorrance@monmouthcollege.edu>)
|
||||||
|
- wmaker: replaced old email address with the official one
|
||||||
|
- WINGs: Updated news with the API changes that occured between 0.95.6 and
|
||||||
|
0.95.7
|
||||||
|
- WINGs: ran spell checker on the NEWS file
|
||||||
|
- WINGs: fix non-portable int conversion for printf in font panel size handling
|
||||||
|
- WRaster: fix unused variable warning when XShm extention is not enabled
|
||||||
|
(Christophe CURIS <christophe.curis@free.fr>)
|
||||||
|
- New translation into Frisian for Window Maker
|
||||||
|
(Alwin <translations@ziggo.nl>)
|
||||||
|
- wrlib: fixed gcc version needed for deprecated attribute support
|
||||||
|
- Configure: increased the version of Automake requested
|
||||||
|
(Christophe CURIS <christophe.curis@free.fr>)
|
||||||
|
- configure: Fix output of libdir directory in summary
|
||||||
|
(Josip Deanovic <djosip+news@linuxpages.net>)
|
||||||
|
- wmaker: fix detection of legacy Apercu configuration keywords
|
||||||
|
- WPrefs: fix conversion of old "Apercu" setting to the new keywords
|
||||||
|
(Christophe CURIS <christophe.curis@free.fr>)
|
||||||
|
- wmaker: Allow window snapping and linked workspaces simultaneously.
|
||||||
|
- wmaker: Allow configuration of window snapping detect distances.
|
||||||
|
- WPrefs: Add ability to set integer values in Expert panel
|
||||||
|
- WPrefs: Add snap edge and corner detect to Expert panel.
|
||||||
|
(Doug Torrance <dtorrance@monmouthcollege.edu>)
|
||||||
|
- Translations: Dutch updates for WPrefs
|
||||||
|
- Translations: Frisian updates for WPrefs
|
||||||
|
(Alwin <translations@ziggo.nl>)
|
||||||
|
- configure: fixed incorrect variable name that prevented --disable-xdnd to
|
||||||
|
work
|
||||||
|
(Rodolfo GarcÃa Peñas (kix) <kix@kix.es>)
|
||||||
|
- Revert "wmaker: fix clearing of window attribute that was not saved properly"
|
||||||
|
- Disable pager by default
|
||||||
|
(Carlos R. Mafra <crmafra@gmail.com>)
|
||||||
|
- Allow using keypad Enter to commit move/resize
|
||||||
|
- Allow using numpad Enter key in dialogs for confirmation
|
||||||
|
(Amadeusz Sławiński <amade@asmblr.net>)
|
||||||
|
- Window Maker 0.95.7
|
||||||
|
(Carlos R. Mafra <crmafra@gmail.com>)
|
||||||
|
|
||||||
|
|
||||||
Changes since version 0.95.5:
|
Changes since version 0.95.5:
|
||||||
@@ -3926,7 +4063,7 @@ Changes since version 0.17.5:
|
|||||||
icons
|
icons
|
||||||
- fixed bug in focusfollowmouse that made windows under the currently
|
- fixed bug in focusfollowmouse that made windows under the currently
|
||||||
focused window that close, to not get the focus
|
focused window that close, to not get the focus
|
||||||
- if the app is a .app, it will try to find it's icon in the .app
|
- if the app is a .app, it will try to find its icon in the .app
|
||||||
directory and save it in the WMWindowAttributes, so that the dock can use it.
|
directory and save it in the WMWindowAttributes, so that the dock can use it.
|
||||||
- drag docklets that select for mouse events to with Alt+drag
|
- drag docklets that select for mouse events to with Alt+drag
|
||||||
|
|
||||||
@@ -4797,7 +4934,7 @@ Changes since version 0.3.2:
|
|||||||
|
|
||||||
- application icons (not mini-windows) like I think how it is on NEXTSTEP(tm)
|
- application icons (not mini-windows) like I think how it is on NEXTSTEP(tm)
|
||||||
- fixed "slippery" icon movement
|
- fixed "slippery" icon movement
|
||||||
- added a Dock (not for GNUstep, as it will have it's own)
|
- added a Dock (not for GNUstep, as it will have its own)
|
||||||
|
|
||||||
Changes since version 0.3.1:
|
Changes since version 0.3.1:
|
||||||
............................
|
............................
|
||||||
@@ -4827,7 +4964,7 @@ it's opened to select items, just drag the pointer
|
|||||||
- transient owners get a different titlebar color when the focus
|
- transient owners get a different titlebar color when the focus
|
||||||
is in the transient (e.g, in NeXTese: mainWindow is highlighted correctly when
|
is in the transient (e.g, in NeXTese: mainWindow is highlighted correctly when
|
||||||
the keyWindow is a panel)
|
the keyWindow is a panel)
|
||||||
- when transient is closed, it's owner always get the focus
|
- when transient is closed, its owner always get the focus
|
||||||
- fixed XGrabButton/BadAccess bug
|
- fixed XGrabButton/BadAccess bug
|
||||||
- fixed window_count error (this time I'm 90% sure)
|
- fixed window_count error (this time I'm 90% sure)
|
||||||
- fixed focusNextWindow through Alt-Tab bug with non-focusable windows
|
- fixed focusNextWindow through Alt-Tab bug with non-focusable windows
|
||||||
|
|||||||
@@ -333,7 +333,7 @@ Window Maker distribution.
|
|||||||
|
|
||||||
The author Anthony Quinn <southgat@frontiernet.net> has released a
|
The author Anthony Quinn <southgat@frontiernet.net> has released a
|
||||||
version that works with Window Maker >= 0.15.x. It is available from
|
version that works with Window Maker >= 0.15.x. It is available from
|
||||||
it's home page at http://www.frontiernet.net/~southgat/wmsound/
|
its home page at http://www.frontiernet.net/~southgat/wmsound/
|
||||||
or on Largo's site at http://wm.current.nu/files.html#wmsound
|
or on Largo's site at http://wm.current.nu/files.html#wmsound
|
||||||
for your convenience.
|
for your convenience.
|
||||||
|
|
||||||
@@ -352,7 +352,7 @@ GNOME application they have no title bar" below.
|
|||||||
To use it with CDE, read the answer for "How do I switch
|
To use it with CDE, read the answer for "How do I switch
|
||||||
CDE's window manager to use Window Maker?"
|
CDE's window manager to use Window Maker?"
|
||||||
|
|
||||||
To use it with KDE, read it's documentation to get rid of kwm (and possibly
|
To use it with KDE, read its documentation to get rid of kwm (and possibly
|
||||||
kpanel) and replace it with wmaker. Then, start WPrefs.app, go to "Mouse
|
kpanel) and replace it with wmaker. Then, start WPrefs.app, go to "Mouse
|
||||||
Preferences" and set the "Disable mouse actions" check box. You will
|
Preferences" and set the "Disable mouse actions" check box. You will
|
||||||
need to restart Window Maker to make this change take effect. The
|
need to restart Window Maker to make this change take effect. The
|
||||||
@@ -1283,7 +1283,7 @@ WM_NORMAL_HINTS(WM_SIZE_HINTS):
|
|||||||
user specified size: 400 by 300
|
user specified size: 400 by 300
|
||||||
program specified minimum size: 400 by 300
|
program specified minimum size: 400 by 300
|
||||||
|
|
||||||
Now, when scilab opens it's window, Window Maker nicely does exactly what it
|
Now, when scilab opens its window, Window Maker nicely does exactly what it
|
||||||
is told, that is, map the window at position 136679205, 1074468360 which
|
is told, that is, map the window at position 136679205, 1074468360 which
|
||||||
obviously falls outside the screen no matter how big is your monitor ;)
|
obviously falls outside the screen no matter how big is your monitor ;)
|
||||||
|
|
||||||
|
|||||||
+33
-4
@@ -21,8 +21,8 @@ config-paths.h: Makefile
|
|||||||
@echo '/* where shared data is stored */' >> $@
|
@echo '/* where shared data is stored */' >> $@
|
||||||
@echo '#define PKGDATADIR "$(datadir)/WindowMaker"' >> $@
|
@echo '#define PKGDATADIR "$(datadir)/WindowMaker"' >> $@
|
||||||
@echo '' >> $@
|
@echo '' >> $@
|
||||||
@echo '/* where the configuration is stored */' >> $@
|
@echo '/* where the global defaults are stored */' >> $@
|
||||||
@echo '#define SYSCONFDIR "$(sysconfdir)"' >> $@
|
@echo '#define DEFSDATADIR "$(defsdatadir)"' >> $@
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
@@ -41,11 +41,13 @@ EXTRA_DIST = TODO BUGS BUGFORM FAQ INSTALL \
|
|||||||
script/check-cmdline-options-doc.sh \
|
script/check-cmdline-options-doc.sh \
|
||||||
script/check-translation-sources.sh \
|
script/check-translation-sources.sh \
|
||||||
script/check-wmaker-loaddef-callbacks.sh \
|
script/check-wmaker-loaddef-callbacks.sh \
|
||||||
|
script/generate-html-from-man.sh \
|
||||||
script/generate-mapfile-from-header.sh \
|
script/generate-mapfile-from-header.sh \
|
||||||
script/generate-po-from-template.sh \
|
script/generate-po-from-template.sh \
|
||||||
script/generate-txt-from-texi.sh \
|
script/generate-txt-from-texi.sh \
|
||||||
script/nested-func-to-macro.sh \
|
script/nested-func-to-macro.sh \
|
||||||
script/replace-ac-keywords.sh
|
script/replace-ac-keywords.sh \
|
||||||
|
script/replace-generated-content.sh
|
||||||
|
|
||||||
|
|
||||||
.PHONY: coverage-reset coverage
|
.PHONY: coverage-reset coverage
|
||||||
@@ -62,6 +64,10 @@ coverage:
|
|||||||
genhtml --output-directory @lcov_output_directory@ coverage/coverage.info
|
genhtml --output-directory @lcov_output_directory@ coverage/coverage.info
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Section for the I18N processing
|
||||||
|
################################################################################
|
||||||
|
|
||||||
# make update-lang PO=<lang>
|
# make update-lang PO=<lang>
|
||||||
# ==========================
|
# ==========================
|
||||||
# Update the PO files against the POT file in all the translation sub-directories
|
# Update the PO files against the POT file in all the translation sub-directories
|
||||||
@@ -80,13 +86,34 @@ if HAVE_XGETTEXT
|
|||||||
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) update-lang || exit $$?); \
|
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) update-lang || exit $$?); \
|
||||||
done
|
done
|
||||||
|
|
||||||
SUBDIRS_PO = WINGs/po po util/po WPrefs.app/po
|
SUBDIRS_PO = wrlib/po WINGs/po po util/po WPrefs.app/po
|
||||||
else
|
else
|
||||||
@echo "Error: the program 'xgettext' was not found by configure, it is mandatory for this operation" >&2 ; exit 1
|
@echo "Error: the program 'xgettext' was not found by configure, it is mandatory for this operation" >&2 ; exit 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: update-lang
|
.PHONY: update-lang
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Section related to generating HTML content for the website
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
if WITH_WEB_REPO
|
||||||
|
|
||||||
|
SUBDIRS_WEB = doc
|
||||||
|
|
||||||
|
website:
|
||||||
|
@for subdir in $(SUBDIRS_WEB); do \
|
||||||
|
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) website || exit $$?); \
|
||||||
|
done
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
.PHONY: website
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Section for the automated checks
|
||||||
|
################################################################################
|
||||||
|
|
||||||
# Create a 'silent-rule' for our make check the same way automake does
|
# Create a 'silent-rule' for our make check the same way automake does
|
||||||
AM_V_CHKOPTS = $(am__v_CHKOPTS_$(V))
|
AM_V_CHKOPTS = $(am__v_CHKOPTS_$(V))
|
||||||
am__v_CHKOPTS_ = $(am__v_CHKOPTS_$(AM_DEFAULT_VERBOSITY))
|
am__v_CHKOPTS_ = $(am__v_CHKOPTS_$(AM_DEFAULT_VERBOSITY))
|
||||||
@@ -106,6 +133,8 @@ configure-documentation:
|
|||||||
--ignore-prg 'enable-shared,enable-static # should be in INSTALL' \
|
--ignore-prg 'enable-shared,enable-static # should be in INSTALL' \
|
||||||
--ignore-prg 'disable-option-checking,enable-fast-install # should be in INSTALL' \
|
--ignore-prg 'disable-option-checking,enable-fast-install # should be in INSTALL' \
|
||||||
--ignore-prg 'disable-libtool-lock,with-pic,with-gnu-ld,with-sysroot # for libtool' \
|
--ignore-prg 'disable-libtool-lock,with-pic,with-gnu-ld,with-sysroot # for libtool' \
|
||||||
|
--ignore-prg 'runstatedir #new in autoconf 2.70, backported in Debian' \
|
||||||
|
--ignore-prg 'with-aix-soname #new in libtool 2.4.4' \
|
||||||
--ignore-prg 'with-x # no use, it would not work without X'
|
--ignore-prg 'with-x # no use, it would not work without X'
|
||||||
|
|
||||||
.PHONY: configure-documentation
|
.PHONY: configure-documentation
|
||||||
|
|||||||
@@ -1,7 +1,261 @@
|
|||||||
|
|
||||||
NEWS for veteran Window Maker users
|
NEWS for veteran Window Maker users
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
|
-- 0.95.9
|
||||||
|
|
||||||
|
Configurable SwitchPanel
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
SwitchPanel is now more configurable: you can configure the switch panel icon
|
||||||
|
size by setting the "SwitchPanelIconSize" option to your preferred value in
|
||||||
|
~/GNUstep/Defaults/WindowMaker. The font size used in this panel now is also
|
||||||
|
sensible to changes in the system font.
|
||||||
|
|
||||||
|
|
||||||
|
New user configuration directory environment variable
|
||||||
|
-----------------------------------------------------
|
||||||
|
|
||||||
|
In previous versions, the GNUstep directory used to store a user's Window Maker
|
||||||
|
configuration files was specified by the GNUSTEP_USER_ROOT environment variable,
|
||||||
|
which defaulted to ~/GNUstep. However, this environment variable was deprecated
|
||||||
|
in gnustep-make v2. Therefore, it has been replaced by the WMAKER_USER_ROOT
|
||||||
|
environment variable.
|
||||||
|
|
||||||
|
|
||||||
|
libXmu is now an optional dependency
|
||||||
|
------------------------------------
|
||||||
|
|
||||||
|
If the library is not found, compilation work, the only limitation will arise
|
||||||
|
when trying to install the standard colormap on displays which are not TrueColor.
|
||||||
|
Please note that if you have the library but not the headers, configure will
|
||||||
|
still stop; there is no user option to explicitly disable the library use.
|
||||||
|
|
||||||
|
|
||||||
|
-- 0.95.8
|
||||||
|
|
||||||
|
Move pointer with maximized windows
|
||||||
|
-----------------------------------
|
||||||
|
|
||||||
|
Implementation for moving mouse pointer within the maximized window.
|
||||||
|
|
||||||
|
Mouse pointer can be now moved together with window if keyboard was used for
|
||||||
|
arrange maximized windows on screen. This feature can be turned on in WPrefs.app
|
||||||
|
in Expert tab by selecting "Move mouse pointer with half maximized windows.", or
|
||||||
|
setting "PointerWithHalfMaxWindows" to "Yes" on ~/GNUstep/Defaults/WindowMaker
|
||||||
|
file.
|
||||||
|
|
||||||
|
|
||||||
|
Alternative way for traverse half-maximized windows
|
||||||
|
---------------------------------------------------
|
||||||
|
|
||||||
|
For now, there could be three possible state of the window while using
|
||||||
|
half-maximized feature. Unmaximized window have its state saved during that
|
||||||
|
process, which was use to unmaximize it. For example, if there is a window,
|
||||||
|
which is maximized on the half left side of the screen, and while requesting
|
||||||
|
left-half-maximized, it become unmaximized with size and dimension restored to
|
||||||
|
original state.
|
||||||
|
|
||||||
|
By setting "AlternativeHalfMaximized" option to "Yes"
|
||||||
|
~/GNUstep/Defaults/WindowMaker config file (or by using WPrefs.app and option
|
||||||
|
"Alternative transitions between states for half maximized windows."), there
|
||||||
|
would be slightly different change in window "traverse". Given layout depicted
|
||||||
|
below:
|
||||||
|
|
||||||
|
┌┬────────────────────┬┐
|
||||||
|
├┘ ┌───────┐ ├┤
|
||||||
|
│ ├───────┤ ├┤
|
||||||
|
│ │ │ ├┤
|
||||||
|
│ │ │ ├┤
|
||||||
|
│ └───────┘ └┤
|
||||||
|
├┬┐ │
|
||||||
|
└┴┴────────────────────┘
|
||||||
|
|
||||||
|
Window can be moved using keyboard shortcut right-half-maximize:
|
||||||
|
|
||||||
|
┌┬─────────┬──────────┬┐
|
||||||
|
├┘ ├──────────┼┤
|
||||||
|
│ │ ├┤
|
||||||
|
│ │ ├┤
|
||||||
|
│ │ ├┤
|
||||||
|
│ │ ├┤
|
||||||
|
├┬┐ └──────────┘│
|
||||||
|
└┴┴────────────────────┘
|
||||||
|
|
||||||
|
Further invoking right-half-maximize will do nothing. Note, that window always
|
||||||
|
can be unmaximzied using appropriate keyboard shortcut or by selecting
|
||||||
|
"Unmaximize" from window menu.
|
||||||
|
|
||||||
|
Going to opposite direction by invoking left-half-maximize, will make the window
|
||||||
|
maximized in both, vertical and horizontal directions:
|
||||||
|
|
||||||
|
┌─────────────────────┬┐
|
||||||
|
├─────────────────────┼┤
|
||||||
|
│ ├┤
|
||||||
|
│ ├┤
|
||||||
|
│ ├┤
|
||||||
|
│ ├┤
|
||||||
|
├┬┬───────────────────┘│
|
||||||
|
└┴┴────────────────────┘
|
||||||
|
|
||||||
|
Further invoking left-half-maximize, will make the window maximized in half left
|
||||||
|
side od the screen:
|
||||||
|
|
||||||
|
┌──────────┬──────────┬┐
|
||||||
|
├──────────┤ ├┤
|
||||||
|
│ │ ├┤
|
||||||
|
│ │ ├┤
|
||||||
|
│ │ ├┤
|
||||||
|
│ │ └┤
|
||||||
|
├┬┬────────┘ │
|
||||||
|
└┴┴────────────────────┘
|
||||||
|
|
||||||
|
And again, further invoking left-half-maximize, will do nothing in this mode.
|
||||||
|
|
||||||
|
This change affects all possible half-maximized window state also quarters.
|
||||||
|
Issuing bottom-left-corner will take lower left quarter of the screen (nothing
|
||||||
|
is new so far):
|
||||||
|
|
||||||
|
┌┬────────────────────┬┐
|
||||||
|
├┘ ├┤
|
||||||
|
│ ├┤
|
||||||
|
├──────────┐ ├┤
|
||||||
|
├──────────┤ ├┤
|
||||||
|
│ │ └┤
|
||||||
|
├┬┬────────┘ │
|
||||||
|
└┴┴────────────────────┘
|
||||||
|
|
||||||
|
Issuing bottom-right-corner again will change window state to bottom half
|
||||||
|
maximized:
|
||||||
|
|
||||||
|
┌┬────────────────────┬┐
|
||||||
|
├┘ ├┤
|
||||||
|
│ ├┤
|
||||||
|
├─────────────────────┼┤
|
||||||
|
├─────────────────────┼┤
|
||||||
|
│ ├┤
|
||||||
|
├┬┬───────────────────┘│
|
||||||
|
└┴┴────────────────────┘
|
||||||
|
|
||||||
|
Invoking bottom-right-corner again:
|
||||||
|
|
||||||
|
┌┬────────────────────┬┐
|
||||||
|
├┘ ├┤
|
||||||
|
│ ├┤
|
||||||
|
│ ┌──────────┼┤
|
||||||
|
│ ├──────────┼┤
|
||||||
|
│ │ ├┤
|
||||||
|
├┬┐ └──────────┘│
|
||||||
|
└┴┴────────────────────┘
|
||||||
|
|
||||||
|
Issuing bottom-right-corner again will have no effect.
|
||||||
|
|
||||||
|
|
||||||
|
Move half-maximized windows between the screens
|
||||||
|
-----------------------------------------------
|
||||||
|
|
||||||
|
New option was introduced to allow change of behaviour of half-maximize windows
|
||||||
|
in multiple displays environment. In such environment it is more natural that
|
||||||
|
half maximized windows would travel from one screen to another. Now it is
|
||||||
|
possible to make that happen by setting an option
|
||||||
|
"MoveHalfMaximizedWindowsBetweenScreens" to "Yes" in
|
||||||
|
~/GNUstep/Defaults/WindowMaker config file, or by checking "Allow move
|
||||||
|
half-maximized windows between multiple screens." in 'Expert User Preferences"
|
||||||
|
tab in WPrefs.app.
|
||||||
|
|
||||||
|
For example, given there are two screens in layout where one display is on the
|
||||||
|
left and second display is on the right with window on first screen:
|
||||||
|
|
||||||
|
┌┬────────────────┬─────────────────┬┐
|
||||||
|
├┘ ┌───────┐ │ ├┤
|
||||||
|
│ ├───────┤ │ ├┤
|
||||||
|
│ │ │ │ ├┤
|
||||||
|
│ │ │ │ ├┤
|
||||||
|
│ └───────┘ │ └┤
|
||||||
|
├┬┐ ├┬┬┐ │
|
||||||
|
└┴┴───────────────┴┴┴┴───────────────┘
|
||||||
|
|
||||||
|
It can be right-half-maximized (using previously defined key combination), so it
|
||||||
|
become:
|
||||||
|
|
||||||
|
┌┬───────┬────────┬─────────────────┬┐
|
||||||
|
├┘ ├────────┤ ├┤
|
||||||
|
│ │ │ ├┤
|
||||||
|
│ │ │ ├┤
|
||||||
|
│ │ │ ├┤
|
||||||
|
│ │ │ └┤
|
||||||
|
├┬┐ └────────┼┬┬┐ │
|
||||||
|
└┴┴───────────────┴┴┴┴───────────────┘
|
||||||
|
|
||||||
|
In this example there is an assumption that WindowMaker is configured, that
|
||||||
|
maximized windows wont cover mini icons nor dock.
|
||||||
|
|
||||||
|
Without setting new option to true, issuing another right-half-maximize will
|
||||||
|
restore window dimensions and position to the original state (like on the first
|
||||||
|
figure). With new option set to true it will move window to second screen like:
|
||||||
|
|
||||||
|
┌┬────────────────┬────────┬────────┬┐
|
||||||
|
├┘ ├────────┤ ├┤
|
||||||
|
│ │ │ ├┤
|
||||||
|
│ │ │ ├┤
|
||||||
|
│ │ │ ├┤
|
||||||
|
│ │ │ └┤
|
||||||
|
├┬┐ ├┬┬┬─────┘ │
|
||||||
|
└┴┴───────────────┴┴┴┴───────────────┘
|
||||||
|
|
||||||
|
Another activation of right-half-maxmimize:
|
||||||
|
|
||||||
|
┌┬────────────────┬────────┬────────┬┐
|
||||||
|
├┘ │ ├────────┼┤
|
||||||
|
│ │ │ ├┤
|
||||||
|
│ │ │ ├┤
|
||||||
|
│ │ │ ├┤
|
||||||
|
│ │ │ ├┤
|
||||||
|
├┬┐ ├┬┬┐ └────────┘│
|
||||||
|
└┴┴───────────────┴┴┴┴───────────────┘
|
||||||
|
|
||||||
|
And final activation of right-half-maxmimize:
|
||||||
|
|
||||||
|
┌┬────────────────┬───────┬─────────┬┐
|
||||||
|
├┘ ├───────┤ ├┤
|
||||||
|
│ │ │ ├┤
|
||||||
|
│ │ │ ├┤
|
||||||
|
│ ├───────┘ ├┤
|
||||||
|
│ │ └┤
|
||||||
|
├┬┐ ├┬┬┐ │
|
||||||
|
└┴┴───────────────┴┴┴┴───────────────┘
|
||||||
|
|
||||||
|
Where window is restored its size (but not position, since it it on different
|
||||||
|
head now). Moving window in directions like left-half-maximize,
|
||||||
|
top-half-maximize and bottom-half-maximize will behave in similar way depending
|
||||||
|
on the layout of displays.
|
||||||
|
|
||||||
|
Note, that only windows that are half-maximized vertically or horizontally can
|
||||||
|
be moved to another screen due to the fact, that direction of movement of
|
||||||
|
quarter-maximized windows is ambiguous. As for vertical/horizontal-maximize,
|
||||||
|
since doesn't move the window but only stretch it vertically/horizontally this
|
||||||
|
feature also doesn't apply.
|
||||||
|
|
||||||
|
|
||||||
|
Snapping a window to the top
|
||||||
|
----------------------------
|
||||||
|
|
||||||
|
You can now choose whether snapping a window to the top edge of the screen
|
||||||
|
maximizes it to the top half (the previous and default behavior) or to the
|
||||||
|
full screen by setting "SnapToTopMaximizesFullscreen" to "NO" or "YES",
|
||||||
|
respectively. This setting can also be changed by unchecking or checking
|
||||||
|
"Snapping a window to the top maximizes it to the full screen" in the
|
||||||
|
"Expert User Preferences" tab in WPrefs.app.
|
||||||
|
|
||||||
|
Global defaults directory configuration
|
||||||
|
---------------------------------------
|
||||||
|
|
||||||
|
You can now configure the global defaults directory, where the system
|
||||||
|
WindowMaker, WMRootMenu, etc. files are stored, by running
|
||||||
|
./configure --with-defsdatadir=/path/to/defaults
|
||||||
|
at build time. The previous method, which only partially worked, involved
|
||||||
|
defining the GLOBAL_DEFAULTS_SUBDIR macro. This is no longer available.
|
||||||
|
Note that the default location is ${sysconfdir}/WindowMaker.
|
||||||
|
|
||||||
-- 0.95.7
|
-- 0.95.7
|
||||||
|
|
||||||
Window snapping
|
Window snapping
|
||||||
@@ -1389,7 +1643,7 @@ raising/lowering there is a time threshold before raising/lowering.
|
|||||||
The thresholds can be changed in wconfig.h by changing one or both of
|
The thresholds can be changed in wconfig.h by changing one or both of
|
||||||
AUTO_LOWER_DELAY and AUTO_RAISE_DELAY (expressed in milliseconds).
|
AUTO_LOWER_DELAY and AUTO_RAISE_DELAY (expressed in milliseconds).
|
||||||
For example if you set AUTO_RAISE_DELAY to 0, then the Clip will be raised as
|
For example if you set AUTO_RAISE_DELAY to 0, then the Clip will be raised as
|
||||||
soon as the mouse pointer enters it's area. Setting AUTO_RAISE_DELAY to a very
|
soon as the mouse pointer enters its area. Setting AUTO_RAISE_DELAY to a very
|
||||||
big value, will make the Clip to practically do not auto raise unless clicked,
|
big value, will make the Clip to practically do not auto raise unless clicked,
|
||||||
but to be automatically lowered after AUTO_LOWER_DELAY (ms) when leaved.
|
but to be automatically lowered after AUTO_LOWER_DELAY (ms) when leaved.
|
||||||
|
|
||||||
@@ -2318,7 +2572,7 @@ The OPEN_MENU command now supports the following syntax:
|
|||||||
// it in current position
|
// it in current position
|
||||||
OPEN_MENU file.menu
|
OPEN_MENU file.menu
|
||||||
2. Pipe menu handling.
|
2. Pipe menu handling.
|
||||||
// opens command and uses it's stdout to construct menu.
|
// opens command and uses its stdout to construct menu.
|
||||||
// Command's output must be a valid menu description.
|
// Command's output must be a valid menu description.
|
||||||
OPEN_MENU | command
|
OPEN_MENU | command
|
||||||
3. Directory handling.
|
3. Directory handling.
|
||||||
@@ -2921,7 +3175,7 @@ when they are first mapped
|
|||||||
titlebar gradients are in a single piece now
|
titlebar gradients are in a single piece now
|
||||||
|
|
||||||
the WMDock file was merged into the WMState file. You can insert this
|
the WMDock file was merged into the WMState file. You can insert this
|
||||||
file in WMState and set it's key to Dock. For example, if your WMDock
|
file in WMState and set its key to Dock. For example, if your WMDock
|
||||||
contains:
|
contains:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -129,8 +129,8 @@ HELP ME!!!
|
|||||||
==========
|
==========
|
||||||
|
|
||||||
There is a mailing list for discussing Window Maker at
|
There is a mailing list for discussing Window Maker at
|
||||||
wmaker-user@lists.windowmaker.org To subscribe to it, send a message to
|
wmaker-user@googlegroups.com. To subscribe to it, visit
|
||||||
wmaker-user-subscribe@lists.windowmaker.org
|
https://groups.google.com/forum/#!forum/wmaker-user
|
||||||
|
|
||||||
If you got a problem, ask there (after reading the docs, of course). The people
|
If you got a problem, ask there (after reading the docs, of course). The people
|
||||||
there is more likely to be able to answer your questions than we are. For bug
|
there is more likely to be able to answer your questions than we are. For bug
|
||||||
@@ -178,7 +178,7 @@ Running multiple instances of Window Maker
|
|||||||
|
|
||||||
It is not a good idea to run more than one instance of Window Maker
|
It is not a good idea to run more than one instance of Window Maker
|
||||||
from the same user (so that wmaker will use the same configuration files) at the
|
from the same user (so that wmaker will use the same configuration files) at the
|
||||||
same time. You might get unexpected behavior when Window Maker updates it's
|
same time. You might get unexpected behavior when Window Maker updates its
|
||||||
configuration files.
|
configuration files.
|
||||||
|
|
||||||
If you really desire to do this, try running Window Maker with the command line
|
If you really desire to do this, try running Window Maker with the command line
|
||||||
@@ -209,7 +209,7 @@ while keeping a nice appearance and good functionality, follow the items bellow:
|
|||||||
- remove support for image formats you don't use
|
- remove support for image formats you don't use
|
||||||
- to reduce memory usage, disable the icon cache, by setting the RIMAGE_CACHE
|
- to reduce memory usage, disable the icon cache, by setting the RIMAGE_CACHE
|
||||||
environment variable to 0. If you want to increase performance at the cost of
|
environment variable to 0. If you want to increase performance at the cost of
|
||||||
memory usage, set it's value to a value like the number of different icons you
|
memory usage, set its value to a value like the number of different icons you
|
||||||
use. Also, disable anti-aliased text support in ~/GNUstep/Defaults/WMGLOBAL.
|
use. Also, disable anti-aliased text support in ~/GNUstep/Defaults/WMGLOBAL.
|
||||||
|
|
||||||
|
|
||||||
@@ -311,5 +311,5 @@ project. The name of people who have helped with localization (translation) can
|
|||||||
be found in po/README and Window Maker/README
|
be found in po/README and Window Maker/README
|
||||||
|
|
||||||
If you have any comments, fixes and bug reports (filled BUGFORMs) send them
|
If you have any comments, fixes and bug reports (filled BUGFORMs) send them
|
||||||
to wmaker-dev@lists.windowmaker.org
|
to wmaker-dev@googlegroups.com
|
||||||
|
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ Sending the patch to the mailing list
|
|||||||
|
|
||||||
Send your patches to:
|
Send your patches to:
|
||||||
|
|
||||||
wmaker-dev@lists.windowmaker.org
|
wmaker-dev@googlegroups.com
|
||||||
|
|
||||||
Please do not send patches to any individual developer unless you have a very
|
Please do not send patches to any individual developer unless you have a very
|
||||||
good reason to avoid more people being able to comment (and improve) on your
|
good reason to avoid more people being able to comment (and improve) on your
|
||||||
@@ -147,7 +147,7 @@ you, otherwise you may face the problems below. Doing this is really easy:
|
|||||||
# (of course, replace smtp.example.com with your ISP's)
|
# (of course, replace smtp.example.com with your ISP's)
|
||||||
git config --global sendemail.smtpserver "smtp.example.com"
|
git config --global sendemail.smtpserver "smtp.example.com"
|
||||||
git config --global sendemail.validate true
|
git config --global sendemail.validate true
|
||||||
git config sendemail.to "Window Maker Devel <wmaker-dev@lists.windowmaker.org>"
|
git config sendemail.to "Window Maker Devel <wmaker-dev@googlegroups.com>"
|
||||||
|
|
||||||
# If you're sending more than 1 patch, you may be interested in having an
|
# If you're sending more than 1 patch, you may be interested in having an
|
||||||
# introduction mail for the batch:
|
# introduction mail for the batch:
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ noinst_PROGRAMS = fontl puzzle colorpick
|
|||||||
|
|
||||||
LDADD= $(top_builddir)/WINGs/libWINGs.la $(top_builddir)/wrlib/libwraster.la \
|
LDADD= $(top_builddir)/WINGs/libWINGs.la $(top_builddir)/wrlib/libwraster.la \
|
||||||
$(top_builddir)/WINGs/libWUtil.la \
|
$(top_builddir)/WINGs/libWUtil.la \
|
||||||
@XFTLIBS@ @INTLIBS@ @XLIBS@
|
@XFT_LIBS@ @INTLIBS@ @XLIBS@
|
||||||
|
|
||||||
colorpick_DEPENDENCIES = $(top_builddir)/WINGs/libWINGs.la
|
colorpick_DEPENDENCIES = $(top_builddir)/WINGs/libWINGs.la
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,6 @@ AM_CPPFLAGS = -I$(top_srcdir)/wrlib -I$(top_srcdir)/WINGs \
|
|||||||
|
|
||||||
LDADD= $(top_builddir)/WINGs/libWINGs.la $(top_builddir)/wrlib/libwraster.la \
|
LDADD= $(top_builddir)/WINGs/libWINGs.la $(top_builddir)/wrlib/libwraster.la \
|
||||||
$(top_builddir)/WINGs/libWUtil.la \
|
$(top_builddir)/WINGs/libWUtil.la \
|
||||||
@XFTLIBS@ @INTLIBS@
|
@XFT_LIBS@ @INTLIBS@
|
||||||
|
|
||||||
test_LDADD = wtableview.o wtabledelegates.o $(LDADD)
|
test_LDADD = wtableview.o wtabledelegates.o $(LDADD)
|
||||||
|
|||||||
+7
-8
@@ -8,13 +8,11 @@ DIST_SUBDIRS = $(SUBDIRS) Tests Examples Extras
|
|||||||
libWINGs_la_LDFLAGS = -version-info @WINGS_VERSION@
|
libWINGs_la_LDFLAGS = -version-info @WINGS_VERSION@
|
||||||
libWUtil_la_LDFLAGS = -version-info @WUTIL_VERSION@
|
libWUtil_la_LDFLAGS = -version-info @WUTIL_VERSION@
|
||||||
|
|
||||||
dist_bin_SCRIPTS = get-wings-flags get-wutil-flags
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = libWUtil.la libWINGs.la
|
lib_LTLIBRARIES = libWUtil.la libWINGs.la
|
||||||
|
|
||||||
|
|
||||||
LDADD= libWUtil.la libWINGs.la $(top_builddir)/wrlib/libwraster.la @INTLIBS@
|
LDADD= libWUtil.la libWINGs.la $(top_builddir)/wrlib/libwraster.la @INTLIBS@
|
||||||
libWINGs_la_LIBADD = libWUtil.la $(top_builddir)/wrlib/libwraster.la @XLIBS@ @XFTLIBS@ @FCLIBS@ @LIBM@ @PANGOLIBS@
|
libWINGs_la_LIBADD = libWUtil.la $(top_builddir)/wrlib/libwraster.la @XLIBS@ @XFT_LIBS@ @FCLIBS@ @LIBM@ @PANGO_LIBS@
|
||||||
libWUtil_la_LIBADD = @LIBBSD@
|
libWUtil_la_LIBADD = @LIBBSD@
|
||||||
|
|
||||||
EXTRA_DIST = BUGS make-rgb Examples Extras Tests
|
EXTRA_DIST = BUGS make-rgb Examples Extras Tests
|
||||||
@@ -89,11 +87,12 @@ libWUtil_la_SOURCES = \
|
|||||||
wutil.c
|
wutil.c
|
||||||
|
|
||||||
|
|
||||||
AM_CFLAGS =
|
AM_CFLAGS = @PANGO_CFLAGS@
|
||||||
|
|
||||||
AM_CPPFLAGS = -DRESOURCE_PATH=\"$(datadir)/WINGs\" \
|
AM_CPPFLAGS = -DRESOURCE_PATH=\"$(datadir)/WINGs\" \
|
||||||
-I$(top_srcdir)/WINGs/WINGs -I$(top_srcdir)/wrlib -I$(top_srcdir)/src \
|
-I$(top_srcdir)/WINGs/WINGs -I$(top_builddir)/WINGs/WINGs \
|
||||||
@XFTFLAGS@ @HEADER_SEARCH_PATH@
|
-I$(top_builddir)/wrlib -I$(top_srcdir)/src \
|
||||||
|
@XFT_CFLAGS@ @HEADER_SEARCH_PATH@
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = WINGs.pc WUtil.pc
|
pkgconfig_DATA = WINGs.pc WUtil.pc
|
||||||
@@ -107,8 +106,8 @@ WINGs.pc: Makefile
|
|||||||
@echo 'Version: $(VERSION)' >> $@
|
@echo 'Version: $(VERSION)' >> $@
|
||||||
@echo 'Requires: wrlib WUtil' >> $@
|
@echo 'Requires: wrlib WUtil' >> $@
|
||||||
@echo 'Libs: $(lib_search_path) -lWINGs' >> $@
|
@echo 'Libs: $(lib_search_path) -lWINGs' >> $@
|
||||||
@echo 'Libs.private: $(XFTLIBS) $(PANGOLIBS) $(XLIBS) -lm $(INTLIBS)' >> $@
|
@echo 'Libs.private: $(XFT_LIBS) $(PANGOLIBS) $(XLIBS) -lm $(INTLIBS)' >> $@
|
||||||
@echo 'Cflags: $(inc_search_path)' >> $@
|
@echo 'Cflags: $(inc_search_path) @PANGO_CFLAGS@' >> $@
|
||||||
|
|
||||||
WUtil.pc: Makefile
|
WUtil.pc: Makefile
|
||||||
@echo "Generating $@"
|
@echo "Generating $@"
|
||||||
|
|||||||
+6
-6
@@ -8,25 +8,25 @@
|
|||||||
kojima@windowmaker.info
|
kojima@windowmaker.info
|
||||||
|
|
||||||
|
|
||||||
WINGs is a small widget set with the N*XTSTEP look and feel. It's API
|
WINGs is a small widget set with the N*XTSTEP look and feel. Its API
|
||||||
is inspired in OpenStep and it's implementation borrows some ideas
|
is inspired in OpenStep and its implementation borrows some ideas
|
||||||
from Tk. It has a reasonable set of widgets, sufficient for building
|
from Tk. It has a reasonable set of widgets, sufficient for building
|
||||||
small applications (like a CDPlayer or hacking something like rxvt). It
|
small applications (like a CDPlayer or hacking something like rxvt). It
|
||||||
also has other functions that are usefull for applications, like a
|
also has other functions that are usefull for applications, like a
|
||||||
User Defaults alike configuration manager and a notification system.
|
User Defaults alike configuration manager and a notification system.
|
||||||
|
|
||||||
The library is limited and it's design is a little sloppy,
|
The library is limited and its design is a little sloppy,
|
||||||
so it's not intended to build large or complex applications, like
|
so it's not intended to build large or complex applications, like
|
||||||
anything more complex than a CDPlayer. GNUstep should be used for such
|
anything more complex than a CDPlayer. GNUstep should be used for such
|
||||||
applications.
|
applications.
|
||||||
|
|
||||||
Since WINGs is written in C and is sort of low-level it is small
|
Since WINGs is written in C and is sort of low-level it is small
|
||||||
and faster than say, Motif or even Athena. Knowing Xlib will help you to
|
and faster than say, Motif or even Athena. Knowing Xlib will help you to
|
||||||
workaround some of it's limitations, although you'll probably be able to
|
workaround some of its limitations, although you'll probably be able to
|
||||||
write something like a trivial tic-tac-toe game without knowing much Xlib.
|
write something like a trivial tic-tac-toe game without knowing much Xlib.
|
||||||
|
|
||||||
Some of it's functions are designed to support the Window Maker window
|
Some of its functions are designed to support the Window Maker window
|
||||||
manager (see http://windowmaker.info) In fact, it's primary role is to
|
manager (see http://windowmaker.info) In fact, its primary role is to
|
||||||
support Window Maker. All other uses of it are just an added bonus.
|
support Window Maker. All other uses of it are just an added bonus.
|
||||||
|
|
||||||
It will help you to understand the API if you read the ApplicationKit
|
It will help you to understand the API if you read the ApplicationKit
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ noinst_PROGRAMS = wtest wmquery wmfile testmywidget
|
|||||||
|
|
||||||
LDADD= $(top_builddir)/WINGs/libWINGs.la $(top_builddir)/wrlib/libwraster.la \
|
LDADD= $(top_builddir)/WINGs/libWINGs.la $(top_builddir)/wrlib/libwraster.la \
|
||||||
$(top_builddir)/WINGs/libWUtil.la \
|
$(top_builddir)/WINGs/libWUtil.la \
|
||||||
@XFTLIBS@ @INTLIBS@ @XLIBS@
|
@XFT_LIBS@ @INTLIBS@ @XLIBS@
|
||||||
|
|
||||||
|
|
||||||
testmywidget_SOURCES = testmywidget.c mywidget.c mywidget.h
|
testmywidget_SOURCES = testmywidget.c mywidget.c mywidget.h
|
||||||
@@ -17,4 +17,4 @@ wtest_DEPENDENCIES = $(top_builddir)/WINGs/libWINGs.la
|
|||||||
EXTRA_DIST = logo.xpm upbtn.xpm wm.html wm.png
|
EXTRA_DIST = logo.xpm upbtn.xpm wm.html wm.png
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(top_srcdir)/WINGs -I$(top_srcdir)/wrlib -I$(top_srcdir)/src \
|
AM_CPPFLAGS = -I$(top_srcdir)/WINGs -I$(top_srcdir)/wrlib -I$(top_srcdir)/src \
|
||||||
-DRESOURCE_PATH=\"$(datadir)/WINGs\" @XFTFLAGS@ @HEADER_SEARCH_PATH@
|
-DRESOURCE_PATH=\"$(datadir)/WINGs\" @XFT_CFLAGS@ @HEADER_SEARCH_PATH@
|
||||||
|
|||||||
+11
-1
@@ -5,4 +5,14 @@ AUTOMAKE_OPTIONS =
|
|||||||
# is this a kluge? if so, how should i do it?
|
# is this a kluge? if so, how should i do it?
|
||||||
includedir = @includedir@/WINGs
|
includedir = @includedir@/WINGs
|
||||||
|
|
||||||
include_HEADERS = WINGs.h WUtil.h WINGsP.h
|
BUILT_SOURCES = WINGsP.h
|
||||||
|
CLEANFILES = WINGsP.h
|
||||||
|
include_HEADERS = WINGs.h WUtil.h
|
||||||
|
nodist_include_HEADERS = WINGsP.h
|
||||||
|
EXTRA_DIST = WINGsP.h.in
|
||||||
|
|
||||||
|
WINGsP.h: WINGsP.h.in $(top_builddir)/config.h
|
||||||
|
$(AM_V_GEN)$(top_srcdir)/script/replace-ac-keywords.sh \
|
||||||
|
--header "$(top_builddir)/config.h" \
|
||||||
|
--filter "USE_PANGO" \
|
||||||
|
-o $@ $<
|
||||||
|
|||||||
@@ -795,6 +795,8 @@ char* WMGetFontName(WMFont *font);
|
|||||||
|
|
||||||
unsigned int WMFontHeight(WMFont *font);
|
unsigned int WMFontHeight(WMFont *font);
|
||||||
|
|
||||||
|
void WMGetScaleBaseFromSystemFont(WMScreen *scrPtr, int *alphabetWidth, int *fontHeight);
|
||||||
|
|
||||||
void WMSetWidgetDefaultFont(WMScreen *scr, WMFont *font);
|
void WMSetWidgetDefaultFont(WMScreen *scr, WMFont *font);
|
||||||
|
|
||||||
void WMSetWidgetDefaultBoldFont(WMScreen *scr, WMFont *font);
|
void WMSetWidgetDefaultBoldFont(WMScreen *scr, WMFont *font);
|
||||||
@@ -1839,10 +1841,17 @@ WMAlertPanel* WMCreateAlertPanel(WMScreen *app, WMWindow *owner, const char *tit
|
|||||||
const char *msg, const char *defaultButton,
|
const char *msg, const char *defaultButton,
|
||||||
const char *alternateButton, const char *otherButton);
|
const char *alternateButton, const char *otherButton);
|
||||||
|
|
||||||
|
WMAlertPanel* WMCreateScaledAlertPanel(WMScreen *app, WMWindow *owner, const char *title,
|
||||||
|
const char *msg, const char *defaultButton,
|
||||||
|
const char *alternateButton, const char *otherButton);
|
||||||
|
|
||||||
WMInputPanel* WMCreateInputPanel(WMScreen *app, WMWindow *owner, const char *title,
|
WMInputPanel* WMCreateInputPanel(WMScreen *app, WMWindow *owner, const char *title,
|
||||||
const char *msg, const char *defaultText, const char *okButton,
|
const char *msg, const char *defaultText, const char *okButton,
|
||||||
const char *cancelButton);
|
const char *cancelButton);
|
||||||
|
|
||||||
|
WMInputPanel* WMCreateScaledInputPanel(WMScreen *app, WMWindow *owner, const char *title,
|
||||||
|
const char *msg, const char *defaultText, const char *okButton,
|
||||||
|
const char *cancelButton);
|
||||||
|
|
||||||
WMGenericPanel* WMCreateGenericPanel(WMScreen *scrPtr, WMWindow *owner,
|
WMGenericPanel* WMCreateGenericPanel(WMScreen *scrPtr, WMWindow *owner,
|
||||||
const char *title, const char *defaultButton,
|
const char *title, const char *defaultButton,
|
||||||
|
|||||||
@@ -5,9 +5,7 @@
|
|||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
#include <X11/Xutil.h>
|
#include <X11/Xutil.h>
|
||||||
|
|
||||||
#ifdef USE_PANGO
|
@USE_PANGO@#include <pango/pango.h>
|
||||||
#include <pango/pango.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <WINGs/WINGs.h>
|
#include <WINGs/WINGs.h>
|
||||||
|
|
||||||
@@ -459,9 +457,7 @@ typedef struct W_Font {
|
|||||||
short refCount;
|
short refCount;
|
||||||
char *name;
|
char *name;
|
||||||
|
|
||||||
#ifdef USE_PANGO
|
@USE_PANGO@ PangoLayout *layout;
|
||||||
PangoLayout *layout;
|
|
||||||
#endif
|
|
||||||
} W_Font;
|
} W_Font;
|
||||||
|
|
||||||
#define W_FONTID(f) (f)->font->fid
|
#define W_FONTID(f) (f)->font->fid
|
||||||
@@ -193,6 +193,16 @@ typedef void WMNotificationObserverAction(void *observerData,
|
|||||||
sizeof(array) / sizeof(array[0]); \
|
sizeof(array) / sizeof(array[0]); \
|
||||||
})
|
})
|
||||||
|
|
||||||
|
/* These macros can be used to adjust the location and size pixel values in
|
||||||
|
* the panel layouts so that they match the configured size of the system
|
||||||
|
* font (useful with high DPI screens, where you have to increase this size).
|
||||||
|
* The macros require two local variables to be set:
|
||||||
|
* wmScaleWidth: the width of the alphabet in the current system font
|
||||||
|
* wmScaleHeight: the height of the current system font
|
||||||
|
* Use the WMGetScaleBaseFromSystemFont function to set these values.
|
||||||
|
*/
|
||||||
|
#define WMScaleX(value) ((int)((double)value / 177.0 * (double)wmScaleWidth + 0.5))
|
||||||
|
#define WMScaleY(value) ((int)((double)value / 15.0 * (double)wmScaleHeight + 0.5))
|
||||||
|
|
||||||
/* ---[ WINGs/memory.c ]-------------------------------------------------- */
|
/* ---[ WINGs/memory.c ]-------------------------------------------------- */
|
||||||
|
|
||||||
|
|||||||
@@ -1,33 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# [Christophe CURIS, 2015/01/31]
|
|
||||||
# This script is now reporting itself as deprecated (this should have been done
|
|
||||||
# a long time ago), so it should be kept for at least 2 years from now in order
|
|
||||||
# to allow users to update their scripts, and then removed.
|
|
||||||
|
|
||||||
if test $# -eq 0; then
|
|
||||||
echo "Error: $0 is deprecated, please use 'pkg-config WINGs ...'" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
while test $# -gt 0; do
|
|
||||||
case $1 in
|
|
||||||
--cflags)
|
|
||||||
echo "Warning: $0 is deprecated, please use 'pkg-config WINGs --cflags'" >&2
|
|
||||||
pkg-config WINGs --cflags
|
|
||||||
;;
|
|
||||||
--ldflags|--lflags)
|
|
||||||
echo "Warning: $0 is deprecated, please use 'pkg-config WINGs --libs'" >&2
|
|
||||||
pkg-config WINGs --libs-only-L
|
|
||||||
;;
|
|
||||||
--libs)
|
|
||||||
echo "Warning: $0 is deprecated, please use 'pkg-config WINGs --libs'" >&2
|
|
||||||
pkg-config WINGs --libs
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "Error: $0 is deprecated, please use 'pkg-config WINGs ...'" >&2
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
shift
|
|
||||||
done
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# [Christophe CURIS, 2015/01/31]
|
|
||||||
# This script is now reporting itself as deprecated (this should have been done
|
|
||||||
# a long time ago), so it should be kept for at least 2 years from now in order
|
|
||||||
# to allow users to update their scripts, and then removed.
|
|
||||||
|
|
||||||
if test $# -eq 0; then
|
|
||||||
echo "Error: $0 is deprecated, please use 'pkg-config WUtil ...'" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
while test $# -gt 0; do
|
|
||||||
case $1 in
|
|
||||||
--cflags)
|
|
||||||
echo "Warning: $0 is deprecated, please use 'pkg-config WUtil --cflags'" >&2
|
|
||||||
pkg-config WUtil --cflags
|
|
||||||
;;
|
|
||||||
--ldflags|--lflags)
|
|
||||||
echo "Warning: $0 is deprecated, please use 'pkg-config WUtil --libs'" >&2
|
|
||||||
pkg-config WUtil --libs-only-L
|
|
||||||
;;
|
|
||||||
--libs)
|
|
||||||
echo "Warning: $0 is deprecated, please use 'pkg-config WUtil --libs'" >&2
|
|
||||||
pkg-config WUtil --libs
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "Error: $0 is deprecated, please use 'pkg-config WUtil ...'" >&2
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
shift
|
|
||||||
done
|
|
||||||
+2
-1
@@ -107,7 +107,8 @@ void *wmalloc(size_t size)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
memset(tmp, 0, size);
|
if (tmp != NULL)
|
||||||
|
memset(tmp, 0, size);
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+33
-72
@@ -1,14 +1,14 @@
|
|||||||
# Translation into Western Frisian for Window Maker
|
# Translation into Western Frisian for Window Maker
|
||||||
# Copyright (C) 2015 Window Maker Developers Team
|
# Copyright (C) 2015-2016 Window Maker Developers Team
|
||||||
# This file is distributed under the same license as the windowmaker package.
|
# This file is distributed under the same license as the windowmaker package.
|
||||||
# Original by Alwin <translations@ziggo.nl>, 2015.
|
# Original by Alwin <translations@ziggo.nl>, 2015.
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: wmaker-0.95.6+\n"
|
"Project-Id-Version: wmaker-0.95.7+\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2015-06-14 16:10+0200\n"
|
"POT-Creation-Date: 2016-01-21 16:19+0100\n"
|
||||||
"PO-Revision-Date: 2015-06-14 00:00+0000\n"
|
"PO-Revision-Date: 2016-01-21 00:00+0000\n"
|
||||||
"Last-Translator: Alwin <translations@ziggo.nl>\n"
|
"Last-Translator: Alwin <translations@ziggo.nl>\n"
|
||||||
"Language-Team: Western Frisian\n"
|
"Language-Team: Western Frisian\n"
|
||||||
"Language: fy\n"
|
"Language: fy\n"
|
||||||
@@ -99,7 +99,7 @@ msgstr "foartidich bestânsein, ferwachte in nije rigel nei '\\'"
|
|||||||
#, c-format
|
#, c-format
|
||||||
msgid "reached end of file while searching '*/' for comment started at line %d"
|
msgid "reached end of file while searching '*/' for comment started at line %d"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"bestânsein berikt by sykje nei '*/' foar kommentaar begûnen op rigel %d"
|
"bestânsein berikt by sykjen nei '*/' foar kommentaar begûnen op rigel %d"
|
||||||
|
|
||||||
#: ../../WINGs/menuparser.c:344
|
#: ../../WINGs/menuparser.c:344
|
||||||
msgid "missing closing double-quote before end-of-line"
|
msgid "missing closing double-quote before end-of-line"
|
||||||
@@ -111,7 +111,7 @@ msgstr "ûntbrekkend slutend inkeld oanhelteken foar rigelein"
|
|||||||
|
|
||||||
#: ../../WINGs/menuparser.c:380
|
#: ../../WINGs/menuparser.c:380
|
||||||
msgid "too many nested macro expansions, breaking loop"
|
msgid "too many nested macro expansions, breaking loop"
|
||||||
msgstr "te folle neste makro-útwurkingen, syklus ôfbrutsen"
|
msgstr "te folle neske makro-útwurkingen, syklus ôfbrutsen"
|
||||||
|
|
||||||
#: ../../WINGs/menuparser.c:439
|
#: ../../WINGs/menuparser.c:439
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -140,7 +140,7 @@ msgstr "ûntbrekkende slutende '%c' yn bestânsnammeopjefte"
|
|||||||
|
|
||||||
#: ../../WINGs/menuparser.c:503
|
#: ../../WINGs/menuparser.c:503
|
||||||
msgid "too many nested #include's"
|
msgid "too many nested #include's"
|
||||||
msgstr "te folle neste #include's"
|
msgstr "te folle neske #include's"
|
||||||
|
|
||||||
#: ../../WINGs/menuparser.c:568
|
#: ../../WINGs/menuparser.c:568
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -150,11 +150,11 @@ msgstr "koe bestân \"%s\" net fine foar #include"
|
|||||||
#: ../../WINGs/menuparser.c:589
|
#: ../../WINGs/menuparser.c:589
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "missing macro name argument to #%s"
|
msgid "missing macro name argument to #%s"
|
||||||
msgstr "ûntbrekkend makronammeargumint by #%s"
|
msgstr "ûntbrekkend makronamme-argumint by #%s"
|
||||||
|
|
||||||
#: ../../WINGs/menuparser.c:600
|
#: ../../WINGs/menuparser.c:600
|
||||||
msgid "too many nested #if sequences"
|
msgid "too many nested #if sequences"
|
||||||
msgstr "te folle neste #if-rigen"
|
msgstr "te folle neske #if-rigen"
|
||||||
|
|
||||||
#: ../../WINGs/menuparser.c:626 ../../WINGs/menuparser.c:643
|
#: ../../WINGs/menuparser.c:626 ../../WINGs/menuparser.c:643
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -168,7 +168,7 @@ msgstr "gjin makronamme fûn foar #define"
|
|||||||
#: ../../WINGs/menuparser_macros.c:187
|
#: ../../WINGs/menuparser_macros.c:187
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "premature end of file while reading arg-list for macro \"%s\""
|
msgid "premature end of file while reading arg-list for macro \"%s\""
|
||||||
msgstr "foartidich bestânsein by ynlêze arg.-list foar makro \"%s\""
|
msgstr "foartidich bestânsein by ynlêzen arg.-list foar makro \"%s\""
|
||||||
|
|
||||||
#: ../../WINGs/menuparser_macros.c:194
|
#: ../../WINGs/menuparser_macros.c:194
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -196,7 +196,7 @@ msgstr ""
|
|||||||
#: ../../WINGs/menuparser_macros.c:253
|
#: ../../WINGs/menuparser_macros.c:253
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "macro \"%s\" already defined, ignoring redefinition"
|
msgid "macro \"%s\" already defined, ignoring redefinition"
|
||||||
msgstr "makro \"%s\" al definiearre, negearret werdefiniearje"
|
msgstr "makro \"%s\" al definiearre, negearret werdefiniearjen"
|
||||||
|
|
||||||
#: ../../WINGs/menuparser_macros.c:346
|
#: ../../WINGs/menuparser_macros.c:346
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -225,7 +225,7 @@ msgstr "te folle arguminten foar makro \"%s\", ferwachte allinnich %d"
|
|||||||
#: ../../WINGs/menuparser_macros.c:530
|
#: ../../WINGs/menuparser_macros.c:530
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "premature end of line while searching for arguments to macro \"%s\""
|
msgid "premature end of line while searching for arguments to macro \"%s\""
|
||||||
msgstr "foartidich rigelein by sykje nei arguminten by makro \"%s\""
|
msgstr "foartidich rigelein by sykjen nei arguminten by makro \"%s\""
|
||||||
|
|
||||||
#: ../../WINGs/menuparser_macros.c:536
|
#: ../../WINGs/menuparser_macros.c:536
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -345,7 +345,7 @@ msgstr "koe grutte foar bestân '%s' net krije"
|
|||||||
#: ../../WINGs/proplist.c:1531
|
#: ../../WINGs/proplist.c:1531
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "error reading from file '%s'"
|
msgid "error reading from file '%s'"
|
||||||
msgstr "flater by ynlêze bestân '%s'"
|
msgstr "flater by ynlêzen bestân '%s'"
|
||||||
|
|
||||||
#: ../../WINGs/proplist.c:1578
|
#: ../../WINGs/proplist.c:1578
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -355,32 +355,32 @@ msgstr "%s:koe menubestân net iepenje"
|
|||||||
#: ../../WINGs/proplist.c:1660
|
#: ../../WINGs/proplist.c:1660
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "mkstemp (%s) failed"
|
msgid "mkstemp (%s) failed"
|
||||||
msgstr "oanmeitsje unyk tydlik bestân (%s) mislearre"
|
msgstr "oanmeitsjen unyk tydlik bestân (%s) mislearre"
|
||||||
|
|
||||||
#: ../../WINGs/proplist.c:1670
|
#: ../../WINGs/proplist.c:1670
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "mktemp (%s) failed"
|
msgid "mktemp (%s) failed"
|
||||||
msgstr "oanmeitsje tydlik bestân (%s) mislearre"
|
msgstr "oanmeitsjen tydlik bestân (%s) mislearre"
|
||||||
|
|
||||||
#: ../../WINGs/proplist.c:1677
|
#: ../../WINGs/proplist.c:1677
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "open (%s) failed"
|
msgid "open (%s) failed"
|
||||||
msgstr "iepenje (%s) mislearre"
|
msgstr "iepenjen (%s) mislearre"
|
||||||
|
|
||||||
#: ../../WINGs/proplist.c:1684
|
#: ../../WINGs/proplist.c:1684
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "writing to file: %s failed"
|
msgid "writing to file: %s failed"
|
||||||
msgstr "skriuwe nei bestân: %s mislearre"
|
msgstr "skriuwen nei bestân: %s mislearre"
|
||||||
|
|
||||||
#: ../../WINGs/proplist.c:1693
|
#: ../../WINGs/proplist.c:1693
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "fclose (%s) failed"
|
msgid "fclose (%s) failed"
|
||||||
msgstr "ôfslute stream (%s) mislearre"
|
msgstr "ôfsluten stream (%s) mislearre"
|
||||||
|
|
||||||
#: ../../WINGs/proplist.c:1701
|
#: ../../WINGs/proplist.c:1701
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "rename ('%s' to '%s') failed"
|
msgid "rename ('%s' to '%s') failed"
|
||||||
msgstr "omneame ('%s' nei '%s') mislearre"
|
msgstr "omneamen ('%s' nei '%s') mislearre"
|
||||||
|
|
||||||
#: ../../WINGs/proplist.c:1772
|
#: ../../WINGs/proplist.c:1772
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -388,14 +388,14 @@ msgid "Could not create component %s"
|
|||||||
msgstr "Koe komponint %s net oanmeitsje"
|
msgstr "Koe komponint %s net oanmeitsje"
|
||||||
|
|
||||||
#: ../../WINGs/userdefaults.c:72
|
#: ../../WINGs/userdefaults.c:72
|
||||||
msgid "variable GNUSTEP_USER_ROOT defined with invalid path, not used"
|
msgid "variable WMAKER_USER_ROOT defined with invalid path, not used"
|
||||||
msgstr "fariabele GNUSTEP_USER_ROOT, definiearre mei ûnjildich paad, net brûkt"
|
msgstr "fariabele WMAKER_USER_ROOT, definiearre mei ûnjildich paad, net brûkt"
|
||||||
|
|
||||||
#. something happened with the file. just overwrite it
|
#. something happened with the file. just overwrite it
|
||||||
#: ../../WINGs/userdefaults.c:210 ../../WINGs/userdefaults.c:225
|
#: ../../WINGs/userdefaults.c:210 ../../WINGs/userdefaults.c:225
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "cannot read domain from file '%s' when syncing"
|
msgid "cannot read domain from file '%s' when syncing"
|
||||||
msgstr "kin domeinbestân '%s' net ynlêze by syngronisearje"
|
msgstr "kin domeinbestân '%s' net ynlêze by syngronisearjen"
|
||||||
|
|
||||||
#: ../../WINGs/dragcommon.c:60
|
#: ../../WINGs/dragcommon.c:60
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -414,11 +414,11 @@ msgstr "net-stipe ferzje %i foar XDND-berjocht by binnen gean"
|
|||||||
|
|
||||||
#: ../../WINGs/dragsource.c:163
|
#: ../../WINGs/dragsource.c:163
|
||||||
msgid "XDND selection lost during drag operation..."
|
msgid "XDND selection lost during drag operation..."
|
||||||
msgstr "XDND-seleksje ferlern by fersleephanneling..."
|
msgstr "XDND-seleksje ferlern ûnder fersleephanneling..."
|
||||||
|
|
||||||
#: ../../WINGs/dragsource.c:758
|
#: ../../WINGs/dragsource.c:758
|
||||||
msgid "could not get XDND version for target of drop"
|
msgid "could not get XDND version for target of drop"
|
||||||
msgstr "koe XDND-ferzje net krije foar doel fan ferslepe"
|
msgstr "koe XDND-ferzje net krije foar doel fan ferslepen"
|
||||||
|
|
||||||
#: ../../WINGs/dragsource.c:774
|
#: ../../WINGs/dragsource.c:774
|
||||||
msgid "could not get ownership of XDND selection"
|
msgid "could not get ownership of XDND selection"
|
||||||
@@ -456,7 +456,7 @@ msgstr "Kleuren"
|
|||||||
|
|
||||||
#: ../../WINGs/wcolorpanel.c:568 ../../WINGs/wcolorpanel.c:2720
|
#: ../../WINGs/wcolorpanel.c:568 ../../WINGs/wcolorpanel.c:2720
|
||||||
msgid "Brightness"
|
msgid "Brightness"
|
||||||
msgstr "Helderheid"
|
msgstr "Helderens"
|
||||||
|
|
||||||
#: ../../WINGs/wcolorpanel.c:570 ../../WINGs/wcolorpanel.c:644
|
#: ../../WINGs/wcolorpanel.c:570 ../../WINGs/wcolorpanel.c:644
|
||||||
#: ../../WINGs/wcolorpanel.c:675 ../../WINGs/wcolorpanel.c:706
|
#: ../../WINGs/wcolorpanel.c:675 ../../WINGs/wcolorpanel.c:706
|
||||||
@@ -558,7 +558,7 @@ msgstr "Nij..."
|
|||||||
msgid ""
|
msgid ""
|
||||||
"Color Panel: Could not create directory %s needed to store configurations"
|
"Color Panel: Could not create directory %s needed to store configurations"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Kleurepaniel: Koe map %s, nedich om ynstellingen te bewarje, net oanmeitsje"
|
"Kleurepaniel: Koe map %s, nedich om ynstellingen te bewarjen, net oanmeitsje"
|
||||||
|
|
||||||
#. Delete the file, it doesn't belong here
|
#. Delete the file, it doesn't belong here
|
||||||
#: ../../WINGs/wcolorpanel.c:1176 ../../WINGs/wcolorpanel.c:3073
|
#: ../../WINGs/wcolorpanel.c:1176 ../../WINGs/wcolorpanel.c:3073
|
||||||
@@ -568,7 +568,7 @@ msgstr "Bestânsflater"
|
|||||||
|
|
||||||
#: ../../WINGs/wcolorpanel.c:1177
|
#: ../../WINGs/wcolorpanel.c:1177
|
||||||
msgid "Could not create ColorPanel configuration directory"
|
msgid "Could not create ColorPanel configuration directory"
|
||||||
msgstr "Koe ynstellingenmap Kleurepaniel net oanmeitsje"
|
msgstr "Koe ynstellingemap Kleurepaniel net oanmeitsje"
|
||||||
|
|
||||||
#: ../../WINGs/wcolorpanel.c:1178 ../../WINGs/wcolorpanel.c:3074
|
#: ../../WINGs/wcolorpanel.c:1178 ../../WINGs/wcolorpanel.c:3074
|
||||||
#: ../../WINGs/wcolorpanel.c:3079 ../../WINGs/wcolorpanel.c:3104
|
#: ../../WINGs/wcolorpanel.c:3079 ../../WINGs/wcolorpanel.c:3104
|
||||||
@@ -593,7 +593,7 @@ msgstr "Fersêding"
|
|||||||
|
|
||||||
#: ../../WINGs/wcolorpanel.c:2788
|
#: ../../WINGs/wcolorpanel.c:2788
|
||||||
msgid "Hue"
|
msgid "Hue"
|
||||||
msgstr "Tinte"
|
msgstr "Tint"
|
||||||
|
|
||||||
#: ../../WINGs/wcolorpanel.c:3012
|
#: ../../WINGs/wcolorpanel.c:3012
|
||||||
msgid "Open Palette"
|
msgid "Open Palette"
|
||||||
@@ -610,7 +610,7 @@ msgstr "kin bestân %s net ferwiderje"
|
|||||||
|
|
||||||
#: ../../WINGs/wcolorpanel.c:3078
|
#: ../../WINGs/wcolorpanel.c:3078
|
||||||
msgid "Couldn't remove file from Configuration Directory !"
|
msgid "Couldn't remove file from Configuration Directory !"
|
||||||
msgstr "Koe bestân net ferwiderje út ynstellingenmap!"
|
msgstr "Koe bestân net ferwiderje út ynstellingemap!"
|
||||||
|
|
||||||
#: ../../WINGs/wcolorpanel.c:3103
|
#: ../../WINGs/wcolorpanel.c:3103
|
||||||
msgid "Rename"
|
msgid "Rename"
|
||||||
@@ -737,12 +737,12 @@ msgstr "Bestân"
|
|||||||
#: ../../WINGs/wfilepanel.c:719
|
#: ../../WINGs/wfilepanel.c:719
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Removing %s failed: %s"
|
msgid "Removing %s failed: %s"
|
||||||
msgstr "Ferwiderje %s mislearre: %s"
|
msgstr "Ferwiderjen %s mislearre: %s"
|
||||||
|
|
||||||
#: ../../WINGs/wfilepanel.c:751
|
#: ../../WINGs/wfilepanel.c:751
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "An error occurred browsing '%s'."
|
msgid "An error occurred browsing '%s'."
|
||||||
msgstr "Der trede in flater op by blêdzje troch '%s'."
|
msgstr "Der trede in flater op by blêdzjen troch '%s'."
|
||||||
|
|
||||||
#: ../../WINGs/wfilepanel.c:754
|
#: ../../WINGs/wfilepanel.c:754
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -799,7 +799,7 @@ msgstr "Koe biblioteek 'lettertype ynstelle' net inisjalisearje\n"
|
|||||||
#: ../../WINGs/widgets.c:446
|
#: ../../WINGs/widgets.c:446
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "WINGs: could not load widget images file: %s"
|
msgid "WINGs: could not load widget images file: %s"
|
||||||
msgstr "WINGs: Koe ôfbyldingenbestân bestjoeringseleminten net lade: %s"
|
msgstr "WINGs: Koe ôfbyldingebestân bestjoeringseleminten net lade: %s"
|
||||||
|
|
||||||
#: ../../WINGs/widgets.c:542
|
#: ../../WINGs/widgets.c:542
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -824,7 +824,7 @@ msgstr "0 inch"
|
|||||||
|
|
||||||
#: ../../WINGs/wtextfield.c:494
|
#: ../../WINGs/wtextfield.c:494
|
||||||
msgid "only left alignment is supported in textfields"
|
msgid "only left alignment is supported in textfields"
|
||||||
msgstr "allinnich lofts rjochtsje wurdt stipe yn tekstfjilden"
|
msgstr "allinnich lofts rjochtsjen wurdt stipe yn tekstfjilden"
|
||||||
|
|
||||||
#: ../../WINGs/wwindow.c:160
|
#: ../../WINGs/wwindow.c:160
|
||||||
msgid "window title conversion error... using STRING encoding"
|
msgid "window title conversion error... using STRING encoding"
|
||||||
@@ -833,42 +833,3 @@ msgstr "finstertitelomsettingsflater... brûkt STRING-kodearring"
|
|||||||
#: ../../WINGs/wwindow.c:181
|
#: ../../WINGs/wwindow.c:181
|
||||||
msgid "icon title conversion error... using STRING encoding"
|
msgid "icon title conversion error... using STRING encoding"
|
||||||
msgstr "ikoantitelomsettingsflater... brûkt STRING-kodearring"
|
msgstr "ikoantitelomsettingsflater... brûkt STRING-kodearring"
|
||||||
|
|
||||||
# Keep next entries for wmaker-0.95.6
|
|
||||||
msgid "Could not open input file \"%s\""
|
|
||||||
msgstr "Koe ynfierbestân \"%s\" net iepenje"
|
|
||||||
|
|
||||||
msgid "Could not create target file \"%s\""
|
|
||||||
msgstr "Koe doelbestân \"%s\" net oanmeitsje"
|
|
||||||
|
|
||||||
msgid "An error occured browsing '%s'."
|
|
||||||
msgstr "Der trede in flater op by blêdzje troch '%s'."
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
"invalid characted '%c' in arg-list for macro \"%s\" while expecting "
|
|
||||||
"parameter name"
|
|
||||||
msgstr ""
|
|
||||||
"ûnjildich letterteken '%c' yn arg.-list foar makro \"%s\", ferwachte "
|
|
||||||
"parameternamme"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
"invalid characted '%c' in arg-list for macro \"%s\" while expecting ',' "
|
|
||||||
"or ')'"
|
|
||||||
msgstr ""
|
|
||||||
"ûnjildich letterteken '%c' yn arg.-list foar makro \"%s\", ferwachte ',' "
|
|
||||||
"of ')'"
|
|
||||||
|
|
||||||
msgid "unknow directive '#%s'"
|
|
||||||
msgstr "ûnbekende oanwizing '#%s'"
|
|
||||||
|
|
||||||
msgid "found #%s but have no matching #if"
|
|
||||||
msgstr "#%s fûn, mar hat gjin bybehearrende #if"
|
|
||||||
|
|
||||||
msgid "too many nested includes"
|
|
||||||
msgstr "te folle neste #include's"
|
|
||||||
|
|
||||||
msgid "could not find file \"%s\" for include"
|
|
||||||
msgstr "koe bestân \"%s\" net fine foar #include"
|
|
||||||
|
|
||||||
msgid "too many nested macro expansion, breaking loop"
|
|
||||||
msgstr "te folle neste makro-útwurkingen, syklus ôfbrutsen"
|
|
||||||
|
|||||||
+2
-2
@@ -197,8 +197,8 @@ msgid "Could not create component %s"
|
|||||||
msgstr "Nem sikerült létrehozni a %s elemet"
|
msgstr "Nem sikerült létrehozni a %s elemet"
|
||||||
|
|
||||||
#: ../../../wmaker-crm/WINGs/userdefaults.c:65
|
#: ../../../wmaker-crm/WINGs/userdefaults.c:65
|
||||||
msgid "variable GNUSTEP_USER_ROOT defined with invalid path, not used"
|
msgid "variable WMAKER_USER_ROOT defined with invalid path, not used"
|
||||||
msgstr "A GNUSTEP_USER_ROOT változó be van állítva, de rossz értékre. Nem használom"
|
msgstr "A WMAKER_USER_ROOT változó be van állítva, de rossz értékre. Nem használom"
|
||||||
|
|
||||||
#. something happened with the file. just overwrite it
|
#. something happened with the file. just overwrite it
|
||||||
#: ../../../wmaker-crm/WINGs/userdefaults.c:196
|
#: ../../../wmaker-crm/WINGs/userdefaults.c:196
|
||||||
|
|||||||
+2
-2
@@ -389,9 +389,9 @@ msgid "Could not create component %s"
|
|||||||
msgstr "Kon component %s niet aanmaken"
|
msgstr "Kon component %s niet aanmaken"
|
||||||
|
|
||||||
#: ../../WINGs/userdefaults.c:72
|
#: ../../WINGs/userdefaults.c:72
|
||||||
msgid "variable GNUSTEP_USER_ROOT defined with invalid path, not used"
|
msgid "variable WMAKER_USER_ROOT defined with invalid path, not used"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"variabele GNUSTEP_USER_ROOT, gedefinieerd met ongeldig pad, niet gebruikt"
|
"variabele WMAKER_USER_ROOT, gedefinieerd met ongeldig pad, niet gebruikt"
|
||||||
|
|
||||||
#. something happened with the file. just overwrite it
|
#. something happened with the file. just overwrite it
|
||||||
#: ../../WINGs/userdefaults.c:210 ../../WINGs/userdefaults.c:225
|
#: ../../WINGs/userdefaults.c:210 ../../WINGs/userdefaults.c:225
|
||||||
|
|||||||
+21
-8
@@ -1253,22 +1253,34 @@ int WMGetPropListItemCount(WMPropList * plist)
|
|||||||
|
|
||||||
Bool WMIsPLString(WMPropList * plist)
|
Bool WMIsPLString(WMPropList * plist)
|
||||||
{
|
{
|
||||||
return (plist->type == WPLString);
|
if (plist)
|
||||||
|
return (plist->type == WPLString);
|
||||||
|
else
|
||||||
|
return False;
|
||||||
}
|
}
|
||||||
|
|
||||||
Bool WMIsPLData(WMPropList * plist)
|
Bool WMIsPLData(WMPropList * plist)
|
||||||
{
|
{
|
||||||
return (plist->type == WPLData);
|
if (plist)
|
||||||
|
return (plist->type == WPLData);
|
||||||
|
else
|
||||||
|
return False;
|
||||||
}
|
}
|
||||||
|
|
||||||
Bool WMIsPLArray(WMPropList * plist)
|
Bool WMIsPLArray(WMPropList * plist)
|
||||||
{
|
{
|
||||||
return (plist->type == WPLArray);
|
if (plist)
|
||||||
|
return (plist->type == WPLArray);
|
||||||
|
else
|
||||||
|
return False;
|
||||||
}
|
}
|
||||||
|
|
||||||
Bool WMIsPLDictionary(WMPropList * plist)
|
Bool WMIsPLDictionary(WMPropList * plist)
|
||||||
{
|
{
|
||||||
return (plist->type == WPLDictionary);
|
if (plist)
|
||||||
|
return (plist->type == WPLDictionary);
|
||||||
|
else
|
||||||
|
return False;
|
||||||
}
|
}
|
||||||
|
|
||||||
Bool WMIsPropListEqualTo(WMPropList * plist, WMPropList * other)
|
Bool WMIsPropListEqualTo(WMPropList * plist, WMPropList * other)
|
||||||
@@ -1683,6 +1695,7 @@ Bool WMWritePropListToFile(WMPropList * plist, const char *path)
|
|||||||
if (fprintf(theFile, "%s\n", desc) != strlen(desc) + 1) {
|
if (fprintf(theFile, "%s\n", desc) != strlen(desc) + 1) {
|
||||||
werror(_("writing to file: %s failed"), thePath);
|
werror(_("writing to file: %s failed"), thePath);
|
||||||
wfree(desc);
|
wfree(desc);
|
||||||
|
fclose(theFile);
|
||||||
goto failure;
|
goto failure;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1719,7 +1732,7 @@ Bool WMWritePropListToFile(WMPropList * plist, const char *path)
|
|||||||
* file, and the last component is stripped off. the rest is the
|
* file, and the last component is stripped off. the rest is the
|
||||||
* the hierarchy to be created.
|
* the hierarchy to be created.
|
||||||
*
|
*
|
||||||
* refuses to create anything outside $GNUSTEP_USER_ROOT
|
* refuses to create anything outside $WMAKER_USER_ROOT
|
||||||
*
|
*
|
||||||
* returns 1 on success, 0 on failure
|
* returns 1 on success, 0 on failure
|
||||||
*/
|
*/
|
||||||
@@ -1730,7 +1743,7 @@ int wmkdirhier(const char *path)
|
|||||||
size_t p, plen;
|
size_t p, plen;
|
||||||
struct stat st;
|
struct stat st;
|
||||||
|
|
||||||
/* Only create directories under $GNUSTEP_USER_ROOT */
|
/* Only create directories under $WMAKER_USER_ROOT */
|
||||||
if ((t = wusergnusteppath()) == NULL)
|
if ((t = wusergnusteppath()) == NULL)
|
||||||
return 0;
|
return 0;
|
||||||
if (strncmp(path, t, strlen(t)) != 0)
|
if (strncmp(path, t, strlen(t)) != 0)
|
||||||
@@ -1811,7 +1824,7 @@ static int wrmdirhier_fn(const char *path, const struct stat *st,
|
|||||||
/*
|
/*
|
||||||
* remove a directory hierarchy
|
* remove a directory hierarchy
|
||||||
*
|
*
|
||||||
* refuses to remove anything outside $GNUSTEP_USER_ROOT
|
* refuses to remove anything outside $WMAKER_USER_ROOT
|
||||||
*
|
*
|
||||||
* returns 1 on success, 0 on failure
|
* returns 1 on success, 0 on failure
|
||||||
*
|
*
|
||||||
@@ -1825,7 +1838,7 @@ int wrmdirhier(const char *path)
|
|||||||
int error;
|
int error;
|
||||||
const char *t;
|
const char *t;
|
||||||
|
|
||||||
/* Only remove directories under $GNUSTEP_USER_ROOT */
|
/* Only remove directories under $WMAKER_USER_ROOT */
|
||||||
if ((t = wusergnusteppath()) == NULL)
|
if ((t = wusergnusteppath()) == NULL)
|
||||||
return EPERM;
|
return EPERM;
|
||||||
if (strncmp(path, t, strlen(t)) != 0)
|
if (strncmp(path, t, strlen(t)) != 0)
|
||||||
|
|||||||
+1
-1
@@ -261,7 +261,7 @@ static WMData *getSelectionData(Display * dpy, Window win, Atom where)
|
|||||||
|
|
||||||
bpi = bits / 8;
|
bpi = bits / 8;
|
||||||
|
|
||||||
wdata = WMCreateDataWithBytesNoCopy(data, len * bpi, (WMFreeDataProc *) XFree);
|
wdata = WMCreateDataWithBytesNoCopy(data, len * bpi, (void *) XFree);
|
||||||
WMSetDataFormat(wdata, bits);
|
WMSetDataFormat(wdata, bits);
|
||||||
|
|
||||||
return wdata;
|
return wdata;
|
||||||
|
|||||||
@@ -59,9 +59,9 @@ const char *wusergnusteppath()
|
|||||||
return path;
|
return path;
|
||||||
|
|
||||||
#ifdef HAVE_SECURE_GETENV
|
#ifdef HAVE_SECURE_GETENV
|
||||||
gspath = secure_getenv("GNUSTEP_USER_ROOT");
|
gspath = secure_getenv("WMAKER_USER_ROOT");
|
||||||
#else
|
#else
|
||||||
gspath = getenv("GNUSTEP_USER_ROOT");
|
gspath = getenv("WMAKER_USER_ROOT");
|
||||||
#endif
|
#endif
|
||||||
if (gspath) {
|
if (gspath) {
|
||||||
gspath = wexpandpath(gspath);
|
gspath = wexpandpath(gspath);
|
||||||
@@ -69,7 +69,7 @@ const char *wusergnusteppath()
|
|||||||
path = gspath;
|
path = gspath;
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
wwarning(_("variable GNUSTEP_USER_ROOT defined with invalid path, not used"));
|
wwarning(_("variable WMAKER_USER_ROOT defined with invalid path, not used"));
|
||||||
}
|
}
|
||||||
|
|
||||||
h = wgethomedir();
|
h = wgethomedir();
|
||||||
@@ -103,17 +103,14 @@ char *wdefaultspathfordomain(const char *domain)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* XXX: doesn't quite belong to *user*defaults.c */
|
/* XXX: doesn't quite belong to *user*defaults.c */
|
||||||
#ifndef GLOBAL_DEFAULTS_SUBDIR
|
|
||||||
#define GLOBAL_DEFAULTS_SUBDIR "WindowMaker"
|
|
||||||
#endif
|
|
||||||
char *wglobaldefaultspathfordomain(const char *domain)
|
char *wglobaldefaultspathfordomain(const char *domain)
|
||||||
{
|
{
|
||||||
char *t = NULL;
|
char *t = NULL;
|
||||||
size_t len;
|
size_t len;
|
||||||
|
|
||||||
len = strlen( SYSCONFDIR ) + strlen( GLOBAL_DEFAULTS_SUBDIR ) + strlen(domain) + 3;
|
len = strlen(DEFSDATADIR) + strlen(domain) + 2;
|
||||||
t = wmalloc(len);
|
t = wmalloc(len);
|
||||||
snprintf(t, len, "%s/%s/%s", SYSCONFDIR, GLOBAL_DEFAULTS_SUBDIR, domain);
|
snprintf(t, len, "%s/%s", DEFSDATADIR, domain);
|
||||||
|
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ char *WMPathForResourceOfType(const char *resource, const char *ext)
|
|||||||
* Paths are searched in this order:
|
* Paths are searched in this order:
|
||||||
* - resourcePath/ext
|
* - resourcePath/ext
|
||||||
* - dirname(argv[0])/ext
|
* - dirname(argv[0])/ext
|
||||||
* - GNUSTEP_USER_ROOT/Applications/ApplicationName.app/ext
|
* - WMAKER_USER_ROOT/Applications/ApplicationName.app/ext
|
||||||
* - ~/GNUstep/Applications/ApplicationName.app/ext
|
* - ~/GNUstep/Applications/ApplicationName.app/ext
|
||||||
* - GNUSTEP_LOCAL_ROOT/Applications/ApplicationName.app/ext
|
* - GNUSTEP_LOCAL_ROOT/Applications/ApplicationName.app/ext
|
||||||
* - /usr/local/GNUstep/Applications/ApplicationName.app/ext
|
* - /usr/local/GNUstep/Applications/ApplicationName.app/ext
|
||||||
@@ -175,7 +175,7 @@ char *WMPathForResourceOfType(const char *resource, const char *ext)
|
|||||||
if (snprintf(appdir, slen, "Applications/%s.app", WMApplication.applicationName) >= slen)
|
if (snprintf(appdir, slen, "Applications/%s.app", WMApplication.applicationName) >= slen)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
path = checkFile(getenv("GNUSTEP_USER_ROOT"), appdir, ext, resource);
|
path = checkFile(getenv("WMAKER_USER_ROOT"), appdir, ext, resource);
|
||||||
if (path)
|
if (path)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
|
|||||||
+18
-12
@@ -67,9 +67,6 @@ static unsigned char Cursor_bits[] = {
|
|||||||
0x00, 0x00, 0x00, 0xb8, 0x00, 0x00, 0x00, 0x70
|
0x00, 0x00, 0x00, 0xb8, 0x00, 0x00, 0x00, 0x70
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Cursor shape-mask */
|
|
||||||
#define Cursor_shape_width 32
|
|
||||||
#define Cursor_shape_height 32
|
|
||||||
static unsigned char Cursor_shape_bits[] = {
|
static unsigned char Cursor_shape_bits[] = {
|
||||||
0x00, 0x7e, 0x00, 0x00, 0xc0, 0x81, 0x03, 0x00, 0x20, 0x00, 0x04, 0x00, 0x10, 0x00, 0x08,
|
0x00, 0x7e, 0x00, 0x00, 0xc0, 0x81, 0x03, 0x00, 0x20, 0x00, 0x04, 0x00, 0x10, 0x00, 0x08,
|
||||||
0x00, 0x08, 0x00, 0x10, 0x00, 0x04, 0x00, 0x20, 0x00, 0x02, 0x00, 0x40, 0x00, 0x02, 0x00,
|
0x00, 0x08, 0x00, 0x10, 0x00, 0x04, 0x00, 0x20, 0x00, 0x02, 0x00, 0x40, 0x00, 0x02, 0x00,
|
||||||
@@ -2388,6 +2385,8 @@ void rgbIntToChar(W_ColorPanel *panel, int *value)
|
|||||||
case RGBhex:
|
case RGBhex:
|
||||||
format = "%0X";
|
format = "%0X";
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
format = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
sprintf(tmp, format, value[0]);
|
sprintf(tmp, format, value[0]);
|
||||||
@@ -2646,7 +2645,7 @@ static void hsbTextFieldCallback(void *observerData, WMNotification * notificati
|
|||||||
{
|
{
|
||||||
CPColor cpColor;
|
CPColor cpColor;
|
||||||
int value[3];
|
int value[3];
|
||||||
char tmp[4];
|
char tmp[12]; /* We only 4 bytes needed, but compilers cannot know that */
|
||||||
int n;
|
int n;
|
||||||
W_ColorPanel *panel = (W_ColorPanel *) observerData;
|
W_ColorPanel *panel = (W_ColorPanel *) observerData;
|
||||||
|
|
||||||
@@ -3399,6 +3398,9 @@ static void rgbInit(W_ColorPanel * panel)
|
|||||||
case RGBhex:
|
case RGBhex:
|
||||||
format = "%0X";
|
format = "%0X";
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
/* Avoid compiler warning */
|
||||||
|
format = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
sprintf(tmp, format, panel->color.rgb.red);
|
sprintf(tmp, format, panel->color.rgb.red);
|
||||||
@@ -3451,7 +3453,7 @@ static void hsbInit(W_ColorPanel * panel)
|
|||||||
WMSetSliderValue(panel->hsbSaturationS, value[1]);
|
WMSetSliderValue(panel->hsbSaturationS, value[1]);
|
||||||
WMSetSliderValue(panel->hsbBrightnessS, value[2]);
|
WMSetSliderValue(panel->hsbBrightnessS, value[2]);
|
||||||
|
|
||||||
sprintf(tmp, "%d", value[0]);
|
sprintf(tmp, "%hu", value[0]);
|
||||||
WMSetTextFieldText(panel->hsbHueT, tmp);
|
WMSetTextFieldText(panel->hsbHueT, tmp);
|
||||||
sprintf(tmp, "%d", value[1]);
|
sprintf(tmp, "%d", value[1]);
|
||||||
WMSetTextFieldText(panel->hsbSaturationT, tmp);
|
WMSetTextFieldText(panel->hsbSaturationT, tmp);
|
||||||
@@ -3502,13 +3504,17 @@ static void convertCPColor(CPColor * color)
|
|||||||
old_hue = color->hsv.hue;
|
old_hue = color->hsv.hue;
|
||||||
RRGBtoHSV(&(color->rgb), &(color->hsv));
|
RRGBtoHSV(&(color->rgb), &(color->hsv));
|
||||||
|
|
||||||
/* In black the hue is undefined, and may change by conversion
|
/*
|
||||||
* Same for white. */
|
* For pure grey colors, the Hue is generally calculated
|
||||||
if (((color->rgb.red == 0) &&
|
* as 0, but in reality the Hue does not matter.
|
||||||
(color->rgb.green == 0) &&
|
*
|
||||||
(color->rgb.blue == 0)) ||
|
* But in an interactive GUI it is interresting to remember
|
||||||
((color->rgb.red == 0) && (color->rgb.green == 0) && (color->rgb.blue == 255))
|
* the previous Hue because if user moves away from perfect
|
||||||
)
|
* grey then he could be interrested in finding back his
|
||||||
|
* previous tint
|
||||||
|
*/
|
||||||
|
if ((color->rgb.red == color->rgb.green) &&
|
||||||
|
(color->rgb.red == color->rgb.blue) )
|
||||||
color->hsv.hue = old_hue;
|
color->hsv.hue = old_hue;
|
||||||
break;
|
break;
|
||||||
case cpHSV:
|
case cpHSV:
|
||||||
|
|||||||
@@ -237,6 +237,16 @@ char *WMGetFontName(WMFont * font)
|
|||||||
return font->name;
|
return font->name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void WMGetScaleBaseFromSystemFont(WMScreen *scrPtr, int *alphabetWidth, int *fontHeight)
|
||||||
|
{
|
||||||
|
WMFont *font;
|
||||||
|
|
||||||
|
font = WMDefaultSystemFont(scrPtr);
|
||||||
|
*alphabetWidth = WMWidthOfString(font, "abcdefghijklmnopqrstuvwxyz", 26);
|
||||||
|
*fontHeight = WMFontHeight(font);
|
||||||
|
WMReleaseFont(font);
|
||||||
|
}
|
||||||
|
|
||||||
WMFont *WMDefaultSystemFont(WMScreen * scrPtr)
|
WMFont *WMDefaultSystemFont(WMScreen * scrPtr)
|
||||||
{
|
{
|
||||||
return WMRetainFont(scrPtr->normalFont);
|
return WMRetainFont(scrPtr->normalFont);
|
||||||
|
|||||||
+2
-2
@@ -700,7 +700,7 @@ static void typefaceClick(WMWidget * w, void *data)
|
|||||||
|
|
||||||
WM_ITERATE_ARRAY(face->sizes, size, i) {
|
WM_ITERATE_ARRAY(face->sizes, size, i) {
|
||||||
if (size != NULL) {
|
if (size != NULL) {
|
||||||
int size_int = (int) size;
|
int size_int = (intptr_t) size;
|
||||||
|
|
||||||
sprintf(buffer, "%i", size_int);
|
sprintf(buffer, "%i", size_int);
|
||||||
|
|
||||||
@@ -802,7 +802,7 @@ static void setFontPanelFontName(FontPanel * panel, const char *family, const ch
|
|||||||
char buffer[32];
|
char buffer[32];
|
||||||
|
|
||||||
if (vsize != NULL) {
|
if (vsize != NULL) {
|
||||||
int size_int = (int) vsize;
|
int size_int = (intptr_t) vsize;
|
||||||
|
|
||||||
sprintf(buffer, "%i", size_int);
|
sprintf(buffer, "%i", size_int);
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -385,6 +385,7 @@ static void renderPixmap(W_Screen * screen, Pixmap d, Pixmap mask, char **data,
|
|||||||
if (mask)
|
if (mask)
|
||||||
XDrawPoint(screen->display, mask, screen->monoGC, x, y);
|
XDrawPoint(screen->display, mask, screen->monoGC, x, y);
|
||||||
|
|
||||||
|
/* FALLTHRU */
|
||||||
case '.':
|
case '.':
|
||||||
case 'l':
|
case 'l':
|
||||||
XDrawPoint(screen->display, d, lightGC, x, y);
|
XDrawPoint(screen->display, d, lightGC, x, y);
|
||||||
@@ -944,7 +945,7 @@ void WMSetFocusToWidget(WMWidget * widget)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* WMRealizeWidget-
|
* WMRealizeWidget-
|
||||||
* Realizes the widget and all it's children.
|
* Realizes the widget and all its children.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
void WMRealizeWidget(WMWidget * w)
|
void WMRealizeWidget(WMWidget * w)
|
||||||
|
|||||||
+287
-7
@@ -89,10 +89,12 @@ WMAlertPanel *WMCreateAlertPanel(WMScreen * scrPtr, WMWindow * owner,
|
|||||||
const char *alternateButton, const char *otherButton)
|
const char *alternateButton, const char *otherButton)
|
||||||
{
|
{
|
||||||
WMAlertPanel *panel;
|
WMAlertPanel *panel;
|
||||||
|
WMFont *defaultFont;
|
||||||
int dw = 0, aw = 0, ow = 0, w;
|
int dw = 0, aw = 0, ow = 0, w;
|
||||||
WMBox *hbox;
|
WMBox *hbox;
|
||||||
WMPixmap *icon;
|
WMPixmap *icon;
|
||||||
|
|
||||||
|
defaultFont = WMSystemFontOfSize(scrPtr, 12);
|
||||||
panel = wmalloc(sizeof(WMAlertPanel));
|
panel = wmalloc(sizeof(WMAlertPanel));
|
||||||
|
|
||||||
if (owner) {
|
if (owner) {
|
||||||
@@ -160,6 +162,7 @@ WMAlertPanel *WMCreateAlertPanel(WMScreen * scrPtr, WMWindow * owner,
|
|||||||
WMFontHeight(scrPtr->normalFont) * 4, 0, 5);
|
WMFontHeight(scrPtr->normalFont) * 4, 0, 5);
|
||||||
WMSetLabelText(panel->mLbl, msg);
|
WMSetLabelText(panel->mLbl, msg);
|
||||||
WMSetLabelTextAlignment(panel->mLbl, WACenter);
|
WMSetLabelTextAlignment(panel->mLbl, WACenter);
|
||||||
|
WMSetLabelFont(panel->mLbl, defaultFont);
|
||||||
}
|
}
|
||||||
|
|
||||||
panel->hbox = WMCreateBox(panel->vbox);
|
panel->hbox = WMCreateBox(panel->vbox);
|
||||||
@@ -170,13 +173,13 @@ WMAlertPanel *WMCreateAlertPanel(WMScreen * scrPtr, WMWindow * owner,
|
|||||||
|
|
||||||
/* create buttons */
|
/* create buttons */
|
||||||
if (otherButton)
|
if (otherButton)
|
||||||
ow = WMWidthOfString(scrPtr->normalFont, otherButton, strlen(otherButton));
|
ow = WMWidthOfString(defaultFont, otherButton, strlen(otherButton));
|
||||||
|
|
||||||
if (alternateButton)
|
if (alternateButton)
|
||||||
aw = WMWidthOfString(scrPtr->normalFont, alternateButton, strlen(alternateButton));
|
aw = WMWidthOfString(defaultFont, alternateButton, strlen(alternateButton));
|
||||||
|
|
||||||
if (defaultButton)
|
if (defaultButton)
|
||||||
dw = WMWidthOfString(scrPtr->normalFont, defaultButton, strlen(defaultButton));
|
dw = WMWidthOfString(defaultFont, defaultButton, strlen(defaultButton));
|
||||||
|
|
||||||
dw = dw + (scrPtr->buttonArrow ? scrPtr->buttonArrow->width : 0);
|
dw = dw + (scrPtr->buttonArrow ? scrPtr->buttonArrow->width : 0);
|
||||||
|
|
||||||
@@ -206,18 +209,187 @@ WMAlertPanel *WMCreateAlertPanel(WMScreen * scrPtr, WMWindow * owner,
|
|||||||
WMSetButtonImage(panel->defBtn, scrPtr->buttonArrow);
|
WMSetButtonImage(panel->defBtn, scrPtr->buttonArrow);
|
||||||
WMSetButtonAltImage(panel->defBtn, scrPtr->pushedButtonArrow);
|
WMSetButtonAltImage(panel->defBtn, scrPtr->pushedButtonArrow);
|
||||||
WMSetButtonImagePosition(panel->defBtn, WIPRight);
|
WMSetButtonImagePosition(panel->defBtn, WIPRight);
|
||||||
|
WMSetButtonFont(panel->defBtn, defaultFont);
|
||||||
}
|
}
|
||||||
if (alternateButton) {
|
if (alternateButton) {
|
||||||
panel->altBtn = WMCreateCommandButton(panel->hbox);
|
panel->altBtn = WMCreateCommandButton(panel->hbox);
|
||||||
WMAddBoxSubviewAtEnd(panel->hbox, WMWidgetView(panel->altBtn), False, True, aw, 0, 5);
|
WMAddBoxSubviewAtEnd(panel->hbox, WMWidgetView(panel->altBtn), False, True, aw, 0, 5);
|
||||||
WMSetButtonAction(panel->altBtn, alertPanelOnClick, panel);
|
WMSetButtonAction(panel->altBtn, alertPanelOnClick, panel);
|
||||||
WMSetButtonText(panel->altBtn, alternateButton);
|
WMSetButtonText(panel->altBtn, alternateButton);
|
||||||
|
WMSetButtonFont(panel->altBtn, defaultFont);
|
||||||
}
|
}
|
||||||
if (otherButton) {
|
if (otherButton) {
|
||||||
panel->othBtn = WMCreateCommandButton(panel->hbox);
|
panel->othBtn = WMCreateCommandButton(panel->hbox);
|
||||||
WMSetButtonAction(panel->othBtn, alertPanelOnClick, panel);
|
WMSetButtonAction(panel->othBtn, alertPanelOnClick, panel);
|
||||||
WMAddBoxSubviewAtEnd(panel->hbox, WMWidgetView(panel->othBtn), False, True, ow, 0, 5);
|
WMAddBoxSubviewAtEnd(panel->hbox, WMWidgetView(panel->othBtn), False, True, ow, 0, 5);
|
||||||
WMSetButtonText(panel->othBtn, otherButton);
|
WMSetButtonText(panel->othBtn, otherButton);
|
||||||
|
WMSetButtonFont(panel->othBtn, defaultFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
WMMapSubwidgets(panel->hbox);
|
||||||
|
|
||||||
|
WMCreateEventHandler(W_VIEW(panel->win), KeyPressMask, handleKeyPress, panel);
|
||||||
|
|
||||||
|
WMRealizeWidget(panel->win);
|
||||||
|
WMMapSubwidgets(panel->win);
|
||||||
|
|
||||||
|
WMReleaseFont(defaultFont);
|
||||||
|
|
||||||
|
return panel;
|
||||||
|
}
|
||||||
|
|
||||||
|
WMAlertPanel *WMCreateScaledAlertPanel(WMScreen * scrPtr, WMWindow * owner,
|
||||||
|
const char *title, const char *msg, const char *defaultButton,
|
||||||
|
const char *alternateButton, const char *otherButton)
|
||||||
|
{
|
||||||
|
WMAlertPanel *panel;
|
||||||
|
int dw = 0, aw = 0, ow = 0, w;
|
||||||
|
WMBox *hbox;
|
||||||
|
WMPixmap *icon;
|
||||||
|
int wmScaleWidth, wmScaleHeight;
|
||||||
|
int pwidth, pheight;
|
||||||
|
|
||||||
|
panel = wmalloc(sizeof(WMAlertPanel));
|
||||||
|
|
||||||
|
if (owner) {
|
||||||
|
panel->win = WMCreatePanelWithStyleForWindow(owner, "alertPanel", WMTitledWindowMask);
|
||||||
|
} else {
|
||||||
|
panel->win = WMCreateWindowWithStyle(scrPtr, "alertPanel", WMTitledWindowMask);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* calculate and set the panel's size */
|
||||||
|
WMGetScaleBaseFromSystemFont(scrPtr, &wmScaleWidth, &wmScaleHeight);
|
||||||
|
pwidth = WMScaleX(400);
|
||||||
|
pheight = WMScaleY(5) /* upper margin */
|
||||||
|
+ 64 /* icon size */
|
||||||
|
+ WMScaleY(5) /* space between icon and divider line */
|
||||||
|
+ 2 /* divider line */
|
||||||
|
+ WMScaleY(5); /* space between divider line and message */
|
||||||
|
if (msg)
|
||||||
|
pheight += WMFontHeight(scrPtr->normalFont) * 4 + WMScaleY(5);
|
||||||
|
pheight += WMScaleY(44);
|
||||||
|
WMResizeWidget(panel->win, pwidth, pheight);
|
||||||
|
|
||||||
|
WMSetWindowInitialPosition(panel->win,
|
||||||
|
(scrPtr->rootView->size.width - pwidth) / 2,
|
||||||
|
(scrPtr->rootView->size.height - pheight) / 2);
|
||||||
|
|
||||||
|
WMSetWindowTitle(panel->win, "");
|
||||||
|
|
||||||
|
panel->vbox = WMCreateBox(panel->win);
|
||||||
|
WMSetViewExpandsToParent(WMWidgetView(panel->vbox), 0, 0, 0, 0);
|
||||||
|
WMSetBoxHorizontal(panel->vbox, False);
|
||||||
|
WMMapWidget(panel->vbox);
|
||||||
|
|
||||||
|
hbox = WMCreateBox(panel->vbox);
|
||||||
|
WMSetBoxBorderWidth(hbox, WMScaleX(5));
|
||||||
|
WMSetBoxHorizontal(hbox, True);
|
||||||
|
WMMapWidget(hbox);
|
||||||
|
WMAddBoxSubview(panel->vbox, WMWidgetView(hbox), False, True, 64 + 2 * WMScaleY(5), 0, WMScaleY(5));
|
||||||
|
|
||||||
|
panel->iLbl = WMCreateLabel(hbox);
|
||||||
|
WMSetLabelImagePosition(panel->iLbl, WIPImageOnly);
|
||||||
|
WMMapWidget(panel->iLbl);
|
||||||
|
WMAddBoxSubview(hbox, WMWidgetView(panel->iLbl), False, True, 64, 0, 10);
|
||||||
|
icon = WMCreateApplicationIconBlendedPixmap(scrPtr, (RColor *) NULL);
|
||||||
|
if (icon) {
|
||||||
|
WMSetLabelImage(panel->iLbl, icon);
|
||||||
|
WMReleasePixmap(icon);
|
||||||
|
} else {
|
||||||
|
WMSetLabelImage(panel->iLbl, scrPtr->applicationIconPixmap);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (title) {
|
||||||
|
WMFont *largeFont;
|
||||||
|
|
||||||
|
largeFont = WMBoldSystemFontOfSize(scrPtr, 24);
|
||||||
|
|
||||||
|
panel->tLbl = WMCreateLabel(hbox);
|
||||||
|
WMMapWidget(panel->tLbl);
|
||||||
|
WMAddBoxSubview(hbox, WMWidgetView(panel->tLbl), True, True, 64, 0, 0);
|
||||||
|
WMSetLabelText(panel->tLbl, title);
|
||||||
|
WMSetLabelTextAlignment(panel->tLbl, WALeft);
|
||||||
|
WMSetLabelFont(panel->tLbl, largeFont);
|
||||||
|
|
||||||
|
WMReleaseFont(largeFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* create divider line */
|
||||||
|
|
||||||
|
panel->line = WMCreateFrame(panel->win);
|
||||||
|
WMMapWidget(panel->line);
|
||||||
|
WMAddBoxSubview(panel->vbox, WMWidgetView(panel->line), False, True, 2, 2, WMScaleY(5));
|
||||||
|
WMSetFrameRelief(panel->line, WRGroove);
|
||||||
|
|
||||||
|
if (msg) {
|
||||||
|
panel->mLbl = WMCreateLabel(panel->vbox);
|
||||||
|
WMSetLabelWraps(panel->mLbl, True);
|
||||||
|
WMMapWidget(panel->mLbl);
|
||||||
|
WMAddBoxSubview(panel->vbox, WMWidgetView(panel->mLbl), True, True,
|
||||||
|
WMFontHeight(scrPtr->normalFont) * 4, 0, WMScaleY(5));
|
||||||
|
WMSetLabelText(panel->mLbl, msg);
|
||||||
|
WMSetLabelTextAlignment(panel->mLbl, WACenter);
|
||||||
|
}
|
||||||
|
|
||||||
|
panel->hbox = WMCreateBox(panel->vbox);
|
||||||
|
WMSetBoxBorderWidth(panel->hbox, WMScaleX(10));
|
||||||
|
WMSetBoxHorizontal(panel->hbox, True);
|
||||||
|
WMMapWidget(panel->hbox);
|
||||||
|
WMAddBoxSubview(panel->vbox, WMWidgetView(panel->hbox), False, True, WMScaleY(44), 0, 0);
|
||||||
|
|
||||||
|
/* create buttons */
|
||||||
|
if (otherButton)
|
||||||
|
ow = WMWidthOfString(scrPtr->normalFont, otherButton, strlen(otherButton));
|
||||||
|
|
||||||
|
if (alternateButton)
|
||||||
|
aw = WMWidthOfString(scrPtr->normalFont, alternateButton, strlen(alternateButton));
|
||||||
|
|
||||||
|
if (defaultButton)
|
||||||
|
dw = WMWidthOfString(scrPtr->normalFont, defaultButton, strlen(defaultButton));
|
||||||
|
|
||||||
|
dw = dw + (scrPtr->buttonArrow ? scrPtr->buttonArrow->width : 0);
|
||||||
|
|
||||||
|
aw += WMScaleX(30);
|
||||||
|
ow += WMScaleX(30);
|
||||||
|
dw += WMScaleX(30);
|
||||||
|
|
||||||
|
w = WMAX(dw, WMAX(aw, ow));
|
||||||
|
if ((w + WMScaleX(10)) * 3 < pwidth) {
|
||||||
|
aw = w;
|
||||||
|
ow = w;
|
||||||
|
dw = w;
|
||||||
|
} else {
|
||||||
|
int t;
|
||||||
|
|
||||||
|
t = pwidth - 4 * WMScaleX(10) - aw - ow - dw;
|
||||||
|
aw += t / 3;
|
||||||
|
ow += t / 3;
|
||||||
|
dw += t / 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (defaultButton) {
|
||||||
|
panel->defBtn = WMCreateCommandButton(panel->hbox);
|
||||||
|
WMResizeWidget(panel->defBtn, dw, WMScaleY(24));
|
||||||
|
WMSetButtonAction(panel->defBtn, alertPanelOnClick, panel);
|
||||||
|
WMAddBoxSubviewAtEnd(panel->hbox, WMWidgetView(panel->defBtn), False, True, dw, 0, 0);
|
||||||
|
WMSetButtonText(panel->defBtn, defaultButton);
|
||||||
|
WMSetButtonImage(panel->defBtn, scrPtr->buttonArrow);
|
||||||
|
WMSetButtonAltImage(panel->defBtn, scrPtr->pushedButtonArrow);
|
||||||
|
WMSetButtonImagePosition(panel->defBtn, WIPRight);
|
||||||
|
}
|
||||||
|
if (alternateButton) {
|
||||||
|
panel->altBtn = WMCreateCommandButton(panel->hbox);
|
||||||
|
WMResizeWidget(panel->altBtn, aw, WMScaleY(24));
|
||||||
|
WMAddBoxSubviewAtEnd(panel->hbox, WMWidgetView(panel->altBtn), False, True, aw, 0, WMScaleX(5));
|
||||||
|
WMSetButtonAction(panel->altBtn, alertPanelOnClick, panel);
|
||||||
|
WMSetButtonText(panel->altBtn, alternateButton);
|
||||||
|
}
|
||||||
|
if (otherButton) {
|
||||||
|
panel->othBtn = WMCreateCommandButton(panel->hbox);
|
||||||
|
WMResizeWidget(panel->othBtn, ow, WMScaleY(24));
|
||||||
|
WMSetButtonAction(panel->othBtn, alertPanelOnClick, panel);
|
||||||
|
WMAddBoxSubviewAtEnd(panel->hbox, WMWidgetView(panel->othBtn), False, True, ow, 0, WMScaleX(5));
|
||||||
|
WMSetButtonText(panel->othBtn, otherButton);
|
||||||
}
|
}
|
||||||
|
|
||||||
WMMapSubwidgets(panel->hbox);
|
WMMapSubwidgets(panel->hbox);
|
||||||
@@ -338,8 +510,10 @@ WMInputPanel *WMCreateInputPanel(WMScreen * scrPtr, WMWindow * owner, const char
|
|||||||
const char *defaultText, const char *okButton, const char *cancelButton)
|
const char *defaultText, const char *okButton, const char *cancelButton)
|
||||||
{
|
{
|
||||||
WMInputPanel *panel;
|
WMInputPanel *panel;
|
||||||
|
WMFont *defaultFont;
|
||||||
int x, dw = 0, aw = 0, w;
|
int x, dw = 0, aw = 0, w;
|
||||||
|
|
||||||
|
defaultFont = WMSystemFontOfSize(scrPtr, 12);
|
||||||
panel = wmalloc(sizeof(WMInputPanel));
|
panel = wmalloc(sizeof(WMInputPanel));
|
||||||
|
|
||||||
if (owner)
|
if (owner)
|
||||||
@@ -371,21 +545,23 @@ WMInputPanel *WMCreateInputPanel(WMScreen * scrPtr, WMWindow * owner, const char
|
|||||||
WMResizeWidget(panel->mLbl, 320 - 40, WMFontHeight(scrPtr->normalFont) * 2);
|
WMResizeWidget(panel->mLbl, 320 - 40, WMFontHeight(scrPtr->normalFont) * 2);
|
||||||
WMSetLabelText(panel->mLbl, msg);
|
WMSetLabelText(panel->mLbl, msg);
|
||||||
WMSetLabelTextAlignment(panel->mLbl, WALeft);
|
WMSetLabelTextAlignment(panel->mLbl, WALeft);
|
||||||
|
WMSetLabelFont(panel->mLbl, defaultFont);
|
||||||
}
|
}
|
||||||
|
|
||||||
panel->text = WMCreateTextField(panel->win);
|
panel->text = WMCreateTextField(panel->win);
|
||||||
WMMoveWidget(panel->text, 20, 85);
|
WMMoveWidget(panel->text, 20, 85);
|
||||||
WMResizeWidget(panel->text, 320 - 40, WMWidgetHeight(panel->text));
|
WMResizeWidget(panel->text, 320 - 40, WMWidgetHeight(panel->text));
|
||||||
WMSetTextFieldText(panel->text, defaultText);
|
WMSetTextFieldText(panel->text, defaultText);
|
||||||
|
WMSetTextFieldFont(panel->text, defaultFont);
|
||||||
|
|
||||||
WMAddNotificationObserver(endedEditingObserver, panel, WMTextDidEndEditingNotification, panel->text);
|
WMAddNotificationObserver(endedEditingObserver, panel, WMTextDidEndEditingNotification, panel->text);
|
||||||
|
|
||||||
/* create buttons */
|
/* create buttons */
|
||||||
if (cancelButton)
|
if (cancelButton)
|
||||||
aw = WMWidthOfString(scrPtr->normalFont, cancelButton, strlen(cancelButton));
|
aw = WMWidthOfString(defaultFont, cancelButton, strlen(cancelButton));
|
||||||
|
|
||||||
if (okButton)
|
if (okButton)
|
||||||
dw = WMWidthOfString(scrPtr->normalFont, okButton, strlen(okButton));
|
dw = WMWidthOfString(defaultFont, okButton, strlen(okButton));
|
||||||
|
|
||||||
w = dw + (scrPtr->buttonArrow ? scrPtr->buttonArrow->width : 0);
|
w = dw + (scrPtr->buttonArrow ? scrPtr->buttonArrow->width : 0);
|
||||||
if (aw > w)
|
if (aw > w)
|
||||||
@@ -406,6 +582,7 @@ WMInputPanel *WMCreateInputPanel(WMScreen * scrPtr, WMWindow * owner, const char
|
|||||||
WMSetButtonImage(panel->defBtn, scrPtr->buttonArrow);
|
WMSetButtonImage(panel->defBtn, scrPtr->buttonArrow);
|
||||||
WMSetButtonAltImage(panel->defBtn, scrPtr->pushedButtonArrow);
|
WMSetButtonAltImage(panel->defBtn, scrPtr->pushedButtonArrow);
|
||||||
WMSetButtonImagePosition(panel->defBtn, WIPRight);
|
WMSetButtonImagePosition(panel->defBtn, WIPRight);
|
||||||
|
WMSetButtonFont(panel->defBtn, defaultFont);
|
||||||
}
|
}
|
||||||
if (cancelButton) {
|
if (cancelButton) {
|
||||||
x -= w + 10;
|
x -= w + 10;
|
||||||
@@ -415,6 +592,104 @@ WMInputPanel *WMCreateInputPanel(WMScreen * scrPtr, WMWindow * owner, const char
|
|||||||
WMMoveWidget(panel->altBtn, x, 124);
|
WMMoveWidget(panel->altBtn, x, 124);
|
||||||
WMResizeWidget(panel->altBtn, w, 24);
|
WMResizeWidget(panel->altBtn, w, 24);
|
||||||
WMSetButtonText(panel->altBtn, cancelButton);
|
WMSetButtonText(panel->altBtn, cancelButton);
|
||||||
|
WMSetButtonFont(panel->altBtn, defaultFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
WMCreateEventHandler(W_VIEW(panel->win), KeyPressMask, handleKeyPress2, panel);
|
||||||
|
|
||||||
|
WMRealizeWidget(panel->win);
|
||||||
|
WMMapSubwidgets(panel->win);
|
||||||
|
|
||||||
|
WMSetFocusToWidget(panel->text);
|
||||||
|
|
||||||
|
WMReleaseFont(defaultFont);
|
||||||
|
|
||||||
|
return panel;
|
||||||
|
}
|
||||||
|
|
||||||
|
WMInputPanel *WMCreateScaledInputPanel(WMScreen * scrPtr, WMWindow * owner, const char *title, const char *msg,
|
||||||
|
const char *defaultText, const char *okButton, const char *cancelButton)
|
||||||
|
{
|
||||||
|
WMInputPanel *panel;
|
||||||
|
int x, dw = 0, aw = 0, w;
|
||||||
|
int wmScaleWidth, wmScaleHeight;
|
||||||
|
|
||||||
|
panel = wmalloc(sizeof(WMInputPanel));
|
||||||
|
|
||||||
|
if (owner)
|
||||||
|
panel->win = WMCreatePanelWithStyleForWindow(owner, "inputPanel", WMTitledWindowMask);
|
||||||
|
else
|
||||||
|
panel->win = WMCreateWindowWithStyle(scrPtr, "inputPanel", WMTitledWindowMask);
|
||||||
|
WMSetWindowTitle(panel->win, "");
|
||||||
|
|
||||||
|
WMGetScaleBaseFromSystemFont(scrPtr, &wmScaleWidth, &wmScaleHeight);
|
||||||
|
WMResizeWidget(panel->win, WMScaleX(320), WMScaleY(160));
|
||||||
|
|
||||||
|
if (title) {
|
||||||
|
WMFont *largeFont;
|
||||||
|
|
||||||
|
largeFont = WMBoldSystemFontOfSize(scrPtr, WMScaleY(24));
|
||||||
|
|
||||||
|
panel->tLbl = WMCreateLabel(panel->win);
|
||||||
|
WMMoveWidget(panel->tLbl, WMScaleX(20), WMScaleY(16));
|
||||||
|
WMResizeWidget(panel->tLbl, WMScaleX(320) - 2 * WMScaleX(20), WMFontHeight(largeFont) + WMScaleY(4));
|
||||||
|
WMSetLabelText(panel->tLbl, title);
|
||||||
|
WMSetLabelTextAlignment(panel->tLbl, WALeft);
|
||||||
|
WMSetLabelFont(panel->tLbl, largeFont);
|
||||||
|
|
||||||
|
WMReleaseFont(largeFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (msg) {
|
||||||
|
panel->mLbl = WMCreateLabel(panel->win);
|
||||||
|
WMMoveWidget(panel->mLbl, WMScaleX(20), WMScaleY(50));
|
||||||
|
WMResizeWidget(panel->mLbl, WMScaleX(320) - 2 * WMScaleX(20), WMFontHeight(scrPtr->normalFont) * 2);
|
||||||
|
WMSetLabelText(panel->mLbl, msg);
|
||||||
|
WMSetLabelTextAlignment(panel->mLbl, WALeft);
|
||||||
|
}
|
||||||
|
|
||||||
|
panel->text = WMCreateTextField(panel->win);
|
||||||
|
WMMoveWidget(panel->text, WMScaleX(20), WMScaleY(85));
|
||||||
|
WMResizeWidget(panel->text, WMScaleX(320) - 2 * WMScaleX(20), WMScaleY(20));
|
||||||
|
WMSetTextFieldText(panel->text, defaultText);
|
||||||
|
|
||||||
|
WMAddNotificationObserver(endedEditingObserver, panel, WMTextDidEndEditingNotification, panel->text);
|
||||||
|
|
||||||
|
/* create buttons */
|
||||||
|
if (cancelButton)
|
||||||
|
aw = WMWidthOfString(scrPtr->normalFont, cancelButton, strlen(cancelButton));
|
||||||
|
|
||||||
|
if (okButton)
|
||||||
|
dw = WMWidthOfString(scrPtr->normalFont, okButton, strlen(okButton));
|
||||||
|
|
||||||
|
w = dw + (scrPtr->buttonArrow ? scrPtr->buttonArrow->width : 0);
|
||||||
|
if (aw > w)
|
||||||
|
w = aw;
|
||||||
|
|
||||||
|
w += WMScaleX(30);
|
||||||
|
x = WMScaleX(310);
|
||||||
|
|
||||||
|
if (okButton) {
|
||||||
|
x -= w + WMScaleX(10);
|
||||||
|
|
||||||
|
panel->defBtn = WMCreateCustomButton(panel->win, WBBPushInMask
|
||||||
|
| WBBPushChangeMask | WBBPushLightMask);
|
||||||
|
WMSetButtonAction(panel->defBtn, inputBoxOnClick, panel);
|
||||||
|
WMMoveWidget(panel->defBtn, x, WMScaleY(124));
|
||||||
|
WMResizeWidget(panel->defBtn, w, WMScaleY(24));
|
||||||
|
WMSetButtonText(panel->defBtn, okButton);
|
||||||
|
WMSetButtonImage(panel->defBtn, scrPtr->buttonArrow);
|
||||||
|
WMSetButtonAltImage(panel->defBtn, scrPtr->pushedButtonArrow);
|
||||||
|
WMSetButtonImagePosition(panel->defBtn, WIPRight);
|
||||||
|
}
|
||||||
|
if (cancelButton) {
|
||||||
|
x -= w + WMScaleX(10);
|
||||||
|
|
||||||
|
panel->altBtn = WMCreateCommandButton(panel->win);
|
||||||
|
WMSetButtonAction(panel->altBtn, inputBoxOnClick, panel);
|
||||||
|
WMMoveWidget(panel->altBtn, x, WMScaleY(124));
|
||||||
|
WMResizeWidget(panel->altBtn, w, WMScaleY(24));
|
||||||
|
WMSetButtonText(panel->altBtn, cancelButton);
|
||||||
}
|
}
|
||||||
|
|
||||||
WMCreateEventHandler(W_VIEW(panel->win), KeyPressMask, handleKeyPress2, panel);
|
WMCreateEventHandler(W_VIEW(panel->win), KeyPressMask, handleKeyPress2, panel);
|
||||||
@@ -457,10 +732,12 @@ WMGenericPanel *WMCreateGenericPanel(WMScreen * scrPtr, WMWindow * owner,
|
|||||||
const char *title, const char *defaultButton, const char *alternateButton)
|
const char *title, const char *defaultButton, const char *alternateButton)
|
||||||
{
|
{
|
||||||
WMGenericPanel *panel;
|
WMGenericPanel *panel;
|
||||||
|
WMFont *defaultFont;
|
||||||
int dw = 0, aw = 0, w;
|
int dw = 0, aw = 0, w;
|
||||||
WMBox *hbox;
|
WMBox *hbox;
|
||||||
WMPixmap *icon;
|
WMPixmap *icon;
|
||||||
|
|
||||||
|
defaultFont = WMSystemFontOfSize(scrPtr, 12);
|
||||||
panel = wmalloc(sizeof(WMGenericPanel));
|
panel = wmalloc(sizeof(WMGenericPanel));
|
||||||
|
|
||||||
if (owner) {
|
if (owner) {
|
||||||
@@ -533,10 +810,10 @@ WMGenericPanel *WMCreateGenericPanel(WMScreen * scrPtr, WMWindow * owner,
|
|||||||
|
|
||||||
/* create buttons */
|
/* create buttons */
|
||||||
if (defaultButton)
|
if (defaultButton)
|
||||||
dw = WMWidthOfString(scrPtr->normalFont, defaultButton, strlen(defaultButton));
|
dw = WMWidthOfString(defaultFont, defaultButton, strlen(defaultButton));
|
||||||
|
|
||||||
if (alternateButton)
|
if (alternateButton)
|
||||||
aw = WMWidthOfString(scrPtr->normalFont, alternateButton, strlen(alternateButton));
|
aw = WMWidthOfString(defaultFont, alternateButton, strlen(alternateButton));
|
||||||
|
|
||||||
dw = dw + (scrPtr->buttonArrow ? scrPtr->buttonArrow->width : 0);
|
dw = dw + (scrPtr->buttonArrow ? scrPtr->buttonArrow->width : 0);
|
||||||
|
|
||||||
@@ -561,6 +838,7 @@ WMGenericPanel *WMCreateGenericPanel(WMScreen * scrPtr, WMWindow * owner,
|
|||||||
WMSetButtonImage(panel->defBtn, scrPtr->buttonArrow);
|
WMSetButtonImage(panel->defBtn, scrPtr->buttonArrow);
|
||||||
WMSetButtonAltImage(panel->defBtn, scrPtr->pushedButtonArrow);
|
WMSetButtonAltImage(panel->defBtn, scrPtr->pushedButtonArrow);
|
||||||
WMSetButtonImagePosition(panel->defBtn, WIPRight);
|
WMSetButtonImagePosition(panel->defBtn, WIPRight);
|
||||||
|
WMSetButtonFont(panel->defBtn, defaultFont);
|
||||||
}
|
}
|
||||||
|
|
||||||
WMMapSubwidgets(hbox);
|
WMMapSubwidgets(hbox);
|
||||||
@@ -570,5 +848,7 @@ WMGenericPanel *WMCreateGenericPanel(WMScreen * scrPtr, WMWindow * owner,
|
|||||||
WMRealizeWidget(panel->win);
|
WMRealizeWidget(panel->win);
|
||||||
WMMapSubwidgets(panel->win);
|
WMMapSubwidgets(panel->win);
|
||||||
|
|
||||||
|
WMReleaseFont(defaultFont);
|
||||||
|
|
||||||
return panel;
|
return panel;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-4
@@ -181,10 +181,7 @@ static void drawRulerOnPixmap(Ruler * rPtr)
|
|||||||
XDrawLine(rPtr->view->screen->display, rPtr->drawBuffer,
|
XDrawLine(rPtr->view->screen->display, rPtr->drawBuffer,
|
||||||
rPtr->fgGC, rPtr->margins.left + m, 23, rPtr->margins.left + m, marks[i % 8] + 23);
|
rPtr->fgGC, rPtr->margins.left + m, 23, rPtr->margins.left + m, marks[i % 8] + 23);
|
||||||
if (i != 0 && i % 8 == 0) {
|
if (i != 0 && i % 8 == 0) {
|
||||||
if (j < 10)
|
snprintf(c, sizeof(c), "%hu", ++j);
|
||||||
snprintf(c, 3, "%d", ++j);
|
|
||||||
else
|
|
||||||
snprintf(c, 3, "%2d", ++j);
|
|
||||||
WMDrawString(rPtr->view->screen, rPtr->drawBuffer, rPtr->fg,
|
WMDrawString(rPtr->view->screen, rPtr->drawBuffer, rPtr->fg,
|
||||||
rPtr->font, rPtr->margins.left + 2 + m, 26, c, 2);
|
rPtr->font, rPtr->margins.left + 2 + m, 26, c, 2);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,9 +41,6 @@ typedef struct W_SplitView {
|
|||||||
/* TODO: rewrite --Dan */
|
/* TODO: rewrite --Dan */
|
||||||
#define _GetSubviewsCount() WMGetArrayItemCount(sPtr->subviews)
|
#define _GetSubviewsCount() WMGetArrayItemCount(sPtr->subviews)
|
||||||
|
|
||||||
#define _AddPSubviewStruct(P) \
|
|
||||||
(WMAddToArray(sPtr->subviews,((void*)P)))
|
|
||||||
|
|
||||||
#define _GetPSubviewStructAt(i) \
|
#define _GetPSubviewStructAt(i) \
|
||||||
((W_SplitViewSubview*)WMGetFromArray(sPtr->subviews,(i)))
|
((W_SplitViewSubview*)WMGetFromArray(sPtr->subviews,(i)))
|
||||||
|
|
||||||
|
|||||||
@@ -2305,6 +2305,7 @@ static void handleTextKeyPress(Text * tPtr, XEvent * event)
|
|||||||
|
|
||||||
case XK_Return:
|
case XK_Return:
|
||||||
*buffer = '\n';
|
*buffer = '\n';
|
||||||
|
/* FALLTHRU */
|
||||||
default:
|
default:
|
||||||
if (*buffer != 0 && !control_pressed) {
|
if (*buffer != 0 && !control_pressed) {
|
||||||
insertTextInteractively(tPtr, buffer, strlen(buffer));
|
insertTextInteractively(tPtr, buffer, strlen(buffer));
|
||||||
@@ -2544,6 +2545,7 @@ static void handleActionEvents(XEvent * event, void *data)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* FALLTHRU */
|
||||||
case ButtonRelease:
|
case ButtonRelease:
|
||||||
if (tPtr->flags.pointerGrabbed) {
|
if (tPtr->flags.pointerGrabbed) {
|
||||||
tPtr->flags.pointerGrabbed = False;
|
tPtr->flags.pointerGrabbed = False;
|
||||||
|
|||||||
@@ -965,6 +965,7 @@ static void handleTextFieldKeyPress(TextField * tPtr, XEvent * event)
|
|||||||
switch (ksym) {
|
switch (ksym) {
|
||||||
case XK_Tab:
|
case XK_Tab:
|
||||||
#ifdef XK_ISO_Left_Tab
|
#ifdef XK_ISO_Left_Tab
|
||||||
|
/* FALLTHRU */
|
||||||
case XK_ISO_Left_Tab:
|
case XK_ISO_Left_Tab:
|
||||||
#endif
|
#endif
|
||||||
if (!controled) {
|
if (!controled) {
|
||||||
@@ -1001,8 +1002,10 @@ static void handleTextFieldKeyPress(TextField * tPtr, XEvent * event)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
#ifdef XK_KP_Enter
|
#ifdef XK_KP_Enter
|
||||||
|
/* FALLTHRU */
|
||||||
case XK_KP_Enter:
|
case XK_KP_Enter:
|
||||||
#endif
|
#endif
|
||||||
|
/* FALLTHRU */
|
||||||
case XK_Return:
|
case XK_Return:
|
||||||
if (!modified) {
|
if (!modified) {
|
||||||
data = (void *)WMReturnTextMovement;
|
data = (void *)WMReturnTextMovement;
|
||||||
@@ -1019,8 +1022,10 @@ static void handleTextFieldKeyPress(TextField * tPtr, XEvent * event)
|
|||||||
controled = False;
|
controled = False;
|
||||||
|
|
||||||
#ifdef XK_KP_Left
|
#ifdef XK_KP_Left
|
||||||
|
/* FALLTHRU */
|
||||||
case XK_KP_Left:
|
case XK_KP_Left:
|
||||||
#endif
|
#endif
|
||||||
|
/* FALLTHRU */
|
||||||
case XK_Left:
|
case XK_Left:
|
||||||
if (tPtr->cursorPosition > 0) {
|
if (tPtr->cursorPosition > 0) {
|
||||||
int i;
|
int i;
|
||||||
@@ -1058,8 +1063,10 @@ static void handleTextFieldKeyPress(TextField * tPtr, XEvent * event)
|
|||||||
controled = False;
|
controled = False;
|
||||||
|
|
||||||
#ifdef XK_KP_Right
|
#ifdef XK_KP_Right
|
||||||
|
/* FALLTHRU */
|
||||||
case XK_KP_Right:
|
case XK_KP_Right:
|
||||||
#endif
|
#endif
|
||||||
|
/* FALLTHRU */
|
||||||
case XK_Right:
|
case XK_Right:
|
||||||
if (tPtr->cursorPosition < tPtr->textLen) {
|
if (tPtr->cursorPosition < tPtr->textLen) {
|
||||||
int i;
|
int i;
|
||||||
@@ -1095,8 +1102,10 @@ static void handleTextFieldKeyPress(TextField * tPtr, XEvent * event)
|
|||||||
controled = False;
|
controled = False;
|
||||||
|
|
||||||
#ifdef XK_KP_Home
|
#ifdef XK_KP_Home
|
||||||
|
/* FALLTHRU */
|
||||||
case XK_KP_Home:
|
case XK_KP_Home:
|
||||||
#endif
|
#endif
|
||||||
|
/* FALLTHRU */
|
||||||
case XK_Home:
|
case XK_Home:
|
||||||
if (!controled) {
|
if (!controled) {
|
||||||
if (tPtr->cursorPosition > 0) {
|
if (tPtr->cursorPosition > 0) {
|
||||||
@@ -1122,8 +1131,10 @@ static void handleTextFieldKeyPress(TextField * tPtr, XEvent * event)
|
|||||||
controled = False;
|
controled = False;
|
||||||
|
|
||||||
#ifdef XK_KP_End
|
#ifdef XK_KP_End
|
||||||
|
/* FALLTHRU */
|
||||||
case XK_KP_End:
|
case XK_KP_End:
|
||||||
#endif
|
#endif
|
||||||
|
/* FALLTHRU */
|
||||||
case XK_End:
|
case XK_End:
|
||||||
if (!controled) {
|
if (!controled) {
|
||||||
if (tPtr->cursorPosition < tPtr->textLen) {
|
if (tPtr->cursorPosition < tPtr->textLen) {
|
||||||
@@ -1149,6 +1160,7 @@ static void handleTextFieldKeyPress(TextField * tPtr, XEvent * event)
|
|||||||
else
|
else
|
||||||
modified = False;
|
modified = False;
|
||||||
|
|
||||||
|
/* FALLTHRU */
|
||||||
case XK_BackSpace:
|
case XK_BackSpace:
|
||||||
if (!modified) {
|
if (!modified) {
|
||||||
if (tPtr->selection.count) {
|
if (tPtr->selection.count) {
|
||||||
@@ -1177,8 +1189,10 @@ static void handleTextFieldKeyPress(TextField * tPtr, XEvent * event)
|
|||||||
modified = False;
|
modified = False;
|
||||||
|
|
||||||
#ifdef XK_KP_Delete
|
#ifdef XK_KP_Delete
|
||||||
|
/* FALLTHRU */
|
||||||
case XK_KP_Delete:
|
case XK_KP_Delete:
|
||||||
#endif
|
#endif
|
||||||
|
/* FALLTHRU */
|
||||||
case XK_Delete:
|
case XK_Delete:
|
||||||
if (!modified) {
|
if (!modified) {
|
||||||
if (tPtr->selection.count) {
|
if (tPtr->selection.count) {
|
||||||
|
|||||||
@@ -490,6 +490,7 @@ void W_SetViewBackgroundColor(W_View * view, WMColor * color)
|
|||||||
view->backColor = WMRetainColor(color);
|
view->backColor = WMRetainColor(color);
|
||||||
|
|
||||||
view->attribFlags |= CWBackPixel;
|
view->attribFlags |= CWBackPixel;
|
||||||
|
view->attribFlags &= ~CWBackPixmap;
|
||||||
view->attribs.background_pixel = W_PIXEL(color);
|
view->attribs.background_pixel = W_PIXEL(color);
|
||||||
if (view->flags.realized) {
|
if (view->flags.realized) {
|
||||||
XSetWindowBackground(view->screen->display, view->window, W_PIXEL(color));
|
XSetWindowBackground(view->screen->display, view->window, W_PIXEL(color));
|
||||||
@@ -504,6 +505,7 @@ void W_SetViewBackgroundPixmap(W_View *view, WMPixmap *pix)
|
|||||||
view->backImage = WMRetainPixmap(pix);
|
view->backImage = WMRetainPixmap(pix);
|
||||||
|
|
||||||
view->attribFlags |= CWBackPixmap;
|
view->attribFlags |= CWBackPixmap;
|
||||||
|
view->attribFlags &= ~CWBackPixel;
|
||||||
view->attribs.background_pixmap = pix->pixmap;
|
view->attribs.background_pixmap = pix->pixmap;
|
||||||
if (view->flags.realized) {
|
if (view->flags.realized) {
|
||||||
XSetWindowBackgroundPixmap(view->screen->display, view->window, pix->pixmap);
|
XSetWindowBackgroundPixmap(view->screen->display, view->window, pix->pixmap);
|
||||||
|
|||||||
+15
-6
@@ -446,12 +446,18 @@ static void str2rcolor(RContext * rc, const char *name, RColor * color)
|
|||||||
{
|
{
|
||||||
XColor xcolor;
|
XColor xcolor;
|
||||||
|
|
||||||
XParseColor(rc->dpy, rc->cmap, name, &xcolor);
|
if (XParseColor(rc->dpy, rc->cmap, name, &xcolor) != 0) {
|
||||||
|
color->alpha = 255;
|
||||||
color->alpha = 255;
|
color->red = xcolor.red >> 8;
|
||||||
color->red = xcolor.red >> 8;
|
color->green = xcolor.green >> 8;
|
||||||
color->green = xcolor.green >> 8;
|
color->blue = xcolor.blue >> 8;
|
||||||
color->blue = xcolor.blue >> 8;
|
} else {
|
||||||
|
/* Color Name was not found - Return white instead */
|
||||||
|
color->alpha = 255;
|
||||||
|
color->red = 255;
|
||||||
|
color->green = 255;
|
||||||
|
color->blue = 255;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void dumpRImage(const char *path, RImage * image)
|
static void dumpRImage(const char *path, RImage * image)
|
||||||
@@ -611,6 +617,7 @@ static Pixmap renderTexture(WMScreen * scr, WMPropList * texture, int width, int
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
wwarning(_("unknown direction in '%s', falling back to diagonal"), type);
|
wwarning(_("unknown direction in '%s', falling back to diagonal"), type);
|
||||||
|
/* FALLTHRU */
|
||||||
case 'D':
|
case 'D':
|
||||||
style = RDiagonalGradient;
|
style = RDiagonalGradient;
|
||||||
break;
|
break;
|
||||||
@@ -637,6 +644,7 @@ static Pixmap renderTexture(WMScreen * scr, WMPropList * texture, int width, int
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
wwarning(_("unknown direction in '%s', falling back to diagonal"), type);
|
wwarning(_("unknown direction in '%s', falling back to diagonal"), type);
|
||||||
|
/* FALLTHRU */
|
||||||
case 'D':
|
case 'D':
|
||||||
style = RDiagonalGradient;
|
style = RDiagonalGradient;
|
||||||
break;
|
break;
|
||||||
@@ -671,6 +679,7 @@ static Pixmap renderTexture(WMScreen * scr, WMPropList * texture, int width, int
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
wwarning(_("unknown direction in '%s', falling back to diagonal"), type);
|
wwarning(_("unknown direction in '%s', falling back to diagonal"), type);
|
||||||
|
/* FALLTHRU */
|
||||||
case 'D':
|
case 'D':
|
||||||
style = RDiagonalGradient;
|
style = RDiagonalGradient;
|
||||||
break;
|
break;
|
||||||
|
|||||||
+27
-4
@@ -97,8 +97,29 @@ static const struct {
|
|||||||
{ N_("Distance from corner to begin window snap."),
|
{ N_("Distance from corner to begin window snap."),
|
||||||
/* default: */ 10, OPTION_WMAKER_INT, "SnapCornerDetect" },
|
/* default: */ 10, OPTION_WMAKER_INT, "SnapCornerDetect" },
|
||||||
|
|
||||||
|
{ N_("Snapping a window to the top maximizes it to the full screen."),
|
||||||
|
/* default: */ False, OPTION_WMAKER, "SnapToTopMaximizesFullscreen" },
|
||||||
|
|
||||||
|
{ N_("Allow move half-maximized windows between multiple screens."),
|
||||||
|
/* default: */ False, OPTION_WMAKER, "MoveHalfMaximizedWindowsBetweenScreens" },
|
||||||
|
|
||||||
|
{ N_("Alternative transitions between states for half maximized windows."),
|
||||||
|
/* default: */ False, OPTION_WMAKER, "AlternativeHalfMaximized" },
|
||||||
|
|
||||||
|
{ N_("Move mouse pointer with half maximized windows."),
|
||||||
|
/* default: */ False, OPTION_WMAKER, "PointerWithHalfMaxWindows" },
|
||||||
|
|
||||||
{ N_("Open dialogs in the same workspace as their owners."),
|
{ N_("Open dialogs in the same workspace as their owners."),
|
||||||
/* default: */ False, OPTION_WMAKER, "OpenTransientOnOwnerWorkspace" }
|
/* default: */ False, OPTION_WMAKER, "OpenTransientOnOwnerWorkspace" },
|
||||||
|
|
||||||
|
{ N_("Wrap dock-attached icons around the screen edges."),
|
||||||
|
/* default: */ True, OPTION_WMAKER, "WrapAppiconsInDock" },
|
||||||
|
|
||||||
|
{ N_("Double click on titlebar maximize a window to full screen."),
|
||||||
|
/* default: */ False, OPTION_WMAKER, "DbClickFullScreen" },
|
||||||
|
|
||||||
|
{ N_("Close rootmenu when mouse (left or right) is clicked outside focus."),
|
||||||
|
/* default: */ False, OPTION_WMAKER, "CloseRootMenuByLeftOrRightMouseClick" }
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -125,15 +146,16 @@ typedef struct _Panel {
|
|||||||
static void changeIntTextfield(void *data, int delta)
|
static void changeIntTextfield(void *data, int delta)
|
||||||
{
|
{
|
||||||
WMTextField *textfield;
|
WMTextField *textfield;
|
||||||
char *text;
|
char *text, buffer[12];
|
||||||
int value;
|
int value;
|
||||||
|
|
||||||
textfield = (WMTextField *)data;
|
textfield = (WMTextField *)data;
|
||||||
text = WMGetTextFieldText(textfield);
|
text = WMGetTextFieldText(textfield);
|
||||||
value = atoi(text);
|
value = atoi(text);
|
||||||
|
wfree(text);
|
||||||
value += delta;
|
value += delta;
|
||||||
sprintf(text, "%d", value);
|
sprintf(buffer, "%d", value);
|
||||||
WMSetTextFieldText(textfield, text);
|
WMSetTextFieldText(textfield, buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void downButtonCallback(WMWidget *self, void *data)
|
static void downButtonCallback(WMWidget *self, void *data)
|
||||||
@@ -293,6 +315,7 @@ static void storeDefaults(_Panel *panel)
|
|||||||
|
|
||||||
text = WMGetTextFieldText(panel->textfield[i]);
|
text = WMGetTextFieldText(panel->textfield[i]);
|
||||||
value = atoi(text);
|
value = atoi(text);
|
||||||
|
wfree(text);
|
||||||
|
|
||||||
SetIntegerForKey(value, expert_options[i].op_name);
|
SetIntegerForKey(value, expert_options[i].op_name);
|
||||||
break;
|
break;
|
||||||
|
|||||||
+10
-13
@@ -22,6 +22,7 @@
|
|||||||
#include "WPrefs.h"
|
#include "WPrefs.h"
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <fontconfig/fontconfig.h>
|
#include <fontconfig/fontconfig.h>
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
/* workaround for older fontconfig, that doesn't define these constants */
|
/* workaround for older fontconfig, that doesn't define these constants */
|
||||||
#ifndef FC_WEIGHT_NORMAL
|
#ifndef FC_WEIGHT_NORMAL
|
||||||
@@ -521,7 +522,7 @@ static void selectedOption(WMWidget * w, void *data)
|
|||||||
WMListItem *item = WMGetListItem(panel->sizeL, i);
|
WMListItem *item = WMGetListItem(panel->sizeL, i);
|
||||||
int distance;
|
int distance;
|
||||||
|
|
||||||
distance = abs(size - atoi(item->text));
|
distance = fabs(size - atoi(item->text));
|
||||||
|
|
||||||
if (i == 0 || distance < closest) {
|
if (i == 0 || distance < closest) {
|
||||||
closest = distance;
|
closest = distance;
|
||||||
@@ -569,6 +570,9 @@ static void showData(_Panel * panel)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
WMMenuItem *item;
|
WMMenuItem *item;
|
||||||
|
WMScreen *scr;
|
||||||
|
|
||||||
|
scr = WMWidgetScreen(panel->parent);
|
||||||
|
|
||||||
for (i = 0; i < WMGetPopUpButtonNumberOfItems(panel->optionP); i++) {
|
for (i = 0; i < WMGetPopUpButtonNumberOfItems(panel->optionP); i++) {
|
||||||
char *ofont, *font;
|
char *ofont, *font;
|
||||||
@@ -579,19 +583,12 @@ static void showData(_Panel * panel)
|
|||||||
if (ofont)
|
if (ofont)
|
||||||
wfree(ofont);
|
wfree(ofont);
|
||||||
|
|
||||||
if (strcmp(fontOptions[i].option, "SystemFont") == 0 ||
|
if (strcmp(fontOptions[i].option, "SystemFont") == 0)
|
||||||
strcmp(fontOptions[i].option, "BoldSystemFont") == 0) {
|
font = WMGetFontName(WMDefaultSystemFont(scr));
|
||||||
char *path;
|
else if (strcmp(fontOptions[i].option, "BoldSystemFont") == 0)
|
||||||
WMUserDefaults *defaults;
|
font = WMGetFontName(WMDefaultBoldSystemFont(scr));
|
||||||
|
else
|
||||||
path = wdefaultspathfordomain("WMGLOBAL");
|
|
||||||
defaults = WMGetDefaultsFromPath(path);
|
|
||||||
wfree(path);
|
|
||||||
font = WMGetUDStringForKey(defaults,
|
|
||||||
fontOptions[i].option);
|
|
||||||
} else {
|
|
||||||
font = GetStringForKey(fontOptions[i].option);
|
font = GetStringForKey(fontOptions[i].option);
|
||||||
}
|
|
||||||
if (font)
|
if (font)
|
||||||
font = wstrdup(font);
|
font = wstrdup(font);
|
||||||
WMSetMenuItemRepresentedObject(item, font);
|
WMSetMenuItemRepresentedObject(item, font);
|
||||||
|
|||||||
+33
-61
@@ -60,8 +60,6 @@ typedef struct _Panel {
|
|||||||
|
|
||||||
CallbackRec callbacks;
|
CallbackRec callbacks;
|
||||||
|
|
||||||
Bool have_legacy_apercu;
|
|
||||||
|
|
||||||
WMWidget *parent;
|
WMWidget *parent;
|
||||||
|
|
||||||
WMFrame *posF;
|
WMFrame *posF;
|
||||||
@@ -75,12 +73,13 @@ typedef struct _Panel {
|
|||||||
WMButton *posB[wlengthof_nocheck(icon_position_dbvalue)];
|
WMButton *posB[wlengthof_nocheck(icon_position_dbvalue)];
|
||||||
|
|
||||||
WMFrame *animF;
|
WMFrame *animF;
|
||||||
WMButton *animB[wlengthof_nocheck(icon_animation)];
|
WMPopUpButton *animP;
|
||||||
|
|
||||||
WMFrame *optF;
|
WMFrame *optF;
|
||||||
WMButton *arrB;
|
WMButton *arrB;
|
||||||
WMButton *omnB;
|
WMButton *omnB;
|
||||||
WMButton *sclB;
|
WMButton *sclB;
|
||||||
|
WMButton *marginB;
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
WMFrame *frame;
|
WMFrame *frame;
|
||||||
@@ -175,6 +174,7 @@ static void showData(_Panel * panel)
|
|||||||
WMSetButtonSelected(panel->arrB, GetBoolForKey("AutoArrangeIcons"));
|
WMSetButtonSelected(panel->arrB, GetBoolForKey("AutoArrangeIcons"));
|
||||||
WMSetButtonSelected(panel->omnB, GetBoolForKey("StickyIcons"));
|
WMSetButtonSelected(panel->omnB, GetBoolForKey("StickyIcons"));
|
||||||
WMSetButtonSelected(panel->sclB, GetBoolForKey("SingleClickLaunch"));
|
WMSetButtonSelected(panel->sclB, GetBoolForKey("SingleClickLaunch"));
|
||||||
|
WMSetButtonSelected(panel->marginB, GetBoolForKey("EnforceIconMargin"));
|
||||||
|
|
||||||
str = GetStringForKey("IconPosition");
|
str = GetStringForKey("IconPosition");
|
||||||
if (str != NULL) {
|
if (str != NULL) {
|
||||||
@@ -195,20 +195,12 @@ static void showData(_Panel * panel)
|
|||||||
|
|
||||||
if (i < 0)
|
if (i < 0)
|
||||||
i = 0;
|
i = 0;
|
||||||
else if (i > 9)
|
else if (i > 29)
|
||||||
i = 9;
|
i = 29;
|
||||||
WMSetPopUpButtonSelectedItem(panel->sizeP, i);
|
WMSetPopUpButtonSelectedItem(panel->sizeP, i);
|
||||||
|
|
||||||
/* Mini-Previews for Icons */
|
/* Mini-Previews for Icons */
|
||||||
|
|
||||||
/*
|
|
||||||
* Backward Compatibility:
|
|
||||||
* These settings changed names after 0.95.6, so to avoid breaking user's
|
|
||||||
* config we still support the old names, and silently convert them to the
|
|
||||||
* new settings
|
|
||||||
* This hack should be kept for at least 2 years, that means >= 2017.
|
|
||||||
*/
|
|
||||||
panel->have_legacy_apercu = False;
|
|
||||||
str = GetStringForKey("MiniwindowPreviewBalloons");
|
str = GetStringForKey("MiniwindowPreviewBalloons");
|
||||||
if (str != NULL) {
|
if (str != NULL) {
|
||||||
/* New names found, use them in priority */
|
/* New names found, use them in priority */
|
||||||
@@ -220,25 +212,6 @@ static void showData(_Panel * panel)
|
|||||||
} else {
|
} else {
|
||||||
i = minipreview_minimum_size;
|
i = minipreview_minimum_size;
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
/* No new names, try the legacy names */
|
|
||||||
b = GetBoolForKey("MiniwindowApercuBalloons");
|
|
||||||
if (b) {
|
|
||||||
panel->have_legacy_apercu = True;
|
|
||||||
i = GetIntegerForKey("ApercuSize");
|
|
||||||
|
|
||||||
/*
|
|
||||||
* In the beginning, the option was coded as a multiple of the icon
|
|
||||||
* size; then it was converted to pixel size
|
|
||||||
*/
|
|
||||||
if (i < 24)
|
|
||||||
i *= GetIntegerForKey("IconSize");
|
|
||||||
|
|
||||||
if (i <= minipreview_minimum_size)
|
|
||||||
i = minipreview_minimum_size + 1; /* +1 to not display as "off" */
|
|
||||||
} else {
|
|
||||||
i = minipreview_minimum_size;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
WMSetSliderValue(panel->minipreview.slider, i);
|
WMSetSliderValue(panel->minipreview.slider, i);
|
||||||
minipreview_slider_changed(panel->minipreview.slider, panel);
|
minipreview_slider_changed(panel->minipreview.slider, panel);
|
||||||
@@ -248,7 +221,7 @@ static void showData(_Panel * panel)
|
|||||||
if (str != NULL) {
|
if (str != NULL) {
|
||||||
for (i = 0; i < wlengthof(icon_animation); i++) {
|
for (i = 0; i < wlengthof(icon_animation); i++) {
|
||||||
if (strcasecmp(str, icon_animation[i].db_value) == 0) {
|
if (strcasecmp(str, icon_animation[i].db_value) == 0) {
|
||||||
WMPerformButtonClick(panel->animB[i]);
|
WMSetPopUpButtonSelectedItem(panel->animP, i);
|
||||||
goto found_animation_value;
|
goto found_animation_value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -256,7 +229,7 @@ static void showData(_Panel * panel)
|
|||||||
str, icon_animation[0].db_value);
|
str, icon_animation[0].db_value);
|
||||||
}
|
}
|
||||||
/* If we're here, no valid value have been found so we fall-back to the default */
|
/* If we're here, no valid value have been found so we fall-back to the default */
|
||||||
WMPerformButtonClick(panel->animB[0]);
|
WMSetPopUpButtonSelectedItem(panel->animP, 0);
|
||||||
found_animation_value:
|
found_animation_value:
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
@@ -366,7 +339,7 @@ static void createPanel(Panel * p)
|
|||||||
panel->sizeP = WMCreatePopUpButton(panel->sizeF);
|
panel->sizeP = WMCreatePopUpButton(panel->sizeF);
|
||||||
WMResizeWidget(panel->sizeP, 80, 20);
|
WMResizeWidget(panel->sizeP, 80, 20);
|
||||||
WMMoveWidget(panel->sizeP, 10, 19);
|
WMMoveWidget(panel->sizeP, 10, 19);
|
||||||
for (i = 24; i <= 96; i += 8) {
|
for (i = 24; i <= 256; i += 8) {
|
||||||
sprintf(buf, "%ix%i", i, i);
|
sprintf(buf, "%ix%i", i, i);
|
||||||
WMAddPopUpButtonItem(panel->sizeP, buf);
|
WMAddPopUpButtonItem(panel->sizeP, buf);
|
||||||
}
|
}
|
||||||
@@ -399,50 +372,57 @@ static void createPanel(Panel * p)
|
|||||||
|
|
||||||
/***************** Animation ****************/
|
/***************** Animation ****************/
|
||||||
panel->animF = WMCreateFrame(panel->box);
|
panel->animF = WMCreateFrame(panel->box);
|
||||||
WMResizeWidget(panel->animF, 215, 110);
|
WMResizeWidget(panel->animF, 215, 52);
|
||||||
WMMoveWidget(panel->animF, 292, 6);
|
WMMoveWidget(panel->animF, 292, 6);
|
||||||
WMSetFrameTitle(panel->animF, _("Iconification Animation"));
|
WMSetFrameTitle(panel->animF, _("Iconification Animation"));
|
||||||
|
|
||||||
for (i = 0; i < wlengthof(icon_animation); i++) {
|
panel->animP = WMCreatePopUpButton(panel->animF);
|
||||||
panel->animB[i] = WMCreateRadioButton(panel->animF);
|
WMResizeWidget(panel->animP, 195, 20);
|
||||||
WMResizeWidget(panel->animB[i], 192, 20);
|
WMMoveWidget(panel->animP, 10, 19);
|
||||||
WMMoveWidget(panel->animB[i], 12, 16 + i * 22);
|
for (i = 0; i < wlengthof(icon_animation); i++)
|
||||||
|
WMAddPopUpButtonItem(panel->animP, _(icon_animation[i].label));
|
||||||
if (i > 0)
|
|
||||||
WMGroupButtons(panel->animB[0], panel->animB[i]);
|
|
||||||
|
|
||||||
WMSetButtonText(panel->animB[i], _(icon_animation[i].label));
|
|
||||||
}
|
|
||||||
|
|
||||||
WMMapSubwidgets(panel->animF);
|
WMMapSubwidgets(panel->animF);
|
||||||
|
|
||||||
/***************** Options ****************/
|
/***************** Options ****************/
|
||||||
panel->optF = WMCreateFrame(panel->box);
|
panel->optF = WMCreateFrame(panel->box);
|
||||||
WMResizeWidget(panel->optF, 215, 90);
|
WMResizeWidget(panel->optF, 215, 148);
|
||||||
WMMoveWidget(panel->optF, 292, 130);
|
WMMoveWidget(panel->optF, 292, 72);
|
||||||
/* WMSetFrameTitle(panel->optF, _("Icon Display")); */
|
/* WMSetFrameTitle(panel->optF, _("Icon Display")); */
|
||||||
|
starty = 8 + 14; /* the last term centers the checkboxes within the panel; subtract 13 for a new option */
|
||||||
|
|
||||||
panel->arrB = WMCreateSwitchButton(panel->optF);
|
panel->arrB = WMCreateSwitchButton(panel->optF);
|
||||||
WMResizeWidget(panel->arrB, 198, 26);
|
WMResizeWidget(panel->arrB, 198, 26);
|
||||||
WMMoveWidget(panel->arrB, 12, 8);
|
WMMoveWidget(panel->arrB, 12, starty);
|
||||||
|
starty += 26;
|
||||||
WMSetButtonText(panel->arrB, _("Auto-arrange icons"));
|
WMSetButtonText(panel->arrB, _("Auto-arrange icons"));
|
||||||
|
|
||||||
WMSetBalloonTextForView(_("Keep icons and miniwindows arranged all the time."), WMWidgetView(panel->arrB));
|
WMSetBalloonTextForView(_("Keep icons and miniwindows arranged all the time."), WMWidgetView(panel->arrB));
|
||||||
|
|
||||||
panel->omnB = WMCreateSwitchButton(panel->optF);
|
panel->omnB = WMCreateSwitchButton(panel->optF);
|
||||||
WMResizeWidget(panel->omnB, 198, 26);
|
WMResizeWidget(panel->omnB, 198, 26);
|
||||||
WMMoveWidget(panel->omnB, 12, 34);
|
WMMoveWidget(panel->omnB, 12, starty);
|
||||||
|
starty += 26;
|
||||||
WMSetButtonText(panel->omnB, _("Omnipresent miniwindows"));
|
WMSetButtonText(panel->omnB, _("Omnipresent miniwindows"));
|
||||||
|
|
||||||
WMSetBalloonTextForView(_("Make miniwindows be present in all workspaces."), WMWidgetView(panel->omnB));
|
WMSetBalloonTextForView(_("Make miniwindows be present in all workspaces."), WMWidgetView(panel->omnB));
|
||||||
|
|
||||||
panel->sclB = WMCreateSwitchButton(panel->optF);
|
panel->sclB = WMCreateSwitchButton(panel->optF);
|
||||||
WMResizeWidget(panel->sclB, 198, 26);
|
WMResizeWidget(panel->sclB, 198, 26);
|
||||||
WMMoveWidget(panel->sclB, 12, 60);
|
WMMoveWidget(panel->sclB, 12, starty);
|
||||||
|
starty += 26;
|
||||||
WMSetButtonText(panel->sclB, _("Single click activation"));
|
WMSetButtonText(panel->sclB, _("Single click activation"));
|
||||||
|
|
||||||
WMSetBalloonTextForView(_("Launch applications and restore windows with a single click."), WMWidgetView(panel->sclB));
|
WMSetBalloonTextForView(_("Launch applications and restore windows with a single click."), WMWidgetView(panel->sclB));
|
||||||
|
|
||||||
|
panel->marginB = WMCreateSwitchButton(panel->optF);
|
||||||
|
WMResizeWidget(panel->marginB, 198, 26);
|
||||||
|
WMMoveWidget(panel->marginB, 12, starty);
|
||||||
|
starty += 26;
|
||||||
|
WMSetButtonText(panel->marginB, _("Enforce icon margin"));
|
||||||
|
|
||||||
|
WMSetBalloonTextForView(_("Make sure that the icon image does not protrude into the icon frame."), WMWidgetView(panel->marginB));
|
||||||
|
|
||||||
WMMapSubwidgets(panel->optF);
|
WMMapSubwidgets(panel->optF);
|
||||||
|
|
||||||
WMRealizeWidget(panel->box);
|
WMRealizeWidget(panel->box);
|
||||||
@@ -458,6 +438,7 @@ static void storeData(_Panel * panel)
|
|||||||
SetBoolForKey(WMGetButtonSelected(panel->arrB), "AutoArrangeIcons");
|
SetBoolForKey(WMGetButtonSelected(panel->arrB), "AutoArrangeIcons");
|
||||||
SetBoolForKey(WMGetButtonSelected(panel->omnB), "StickyIcons");
|
SetBoolForKey(WMGetButtonSelected(panel->omnB), "StickyIcons");
|
||||||
SetBoolForKey(WMGetButtonSelected(panel->sclB), "SingleClickLaunch");
|
SetBoolForKey(WMGetButtonSelected(panel->sclB), "SingleClickLaunch");
|
||||||
|
SetBoolForKey(WMGetButtonSelected(panel->marginB), "EnforceIconMargin");
|
||||||
|
|
||||||
SetIntegerForKey(WMGetPopUpButtonSelectedItem(panel->sizeP) * 8 + 24, "IconSize");
|
SetIntegerForKey(WMGetPopUpButtonSelectedItem(panel->sizeP) * 8 + 24, "IconSize");
|
||||||
|
|
||||||
@@ -478,17 +459,8 @@ static void storeData(_Panel * panel)
|
|||||||
}
|
}
|
||||||
SetIntegerForKey(i, "MiniPreviewSize");
|
SetIntegerForKey(i, "MiniPreviewSize");
|
||||||
}
|
}
|
||||||
if (panel->have_legacy_apercu) {
|
|
||||||
RemoveObjectForKey("MiniwindowApercuBalloons");
|
|
||||||
RemoveObjectForKey("ApercuSize");
|
|
||||||
}
|
|
||||||
|
|
||||||
for (i = 0; i < wlengthof(icon_animation); i++) {
|
SetStringForKey(icon_animation[WMGetPopUpButtonSelectedItem(panel->animP)].db_value, "IconificationStyle");
|
||||||
if (WMGetButtonSelected(panel->animB[i])) {
|
|
||||||
SetStringForKey(icon_animation[i].db_value, "IconificationStyle");
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Panel *InitIcons(WMWidget *parent)
|
Panel *InitIcons(WMWidget *parent)
|
||||||
|
|||||||
@@ -89,6 +89,8 @@ static const struct {
|
|||||||
{ "LBCMaximizeKey", N_("Maximize active window left bottom corner") },
|
{ "LBCMaximizeKey", N_("Maximize active window left bottom corner") },
|
||||||
{ "RBCMaximizeKey", N_("Maximize active window right bottom corner") },
|
{ "RBCMaximizeKey", N_("Maximize active window right bottom corner") },
|
||||||
{ "MaximusKey", N_("Maximus: Tiled maximization ") },
|
{ "MaximusKey", N_("Maximus: Tiled maximization ") },
|
||||||
|
{ "KeepOnTopKey", N_("Toggle window on top status") },
|
||||||
|
{ "KeepAtBottomKey",N_("Toggle window at bottom status") },
|
||||||
{ "OmnipresentKey", N_("Toggle window omnipresent status") },
|
{ "OmnipresentKey", N_("Toggle window omnipresent status") },
|
||||||
{ "RaiseKey", N_("Raise active window") },
|
{ "RaiseKey", N_("Raise active window") },
|
||||||
{ "LowerKey", N_("Lower active window") },
|
{ "LowerKey", N_("Lower active window") },
|
||||||
@@ -146,6 +148,10 @@ static const struct {
|
|||||||
{ "WindowShortcut9Key", N_("Shortcut for window 9") },
|
{ "WindowShortcut9Key", N_("Shortcut for window 9") },
|
||||||
{ "WindowShortcut10Key", N_("Shortcut for window 10") },
|
{ "WindowShortcut10Key", N_("Shortcut for window 10") },
|
||||||
|
|
||||||
|
/* Head Selection */
|
||||||
|
{ "MoveTo12to6Head", N_("Move to right/bottom/left/top head") },
|
||||||
|
{ "MoveTo6to12Head", N_("Move to left/top/right/bottom head") },
|
||||||
|
|
||||||
/* Misc. */
|
/* Misc. */
|
||||||
{ "WindowRelaunchKey", N_("Launch new instance of application") },
|
{ "WindowRelaunchKey", N_("Launch new instance of application") },
|
||||||
{ "ScreenSwitchKey", N_("Switch to Next Screen/Monitor") },
|
{ "ScreenSwitchKey", N_("Switch to Next Screen/Monitor") },
|
||||||
|
|||||||
@@ -45,10 +45,11 @@ WPrefs_SOURCES = \
|
|||||||
# KeyboardSettings.c \
|
# KeyboardSettings.c \
|
||||||
# Themes.c
|
# Themes.c
|
||||||
|
|
||||||
AM_CFLAGS =
|
AM_CFLAGS = @PANGO_CFLAGS@
|
||||||
|
|
||||||
AM_CPPFLAGS = -DRESOURCE_PATH=\"$(wpdatadir)\" -DWMAKER_RESOURCE_PATH=\"$(pkgdatadir)\" \
|
AM_CPPFLAGS = -DRESOURCE_PATH=\"$(wpdatadir)\" -DWMAKER_RESOURCE_PATH=\"$(pkgdatadir)\" \
|
||||||
-I$(top_srcdir)/wrlib -I$(top_srcdir)/WINGs @HEADER_SEARCH_PATH@
|
-I$(top_builddir)/wrlib -I$(top_srcdir)/WINGs -I$(top_builddir)/WINGs \
|
||||||
|
@HEADER_SEARCH_PATH@
|
||||||
|
|
||||||
WPrefs_DEPENDENCIES = $(top_builddir)/WINGs/libWINGs.la
|
WPrefs_DEPENDENCIES = $(top_builddir)/WINGs/libWINGs.la
|
||||||
|
|
||||||
|
|||||||
+67
-10
@@ -22,6 +22,7 @@
|
|||||||
#include "WPrefs.h"
|
#include "WPrefs.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <X11/keysym.h>
|
#include <X11/keysym.h>
|
||||||
#include <X11/cursorfont.h>
|
#include <X11/cursorfont.h>
|
||||||
@@ -506,7 +507,7 @@ static void createPanel(_Panel * p)
|
|||||||
WMSetScrollViewContentView(sview, WMWidgetView(pad));
|
WMSetScrollViewContentView(sview, WMWidgetView(pad));
|
||||||
|
|
||||||
data = putNewItem(panel, pad, ExternalInfo, _("Debian Menu"));
|
data = putNewItem(panel, pad, ExternalInfo, _("Debian Menu"));
|
||||||
data->param.pipe.command = "/etc/X11/WindowMaker/menu.hook";
|
data->param.pipe.command = "/etc/GNUstep/Defaults/menu.hook";
|
||||||
|
|
||||||
data = putNewItem(panel, pad, PipeInfo, _("RedHat Menu"));
|
data = putNewItem(panel, pad, PipeInfo, _("RedHat Menu"));
|
||||||
data->param.pipe.command = "wmconfig --output wmaker";
|
data->param.pipe.command = "wmconfig --output wmaker";
|
||||||
@@ -613,7 +614,7 @@ static void createPanel(_Panel * p)
|
|||||||
WMAddNotificationObserver(dataChanged, panel, WMTextDidChangeNotification, panel->pathT);
|
WMAddNotificationObserver(dataChanged, panel, WMTextDidChangeNotification, panel->pathT);
|
||||||
|
|
||||||
label = WMCreateLabel(panel->pathF);
|
label = WMCreateLabel(panel->pathF);
|
||||||
WMResizeWidget(label, width - 20, 80);
|
WMResizeWidget(label, width - 20, 90);
|
||||||
WMMoveWidget(label, 10, 50);
|
WMMoveWidget(label, 10, 50);
|
||||||
WMSetLabelText(label, _("Enter the path for a file containing a menu\n"
|
WMSetLabelText(label, _("Enter the path for a file containing a menu\n"
|
||||||
"or a list of directories with the programs you\n"
|
"or a list of directories with the programs you\n"
|
||||||
@@ -913,6 +914,11 @@ static ItemData *parseCommand(WMPropList * item)
|
|||||||
|
|
||||||
data->type = ExecInfo;
|
data->type = ExecInfo;
|
||||||
|
|
||||||
|
if (parameter == NULL) {
|
||||||
|
wfree(data);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
data->param.exec.command = wstrdup(parameter);
|
data->param.exec.command = wstrdup(parameter);
|
||||||
if (shortcut)
|
if (shortcut)
|
||||||
data->param.exec.shortcut = wstrdup(shortcut);
|
data->param.exec.shortcut = wstrdup(shortcut);
|
||||||
@@ -925,6 +931,12 @@ static ItemData *parseCommand(WMPropList * item)
|
|||||||
* |pipe
|
* |pipe
|
||||||
*/
|
*/
|
||||||
p = parameter;
|
p = parameter;
|
||||||
|
|
||||||
|
if (p == NULL) {
|
||||||
|
wfree(data);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
while (isspace(*p) && *p)
|
while (isspace(*p) && *p)
|
||||||
p++;
|
p++;
|
||||||
if (*p == '|') {
|
if (*p == '|') {
|
||||||
@@ -1435,12 +1447,12 @@ static WEditMenu *buildSubmenu(_Panel * panel, WMPropList * pl)
|
|||||||
WSetEditMenuItemImage(item, panel->markerPix[data->type]);
|
WSetEditMenuItemImage(item, panel->markerPix[data->type]);
|
||||||
WSetEditMenuItemData(item, data, (WMCallback *) freeItemData);
|
WSetEditMenuItemData(item, data, (WMCallback *) freeItemData);
|
||||||
} else {
|
} else {
|
||||||
char *buf = wmalloc(1024);
|
char buf[256];
|
||||||
snprintf(buf, 1024, _("Invalid menu command \"%s\" with label \"%s\" cleared"),
|
|
||||||
|
snprintf(buf, sizeof(buf), _("Invalid menu command \"%s\" with label \"%s\" cleared"),
|
||||||
WMGetFromPLString(WMGetFromPLArray(pi, 1)),
|
WMGetFromPLString(WMGetFromPLArray(pi, 1)),
|
||||||
WMGetFromPLString(WMGetFromPLArray(pi, 0)));
|
WMGetFromPLString(WMGetFromPLArray(pi, 0)));
|
||||||
WMRunAlertPanel(scr, panel->parent, _("Warning"), buf, _("OK"), NULL, NULL);
|
WMRunAlertPanel(scr, panel->parent, _("Warning"), buf, _("OK"), NULL, NULL);
|
||||||
wfree(buf);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1482,7 +1494,8 @@ static WMPropList *getDefaultMenu(_Panel * panel)
|
|||||||
static void showData(_Panel * panel)
|
static void showData(_Panel * panel)
|
||||||
{
|
{
|
||||||
const char *gspath;
|
const char *gspath;
|
||||||
char *menuPath;
|
char *menuPath, *labelText;
|
||||||
|
char buf[1024];
|
||||||
WMPropList *pmenu;
|
WMPropList *pmenu;
|
||||||
|
|
||||||
gspath = wusergnusteppath();
|
gspath = wusergnusteppath();
|
||||||
@@ -1493,6 +1506,45 @@ static void showData(_Panel * panel)
|
|||||||
|
|
||||||
pmenu = WMReadPropListFromFile(menuPath);
|
pmenu = WMReadPropListFromFile(menuPath);
|
||||||
|
|
||||||
|
/* check if WMRootMenu references another file, and if so,
|
||||||
|
if that file is in proplist format */
|
||||||
|
while (WMIsPLString(pmenu)) {
|
||||||
|
char *path = NULL;
|
||||||
|
|
||||||
|
path = wexpandpath(WMGetFromPLString(pmenu));
|
||||||
|
|
||||||
|
if (access(path, F_OK) < 0) {
|
||||||
|
char *old_path = path;
|
||||||
|
|
||||||
|
path = wfindfile(DEF_CONFIG_PATHS, path);
|
||||||
|
wfree(old_path);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* TODO: if needed, concatenate locale suffix to path.
|
||||||
|
See getLocalizedMenuFile() in src/rootmenu.c. */
|
||||||
|
|
||||||
|
if (!path)
|
||||||
|
break;
|
||||||
|
|
||||||
|
if (access(path, W_OK) < 0) {
|
||||||
|
snprintf(buf, sizeof(buf),
|
||||||
|
_("The menu file \"%s\" referenced by "
|
||||||
|
"WMRootMenu is read-only.\n"
|
||||||
|
"You cannot use WPrefs to modify it."),
|
||||||
|
path);
|
||||||
|
WMRunAlertPanel(WMWidgetScreen(panel->parent),
|
||||||
|
panel->parent,
|
||||||
|
_("Warning"), buf,
|
||||||
|
_("OK"), NULL, NULL);
|
||||||
|
panel->dontSave = True;
|
||||||
|
wfree(path);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
pmenu = WMReadPropListFromFile(path);
|
||||||
|
menuPath = path;
|
||||||
|
}
|
||||||
|
|
||||||
if (!pmenu || !WMIsPLArray(pmenu)) {
|
if (!pmenu || !WMIsPLArray(pmenu)) {
|
||||||
int res;
|
int res;
|
||||||
|
|
||||||
@@ -1517,6 +1569,14 @@ static void showData(_Panel * panel)
|
|||||||
|
|
||||||
panel->menuPath = menuPath;
|
panel->menuPath = menuPath;
|
||||||
|
|
||||||
|
snprintf(buf, sizeof(buf),
|
||||||
|
_("\n\nWhen saved, the menu will be written to the file\n\"%s\"."),
|
||||||
|
menuPath);
|
||||||
|
labelText = WMGetLabelText(panel->sections[NoInfo][0]);
|
||||||
|
labelText = wstrconcat(labelText, buf);
|
||||||
|
WMSetLabelText(panel->sections[NoInfo][0], labelText);
|
||||||
|
wfree(labelText);
|
||||||
|
|
||||||
buildMenuFromPL(panel, pmenu);
|
buildMenuFromPL(panel, pmenu);
|
||||||
|
|
||||||
WMReleasePropList(pmenu);
|
WMReleasePropList(pmenu);
|
||||||
@@ -1557,15 +1617,12 @@ static WMPropList *processData(const char *title, ItemData * data)
|
|||||||
case ExecInfo:
|
case ExecInfo:
|
||||||
if (data->param.exec.command == NULL)
|
if (data->param.exec.command == NULL)
|
||||||
goto return_null;
|
goto return_null;
|
||||||
#if 1
|
|
||||||
if (strpbrk(data->param.exec.command, "&$*|><?`=;")) {
|
if (strpbrk(data->param.exec.command, "&$*|><?`=;")) {
|
||||||
s1 = "SHEXEC";
|
s1 = "SHEXEC";
|
||||||
} else {
|
} else {
|
||||||
s1 = "EXEC";
|
s1 = "EXEC";
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
s1 = "SHEXEC";
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (notblank(data->param.exec.shortcut)) {
|
if (notblank(data->param.exec.shortcut)) {
|
||||||
WMAddToPLArray(item, pscut);
|
WMAddToPLArray(item, pscut);
|
||||||
|
|||||||
+3
-3
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
WPrefs.app is the preferences "editor" for the WindowMaker window
|
WPrefs.app is the preferences "editor" for the WindowMaker window
|
||||||
manager. It can be used to set most of the preference options of WindowMaker
|
manager. It can be used to set most of the preference options of WindowMaker
|
||||||
and define it's applications menu. It also can change some settings
|
and define its applications menu. It also can change some settings
|
||||||
that do not belong to WindowMaker.
|
that do not belong to WindowMaker.
|
||||||
|
|
||||||
Although WPrefs.app is designed to be easy to use, you should read the
|
Although WPrefs.app is designed to be easy to use, you should read the
|
||||||
@@ -16,7 +16,7 @@ of WindowMaker that are not related to configuration.
|
|||||||
|
|
||||||
To run WPrefs, do not put it in your search path. Instead, run it
|
To run WPrefs, do not put it in your search path. Instead, run it
|
||||||
with the full path, like /usr/local/GNUstep/Applications/WPrefs.app/WPrefs
|
with the full path, like /usr/local/GNUstep/Applications/WPrefs.app/WPrefs
|
||||||
Then, dock it's application icon. The dock will automatically detect it's
|
Then, dock its application icon. The dock will automatically detect its
|
||||||
icon and use it.
|
icon and use it.
|
||||||
|
|
||||||
If you change configuration often, you might want to leave WPrefs
|
If you change configuration often, you might want to leave WPrefs
|
||||||
@@ -46,7 +46,7 @@ The mouse speed configuration is saved as a call for xset in
|
|||||||
~/G/D/L/W/autostart. WindowMaker calls this file when it is started.
|
~/G/D/L/W/autostart. WindowMaker calls this file when it is started.
|
||||||
|
|
||||||
If you don't want or can't use the menu definition section, do not
|
If you don't want or can't use the menu definition section, do not
|
||||||
open it's section (or if you do open it, do not Save), or WPrefs will
|
open its section (or if you do open it, do not Save), or WPrefs will
|
||||||
overwrite your ~/G/D/WMRootMenu file.
|
overwrite your ~/G/D/WMRootMenu file.
|
||||||
|
|
||||||
Only options that have different values than what is found in the
|
Only options that have different values than what is found in the
|
||||||
|
|||||||
+80
-80
@@ -117,16 +117,21 @@ typedef struct _TexturePanel {
|
|||||||
|
|
||||||
} _TexturePanel;
|
} _TexturePanel;
|
||||||
|
|
||||||
#define TYPE_SOLID 0
|
enum {
|
||||||
#define TYPE_GRADIENT 1
|
TYPE_SOLID,
|
||||||
#define TYPE_SGRADIENT 2
|
TYPE_GRADIENT,
|
||||||
#define TYPE_TGRADIENT 3
|
TYPE_SGRADIENT,
|
||||||
#define TYPE_PIXMAP 4
|
TYPE_TGRADIENT,
|
||||||
|
TYPE_PIXMAP
|
||||||
|
};
|
||||||
|
|
||||||
#define PTYPE_TILE 0
|
enum {
|
||||||
#define PTYPE_SCALE 1
|
PTYPE_TILE,
|
||||||
#define PTYPE_CENTER 2
|
PTYPE_SCALE,
|
||||||
#define PTYPE_MAXIMIZE 3
|
PTYPE_CENTER,
|
||||||
|
PTYPE_MAXIMIZE,
|
||||||
|
PTYPE_FILL
|
||||||
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*--------------------------------------------------------------------------
|
*--------------------------------------------------------------------------
|
||||||
@@ -136,7 +141,7 @@ typedef struct _TexturePanel {
|
|||||||
|
|
||||||
/************/
|
/************/
|
||||||
|
|
||||||
static void updateGradButtons(TexturePanel * panel)
|
static void updateGradButtons(TexturePanel *panel)
|
||||||
{
|
{
|
||||||
RImage *image;
|
RImage *image;
|
||||||
WMPixmap *pixmap;
|
WMPixmap *pixmap;
|
||||||
@@ -180,7 +185,7 @@ static void updateGradButtons(TexturePanel * panel)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void updateTGradImage(TexturePanel * panel)
|
static void updateTGradImage(TexturePanel *panel)
|
||||||
{
|
{
|
||||||
RImage *image, *gradient;
|
RImage *image, *gradient;
|
||||||
WMPixmap *pixmap;
|
WMPixmap *pixmap;
|
||||||
@@ -201,19 +206,17 @@ static void updateTGradImage(TexturePanel * panel)
|
|||||||
to.green = WMGreenComponentOfColor(color) >> 8;
|
to.green = WMGreenComponentOfColor(color) >> 8;
|
||||||
to.blue = WMBlueComponentOfColor(color) >> 8;
|
to.blue = WMBlueComponentOfColor(color) >> 8;
|
||||||
|
|
||||||
if (panel->image->width < 141 || panel->image->height < 91) {
|
if (panel->image->width < 141 || panel->image->height < 91)
|
||||||
image = RMakeTiledImage(panel->image, 141, 91);
|
image = RMakeTiledImage(panel->image, 141, 91);
|
||||||
} else {
|
else
|
||||||
image = RCloneImage(panel->image);
|
image = RCloneImage(panel->image);
|
||||||
}
|
|
||||||
|
|
||||||
if (WMGetButtonSelected(panel->dirhB)) {
|
if (WMGetButtonSelected(panel->dirhB))
|
||||||
gradient = RRenderGradient(image->width, image->height, &from, &to, RHorizontalGradient);
|
gradient = RRenderGradient(image->width, image->height, &from, &to, RHorizontalGradient);
|
||||||
} else if (WMGetButtonSelected(panel->dirvB)) {
|
else if (WMGetButtonSelected(panel->dirvB))
|
||||||
gradient = RRenderGradient(image->width, image->height, &from, &to, RVerticalGradient);
|
gradient = RRenderGradient(image->width, image->height, &from, &to, RVerticalGradient);
|
||||||
} else {
|
else
|
||||||
gradient = RRenderGradient(image->width, image->height, &from, &to, RDiagonalGradient);
|
gradient = RRenderGradient(image->width, image->height, &from, &to, RDiagonalGradient);
|
||||||
}
|
|
||||||
|
|
||||||
RCombineImagesWithOpaqueness(image, gradient, WMGetSliderValue(panel->topaS));
|
RCombineImagesWithOpaqueness(image, gradient, WMGetSliderValue(panel->topaS));
|
||||||
RReleaseImage(gradient);
|
RReleaseImage(gradient);
|
||||||
@@ -225,7 +228,7 @@ static void updateTGradImage(TexturePanel * panel)
|
|||||||
RReleaseImage(image);
|
RReleaseImage(image);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void updateSGradButtons(TexturePanel * panel)
|
static void updateSGradButtons(TexturePanel *panel)
|
||||||
{
|
{
|
||||||
RImage *image;
|
RImage *image;
|
||||||
WMPixmap *pixmap;
|
WMPixmap *pixmap;
|
||||||
@@ -264,7 +267,7 @@ static void updateSGradButtons(TexturePanel * panel)
|
|||||||
|
|
||||||
/*********** Gradient ************/
|
/*********** Gradient ************/
|
||||||
|
|
||||||
static void updateSVSlider(WMSlider * sPtr, Bool saturation, WMFont * font, RHSVColor * hsv)
|
static void updateSVSlider(WMSlider *sPtr, Bool saturation, WMFont *font, RHSVColor *hsv)
|
||||||
{
|
{
|
||||||
RImage *image;
|
RImage *image;
|
||||||
WMPixmap *pixmap;
|
WMPixmap *pixmap;
|
||||||
@@ -312,7 +315,7 @@ static void updateSVSlider(WMSlider * sPtr, Bool saturation, WMFont * font, RHSV
|
|||||||
WMReleasePixmap(pixmap);
|
WMReleasePixmap(pixmap);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void updateHueSlider(WMSlider * sPtr, WMFont * font, RHSVColor * hsv)
|
static void updateHueSlider(WMSlider *sPtr, WMFont *font, RHSVColor *hsv)
|
||||||
{
|
{
|
||||||
RColor *colors[8];
|
RColor *colors[8];
|
||||||
RImage *image;
|
RImage *image;
|
||||||
@@ -353,7 +356,7 @@ static void updateHueSlider(WMSlider * sPtr, WMFont * font, RHSVColor * hsv)
|
|||||||
wfree(colors[i]);
|
wfree(colors[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void sliderChangeCallback(WMWidget * w, void *data)
|
static void sliderChangeCallback(WMWidget *w, void *data)
|
||||||
{
|
{
|
||||||
TexturePanel *panel = (TexturePanel *) data;
|
TexturePanel *panel = (TexturePanel *) data;
|
||||||
RHSVColor hsv;
|
RHSVColor hsv;
|
||||||
@@ -417,9 +420,8 @@ static void sliderChangeCallback(WMWidget * w, void *data)
|
|||||||
}
|
}
|
||||||
colors[i] = NULL;
|
colors[i] = NULL;
|
||||||
|
|
||||||
if (panel->gimage != None) {
|
if (panel->gimage != None)
|
||||||
XFreePixmap(WMScreenDisplay(scr), panel->gimage);
|
XFreePixmap(WMScreenDisplay(scr), panel->gimage);
|
||||||
}
|
|
||||||
|
|
||||||
image = RRenderMultiGradient(30, i * WMGetListItemHeight(panel->gcolL), colors, RVerticalGradient);
|
image = RRenderMultiGradient(30, i * WMGetListItemHeight(panel->gcolL), colors, RVerticalGradient);
|
||||||
RConvertImage(WMScreenRContext(scr), image, &panel->gimage);
|
RConvertImage(WMScreenRContext(scr), image, &panel->gimage);
|
||||||
@@ -432,7 +434,7 @@ static void sliderChangeCallback(WMWidget * w, void *data)
|
|||||||
updateGradButtons(panel);
|
updateGradButtons(panel);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void paintGradListItem(WMList * lPtr, int index, Drawable d, char *text, int state, WMRect * rect)
|
static void paintGradListItem(WMList *lPtr, int index, Drawable d, char *text, int state, WMRect *rect)
|
||||||
{
|
{
|
||||||
TexturePanel *panel = (TexturePanel *) WMGetHangedData(lPtr);
|
TexturePanel *panel = (TexturePanel *) WMGetHangedData(lPtr);
|
||||||
WMScreen *scr = WMWidgetScreen(lPtr);
|
WMScreen *scr = WMWidgetScreen(lPtr);
|
||||||
@@ -465,7 +467,7 @@ static void paintGradListItem(WMList * lPtr, int index, Drawable d, char *text,
|
|||||||
WMReleaseColor(gray);
|
WMReleaseColor(gray);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gradAddCallback(WMWidget * w, void *data)
|
static void gradAddCallback(WMWidget *w, void *data)
|
||||||
{
|
{
|
||||||
TexturePanel *panel = (TexturePanel *) data;
|
TexturePanel *panel = (TexturePanel *) data;
|
||||||
WMListItem *item;
|
WMListItem *item;
|
||||||
@@ -489,7 +491,7 @@ static void gradAddCallback(WMWidget * w, void *data)
|
|||||||
WMSetButtonEnabled(panel->okB, WMGetListNumberOfRows(panel->gcolL) > 1);
|
WMSetButtonEnabled(panel->okB, WMGetListNumberOfRows(panel->gcolL) > 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gradClickCallback(WMWidget * w, void *data)
|
static void gradClickCallback(WMWidget *w, void *data)
|
||||||
{
|
{
|
||||||
TexturePanel *panel = (TexturePanel *) data;
|
TexturePanel *panel = (TexturePanel *) data;
|
||||||
WMListItem *item;
|
WMListItem *item;
|
||||||
@@ -511,7 +513,7 @@ static void gradClickCallback(WMWidget * w, void *data)
|
|||||||
sliderChangeCallback(panel->gsatS, panel);
|
sliderChangeCallback(panel->gsatS, panel);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gradDeleteCallback(WMWidget * w, void *data)
|
static void gradDeleteCallback(WMWidget *w, void *data)
|
||||||
{
|
{
|
||||||
TexturePanel *panel = (TexturePanel *) data;
|
TexturePanel *panel = (TexturePanel *) data;
|
||||||
WMListItem *item;
|
WMListItem *item;
|
||||||
@@ -545,7 +547,7 @@ static void gradDeleteCallback(WMWidget * w, void *data)
|
|||||||
|
|
||||||
/*************** Simple Gradient ***************/
|
/*************** Simple Gradient ***************/
|
||||||
|
|
||||||
static void colorWellObserver(void *self, WMNotification * n)
|
static void colorWellObserver(void *self, WMNotification *n)
|
||||||
{
|
{
|
||||||
/* Parameter not used, but tell the compiler that it is ok */
|
/* Parameter not used, but tell the compiler that it is ok */
|
||||||
(void) n;
|
(void) n;
|
||||||
@@ -553,7 +555,7 @@ static void colorWellObserver(void *self, WMNotification * n)
|
|||||||
updateSGradButtons(self);
|
updateSGradButtons(self);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void opaqChangeCallback(WMWidget * w, void *data)
|
static void opaqChangeCallback(WMWidget *w, void *data)
|
||||||
{
|
{
|
||||||
TexturePanel *panel = (TexturePanel *) data;
|
TexturePanel *panel = (TexturePanel *) data;
|
||||||
|
|
||||||
@@ -565,7 +567,7 @@ static void opaqChangeCallback(WMWidget * w, void *data)
|
|||||||
|
|
||||||
/****************** Image ******************/
|
/****************** Image ******************/
|
||||||
|
|
||||||
static void updateImage(TexturePanel * panel, const char *path)
|
static void updateImage(TexturePanel *panel, const char *path)
|
||||||
{
|
{
|
||||||
WMScreen *scr = WMWidgetScreen(panel->win);
|
WMScreen *scr = WMWidgetScreen(panel->win);
|
||||||
RImage *image;
|
RImage *image;
|
||||||
@@ -613,12 +615,12 @@ static void updateImage(TexturePanel * panel, const char *path)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void browseImageCallback(WMWidget * w, void *data)
|
static void browseImageCallback(WMWidget *w, void *data)
|
||||||
{
|
{
|
||||||
TexturePanel *panel = (TexturePanel *) data;
|
TexturePanel *panel = (TexturePanel *) data;
|
||||||
WMOpenPanel *opanel;
|
WMOpenPanel *opanel;
|
||||||
WMScreen *scr = WMWidgetScreen(w);
|
WMScreen *scr = WMWidgetScreen(w);
|
||||||
static char *ipath = NULL;
|
static char *ipath;
|
||||||
|
|
||||||
opanel = WMGetOpenPanel(scr);
|
opanel = WMGetOpenPanel(scr);
|
||||||
WMSetFilePanelCanChooseDirectories(opanel, False);
|
WMSetFilePanelCanChooseDirectories(opanel, False);
|
||||||
@@ -670,18 +672,17 @@ static void browseImageCallback(WMWidget * w, void *data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void buttonCallback(WMWidget * w, void *data)
|
static void buttonCallback(WMWidget *w, void *data)
|
||||||
{
|
{
|
||||||
TexturePanel *panel = (TexturePanel *) data;
|
TexturePanel *panel = (TexturePanel *) data;
|
||||||
|
|
||||||
if (w == panel->okB) {
|
if (w == panel->okB)
|
||||||
(*panel->okAction) (panel->okData);
|
(*panel->okAction) (panel->okData);
|
||||||
} else {
|
else
|
||||||
(*panel->cancelAction) (panel->cancelData);
|
(*panel->cancelAction) (panel->cancelData);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void changeTypeCallback(WMWidget * w, void *data)
|
static void changeTypeCallback(WMWidget *w, void *data)
|
||||||
{
|
{
|
||||||
TexturePanel *panel = (TexturePanel *) data;
|
TexturePanel *panel = (TexturePanel *) data;
|
||||||
int newType;
|
int newType;
|
||||||
@@ -731,7 +732,7 @@ static void changeTypeCallback(WMWidget * w, void *data)
|
|||||||
* Public functions
|
* Public functions
|
||||||
*--------------------------------------------------------------------------
|
*--------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
void ShowTexturePanel(TexturePanel * panel)
|
void ShowTexturePanel(TexturePanel *panel)
|
||||||
{
|
{
|
||||||
Display *dpy = WMScreenDisplay(WMWidgetScreen(panel->win));
|
Display *dpy = WMScreenDisplay(WMWidgetScreen(panel->win));
|
||||||
Screen *scr = DefaultScreenOfDisplay(dpy);
|
Screen *scr = DefaultScreenOfDisplay(dpy);
|
||||||
@@ -742,24 +743,24 @@ void ShowTexturePanel(TexturePanel * panel)
|
|||||||
WMMapWidget(panel->win);
|
WMMapWidget(panel->win);
|
||||||
}
|
}
|
||||||
|
|
||||||
void HideTexturePanel(TexturePanel * panel)
|
void HideTexturePanel(TexturePanel *panel)
|
||||||
{
|
{
|
||||||
WMUnmapWidget(panel->win);
|
WMUnmapWidget(panel->win);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetTexturePanelOkAction(TexturePanel * panel, WMCallback * action, void *clientData)
|
void SetTexturePanelOkAction(TexturePanel *panel, WMCallback *action, void *clientData)
|
||||||
{
|
{
|
||||||
panel->okAction = action;
|
panel->okAction = action;
|
||||||
panel->okData = clientData;
|
panel->okData = clientData;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetTexturePanelCancelAction(TexturePanel * panel, WMCallback * action, void *clientData)
|
void SetTexturePanelCancelAction(TexturePanel *panel, WMCallback *action, void *clientData)
|
||||||
{
|
{
|
||||||
panel->cancelAction = action;
|
panel->cancelAction = action;
|
||||||
panel->cancelData = clientData;
|
panel->cancelData = clientData;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetTexturePanelTexture(TexturePanel * panel, const char *name, WMPropList * texture)
|
void SetTexturePanelTexture(TexturePanel *panel, const char *name, WMPropList *texture)
|
||||||
{
|
{
|
||||||
WMScreen *scr = WMWidgetScreen(panel->win);
|
WMScreen *scr = WMWidgetScreen(panel->win);
|
||||||
char *str, *type;
|
char *str, *type;
|
||||||
@@ -775,9 +776,8 @@ void SetTexturePanelTexture(TexturePanel * panel, const char *name, WMPropList *
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
p = WMGetFromPLArray(texture, 0);
|
p = WMGetFromPLArray(texture, 0);
|
||||||
if (!p) {
|
if (!p)
|
||||||
goto bad_texture;
|
goto bad_texture;
|
||||||
}
|
|
||||||
type = WMGetFromPLString(p);
|
type = WMGetFromPLString(p);
|
||||||
|
|
||||||
/*............................................... */
|
/*............................................... */
|
||||||
@@ -786,11 +786,10 @@ void SetTexturePanelTexture(TexturePanel * panel, const char *name, WMPropList *
|
|||||||
WMSetPopUpButtonSelectedItem(panel->typeP, TYPE_SOLID);
|
WMSetPopUpButtonSelectedItem(panel->typeP, TYPE_SOLID);
|
||||||
|
|
||||||
p = WMGetFromPLArray(texture, 1);
|
p = WMGetFromPLArray(texture, 1);
|
||||||
if (!p) {
|
if (!p)
|
||||||
str = "black";
|
str = "black";
|
||||||
} else {
|
else
|
||||||
str = WMGetFromPLString(p);
|
str = WMGetFromPLString(p);
|
||||||
}
|
|
||||||
color = WMCreateNamedColor(scr, str, False);
|
color = WMCreateNamedColor(scr, str, False);
|
||||||
|
|
||||||
WMSetColorWellColor(panel->defcW, color);
|
WMSetColorWellColor(panel->defcW, color);
|
||||||
@@ -803,11 +802,10 @@ void SetTexturePanelTexture(TexturePanel * panel, const char *name, WMPropList *
|
|||||||
WMSetPopUpButtonSelectedItem(panel->typeP, TYPE_SGRADIENT);
|
WMSetPopUpButtonSelectedItem(panel->typeP, TYPE_SGRADIENT);
|
||||||
|
|
||||||
p = WMGetFromPLArray(texture, 1);
|
p = WMGetFromPLArray(texture, 1);
|
||||||
if (!p) {
|
if (!p)
|
||||||
str = "black";
|
str = "black";
|
||||||
} else {
|
else
|
||||||
str = WMGetFromPLString(p);
|
str = WMGetFromPLString(p);
|
||||||
}
|
|
||||||
color = WMCreateNamedColor(scr, str, False);
|
color = WMCreateNamedColor(scr, str, False);
|
||||||
|
|
||||||
WMSetColorWellColor(panel->tcol1W, color);
|
WMSetColorWellColor(panel->tcol1W, color);
|
||||||
@@ -815,11 +813,10 @@ void SetTexturePanelTexture(TexturePanel * panel, const char *name, WMPropList *
|
|||||||
WMReleaseColor(color);
|
WMReleaseColor(color);
|
||||||
|
|
||||||
p = WMGetFromPLArray(texture, 2);
|
p = WMGetFromPLArray(texture, 2);
|
||||||
if (!p) {
|
if (!p)
|
||||||
str = "black";
|
str = "black";
|
||||||
} else {
|
else
|
||||||
str = WMGetFromPLString(p);
|
str = WMGetFromPLString(p);
|
||||||
}
|
|
||||||
color = WMCreateNamedColor(scr, str, False);
|
color = WMCreateNamedColor(scr, str, False);
|
||||||
|
|
||||||
WMSetColorWellColor(panel->tcol2W, color);
|
WMSetColorWellColor(panel->tcol2W, color);
|
||||||
@@ -846,11 +843,10 @@ void SetTexturePanelTexture(TexturePanel * panel, const char *name, WMPropList *
|
|||||||
WMSetSliderValue(panel->topaS, i);
|
WMSetSliderValue(panel->topaS, i);
|
||||||
|
|
||||||
p = WMGetFromPLArray(texture, 3);
|
p = WMGetFromPLArray(texture, 3);
|
||||||
if (!p) {
|
if (!p)
|
||||||
str = "black";
|
str = "black";
|
||||||
} else {
|
else
|
||||||
str = WMGetFromPLString(p);
|
str = WMGetFromPLString(p);
|
||||||
}
|
|
||||||
color = WMCreateNamedColor(scr, str, False);
|
color = WMCreateNamedColor(scr, str, False);
|
||||||
|
|
||||||
WMSetColorWellColor(panel->tcol1W, color);
|
WMSetColorWellColor(panel->tcol1W, color);
|
||||||
@@ -858,11 +854,10 @@ void SetTexturePanelTexture(TexturePanel * panel, const char *name, WMPropList *
|
|||||||
WMReleaseColor(color);
|
WMReleaseColor(color);
|
||||||
|
|
||||||
p = WMGetFromPLArray(texture, 4);
|
p = WMGetFromPLArray(texture, 4);
|
||||||
if (!p) {
|
if (!p)
|
||||||
str = "black";
|
str = "black";
|
||||||
} else {
|
else
|
||||||
str = WMGetFromPLString(p);
|
str = WMGetFromPLString(p);
|
||||||
}
|
|
||||||
color = WMCreateNamedColor(scr, str, False);
|
color = WMCreateNamedColor(scr, str, False);
|
||||||
|
|
||||||
WMSetColorWellColor(panel->tcol2W, color);
|
WMSetColorWellColor(panel->tcol2W, color);
|
||||||
@@ -873,9 +868,9 @@ void SetTexturePanelTexture(TexturePanel * panel, const char *name, WMPropList *
|
|||||||
|
|
||||||
if (panel->imageFile)
|
if (panel->imageFile)
|
||||||
wfree(panel->imageFile);
|
wfree(panel->imageFile);
|
||||||
if ((panel->imageFile = wfindfileinarray(panel->pathList,
|
panel->imageFile = wfindfileinarray(panel->pathList,
|
||||||
WMGetFromPLString(WMGetFromPLArray(texture, 1)))) !=
|
WMGetFromPLString(WMGetFromPLArray(texture, 1)));
|
||||||
NULL) {
|
if (panel->imageFile != NULL) {
|
||||||
|
|
||||||
panel->image = RLoadImage(WMScreenRContext(scr), panel->imageFile, 0);
|
panel->image = RLoadImage(WMScreenRContext(scr), panel->imageFile, 0);
|
||||||
updateTGradImage(panel);
|
updateTGradImage(panel);
|
||||||
@@ -899,11 +894,10 @@ void SetTexturePanelTexture(TexturePanel * panel, const char *name, WMPropList *
|
|||||||
WMSetPopUpButtonSelectedItem(panel->typeP, TYPE_GRADIENT);
|
WMSetPopUpButtonSelectedItem(panel->typeP, TYPE_GRADIENT);
|
||||||
|
|
||||||
p = WMGetFromPLArray(texture, 1);
|
p = WMGetFromPLArray(texture, 1);
|
||||||
if (!p) {
|
if (!p)
|
||||||
str = "black";
|
str = "black";
|
||||||
} else {
|
else
|
||||||
str = WMGetFromPLString(p);
|
str = WMGetFromPLString(p);
|
||||||
}
|
|
||||||
color = WMCreateNamedColor(scr, str, False);
|
color = WMCreateNamedColor(scr, str, False);
|
||||||
|
|
||||||
WMSetColorWellColor(panel->defcW, color);
|
WMSetColorWellColor(panel->defcW, color);
|
||||||
@@ -915,11 +909,10 @@ void SetTexturePanelTexture(TexturePanel * panel, const char *name, WMPropList *
|
|||||||
XColor xcolor;
|
XColor xcolor;
|
||||||
|
|
||||||
p = WMGetFromPLArray(texture, i);
|
p = WMGetFromPLArray(texture, i);
|
||||||
if (!p) {
|
if (!p)
|
||||||
str = "black";
|
str = "black";
|
||||||
} else {
|
else
|
||||||
str = WMGetFromPLString(p);
|
str = WMGetFromPLString(p);
|
||||||
}
|
|
||||||
|
|
||||||
XParseColor(WMScreenDisplay(scr), WMScreenRContext(scr)->cmap, str, &xcolor);
|
XParseColor(WMScreenDisplay(scr), WMScreenRContext(scr)->cmap, str, &xcolor);
|
||||||
|
|
||||||
@@ -953,6 +946,9 @@ void SetTexturePanelTexture(TexturePanel * panel, const char *name, WMPropList *
|
|||||||
case 'M':
|
case 'M':
|
||||||
WMSetPopUpButtonSelectedItem(panel->arrP, PTYPE_MAXIMIZE);
|
WMSetPopUpButtonSelectedItem(panel->arrP, PTYPE_MAXIMIZE);
|
||||||
break;
|
break;
|
||||||
|
case 'F':
|
||||||
|
WMSetPopUpButtonSelectedItem(panel->arrP, PTYPE_FILL);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
case 'T':
|
case 'T':
|
||||||
WMSetPopUpButtonSelectedItem(panel->arrP, PTYPE_TILE);
|
WMSetPopUpButtonSelectedItem(panel->arrP, PTYPE_TILE);
|
||||||
@@ -1001,13 +997,13 @@ void SetTexturePanelTexture(TexturePanel * panel, const char *name, WMPropList *
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
char *GetTexturePanelTextureName(TexturePanel * panel)
|
char *GetTexturePanelTextureName(TexturePanel *panel)
|
||||||
{
|
{
|
||||||
return WMGetTextFieldText(panel->nameT);
|
return WMGetTextFieldText(panel->nameT);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
WMPropList *GetTexturePanelTexture(TexturePanel * panel)
|
WMPropList *GetTexturePanelTexture(TexturePanel *panel)
|
||||||
{
|
{
|
||||||
WMPropList *prop = NULL;
|
WMPropList *prop = NULL;
|
||||||
WMColor *color;
|
WMColor *color;
|
||||||
@@ -1038,6 +1034,10 @@ WMPropList *GetTexturePanelTexture(TexturePanel * panel)
|
|||||||
prop = WMCreatePLArray(WMCreatePLString("mpixmap"),
|
prop = WMCreatePLArray(WMCreatePLString("mpixmap"),
|
||||||
WMCreatePLString(panel->imageFile), WMCreatePLString(str), NULL);
|
WMCreatePLString(panel->imageFile), WMCreatePLString(str), NULL);
|
||||||
break;
|
break;
|
||||||
|
case PTYPE_FILL:
|
||||||
|
prop = WMCreatePLArray(WMCreatePLString("fpixmap"),
|
||||||
|
WMCreatePLString(panel->imageFile), WMCreatePLString(str), NULL);
|
||||||
|
break;
|
||||||
case PTYPE_CENTER:
|
case PTYPE_CENTER:
|
||||||
prop = WMCreatePLArray(WMCreatePLString("cpixmap"),
|
prop = WMCreatePLArray(WMCreatePLString("cpixmap"),
|
||||||
WMCreatePLString(panel->imageFile), WMCreatePLString(str), NULL);
|
WMCreatePLString(panel->imageFile), WMCreatePLString(str), NULL);
|
||||||
@@ -1104,13 +1104,12 @@ WMPropList *GetTexturePanelTexture(TexturePanel * panel)
|
|||||||
color = WMGetColorWellColor(panel->defcW);
|
color = WMGetColorWellColor(panel->defcW);
|
||||||
str = WMGetColorRGBDescription(color);
|
str = WMGetColorRGBDescription(color);
|
||||||
|
|
||||||
if (WMGetButtonSelected(panel->dirdB)) {
|
if (WMGetButtonSelected(panel->dirdB))
|
||||||
prop = WMCreatePLArray(WMCreatePLString("mdgradient"), WMCreatePLString(str), NULL);
|
prop = WMCreatePLArray(WMCreatePLString("mdgradient"), WMCreatePLString(str), NULL);
|
||||||
} else if (WMGetButtonSelected(panel->dirvB)) {
|
else if (WMGetButtonSelected(panel->dirvB))
|
||||||
prop = WMCreatePLArray(WMCreatePLString("mvgradient"), WMCreatePLString(str), NULL);
|
prop = WMCreatePLArray(WMCreatePLString("mvgradient"), WMCreatePLString(str), NULL);
|
||||||
} else {
|
else
|
||||||
prop = WMCreatePLArray(WMCreatePLString("mhgradient"), WMCreatePLString(str), NULL);
|
prop = WMCreatePLArray(WMCreatePLString("mhgradient"), WMCreatePLString(str), NULL);
|
||||||
}
|
|
||||||
wfree(str);
|
wfree(str);
|
||||||
|
|
||||||
for (i = 0; i < WMGetListNumberOfRows(panel->gcolL); i++) {
|
for (i = 0; i < WMGetListNumberOfRows(panel->gcolL); i++) {
|
||||||
@@ -1131,12 +1130,12 @@ WMPropList *GetTexturePanelTexture(TexturePanel * panel)
|
|||||||
return prop;
|
return prop;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetTexturePanelPixmapPath(TexturePanel * panel, WMPropList * array)
|
void SetTexturePanelPixmapPath(TexturePanel *panel, WMPropList *array)
|
||||||
{
|
{
|
||||||
panel->pathList = array;
|
panel->pathList = array;
|
||||||
}
|
}
|
||||||
|
|
||||||
TexturePanel *CreateTexturePanel(WMWindow * keyWindow)
|
TexturePanel *CreateTexturePanel(WMWindow *keyWindow)
|
||||||
/*CreateTexturePanel(WMScreen *scr)*/
|
/*CreateTexturePanel(WMScreen *scr)*/
|
||||||
{
|
{
|
||||||
TexturePanel *panel;
|
TexturePanel *panel;
|
||||||
@@ -1407,6 +1406,7 @@ TexturePanel *CreateTexturePanel(WMWindow * keyWindow)
|
|||||||
WMAddPopUpButtonItem(panel->arrP, _("Scale"));
|
WMAddPopUpButtonItem(panel->arrP, _("Scale"));
|
||||||
WMAddPopUpButtonItem(panel->arrP, _("Center"));
|
WMAddPopUpButtonItem(panel->arrP, _("Center"));
|
||||||
WMAddPopUpButtonItem(panel->arrP, _("Maximize"));
|
WMAddPopUpButtonItem(panel->arrP, _("Maximize"));
|
||||||
|
WMAddPopUpButtonItem(panel->arrP, _("Fill"));
|
||||||
WMSetPopUpButtonSelectedItem(panel->arrP, 0);
|
WMSetPopUpButtonSelectedItem(panel->arrP, 0);
|
||||||
|
|
||||||
WMMapSubwidgets(panel->imageF);
|
WMMapSubwidgets(panel->imageF);
|
||||||
@@ -1475,7 +1475,7 @@ TexturePanel *CreateTexturePanel(WMWindow * keyWindow)
|
|||||||
|
|
||||||
char *ProgName = "test";
|
char *ProgName = "test";
|
||||||
|
|
||||||
void testOKButton(WMWidget * self, void *data)
|
void testOKButton(WMWidget *self, void *data)
|
||||||
{
|
{
|
||||||
char *test;
|
char *test;
|
||||||
Display *dpy;
|
Display *dpy;
|
||||||
@@ -1504,13 +1504,13 @@ void testOKButton(WMWidget * self, void *data)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void testCancelButton(WMWidget * self, void *data)
|
void testCancelButton(WMWidget *self, void *data)
|
||||||
{
|
{
|
||||||
wwarning("Exiting test....");
|
wwarning("Exiting test....");
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wAbort()
|
void wAbort(void)
|
||||||
{
|
{
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -602,7 +602,7 @@ static void loadConfigurations(WMScreen * scr, WMWindow * mainw)
|
|||||||
char *path;
|
char *path;
|
||||||
FILE *file;
|
FILE *file;
|
||||||
char buffer[1024];
|
char buffer[1024];
|
||||||
char mbuf[1024];
|
char mbuf[1069]; /* Size of buffer and extra characters for the sprintfs */
|
||||||
int v1, v2, v3;
|
int v1, v2, v3;
|
||||||
|
|
||||||
path = wdefaultspathfordomain("WindowMaker");
|
path = wdefaultspathfordomain("WindowMaker");
|
||||||
|
|||||||
@@ -66,19 +66,6 @@ static void print_help(const char *progname)
|
|||||||
puts(_(" --help print this message and exit"));
|
puts(_(" --help print this message and exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
static RETSIGTYPE handleDeadChild(int sig)
|
|
||||||
{
|
|
||||||
pid_t pid;
|
|
||||||
int status;
|
|
||||||
|
|
||||||
pid = waitpid(-1, &status, WNOHANG);
|
|
||||||
if (pid > 0) {
|
|
||||||
DeadChildren[DeadChildrenCount++] = pid;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void AddDeadChildHandler(pid_t pid, void (*handler) (void *), void *data)
|
void AddDeadChildHandler(pid_t pid, void (*handler) (void *), void *data)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
@@ -164,9 +151,6 @@ int main(int argc, char **argv)
|
|||||||
wfatal(_("could not open display %s"), XDisplayName(display_name));
|
wfatal(_("could not open display %s"), XDisplayName(display_name));
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
#if 0
|
|
||||||
XSynchronize(dpy, 1);
|
|
||||||
#endif
|
|
||||||
scr = WMCreateScreen(dpy, DefaultScreen(dpy));
|
scr = WMCreateScreen(dpy, DefaultScreen(dpy));
|
||||||
if (!scr) {
|
if (!scr) {
|
||||||
wfatal(_("could not initialize application"));
|
wfatal(_("could not initialize application"));
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ CATALOGS = @WPREFSMOFILES@
|
|||||||
CLEANFILES = $(DOMAIN).pot $(CATALOGS)
|
CLEANFILES = $(DOMAIN).pot $(CATALOGS)
|
||||||
|
|
||||||
EXTRA_DIST = bg.po ca.po cs.po de.po es.po et.po fi.po fr.po fy.po hr.po hu.po \
|
EXTRA_DIST = bg.po ca.po cs.po de.po es.po et.po fi.po fr.po fy.po hr.po hu.po \
|
||||||
it.po ja.po ko.po nl.po pt.po ru.po sk.po uk.po zh_CN.po zh_TW.po
|
it.po ja.po ko.po nl.po pt.po ru.po sk.po tr.po uk.po zh_CN.po zh_TW.po
|
||||||
|
|
||||||
POTFILES = \
|
POTFILES = \
|
||||||
$(top_srcdir)/WPrefs.app/Appearance.c \
|
$(top_srcdir)/WPrefs.app/Appearance.c \
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
File Language Current Maintainer
|
File Language Current Maintainer
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
pt.po Portuguese Eliphas Levy Theodoro <eliphas@conectiva.com.br>
|
pt.po Portuguese Eliphas Levy Theodoro <eliphas@conectiva.com.br>
|
||||||
hr.po Croatian Toni Biliæ <tbilic@oliver.efos.hr>
|
hr.po Croatian Toni Biliæ <tbilic@oliver.efos.hr>
|
||||||
fr.po French Bastien NOCERA <hadess@writeme.com>
|
fr.po French Bastien NOCERA <hadess@writeme.com>
|
||||||
Hadess <hadess@infonie.fr>
|
Hadess <hadess@infonie.fr>
|
||||||
Antoine Hulin <antoine@origan.fdn.org>
|
Antoine Hulin <antoine@origan.fdn.org>
|
||||||
@@ -23,6 +23,6 @@ bg.po Bulgarian Slavei Karadjov <slaff@exco.net>
|
|||||||
Anton Zinoviev <zinoviev@debian.org>
|
Anton Zinoviev <zinoviev@debian.org>
|
||||||
sk.po Slovak Jan 'judas' Tomka <judas@linux.sk>
|
sk.po Slovak Jan 'judas' Tomka <judas@linux.sk>
|
||||||
et.po Estonian Ivar Smolin <okul@linux.ee>
|
et.po Estonian Ivar Smolin <okul@linux.ee>
|
||||||
ca.po Catalan Ernest Adrogué <eadrogue@gmx.net>
|
ca.po Catalan Ernest Adrogué <eadrogue@gmx.net>
|
||||||
nl.po Dutch Alwin <translations@ziggo.nl>
|
nl.po Dutch Alwin <translations@ziggo.nl>
|
||||||
fy.po Frisian Alwin <translations@ziggo.nl>
|
fy.po Frisian Alwin <translations@ziggo.nl>
|
||||||
|
|||||||
+1
-1
@@ -819,7 +819,7 @@ msgstr "Clip in den Vor-/Hintergrund"
|
|||||||
|
|
||||||
#: ../../WPrefs.app/KeyboardShortcuts.c:518
|
#: ../../WPrefs.app/KeyboardShortcuts.c:518
|
||||||
msgid "Toggle keyboard language"
|
msgid "Toggle keyboard language"
|
||||||
msgstr "Tastatursbelegung ändern"
|
msgstr "Tastaturbelegung ändern"
|
||||||
|
|
||||||
#: ../../WPrefs.app/KeyboardShortcuts.c:532
|
#: ../../WPrefs.app/KeyboardShortcuts.c:532
|
||||||
msgid "Shortcut"
|
msgid "Shortcut"
|
||||||
|
|||||||
+1
-1
@@ -1671,7 +1671,7 @@ msgstr "Keela tiitliriba"
|
|||||||
msgid ""
|
msgid ""
|
||||||
"Remove the titlebar of this window.\n"
|
"Remove the titlebar of this window.\n"
|
||||||
"To access the window commands menu of a window\n"
|
"To access the window commands menu of a window\n"
|
||||||
"without it's titlebar, press Control+Esc (or the\n"
|
"without its titlebar, press Control+Esc (or the\n"
|
||||||
"equivalent shortcut, if you changed the default\n"
|
"equivalent shortcut, if you changed the default\n"
|
||||||
"settings)."
|
"settings)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|||||||
+411
-443
File diff suppressed because it is too large
Load Diff
+296
-330
File diff suppressed because it is too large
Load Diff
+69
-18
@@ -380,45 +380,71 @@ msgstr ""
|
|||||||
"параметров и количества цветов для резервирования за\n"
|
"параметров и количества цветов для резервирования за\n"
|
||||||
"Window Maker'ом при работе с 8bit'ным цветом (8bpp)."
|
"Window Maker'ом при работе с 8bit'ным цветом (8bpp)."
|
||||||
|
|
||||||
#: ../../WPrefs.app/Expert.c:75
|
#: ../../WPrefs.app/Expert.c:44
|
||||||
msgid ""
|
msgid "Disable miniwindows (icons for minimized windows). For use with KDE/GNOME."
|
||||||
"Disable miniwindows (icons for miniaturized windows). For use with KDE/GNOME."
|
msgstr "Запретить миниокна иконки для минимизированных окон. Для использования с KDE/GNOME."
|
||||||
msgstr ""
|
|
||||||
"Запретить миниокна (иконки для минимизированных окон). Для использования с "
|
|
||||||
"KDE/GNOME."
|
|
||||||
|
|
||||||
#: ../../WPrefs.app/Expert.c:76
|
#: ../../WPrefs.app/Expert.c:47
|
||||||
|
msgid "Ignore decoration hints for GTK applications."
|
||||||
|
msgstr "Игнорировать декорацию окон для GTK приложений."
|
||||||
|
|
||||||
|
#: ../../WPrefs.app/Expert.c:53
|
||||||
msgid "Do not set non-WindowMaker specific parameters (do not use xset)."
|
msgid "Do not set non-WindowMaker specific parameters (do not use xset)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Не устанавливать параметры, не относящиеся непосредственно к\n"
|
"Не устанавливать параметры, не относящиеся непосредственно к\n"
|
||||||
"Window Maker'у (не использовать xset)."
|
"Window Maker'у (не использовать xset)."
|
||||||
|
|
||||||
#: ../../WPrefs.app/Expert.c:77
|
#: ../../WPrefs.app/Expert.c:56
|
||||||
msgid "Automatically save session when exiting Window Maker."
|
msgid "Automatically save session when exiting Window Maker."
|
||||||
msgstr "Автоматически сохранять сессию при выходе из Window Maker'а."
|
msgstr "Автоматически сохранять сессию при выходе из Window Maker'а."
|
||||||
|
|
||||||
#: ../../WPrefs.app/Expert.c:78
|
#: ../../WPrefs.app/Expert.c:59
|
||||||
msgid "Use SaveUnder in window frames, icons, menus and other objects."
|
msgid "Use SaveUnder in window frames, icons, menus and other objects."
|
||||||
msgstr "Использовать SaveUnder для окон, иконок, меню и других объектов."
|
msgstr "Использовать SaveUnder для окон, иконок, меню и других объектов."
|
||||||
|
|
||||||
#: ../../WPrefs.app/Expert.c:79
|
#: ../../WPrefs.app/Expert.c:62
|
||||||
msgid "Use Windoze style cycling."
|
|
||||||
msgstr "Переключение окон в стиле Windows"
|
|
||||||
|
|
||||||
#: ../../WPrefs.app/Expert.c:80
|
|
||||||
msgid "Disable confirmation panel for the Kill command."
|
msgid "Disable confirmation panel for the Kill command."
|
||||||
msgstr "Запретить диалог подтверждения для команды `Убить'."
|
msgstr "Запретить диалог подтверждения для команды `Убить'."
|
||||||
|
|
||||||
# awn: FIXME: что это вообще значит?
|
|
||||||
#: ../../WPrefs.app/Expert.c:81
|
|
||||||
msgid "Disable selection animation for selected icons."
|
msgid "Disable selection animation for selected icons."
|
||||||
msgstr "Запретить анимацию выбора для выбранных иконок."
|
msgstr "Запретить анимацию выбора для выбранных иконок."
|
||||||
|
|
||||||
#: ../../WPrefs.app/Expert.c:115
|
msgid "Show switch panel when cycling windows."
|
||||||
|
msgstr "Показывать панель переключения окон."
|
||||||
|
|
||||||
|
#: ../../WPrefs.app/Expert.c:68
|
||||||
|
msgid "Smooth font edges (needs restart)."
|
||||||
|
msgstr "Cглаживание шрифтов (требуется перезагрузка)."
|
||||||
|
|
||||||
|
#: ../../WPrefs.app/Expert.c:80
|
||||||
|
msgid "Show workspace title on Clip."
|
||||||
|
msgstr "Показывать имя рабочего места на скрепке."
|
||||||
|
|
||||||
|
#: ../../WPrefs.app/Expert.c:83
|
||||||
|
msgid "Highlight the icon of the application when it has the focus."
|
||||||
|
msgstr "Подсвечивание иконок при нажатии (в фокусе)."
|
||||||
|
|
||||||
|
#: ../../WPrefs.app/Expert.c:91
|
||||||
|
msgid "Maximize (snap) a window to edge or corner by dragging."
|
||||||
|
msgstr "Прилипания окон по краям и углам."
|
||||||
|
|
||||||
|
#: ../../WPrefs.app/Expert.c:100
|
||||||
|
msgid "Snapping a window to the top maximizes it to the full screen."
|
||||||
|
msgstr "Распахнуть окно при перетаскивании к верхнему краю."
|
||||||
|
|
||||||
|
#: ../../WPrefs.app/Expert.c:118
|
||||||
|
msgid "Double click on titlebar maximize a window to full screen."
|
||||||
|
msgstr "Распахнуть окно двойным щелчком."
|
||||||
|
|
||||||
|
#: ../../WPrefs.app/Expert.c:121
|
||||||
|
msgid "Close rootmenu when mouse (left or right) is clicked outside focus."
|
||||||
|
msgstr "Закрывать меню приложений правым или левым щелчком мыши вне фокуса."
|
||||||
|
|
||||||
|
#: ../../WPrefs.app/Expert.c:328
|
||||||
msgid "Expert User Preferences"
|
msgid "Expert User Preferences"
|
||||||
msgstr "Установки для опытного пользователя"
|
msgstr "Установки для опытного пользователя"
|
||||||
|
|
||||||
#: ../../WPrefs.app/Expert.c:117
|
#: ../../WPrefs.app/Expert.c:330
|
||||||
msgid ""
|
msgid ""
|
||||||
"Options for people who know what they're doing...\n"
|
"Options for people who know what they're doing...\n"
|
||||||
"Also have some other misc. options."
|
"Also have some other misc. options."
|
||||||
@@ -623,6 +649,11 @@ msgstr ""
|
|||||||
"Параметры обработки иконок и миниокон. Размещение иконок,\n"
|
"Параметры обработки иконок и миниокон. Размещение иконок,\n"
|
||||||
"размер иконок, в каком стиле анимировать сворачивание."
|
"размер иконок, в каком стиле анимировать сворачивание."
|
||||||
|
|
||||||
|
#: ../../WPrefs.app/Icons.c:414
|
||||||
|
msgid "Single click activation"
|
||||||
|
msgstr "Одинарный щелчок мыши"
|
||||||
|
|
||||||
|
|
||||||
#: ../../WPrefs.app/imagebrowser.c:95
|
#: ../../WPrefs.app/imagebrowser.c:95
|
||||||
msgid "View"
|
msgid "View"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -1901,6 +1932,10 @@ msgstr ""
|
|||||||
msgid "Resist"
|
msgid "Resist"
|
||||||
msgstr "Упираться"
|
msgstr "Упираться"
|
||||||
|
|
||||||
|
#: ../../WPrefs.app/WindowHandling.c:406
|
||||||
|
msgid "Opaque Move/Resize"
|
||||||
|
msgstr "Перемещ/Измен.разм."
|
||||||
|
|
||||||
#: ../../WPrefs.app/WindowHandling.c:407
|
#: ../../WPrefs.app/WindowHandling.c:407
|
||||||
msgid "Attract"
|
msgid "Attract"
|
||||||
msgstr "Притягиваться"
|
msgstr "Притягиваться"
|
||||||
@@ -1923,6 +1958,22 @@ msgstr ""
|
|||||||
"Как обращаться с окнами. Начальное расположение окон.\n"
|
"Как обращаться с окнами. Начальное расположение окон.\n"
|
||||||
"Сопротивляемость границ. Сплошное/каркасное перемещение, и т.п."
|
"Сопротивляемость границ. Сплошное/каркасное перемещение, и т.п."
|
||||||
|
|
||||||
|
#: ../../WPrefs.app/WindowHandling.c:474
|
||||||
|
msgid "by keyboard"
|
||||||
|
msgstr "c помощ.клав."
|
||||||
|
|
||||||
|
#: ../../WPrefs.app/WindowHandling.c:490
|
||||||
|
msgid "...do not cover:"
|
||||||
|
msgstr "не перекрывать:"
|
||||||
|
|
||||||
|
#: ../../WPrefs.app/WindowHandling.c:497
|
||||||
|
msgid "Icons"
|
||||||
|
msgstr "Иконок"
|
||||||
|
|
||||||
|
#: ../../WPrefs.app/WindowHandling.c:502
|
||||||
|
msgid "The dock"
|
||||||
|
msgstr "Дока"
|
||||||
|
|
||||||
#: ../../WPrefs.app/Workspace.c:176
|
#: ../../WPrefs.app/Workspace.c:176
|
||||||
msgid "Workspace Navigation"
|
msgid "Workspace Navigation"
|
||||||
msgstr "Навигация по рабочим пространствам"
|
msgstr "Навигация по рабочим пространствам"
|
||||||
|
|||||||
+2627
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -1,6 +1,3 @@
|
|||||||
|
|
||||||
defsdatadir = $(sysconfdir)/WindowMaker
|
|
||||||
|
|
||||||
defsdata_DATA = WMRootMenu WMWindowAttributes WindowMaker WMState WMGLOBAL
|
defsdata_DATA = WMRootMenu WMWindowAttributes WindowMaker WMState WMGLOBAL
|
||||||
|
|
||||||
wpexecbindir = @wprefs_bindir@
|
wpexecbindir = @wprefs_bindir@
|
||||||
@@ -15,7 +12,8 @@ WMWindowAttributes: $(srcdir)/WMWindowAttributes.in
|
|||||||
chmod 644 WMWindowAttributes
|
chmod 644 WMWindowAttributes
|
||||||
|
|
||||||
WindowMaker: $(srcdir)/WindowMaker.in
|
WindowMaker: $(srcdir)/WindowMaker.in
|
||||||
$(AM_V_GEN)sed -e "s:#pkgdatadir#:$(pkgdatadir):" $(srcdir)/WindowMaker.in \
|
$(AM_V_GEN)sed -e "s:#pkgdatadir#:$(pkgdatadir):" \
|
||||||
|
-e "s:#pixmapdir#:$(pixmapdir):" $(srcdir)/WindowMaker.in \
|
||||||
> WindowMaker ; \
|
> WindowMaker ; \
|
||||||
chmod 644 WindowMaker
|
chmod 644 WindowMaker
|
||||||
|
|
||||||
@@ -23,5 +21,5 @@ WMState: $(srcdir)/WMState.in
|
|||||||
$(AM_V_GEN)sed -e "s:#wprefs#:$(wpexecbindir)/WPrefs:" $(srcdir)/WMState.in > WMState ; \
|
$(AM_V_GEN)sed -e "s:#wprefs#:$(wpexecbindir)/WPrefs:" $(srcdir)/WMState.in > WMState ; \
|
||||||
chmod 644 WMState
|
chmod 644 WMState
|
||||||
|
|
||||||
WMRootMenu: $(srcdir)/../plmenu
|
WMRootMenu: ./../plmenu
|
||||||
$(AM_V_GEN)cp -f $(srcdir)/../plmenu WMRootMenu
|
$(AM_V_GEN)cp -f ./../plmenu WMRootMenu
|
||||||
|
|||||||
+249
-137
@@ -1,139 +1,251 @@
|
|||||||
{
|
{
|
||||||
SmoothWorkspaceBack = NO;
|
ColormapSize = 4;
|
||||||
PopupSwitchMenu = NO;
|
DisableDithering = NO;
|
||||||
MenuStyle = normal;
|
IconSize = 64;
|
||||||
DisableMiniwindows = NO;
|
ModifierKey = Mod1;
|
||||||
DisableWorkspacePager = NO;
|
FocusMode = manual;
|
||||||
OpenTransientOnOwnerWorkspace = NO;
|
NewStyle = new;
|
||||||
EdgeResistance = 30;
|
DisableDock = NO;
|
||||||
WorkspaceBorderSize = 0;
|
DisableClip = NO;
|
||||||
WorkspaceBorder = None;
|
DisableDrawers = NO;
|
||||||
IconificationStyle = Zoom;
|
ClipMergedInDock = NO;
|
||||||
IconPath = (
|
DisableMiniwindows = NO;
|
||||||
"~/GNUstep/Library/Icons",
|
EnableWorkspacePager = NO;
|
||||||
"#pkgdatadir#/Icons",
|
IconPosition = blh;
|
||||||
"#pkgdatadir#/Pixmaps",
|
IconificationStyle = Zoom;
|
||||||
"/usr/include/X11/pixmaps",
|
DisableWSMouseActions = NO;
|
||||||
"~/GNUstep/Library/WindowMaker/Pixmaps",
|
MouseLeftButtonAction = SelectWindows;
|
||||||
"~/GNUstep/Library/WindowMaker/CachedPixmaps",
|
MouseMiddleButtonAction = OpenWindowListMenu;
|
||||||
"/usr/share/icons",
|
MouseRightButtonAction = OpenApplicationsMenu;
|
||||||
"/usr/local/share/pixmaps",
|
MouseBackwardButtonAction = None;
|
||||||
"/usr/share/pixmaps"
|
MouseForwardButtonAction = None;
|
||||||
);
|
MouseWheelAction = None;
|
||||||
PixmapPath = (
|
MouseWheelTiltAction = None;
|
||||||
"~/GNUstep/Library/WindowMaker/Pixmaps",
|
PixmapPath = (
|
||||||
"~/GNUstep/Library/WindowMaker/Backgrounds",
|
"~/GNUstep/Library/WindowMaker/Pixmaps",
|
||||||
"~/GNUstep/Library/WindowMaker/CachedPixmaps",
|
"~/GNUstep/Library/WindowMaker/Backgrounds",
|
||||||
"#pkgdatadir#/Pixmaps",
|
"~/GNUstep/Library/WindowMaker/CachedPixmaps",
|
||||||
"#pkgdatadir#/Backgrounds",
|
"~/pixmaps",
|
||||||
"/usr/include/X11/pixmaps",
|
"#pkgdatadir#/Pixmaps",
|
||||||
"/usr/local/share/pixmaps",
|
"#pkgdatadir#/Backgrounds",
|
||||||
"/usr/share/pixmaps"
|
"#pixmapdir#"
|
||||||
);
|
);
|
||||||
WindowTitleBalloons = YES;
|
IconPath = (
|
||||||
IconSize = 64;
|
"~/GNUstep/Library/Icons",
|
||||||
FocusMode = manual;
|
"~/GNUstep/Library/WindowMaker/Pixmaps",
|
||||||
DisableWSMouseActions = NO;
|
"~/GNUstep/Library/WindowMaker/CachedPixmaps",
|
||||||
MouseLeftButtonAction = SelectWindows;
|
"~/pixmaps",
|
||||||
MouseMiddleButtonAction = OpenWindowListMenu;
|
"#pkgdatadir#/Icons",
|
||||||
MouseRightButtonAction = OpenApplicationsMenu;
|
"#pkgdatadir#/Pixmaps",
|
||||||
MouseWheelAction = None;
|
"#pixmapdir#"
|
||||||
ColormapSize = 4;
|
);
|
||||||
DisableDithering = NO;
|
ColormapMode = auto;
|
||||||
ModifierKey = Mod1;
|
AutoFocus = YES;
|
||||||
NewStyle = "new";
|
RaiseDelay = 0;
|
||||||
DisableDock = NO;
|
CirculateRaise = NO;
|
||||||
DisableClip = NO;
|
Superfluous = YES;
|
||||||
DisableDrawers = NO;
|
AdvanceToNewWorkspace = NO;
|
||||||
Superfluous = YES;
|
CycleWorkspaces = NO;
|
||||||
StickyIcons = NO;
|
WorkspaceNameDisplayPosition = center;
|
||||||
SaveSessionOnExit = NO;
|
WorkspaceBorder = None;
|
||||||
ColormapMode = auto;
|
WorkspaceBorderSize = 0;
|
||||||
RaiseDelay = 0;
|
StickyIcons = NO;
|
||||||
AutoFocus = YES;
|
SaveSessionOnExit = NO;
|
||||||
WindowPlacement = auto;
|
WrapMenus = NO;
|
||||||
WindowPlaceOrigin = (64, 0);
|
ScrollableMenus = YES;
|
||||||
UseSaveUnders = NO;
|
MenuScrollSpeed = fast;
|
||||||
DisableSound = NO;
|
IconSlideSpeed = fast;
|
||||||
DisableAnimations = NO;
|
ShadeSpeed = fast;
|
||||||
DontLinkWorkspaces = YES;
|
BounceAppIconsWhenUrgent = YES;
|
||||||
AutoArrangeIcons = NO;
|
RaiseAppIconsWhenBouncing = NO;
|
||||||
AdvanceToNewWorkspace = NO;
|
DoNotMakeAppIconsBounce = NO;
|
||||||
CycleWorkspaces = NO;
|
DoubleClickTime = 250;
|
||||||
ResizeDisplay = center;
|
ClipAutoraiseDelay = 600;
|
||||||
MoveDisplay = floating;
|
ClipAutolowerDelay = 1000;
|
||||||
OpaqueMove = YES;
|
ClipAutoexpandDelay = 600;
|
||||||
IconPosition = "blh";
|
ClipAutocollapseDelay = 1000;
|
||||||
WrapMenus = NO;
|
WrapAppiconsInDock = YES;
|
||||||
ScrollableMenus = YES;
|
AlignSubmenus = NO;
|
||||||
MenuScrollSpeed = fast;
|
ViKeyMenus = NO;
|
||||||
IconSlideSpeed = fast;
|
OpenTransientOnOwnerWorkspace = NO;
|
||||||
ShadeSpeed = fast;
|
WindowPlacement = auto;
|
||||||
DoubleClickTime = 250;
|
IgnoreFocusClick = NO;
|
||||||
AlignSubmenus = NO;
|
UseSaveUnders = NO;
|
||||||
NoWindowOverIcons = NO;
|
OpaqueMove = YES;
|
||||||
IgnoreFocusClick = NO;
|
OpaqueResize = NO;
|
||||||
CloseKey = None;
|
OpaqueMoveResizeKeyboard = NO;
|
||||||
MaximizeKey = None;
|
DisableAnimations = NO;
|
||||||
VMaximizeKey = None;
|
DontLinkWorkspaces = YES;
|
||||||
RaiseLowerKey = None;
|
WindowSnapping = NO;
|
||||||
DontConfirmKill = NO;
|
SnapEdgeDetect = 1;
|
||||||
ShadeKey = None;
|
SnapCornerDetect = 10;
|
||||||
NextWorkspaceKey = "Mod1+Control+Right";
|
SnapToTopMaximizesFullscreen = NO;
|
||||||
PrevWorkspaceKey = "Mod1+Control+Left";
|
DragMaximizedWindow = Move;
|
||||||
RootMenuKey = F12;
|
MoveHalfMaximizedWindowsBetweenScreens = NO;
|
||||||
WindowListKey = F11;
|
AlternativeHalfMaximized = NO;
|
||||||
WindowMenuKey = "Control+Escape";
|
PointerWithHalfMaxWindows = NO;
|
||||||
RaiseKey = "Mod1+Up";
|
HighlightActiveApp = YES;
|
||||||
LowerKey = "Mod1+Down";
|
AutoArrangeIcons = NO;
|
||||||
FocusNextKey = "Mod1+Tab";
|
NoWindowOverDock = NO;
|
||||||
FocusPrevKey = "Mod1+Shift+Tab";
|
NoWindowOverIcons = NO;
|
||||||
Workspace1Key = "Mod1+1";
|
WindowPlaceOrigin = (64, 0);
|
||||||
Workspace2Key = "Mod1+2";
|
ResizeDisplay = center;
|
||||||
Workspace3Key = "Mod1+3";
|
MoveDisplay = floating;
|
||||||
Workspace4Key = "Mod1+4";
|
DontConfirmKill = NO;
|
||||||
Workspace5Key = "Mod1+5";
|
WindowTitleBalloons = YES;
|
||||||
Workspace6Key = "Mod1+6";
|
MiniwindowTitleBalloons = NO;
|
||||||
Workspace7Key = "Mod1+7";
|
MiniwindowPreviewBalloons = NO;
|
||||||
Workspace8Key = "Mod1+8";
|
AppIconBalloons = NO;
|
||||||
Workspace9Key = "Mod1+9";
|
HelpBalloons = NO;
|
||||||
Workspace10Key = "Mod1+0";
|
EdgeResistance = 30;
|
||||||
HideKey = "Mod1+H";
|
ResizeIncrement = 0;
|
||||||
SelectKey = None;
|
Attraction = NO;
|
||||||
MiniaturizeKey = "Mod1+M";
|
DisableBlinking = NO;
|
||||||
NextWorkspaceLayerKey = None;
|
SingleClickLaunch = NO;
|
||||||
PrevWorkspaceLayerKey = None;
|
StrictWindozeCycle = YES;
|
||||||
ConstrainWindowSize = NO;
|
SwitchPanelOnlyOpen = NO;
|
||||||
DockRaiseLowerKey = None;
|
MiniPreviewSize = 128;
|
||||||
ClipRaiseLowerKey = None;
|
IgnoreGtkHints = NO;
|
||||||
TitleJustify = center;
|
MenuStyle = normal;
|
||||||
WindowTitleFont = "Sans:bold:pixelsize=12";
|
WidgetColor = (solid, gray);
|
||||||
MenuTitleFont = "Sans:bold:pixelsize=12";
|
WorkspaceSpecificBack = ();
|
||||||
MenuTextFont = "Sans:pixelsize=12";
|
WorkspaceBack = (solid, "rgb:50/50/75");
|
||||||
IconTitleFont = "Sans:pixelsize=9";
|
SmoothWorkspaceBack = NO;
|
||||||
ClipTitleFont = "Sans:bold:pixelsize=10";
|
IconBack = (dgradient, "rgb:a6/a6/b6", "rgb:51/55/61");
|
||||||
LargeDisplayFont = "Sans:pixelsize=24";
|
TitleJustify = center;
|
||||||
HighlightColor = white;
|
WindowTitleFont = "Sans:bold:pixelsize=12";
|
||||||
HighlightTextColor = black;
|
WindowTitleExtendSpace = 0;
|
||||||
ClipTitleColor = black;
|
WindowTitleMinHeight = 0;
|
||||||
CClipTitleColor = "rgb:61/61/61";
|
WindowTitleMaxHeight = 0x7fffffff;
|
||||||
FTitleColor = white;
|
MenuTitleExtendSpace = 0;
|
||||||
PTitleColor = white;
|
MenuTitleMinHeight = 0;
|
||||||
UTitleColor = black;
|
MenuTitleMaxHeight = 0x7fffffff;
|
||||||
MenuTitleColor = white;
|
MenuTextExtendSpace = 0;
|
||||||
MenuTextColor = black;
|
MenuTitleFont = "Sans:bold:pixelsize=12";
|
||||||
MenuDisabledColor = gray50;
|
MenuTextFont = "Sans:pixelsize=12";
|
||||||
WorkspaceBack = (solid, "rgb:50/50/75");
|
IconTitleFont = "Sans:pixelsize=9";
|
||||||
MenuTextColor = black;
|
ClipTitleFont = "Sans:bold:pixelsize=10";
|
||||||
FTitleBack = (solid, black);
|
ShowClipTitle = YES;
|
||||||
UTitleBack = (solid, "rgb:aa/aa/aa");
|
LargeDisplayFont = "Sans:pixelsize=24";
|
||||||
ResizebarBack = (solid, "rgb:aa/aa/aa");
|
HighlightColor = white;
|
||||||
PTitleBack = (solid, gray40);
|
HighlightTextColor = black;
|
||||||
MenuTitleBack = (solid, black);
|
ClipTitleColor = black;
|
||||||
MenuTextBack = (solid, "rgb:aa/aa/aa");
|
CClipTitleColor = "rgb:61/61/61";
|
||||||
IconBack = (dgradient, "rgb:a6/a6/b6", "rgb:51/55/61");
|
FTitleColor = white;
|
||||||
ClipAutocollapseDelay = 1000;
|
PTitleColor = white;
|
||||||
ClipAutolowerDelay = 1000;
|
UTitleColor = black;
|
||||||
ClipAutoexpandDelay = 600;
|
FTitleBack = (solid, black);
|
||||||
ClipAutoraiseDelay = 600;
|
PTitleBack = (solid, gray40);
|
||||||
|
UTitleBack = (solid, "rgb:aa/aa/aa");
|
||||||
|
ResizebarBack = (solid, "rgb:aa/aa/aa");
|
||||||
|
MenuTitleColor = white;
|
||||||
|
MenuTextColor = black;
|
||||||
|
MenuDisabledColor = gray50;
|
||||||
|
MenuTitleBack = (solid, black);
|
||||||
|
MenuTextBack = (solid, "rgb:aa/aa/aa");
|
||||||
|
IconTitleColor = white;
|
||||||
|
IconTitleBack = black;
|
||||||
|
SwitchPanelImages = (swtile.png, swback.png, 30, 40);
|
||||||
|
ModifierKeyLabels = ("Shift+", "Control+", "Mod1+", "Mod2+", "Mod3+", "Mod4+", "Mod5+");
|
||||||
|
FrameBorderWidth = 1;
|
||||||
|
FrameBorderColor = black;
|
||||||
|
FrameFocusedBorderColor = black;
|
||||||
|
FrameSelectedBorderColor = white;
|
||||||
|
WorkspaceMapBack = (solid, black);
|
||||||
|
RootMenuKey = F12;
|
||||||
|
WindowListKey = F11;
|
||||||
|
WindowMenuKey = "Control+Escape";
|
||||||
|
DockRaiseLowerKey = None;
|
||||||
|
ClipRaiseLowerKey = None;
|
||||||
|
MiniaturizeKey = "Mod1+M";
|
||||||
|
MinimizeAllKey = None;
|
||||||
|
HideKey = "Mod1+H";
|
||||||
|
HideOthersKey = None;
|
||||||
|
MoveResizeKey = None;
|
||||||
|
CloseKey = None;
|
||||||
|
MaximizeKey = None;
|
||||||
|
VMaximizeKey = None;
|
||||||
|
HMaximizeKey = None;
|
||||||
|
LHMaximizeKey = None;
|
||||||
|
RHMaximizeKey = None;
|
||||||
|
THMaximizeKey = None;
|
||||||
|
BHMaximizeKey = None;
|
||||||
|
LTCMaximizeKey = None;
|
||||||
|
RTCMaximizeKey = None;
|
||||||
|
LBCMaximizeKey = None;
|
||||||
|
RBCMaximizeKey = None;
|
||||||
|
MaximusKey = None;
|
||||||
|
KeepOnTopKey = None;
|
||||||
|
KeepAtBottomKey = None;
|
||||||
|
OmnipresentKey = None;
|
||||||
|
RaiseKey = "Mod1+Up";
|
||||||
|
LowerKey = "Mod1+Down";
|
||||||
|
RaiseLowerKey = None;
|
||||||
|
ShadeKey = None;
|
||||||
|
SelectKey = None;
|
||||||
|
WorkspaceMapKey = None;
|
||||||
|
FocusNextKey = "Mod1+Tab";
|
||||||
|
FocusPrevKey = "Mod1+Shift+Tab";
|
||||||
|
GroupNextKey = None;
|
||||||
|
GroupPrevKey = None;
|
||||||
|
NextWorkspaceKey = "Mod1+Control+Right";
|
||||||
|
PrevWorkspaceKey = "Mod1+Control+Left";
|
||||||
|
LastWorkspaceKey = None;
|
||||||
|
NextWorkspaceLayerKey = None;
|
||||||
|
PrevWorkspaceLayerKey = None;
|
||||||
|
Workspace1Key = "Mod1+1";
|
||||||
|
Workspace2Key = "Mod1+2";
|
||||||
|
Workspace3Key = "Mod1+3";
|
||||||
|
Workspace4Key = "Mod1+4";
|
||||||
|
Workspace5Key = "Mod1+5";
|
||||||
|
Workspace6Key = "Mod1+6";
|
||||||
|
Workspace7Key = "Mod1+7";
|
||||||
|
Workspace8Key = "Mod1+8";
|
||||||
|
Workspace9Key = "Mod1+9";
|
||||||
|
Workspace10Key = "Mod1+0";
|
||||||
|
MoveToWorkspace1Key = None;
|
||||||
|
MoveToWorkspace2Key = None;
|
||||||
|
MoveToWorkspace3Key = None;
|
||||||
|
MoveToWorkspace4Key = None;
|
||||||
|
MoveToWorkspace5Key = None;
|
||||||
|
MoveToWorkspace6Key = None;
|
||||||
|
MoveToWorkspace7Key = None;
|
||||||
|
MoveToWorkspace8Key = None;
|
||||||
|
MoveToWorkspace9Key = None;
|
||||||
|
MoveToWorkspace10Key = None;
|
||||||
|
MoveToNextWorkspaceKey = None;
|
||||||
|
MoveToPrevWorkspaceKey = None;
|
||||||
|
MoveToLastWorkspaceKey = None;
|
||||||
|
MoveToNextWorkspaceLayerKey = None;
|
||||||
|
MoveToPrevWorkspaceLayerKey = None;
|
||||||
|
WindowShortcut1Key = None;
|
||||||
|
WindowShortcut2Key = None;
|
||||||
|
WindowShortcut3Key = None;
|
||||||
|
WindowShortcut4Key = None;
|
||||||
|
WindowShortcut5Key = None;
|
||||||
|
WindowShortcut6Key = None;
|
||||||
|
WindowShortcut7Key = None;
|
||||||
|
WindowShortcut8Key = None;
|
||||||
|
WindowShortcut9Key = None;
|
||||||
|
WindowShortcut10Key = None;
|
||||||
|
WindowRelaunchKey = None;
|
||||||
|
ScreenSwitchKey = None;
|
||||||
|
RunKey = None;
|
||||||
|
NormalCursor = (builtin, left_ptr);
|
||||||
|
ArrowCursor = (builtin, top_left_arrow);
|
||||||
|
MoveCursor = (builtin, fleur);
|
||||||
|
ResizeCursor = (builtin, sizing);
|
||||||
|
TopLeftResizeCursor = (builtin, top_left_corner);
|
||||||
|
TopRightResizeCursor = (builtin, top_right_corner);
|
||||||
|
BottomLeftResizeCursor = (builtin, bottom_left_corner);
|
||||||
|
BottomRightResizeCursor = (builtin, bottom_right_corner);
|
||||||
|
VerticalResizeCursor = (builtin, sb_v_double_arrow);
|
||||||
|
HorizontalResizeCursor = (builtin, sb_h_double_arrow);
|
||||||
|
WaitCursor = (builtin, watch);
|
||||||
|
QuestionCursor = (builtin, question_arrow);
|
||||||
|
TextCursor = (builtin, xterm);
|
||||||
|
SelectCursor = (builtin, cross);
|
||||||
|
DialogHistoryLines = 500;
|
||||||
|
CycleActiveHeadOnly = NO;
|
||||||
|
CycleIgnoreMinimized = NO;
|
||||||
}
|
}
|
||||||
|
|||||||
+52
-33
@@ -1,52 +1,29 @@
|
|||||||
SUBDIRS = Backgrounds Defaults IconSets Icons Pixmaps Styles Themes
|
SUBDIRS = Backgrounds . Defaults IconSets Icons Pixmaps Styles Themes
|
||||||
|
|
||||||
prefsdatadir = $(pkgdatadir)
|
prefsdatadir = $(pkgdatadir)
|
||||||
|
|
||||||
prefsdata_DATA =\
|
wpexecbindir = @wprefs_bindir@
|
||||||
|
|
||||||
|
# menus which need generated to have correct path to WPrefs or data directory
|
||||||
|
GENERATED_MENUS =\
|
||||||
appearance.menu\
|
appearance.menu\
|
||||||
autostart.sh\
|
appearance.menu.fy\
|
||||||
background.menu\
|
appearance.menu.nl\
|
||||||
exitscript.sh\
|
|
||||||
menu\
|
menu\
|
||||||
menu.bg\
|
menu.bg\
|
||||||
menu.ca\
|
|
||||||
menu.cz\
|
|
||||||
menu.da\
|
|
||||||
menu.de\
|
|
||||||
menu.el\
|
|
||||||
menu.es\
|
|
||||||
menu.fi\
|
menu.fi\
|
||||||
menu.fr\
|
|
||||||
menu.fy\
|
menu.fy\
|
||||||
menu.gl\
|
|
||||||
menu.he\
|
|
||||||
menu.hr\
|
|
||||||
menu.hu\
|
menu.hu\
|
||||||
menu.it\
|
|
||||||
menu.ja\
|
|
||||||
menu.ko\
|
menu.ko\
|
||||||
menu.nl\
|
menu.nl\
|
||||||
menu.no\
|
|
||||||
menu.pl\
|
|
||||||
menu.pt\
|
|
||||||
menu.ro\
|
menu.ro\
|
||||||
menu.ru\
|
|
||||||
menu.se\
|
|
||||||
menu.sk\
|
menu.sk\
|
||||||
menu.sl\
|
|
||||||
menu.tr\
|
|
||||||
menu.zh_CN\
|
|
||||||
menu.zh_TW\
|
menu.zh_TW\
|
||||||
plmenu\
|
plmenu\
|
||||||
plmenu.bg\
|
plmenu.bg\
|
||||||
plmenu.da\
|
|
||||||
plmenu.de\
|
|
||||||
plmenu.es\
|
plmenu.es\
|
||||||
plmenu.fi\
|
plmenu.fi\
|
||||||
plmenu.fr\
|
|
||||||
plmenu.fy\
|
plmenu.fy\
|
||||||
plmenu.hr\
|
|
||||||
plmenu.it\
|
|
||||||
plmenu.ja\
|
plmenu.ja\
|
||||||
plmenu.ko\
|
plmenu.ko\
|
||||||
plmenu.nl\
|
plmenu.nl\
|
||||||
@@ -55,10 +32,52 @@ prefsdata_DATA =\
|
|||||||
plmenu.sk\
|
plmenu.sk\
|
||||||
plmenu.zh_CN\
|
plmenu.zh_CN\
|
||||||
plmenu.zh_TW\
|
plmenu.zh_TW\
|
||||||
README\
|
|
||||||
README.themes\
|
|
||||||
wmmacros
|
wmmacros
|
||||||
|
|
||||||
EXTRA_DIST = $(prefsdata_DATA) mkMakefile
|
# menus which do not mention WPrefs or data directory
|
||||||
|
NONGENERATED_MENUS =\
|
||||||
|
menu.ca\
|
||||||
|
menu.cz\
|
||||||
|
menu.da\
|
||||||
|
menu.de\
|
||||||
|
menu.el\
|
||||||
|
menu.es\
|
||||||
|
menu.fr\
|
||||||
|
menu.gl\
|
||||||
|
menu.he\
|
||||||
|
menu.hr\
|
||||||
|
menu.it\
|
||||||
|
menu.ja\
|
||||||
|
menu.no\
|
||||||
|
menu.pl\
|
||||||
|
menu.pt\
|
||||||
|
menu.ru\
|
||||||
|
menu.se\
|
||||||
|
menu.sl\
|
||||||
|
menu.tr\
|
||||||
|
menu.zh_CN\
|
||||||
|
plmenu.da\
|
||||||
|
plmenu.de\
|
||||||
|
plmenu.fr\
|
||||||
|
plmenu.hr\
|
||||||
|
plmenu.it
|
||||||
|
|
||||||
|
dist_prefsdata_DATA =\
|
||||||
|
autostart.sh\
|
||||||
|
background.menu\
|
||||||
|
background.menu.fy\
|
||||||
|
background.menu.nl\
|
||||||
|
exitscript.sh\
|
||||||
|
README\
|
||||||
|
README.themes\
|
||||||
|
$(NONGENERATED_MENUS)
|
||||||
|
|
||||||
|
nodist_prefsdata_DATA = $(GENERATED_MENUS)
|
||||||
|
|
||||||
|
EXTRA_DIST = $(addsuffix .in, $(GENERATED_MENUS))
|
||||||
|
|
||||||
|
CLEANFILES = $(GENERATED_MENUS)
|
||||||
|
|
||||||
|
$(GENERATED_MENUS):
|
||||||
|
$(AM_V_GEN)sed -e "s:#wprefs#:$(wpexecbindir)/WPrefs:" \
|
||||||
|
-e "s:#wmdatadir#:$(pkgdatadir):" $(srcdir)/$@.in > $@
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 8.8 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 8.5 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 8.4 KiB |
+3
-3
@@ -36,7 +36,7 @@ menu.ja Japanese MANOME Tomonori <manome@itlb.te.noda.sut.ac.jp>
|
|||||||
ABE Shige <sabe@ibm.net>
|
ABE Shige <sabe@ibm.net>
|
||||||
menu.pt Portuguese Alfredo K. Kojima <kojima@inf.ufrgs.br>
|
menu.pt Portuguese Alfredo K. Kojima <kojima@inf.ufrgs.br>
|
||||||
menu.de German Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
|
menu.de German Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
|
||||||
menu.cz Czech David ©auer <xsauer@hwlab.felk.cvut.cz>
|
menu.cz Czech David ©auer <xsauer@hwlab.felk.cvut.cz>
|
||||||
menu.ko Korean Chae-Yong Chong <cychong@metro.telecom.samsung.co.kr>
|
menu.ko Korean Chae-Yong Chong <cychong@metro.telecom.samsung.co.kr>
|
||||||
Byeong-Chan Kim <redhands@linux.sarang.net>
|
Byeong-Chan Kim <redhands@linux.sarang.net>
|
||||||
menu.gl Galician Xose Vazquez <xose@arrakis.es>
|
menu.gl Galician Xose Vazquez <xose@arrakis.es>
|
||||||
@@ -44,7 +44,7 @@ menu.fr French ObiTuarY <obituary@freshmeat.net>
|
|||||||
menu.it Italian Roberto Checozzo <croberto@aerre.it>
|
menu.it Italian Roberto Checozzo <croberto@aerre.it>
|
||||||
menu.ru Russian August S.Sigov <freedomain@actor.ru>
|
menu.ru Russian August S.Sigov <freedomain@actor.ru>
|
||||||
menu.es Spanish Rodrigo Hornos Prados <tnetrhp@ctv.es>
|
menu.es Spanish Rodrigo Hornos Prados <tnetrhp@ctv.es>
|
||||||
José Luis Rivas López <jrivas@ares.ipf.uvigo.es>
|
José Luis Rivas López <jrivas@ares.ipf.uvigo.es>
|
||||||
menu.he Hebrew Please send me your name/email if you wrote this
|
menu.he Hebrew Please send me your name/email if you wrote this
|
||||||
We unfortunately lost that info :(
|
We unfortunately lost that info :(
|
||||||
menu.tr Turkish F. Kagan Gurkaynak <kgf@wpi.edu>
|
menu.tr Turkish F. Kagan Gurkaynak <kgf@wpi.edu>
|
||||||
@@ -56,7 +56,7 @@ menu.dk Danish John M. Lockard <jlockard@math.lsa.umich.edu>
|
|||||||
Jacob Sparre Andersen <sparre@cats.nbi.dk>
|
Jacob Sparre Andersen <sparre@cats.nbi.dk>
|
||||||
menu.sl Slovene Alen Salamun <snowman@hal9000.medinet.si>
|
menu.sl Slovene Alen Salamun <snowman@hal9000.medinet.si>
|
||||||
menu.hu Hungarian Csanaki Csaba <prew@mail.matav.hu>
|
menu.hu Hungarian Csanaki Csaba <prew@mail.matav.hu>
|
||||||
menu.ca Català Carles Amig<F3> dj_fr3nd@hotmail.com
|
menu.ca Català Carles Amig<F3> dj_fr3nd@hotmail.com
|
||||||
menu.zh_TW.Big5 Chinese Li Wei Jih <lwj83@cs.ccu.edu.tw>
|
menu.zh_TW.Big5 Chinese Li Wei Jih <lwj83@cs.ccu.edu.tw>
|
||||||
menu.zh_CN Chinese Wang Jian <wangjian2@asiainfo.com>
|
menu.zh_CN Chinese Wang Jian <wangjian2@asiainfo.com>
|
||||||
menu.pl Polish Maciej Friedel <tytus@tytus.itma.pwr.wroc.pl>
|
menu.pl Polish Maciej Friedel <tytus@tytus.itma.pwr.wroc.pl>
|
||||||
|
|||||||
@@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
CClipTitleColor = "#8b8e8e";
|
||||||
|
ClipTitleColor = "#2e3436";
|
||||||
|
ClipTitleFont = "Cantarell:slant=0:weight=200:width=100:pixelsize=13";
|
||||||
|
FrameBorderColor = "#b6b6b3";
|
||||||
|
FrameFocusedBorderColor = "#b6b6b3";
|
||||||
|
FrameSelectedBorderColor = "#ffffff";
|
||||||
|
FTitleBack = (solid, "#e8e8e7");
|
||||||
|
FTitleColor = "#2e3436";
|
||||||
|
HighlightColor = "#4a90d9";
|
||||||
|
HighlightTextColor = "#ffffff";
|
||||||
|
IconBack = (solid, "#e8e8e7");
|
||||||
|
IconTitleBack = "#e8e8e7";
|
||||||
|
IconTitleColor = "#2e3436";
|
||||||
|
IconTitleFont = "Cantarell:slant=0:weight=80:width=100:pixelsize=9";
|
||||||
|
LargeDisplayFont = "Cantarell:slant=0:weight=200:width=100:pixelsize=24";
|
||||||
|
MenuDisabledColor = "#8b8e8e";
|
||||||
|
MenuStyle = flat;
|
||||||
|
MenuTextBack = (solid, "#ffffff");
|
||||||
|
MenuTextColor = "#2e3436";
|
||||||
|
MenuTextExtendSpace = 0;
|
||||||
|
MenuTextFont = "Cantarell:slant=0:weight=80:width=100:pixelsize=13";
|
||||||
|
MenuTitleBack = (solid, "#e8e8e7");
|
||||||
|
MenuTitleColor = "#2e3436";
|
||||||
|
MenuTitleExtendSpace = 0;
|
||||||
|
MenuTitleFont = "Cantarell:slant=0:weight=200:width=100:pixelsize=13";
|
||||||
|
PTitleBack = (solid, "#e8e8e7");
|
||||||
|
PTitleColor = "#8b8e8e";
|
||||||
|
ResizebarBack = (solid, "#e8e8e7");
|
||||||
|
TitleJustify = center;
|
||||||
|
UTitleBack = (solid, "#e8e8e7");
|
||||||
|
UTitleColor = "#8b8e8e";
|
||||||
|
WindowTitleExtendSpace = 0;
|
||||||
|
WindowTitleFont = "Cantarell:slant=0:weight=200:width=100:pixelsize=13";
|
||||||
|
}
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
prefsdatadir = $(pkgdatadir)/Styles
|
prefsdatadir = $(pkgdatadir)/Styles
|
||||||
|
|
||||||
prefsdata_DATA =\
|
prefsdata_DATA =\
|
||||||
|
Adwaita.style\
|
||||||
Autumn.style\
|
Autumn.style\
|
||||||
Black.style\
|
Black.style\
|
||||||
BlackTexture.style\
|
BlackTexture.style\
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
#include "wmmacros"
|
|
||||||
|
|
||||||
Appearance MENU
|
|
||||||
"Background" OPEN_MENU background.menu
|
|
||||||
"Styles" OPEN_MENU -noext LOCAL_STYLES_DIR STYLES_DIR USER_STYLES_DIR WITH setstyle
|
|
||||||
"Themes" OPEN_MENU -noext LOCAL_THEMES_DIR THEMES_DIR USER_THEMES_DIR WITH setstyle
|
|
||||||
"Icon Sets" OPEN_MENU -noext LOCAL_ICON_SETS_DIR ICON_SETS_DIR USER_ICON_SETS_DIR WITH seticons
|
|
||||||
"Save IconSet" EXEC geticonset USER_ICON_SETS_DIR/"%a(IconSet name)"
|
|
||||||
"Save Theme" EXEC getstyle -t USER_THEMES_DIR/"%a(Theme name)"
|
|
||||||
Appearance END
|
|
||||||
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
#include "wmmacros"
|
||||||
|
|
||||||
|
Uterlik MENU
|
||||||
|
"Eftergrûn" OPEN_MENU background.menu.fy
|
||||||
|
"Stilen" OPEN_MENU -noext STYLES_DIR USER_STYLES_DIR WITH setstyle
|
||||||
|
"Tema's" OPEN_MENU -noext THEMES_DIR USER_THEMES_DIR WITH setstyle
|
||||||
|
"Ikoanesets" OPEN_MENU -noext ICON_SETS_DIR USER_ICON_SETS_DIR WITH seticons
|
||||||
|
"Ikoaneset bewarje" EXEC geticonset USER_ICON_SETS_DIR/"%a(Ikoanesetnamme)"
|
||||||
|
"Tema bewarje" EXEC getstyle -p "%a(Temanamme)"
|
||||||
|
"Foarkarrehelpmiddel" EXEC #wprefs#
|
||||||
|
Uterlik END
|
||||||
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
#include "wmmacros"
|
||||||
|
|
||||||
|
Appearance MENU
|
||||||
|
"Background" OPEN_MENU background.menu
|
||||||
|
"Styles" OPEN_MENU -noext STYLES_DIR USER_STYLES_DIR WITH setstyle
|
||||||
|
"Themes" OPEN_MENU -noext THEMES_DIR USER_THEMES_DIR WITH setstyle
|
||||||
|
"Icon Sets" OPEN_MENU -noext ICON_SETS_DIR USER_ICON_SETS_DIR WITH seticons
|
||||||
|
"Save IconSet" EXEC geticonset USER_ICON_SETS_DIR/"%a(IconSet name)"
|
||||||
|
"Save Theme" EXEC getstyle -p "%a(Theme name)"
|
||||||
|
"Preferences Utility" EXEC #wprefs#
|
||||||
|
Appearance END
|
||||||
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
#include "wmmacros"
|
||||||
|
|
||||||
|
Uiterlijk MENU
|
||||||
|
"Achtergrond" OPEN_MENU background.menu.nl
|
||||||
|
"Stijlen" OPEN_MENU -noext STYLES_DIR USER_STYLES_DIR WITH setstyle
|
||||||
|
"Thema's" OPEN_MENU -noext THEMES_DIR USER_THEMES_DIR WITH setstyle
|
||||||
|
"Iconensets" OPEN_MENU -noext ICON_SETS_DIR USER_ICON_SETS_DIR WITH seticons
|
||||||
|
"Iconenset opslaan" EXEC geticonset USER_ICON_SETS_DIR/"%a(Iconensetnaam)"
|
||||||
|
"Thema opslaan" EXEC getstyle -p "%a(Themanaam)"
|
||||||
|
"Voorkeurenhulpmiddel" EXEC #wprefs#
|
||||||
|
Uiterlijk END
|
||||||
|
|
||||||
@@ -5,6 +5,7 @@
|
|||||||
"Black" WS_BACK '(solid, black)'
|
"Black" WS_BACK '(solid, black)'
|
||||||
"Blue" WS_BACK '(solid, "#505075")'
|
"Blue" WS_BACK '(solid, "#505075")'
|
||||||
"Indigo" WS_BACK '(solid, "#243e6c")'
|
"Indigo" WS_BACK '(solid, "#243e6c")'
|
||||||
|
"Bluemarine" WS_BACK '(solid, "#224477")'
|
||||||
"Deep Blue" WS_BACK '(solid, "#180090")'
|
"Deep Blue" WS_BACK '(solid, "#180090")'
|
||||||
"Purple" WS_BACK '(solid, "#554466")'
|
"Purple" WS_BACK '(solid, "#554466")'
|
||||||
"Wheat" WS_BACK '(solid, "wheat4")'
|
"Wheat" WS_BACK '(solid, "wheat4")'
|
||||||
@@ -22,7 +23,10 @@
|
|||||||
"Wine Shades" WS_BACK '(vgradient, "#600040", "#180010")'
|
"Wine Shades" WS_BACK '(vgradient, "#600040", "#180010")'
|
||||||
"Gradient" END
|
"Gradient" END
|
||||||
"Images" MENU
|
"Images" MENU
|
||||||
"Tiled" OPEN_MENU LOCAL_BACKGROUNDS_DIR BACKGROUNDS_DIR USER_BACKGROUNDS_DIR WITH wmsetbg -u -t
|
"Tiled" OPEN_MENU BACKGROUNDS_DIR USER_BACKGROUNDS_DIR WITH wmsetbg -u -t
|
||||||
"Scaled" OPEN_MENU LOCAL_BACKGROUNDS_DIR BACKGROUNDS_DIR USER_BACKGROUNDS_DIR WITH wmsetbg -u -s
|
"Scaled" OPEN_MENU BACKGROUNDS_DIR USER_BACKGROUNDS_DIR WITH wmsetbg -u -s
|
||||||
"Image" END
|
"Centered" OPEN_MENU BACKGROUNDS_DIR USER_BACKGROUNDS_DIR WITH wmsetbg -u -e
|
||||||
|
"Maximized" OPEN_MENU BACKGROUNDS_DIR USER_BACKGROUNDS_DIR WITH wmsetbg -u -a
|
||||||
|
"Filled" OPEN_MENU BACKGROUNDS_DIR USER_BACKGROUNDS_DIR WITH wmsetbg -u -f
|
||||||
|
"Images" END
|
||||||
"Background" END
|
"Background" END
|
||||||
|
|||||||
@@ -0,0 +1,32 @@
|
|||||||
|
#include "wmmacros"
|
||||||
|
|
||||||
|
"Eftergrûn" MENU
|
||||||
|
"Effen" MENU
|
||||||
|
"Swart" WS_BACK '(solid, black)'
|
||||||
|
"Blau" WS_BACK '(solid, "#505075")'
|
||||||
|
"Indigo" WS_BACK '(solid, "#243e6c")'
|
||||||
|
"Marineblau" WS_BACK '(solid, "#224477")'
|
||||||
|
"Djipblau" WS_BACK '(solid, "#180090")'
|
||||||
|
"Poarper" WS_BACK '(solid, "#554466")'
|
||||||
|
"Weet" WS_BACK '(solid, "wheat4")'
|
||||||
|
"Donkergriis" WS_BACK '(solid, "#333340")'
|
||||||
|
"Wynread" WS_BACK '(solid, "#400020")'
|
||||||
|
"Effen" END
|
||||||
|
"Kleurferrin" MENU
|
||||||
|
"Sinneûndergong" WS_BACK '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'
|
||||||
|
"Loft" WS_BACK '(vgradient, blue4, white)'
|
||||||
|
"Blautinten" WS_BACK '(vgradient, "#7080a5", "#101020")'
|
||||||
|
"Indigotinten" WS_BACK '(vgradient, "#746ebc", "#242e4c")'
|
||||||
|
"Poarpertinten" WS_BACK '(vgradient, "#654c66", "#151426")'
|
||||||
|
"Weettinten" WS_BACK '(vgradient, "#a09060", "#302010")'
|
||||||
|
"Griistinten" WS_BACK '(vgradient, "#636380", "#131318")'
|
||||||
|
"Wynreadtinten" WS_BACK '(vgradient, "#600040", "#180010")'
|
||||||
|
"Kleurferrin" END
|
||||||
|
"Ofbyldingen" MENU
|
||||||
|
"Tegele" OPEN_MENU BACKGROUNDS_DIR USER_BACKGROUNDS_DIR WITH wmsetbg -u -t
|
||||||
|
"Skaald" OPEN_MENU BACKGROUNDS_DIR USER_BACKGROUNDS_DIR WITH wmsetbg -u -s
|
||||||
|
"Sintrearre" OPEN_MENU BACKGROUNDS_DIR USER_BACKGROUNDS_DIR WITH wmsetbg -u -e
|
||||||
|
"Maksimalisearre" OPEN_MENU BACKGROUNDS_DIR USER_BACKGROUNDS_DIR WITH wmsetbg -u -a
|
||||||
|
"Opfolle" OPEN_MENU BACKGROUNDS_DIR USER_BACKGROUNDS_DIR WITH wmsetbg -u -f
|
||||||
|
"Ofbyldingen" END
|
||||||
|
"Eftergrûn" END
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
#include "wmmacros"
|
||||||
|
|
||||||
|
"Achtergrond" MENU
|
||||||
|
"Effen" MENU
|
||||||
|
"Zwart" WS_BACK '(solid, black)'
|
||||||
|
"Blauw" WS_BACK '(solid, "#505075")'
|
||||||
|
"Indigo" WS_BACK '(solid, "#243e6c")'
|
||||||
|
"Marineblauw" WS_BACK '(solid, "#224477")'
|
||||||
|
"Diepblauw" WS_BACK '(solid, "#180090")'
|
||||||
|
"Purper" WS_BACK '(solid, "#554466")'
|
||||||
|
"Tarwe" WS_BACK '(solid, "wheat4")'
|
||||||
|
"Donkergrijs" WS_BACK '(solid, "#333340")'
|
||||||
|
"Wijnrood" WS_BACK '(solid, "#400020")'
|
||||||
|
"Effen" END
|
||||||
|
"Kleurverloop" MENU
|
||||||
|
"Zonsondergang" WS_BACK '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'
|
||||||
|
"Lucht" WS_BACK '(vgradient, blue4, white)'
|
||||||
|
"Blauwtinten" WS_BACK '(vgradient, "#7080a5", "#101020")'
|
||||||
|
"Indigotinten" WS_BACK '(vgradient, "#746ebc", "#242e4c")'
|
||||||
|
"Purpertinten" WS_BACK '(vgradient, "#654c66", "#151426")'
|
||||||
|
"Tarwetinten" WS_BACK '(vgradient, "#a09060", "#302010")'
|
||||||
|
"Grijstinten" WS_BACK '(vgradient, "#636380", "#131318")'
|
||||||
|
"Wijnroodtinten" WS_BACK '(vgradient, "#600040", "#180010")'
|
||||||
|
"Kleurverloop" END
|
||||||
|
"Afbeeldingen" MENU
|
||||||
|
"Getegeld" OPEN_MENU BACKGROUNDS_DIR USER_BACKGROUNDS_DIR WITH wmsetbg -u -t
|
||||||
|
"Geschaald" OPEN_MENU BACKGROUNDS_DIR USER_BACKGROUNDS_DIR WITH wmsetbg -u -s
|
||||||
|
"Gecentreerd" OPEN_MENU BACKGROUNDS_DIR USER_BACKGROUNDS_DIR WITH wmsetbg -u -e
|
||||||
|
"Gemaximaliseerd" OPEN_MENU BACKGROUNDS_DIR USER_BACKGROUNDS_DIR WITH wmsetbg -u -a
|
||||||
|
"Opgevuld" OPEN_MENU BACKGROUNDS_DIR USER_BACKGROUNDS_DIR WITH wmsetbg -u -f
|
||||||
|
"Afbeeldingen" END
|
||||||
|
"Achtergrond" END
|
||||||
@@ -209,7 +209,7 @@
|
|||||||
"Фон" END
|
"Фон" END
|
||||||
"Запази темата" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Theme name,Enter file name:)"
|
"Запази темата" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Theme name,Enter file name:)"
|
||||||
"Запази колекцията иконки" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(IconSet name,Enter file name:)"
|
"Запази колекцията иконки" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(IconSet name,Enter file name:)"
|
||||||
"Пособие за настройки" EXEC /usr/local/GNUstep/Applications/WPrefs.app/WPrefs
|
"Пособие за настройки" EXEC #wprefs#
|
||||||
"Изглед" END
|
"Изглед" END
|
||||||
|
|
||||||
"Изход" MENU
|
"Изход" MENU
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
* // it in current position
|
* // it in current position
|
||||||
* OPEN_MENU file.menu
|
* OPEN_MENU file.menu
|
||||||
* 2. Pipe menu handling.
|
* 2. Pipe menu handling.
|
||||||
* // opens command and uses it's stdout to construct menu.
|
* // opens command and uses its stdout to construct menu.
|
||||||
* // Command's output must be a valid menu description.
|
* // Command's output must be a valid menu description.
|
||||||
* // The space between '|' and command itself is optional.
|
* // The space between '|' and command itself is optional.
|
||||||
* OPEN_MENU | command
|
* OPEN_MENU | command
|
||||||
@@ -202,7 +202,7 @@
|
|||||||
"Taustat" END
|
"Taustat" END
|
||||||
"Tallenna teema" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Teeman nimi,Kirjoita teematiedoston nimi:)"
|
"Tallenna teema" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Teeman nimi,Kirjoita teematiedoston nimi:)"
|
||||||
"Tallenna kuvakkeet" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(Kuvakesetin nimi,Kirjoita tiedostonnimi:)"
|
"Tallenna kuvakkeet" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(Kuvakesetin nimi,Kirjoita tiedostonnimi:)"
|
||||||
"Asetukset" EXEC /usr/local/GNUstep/Applications/WPrefs.app/WPrefs
|
"Asetukset" EXEC #wprefs#
|
||||||
"Ulkonäkö" END
|
"Ulkonäkö" END
|
||||||
|
|
||||||
"Lopeta" MENU
|
"Lopeta" MENU
|
||||||
@@ -1,224 +0,0 @@
|
|||||||
/*
|
|
||||||
* Hoofdmenu-uitwerking voor WindowMaker
|
|
||||||
*
|
|
||||||
* Opmaak is:
|
|
||||||
*
|
|
||||||
* <Titel> [SHORTCUT <Sneltoets>] <Commando> <Parameters>
|
|
||||||
*
|
|
||||||
* <Titel> is elke tekenreeks te gebruiken als titel. Moet tussen " staan als het
|
|
||||||
* spaties heeft.
|
|
||||||
*
|
|
||||||
* SHORTCUT geeft een sneltoets op voor die ingang. <Sneltoets> heeft
|
|
||||||
* dezelfde opmaak als de sneltoetsopties in het
|
|
||||||
* $HOME/GNUstep/Defaults/WindowMaker bestand, zoals RootMenuKey of MiniaturizeKey.
|
|
||||||
*
|
|
||||||
* U kunt geen sneltoets opgeven voor een MENU- of OPEN_MENU-onderdeel.
|
|
||||||
*
|
|
||||||
* <Commando> een van de geldige commando's:
|
|
||||||
* MENU - begint (sub)menubepaling
|
|
||||||
* END - beëindigt (sub)menubepaling
|
|
||||||
* OPEN_MENU - opent een menu uit een bestand, 'pipe' of map(pen)inhoud,
|
|
||||||
* en gaat eventueel elk vooraf met een commando.
|
|
||||||
* WORKSPACE_MENU - voegt een submenu voor werkruimtehandelingen toe. Slechts één
|
|
||||||
* workspace_menu is toegestaan.
|
|
||||||
* EXEC <programma> - voert een extern programma uit
|
|
||||||
* SHEXEC <commando> - voert een 'shell'-commando uit (zoals gimp > /dev/null)
|
|
||||||
* EXIT - sluit de vensterbeheerder af
|
|
||||||
* RESTART [<vensterbeheerder>] - herstart WindowMaker, of start een andere
|
|
||||||
* vensterbeheerder
|
|
||||||
* REFRESH - vernieuwt het bureaublad
|
|
||||||
* ARRANGE_ICONS - herschikt de iconen in de werkruimte
|
|
||||||
* SHUTDOWN - doodt alle cliënten (en sluit de X Window-sessie af)
|
|
||||||
* SHOW_ALL - plaatst alle vensters in de werkruimte terug
|
|
||||||
* HIDE_OTHERS - verbergt alle vensters in de werkruimte, behalve die
|
|
||||||
* focus heeft (of de laatste die focus had)
|
|
||||||
* SAVE_SESSION - slaat de huidige staat van het bureaublad op, inbegrepen
|
|
||||||
* alle lopende programma's, al hun 'hints' (afmetingen,
|
|
||||||
* positie op het scherm, werkruimte waarin ze leven, Dok
|
|
||||||
* of Clip van waaruit ze werden opgestart, en indien
|
|
||||||
* geminiaturiseerd, opgerold of verborgen). Slaat tevens de actuele
|
|
||||||
* werkruimte van de gebruiker op. Alles zal worden hersteld bij elke
|
|
||||||
* start van windowmaker, tot een andere SAVE_SESSION of
|
|
||||||
* CLEAR_SESSION wordt gebruikt. Als SaveSessionOnExit = Yes; in
|
|
||||||
* het WindowMaker-domeinbestand, dan wordt opslaan automatisch
|
|
||||||
* gedaan bij elke windowmaker-afsluiting, en wordt een
|
|
||||||
* SAVE_SESSION of CLEAR_SESSION overschreven (zie hierna).
|
|
||||||
* CLEAR_SESSION - wist een eerder opgeslagen sessie. Dit zal geen
|
|
||||||
* effect hebben als SaveSessionOnExit is True.
|
|
||||||
* INFO - toont het Infopaneel
|
|
||||||
*
|
|
||||||
* OPEN_MENU-opmaak:
|
|
||||||
* 1. Menuafhandeling uit bestand.
|
|
||||||
* // opent bestand.menu, dat een geldig menubestand moet bevatten, en voegt
|
|
||||||
* // het in op de huidige plaats
|
|
||||||
* OPEN_MENU bestand.menu
|
|
||||||
* 2. Menuafhandeling uit pipe.
|
|
||||||
* // opent commando en gebruikt zeen 'stdout' om een menu aan te maken.
|
|
||||||
* // Commando-output moet een geldige menubeschrijving zijn.
|
|
||||||
* // De ruimte tussen '|' en het commando zelf is optioneel.
|
|
||||||
* // Gebruik '||' in plaats van '|' als u het menu altijd wilt bijwerken
|
|
||||||
* // bij openen. Dat zou traag kunnen werken.
|
|
||||||
* OPEN_MENU | commando
|
|
||||||
* OPEN_MENU || commando
|
|
||||||
* 3. Mapafhandeling.
|
|
||||||
* // Opent een of meer mappen en maakt een menu aan, met daarin alle
|
|
||||||
* // submappen en uitvoerbare bestanden alfabetisch
|
|
||||||
* // gesorteerd.
|
|
||||||
* OPEN_MENU /een/map [/een/andere/map ...]
|
|
||||||
* 4. Mapafhandeling met commando.
|
|
||||||
* // Opent een of meer mappen en maakt een menu aan, met daarin alle
|
|
||||||
* // submappen en leesbare bestanden alfabetisch gesorteerd,
|
|
||||||
* // elk van hen voorafgegaan met commando.
|
|
||||||
* OPEN_MENU [opties] /een/map [/een/andere/map ...] WITH commando -opties
|
|
||||||
* Opties:
|
|
||||||
* -noext haal alles vanaf de laatste punt in de
|
|
||||||
* bestandsnaam eraf
|
|
||||||
*
|
|
||||||
* <Parameters> is het uit te voeren programma.
|
|
||||||
*
|
|
||||||
* ** Commandoregelopties in EXEC:
|
|
||||||
* %s - wordt vervangen door de actuele selectie
|
|
||||||
* %a(titel[,aanwijzing]) - opent een invoerveld met de opgegeven titel en de
|
|
||||||
* optionele aanwijzing, en wordt vervangen door wat u intypt
|
|
||||||
* %w - wordt vervangen door XID voor het actuele gefocust venster
|
|
||||||
* %W - wordt vervangen door het nummer van de actuele werkruimte
|
|
||||||
*
|
|
||||||
* U kunt speciale karakters (zoals % en ") uitschakelen met het \-teken:
|
|
||||||
* vb.: xterm -T "\"Hallo Wereld\""
|
|
||||||
*
|
|
||||||
* U kunt ook ontsnappingstekens gebruiken, zoals \n
|
|
||||||
*
|
|
||||||
* Elke MENU-declaratie moet één gekoppelde END-declaratie op het eind hebben.
|
|
||||||
*
|
|
||||||
* Voorbeeld:
|
|
||||||
*
|
|
||||||
* "Test" MENU
|
|
||||||
* "XTerm" EXEC xterm
|
|
||||||
* // maakt een submenu met de inhoud van /usr/openwin/bin aan
|
|
||||||
* "XView-progr" OPEN_MENU "/usr/openwin/bin"
|
|
||||||
* // enige X11-programma's in verschillende mappen
|
|
||||||
* "X11-progr" OPEN_MENU /usr/X11/bin $HOME/bin/X11
|
|
||||||
* // enige achtergrondafbeeldingen instellen
|
|
||||||
* "Achtergrond" OPEN_MENU -noext $HOME/afbeeldingen /usr/share/images WITH wmsetbg -u -t
|
|
||||||
* // voegt het style.menu in met dit onderdeel
|
|
||||||
* "Stijl" OPEN_MENU style.menu
|
|
||||||
* "Test" END
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "wmmacros"
|
|
||||||
|
|
||||||
"Programma's" MENU
|
|
||||||
"Ynfo" MENU
|
|
||||||
"Ynfopaniel" INFO_PANEL
|
|
||||||
"Juridyske ynfo" LEGAL_PANEL
|
|
||||||
"Systeemconsole" EXEC xconsole
|
|
||||||
"Systeembelêsting" SHEXEC xosview || xload
|
|
||||||
"Proseslist" EXEC xterm -e top
|
|
||||||
"Hantliedingbrowser" EXEC xman
|
|
||||||
"Ynfo" END
|
|
||||||
"Utfiere..." SHEXEC %a(Utfiere,Typ út te fiere kommando:)
|
|
||||||
"XTerm" EXEC xterm -sb
|
|
||||||
"Mozilla Firefox" EXEC firefox
|
|
||||||
"Wurkromten" WORKSPACE_MENU
|
|
||||||
"Programma's" MENU
|
|
||||||
"Gimp" SHEXEC gimp >/dev/null
|
|
||||||
"Ghostview" EXEC ghostview %a(GhostView,Fier te besjen bestân yn)
|
|
||||||
"Xpdf" EXEC xpdf %a(Xpdf,Fier te besjen PDF yn)
|
|
||||||
"Abiword" EXEC abiword
|
|
||||||
"Dia" EXEC dia
|
|
||||||
"OpenOffice.org" MENU
|
|
||||||
"OpenOffice.org" EXEC ooffice
|
|
||||||
"Writer" EXEC oowriter
|
|
||||||
"Rekkenblêd" EXEC oocalc
|
|
||||||
"Draw" EXEC oodraw
|
|
||||||
"Impress" EXEC ooimpress
|
|
||||||
"OpenOffice.org" END
|
|
||||||
|
|
||||||
"Tekstbewurkers" MENU
|
|
||||||
"XEmacs" EXEC xemacs
|
|
||||||
"Emacs" EXEC emacs
|
|
||||||
"XJed" EXEC xjed
|
|
||||||
"VI" EXEC xterm -e vi
|
|
||||||
"GVIM" EXEC gvim
|
|
||||||
"NEdit" EXEC nedit
|
|
||||||
"Xedit" EXEC xedit
|
|
||||||
"Tekstbewurkers" END
|
|
||||||
|
|
||||||
"Multymedia" MENU
|
|
||||||
"XMMS" MENU
|
|
||||||
"XMMS" EXEC xmms
|
|
||||||
"XMMS ôfspylje/poazje" EXEC xmms -t
|
|
||||||
"XMMS stopje" EXEC xmms -s
|
|
||||||
"XMMS" END
|
|
||||||
"Xine fideospeler" EXEC xine
|
|
||||||
"MPlayer" EXEC mplayer
|
|
||||||
"Multymedia" END
|
|
||||||
"Programma's" END
|
|
||||||
|
|
||||||
"Helpmiddels" MENU
|
|
||||||
"Rekkenmasine" EXEC xcalc
|
|
||||||
"Finstereigenskippen" SHEXEC xprop | xmessage -center -title 'xprop' -file -
|
|
||||||
"Lettertypekiezer" EXEC xfontsel
|
|
||||||
"Fergrutsje" EXEC wmagnify
|
|
||||||
"Kleurekaart" EXEC xcmap
|
|
||||||
"X-programma deadzje" EXEC xkill
|
|
||||||
"Helpmiddels" END
|
|
||||||
|
|
||||||
"Seleksje" MENU
|
|
||||||
"Kopiearje" SHEXEC echo '%s' | wxcopy
|
|
||||||
"E-maile nei" EXEC xterm -name mail -T "Pine" -e pine %s
|
|
||||||
"Navigearje" EXEC netscape %s
|
|
||||||
"Sykje yn hantlieding" SHEXEC MANUAL_SEARCH(%s)
|
|
||||||
"Seleksje" END
|
|
||||||
|
|
||||||
"Kommando's" MENU
|
|
||||||
"Oare ferbergje" HIDE_OTHERS
|
|
||||||
"Alles toane" SHOW_ALL
|
|
||||||
"Ikoanen skikke" ARRANGE_ICONS
|
|
||||||
"Fernije" REFRESH
|
|
||||||
"Ofskoattelje" EXEC xlock -allowroot -usefirst
|
|
||||||
"Kommando's" END
|
|
||||||
|
|
||||||
"Uterlik" MENU
|
|
||||||
"Tema's" OPEN_MENU -noext THEMES_DIR $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle
|
|
||||||
"Stilen" OPEN_MENU -noext STYLES_DIR $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle
|
|
||||||
"Ikoanensets" OPEN_MENU -noext ICON_SETS_DIR $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons
|
|
||||||
"Eftergrûn" MENU
|
|
||||||
"Effen" MENU
|
|
||||||
"Swart" WS_BACK '(solid, black)'
|
|
||||||
"Blau" WS_BACK '(solid, "#505075")'
|
|
||||||
"Indigo" WS_BACK '(solid, "#243e6c")'
|
|
||||||
"Marineblau" WS_BACK '(solid, "#224477")'
|
|
||||||
"Poarper" WS_BACK '(solid, "#554466")'
|
|
||||||
"Weet" WS_BACK '(solid, "wheat4")'
|
|
||||||
"Donkergriis" WS_BACK '(solid, "#333340")'
|
|
||||||
"Wynread" WS_BACK '(solid, "#400020")'
|
|
||||||
"Effen" END
|
|
||||||
"Kleurferrin" MENU
|
|
||||||
"Sinneûndergong" WS_BACK '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'
|
|
||||||
"Loft" WS_BACK '(vgradient, blue4, white)'
|
|
||||||
"Blautinten" WS_BACK '(vgradient, "#7080a5", "#101020")'
|
|
||||||
"Indigotinten" WS_BACK '(vgradient, "#746ebc", "#242e4c")'
|
|
||||||
"Poarpertinten" WS_BACK '(vgradient, "#654c66", "#151426")'
|
|
||||||
"Weettinten" WS_BACK '(vgradient, "#a09060", "#302010")'
|
|
||||||
"Griistinten" WS_BACK '(vgradient, "#636380", "#131318")'
|
|
||||||
"Wynreadtinten" WS_BACK '(vgradient, "#600040", "#180010")'
|
|
||||||
"Kleurferrin" END
|
|
||||||
"Ofbyldingen" OPEN_MENU -noext BACKGROUNDS_DIR $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t
|
|
||||||
"Eftergrûn" END
|
|
||||||
"Tema bewarje" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Temanamme,Fier bestânsnamme yn:)"
|
|
||||||
"Iconenset bewarje" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(Ikoanensetnamme,Fier bestânsnamme yn:)"
|
|
||||||
"Foarkarrenhelpmiddel" EXEC /usr/local/GNUstep/Applications/WPrefs.app/WPrefs
|
|
||||||
"Uterlik" END
|
|
||||||
|
|
||||||
"Sesje" MENU
|
|
||||||
"Sesje bewarje" SAVE_SESSION
|
|
||||||
"Sesje wiskje" CLEAR_SESSION
|
|
||||||
"Window Maker werstarte" RESTART
|
|
||||||
"BlackBox starte" RESTART blackbox
|
|
||||||
"IceWM starte" RESTART icewm
|
|
||||||
"Ofslute" EXIT
|
|
||||||
"Sesje" END
|
|
||||||
"Programma's" END
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,199 @@
|
|||||||
|
/*
|
||||||
|
* Haadmenu-útwurking foar WindowMaker
|
||||||
|
*
|
||||||
|
* Opmaak is:
|
||||||
|
*
|
||||||
|
* <Titel> [SHORTCUT <Fluchtoets>] <Kommando> <Parameters>
|
||||||
|
*
|
||||||
|
* <Titel> is elke tekenrige te brûken as titel. Moat tusken " stean at it
|
||||||
|
* spaasjes hat.
|
||||||
|
*
|
||||||
|
* SHORTCUT jout in fluchtoets op foar dy yngong. <Fluchtoets> hat
|
||||||
|
* deselde opmaak as de fluchtoetsopsjes yn it
|
||||||
|
* $HOME/GNUstep/Defaults/WindowMaker bestân, sa as RootMenuKey of MiniaturizeKey.
|
||||||
|
*
|
||||||
|
* Jo kinne gjin fluchtoets opjaan foar in MENU- of OPEN_MENU-ûnderdiel.
|
||||||
|
*
|
||||||
|
* <Kommando> ien fan 'e jildige kommando's:
|
||||||
|
* MENU - begjint (sub)menubepaling
|
||||||
|
* END - beëiniget (sub)menubepaling
|
||||||
|
* OPEN_MENU - iepenet in menu út in bestân, 'pipe' of map(pen)ynhâld,
|
||||||
|
* en giet eventueel elk foarôf mei in kommando.
|
||||||
|
* WORKSPACE_MENU - foeget in submenu foar wurkromtehannelingen ta. Mar ien
|
||||||
|
* workspace_menu is tastien.
|
||||||
|
* EXEC <programma> - fiert in ekstern programma út
|
||||||
|
* SHEXEC <kommando> - fiert in 'shell'-kommando út (sa as gimp > /dev/null)
|
||||||
|
* EXIT - slút de finsterbehearder ôf
|
||||||
|
* RESTART [<finsterbehearder>] - werstart WindowMaker, of start in oare
|
||||||
|
* finsterbehearder
|
||||||
|
* REFRESH - fernijt it buroblêd
|
||||||
|
* ARRANGE_ICONS - werskikt de ikoanen yn 'e wurkromte
|
||||||
|
* SHUTDOWN - deadet alle kliïnten (en slút de X Window-sesje ôf)
|
||||||
|
* SHOW_ALL - pleatst alle finsters yn 'e wurkromte werom
|
||||||
|
* HIDE_OTHERS - ferberget alle finsters yn 'e wurkromte, útsein dy't
|
||||||
|
* fokus hat (of de lêste dy't fokus hie)
|
||||||
|
* SAVE_SESSION - bewaret de hjoeddeiske steat fan it buroblêd, ynsletten
|
||||||
|
* alle rinnende programma's, al har 'hints' (ôfmjittingen,
|
||||||
|
* posysje op it skerm, wurkromte dêr't se yn libje, Dok
|
||||||
|
* of Klip fan wêrút se opstart waarden, en wannear
|
||||||
|
* miniaturisearre, oprôle of ferburgen). Bewaret teffens de aktuele
|
||||||
|
* wurkromte fan 'e brûker. Alles sil wersteld wurde by elke
|
||||||
|
* start fan windowmaker, oant in oare SAVE_SESSION of
|
||||||
|
* CLEAR_SESSION brûkt wurdt. At SaveSessionOnExit = Yes; yn
|
||||||
|
* it WindowMaker-domeinbestân, dan wurdt bewarjen automatysk
|
||||||
|
* dien by elke windowmaker-ôfsluting, en wurdt in
|
||||||
|
* SAVE_SESSION of CLEAR_SESSION oerskreaun (sjoch hjirnei).
|
||||||
|
* CLEAR_SESSION - wisket in earder bewarre sesje. Dit sil gjin
|
||||||
|
* effekt hawwe at SaveSessionOnExit is True.
|
||||||
|
* INFO - toant it Ynfopaniel
|
||||||
|
*
|
||||||
|
* OPEN_MENU-opmaak:
|
||||||
|
* 1. Menu-ôfhanneling út bestân.
|
||||||
|
* // iepenet bestân.menu, dat in jildich menubestân befetsje moat, en foeget
|
||||||
|
* // it yn op 'e hjoeddeiske plak
|
||||||
|
* OPEN_MENU bestân.menu
|
||||||
|
* 2. Menu-ôfhanneling út pipe.
|
||||||
|
* // iepenet kommando en brûkt syn 'stdout' om in menu oan te meitsjen.
|
||||||
|
* // Kommando-output moat in jildige menubeskriuwing wêze.
|
||||||
|
* // De romte tusken '|' en it kommando sels is opsjoneel.
|
||||||
|
* // Brûk '||' yn plak fan '|' at jo it menu altiten bywurkje wolle
|
||||||
|
* // by iepenjen. Dat soe traach wurkje kinne.
|
||||||
|
* OPEN_MENU | kommando
|
||||||
|
* OPEN_MENU || kommando
|
||||||
|
* 3. Mapôfhanneling.
|
||||||
|
* // Iepenet ien of mear mappen en makket in menu oan, mei dêryn alle
|
||||||
|
* // submappen en útfierbere bestannen alfabetysk
|
||||||
|
* // sortearre.
|
||||||
|
* OPEN_MENU /in/map [/in/oare/map ...]
|
||||||
|
* 4. Mapôfhanneling mei kommando.
|
||||||
|
* // Iepenet ien of mear mappen en makket in menu oan, mei dêryn alle
|
||||||
|
* // submappen en lêsbere bestannen alfabetysk sortearre,
|
||||||
|
* // elk fan har foarôfgien mei kommando.
|
||||||
|
* OPEN_MENU [opsjes] /in/map [/in/oare/map ...] WITH kommando -opsjes
|
||||||
|
* Opsjes:
|
||||||
|
* -noext lit alles fan 'e lêste punt yn 'e
|
||||||
|
* bestânsnamme ôf wei
|
||||||
|
*
|
||||||
|
* // Brûk #usergnusteppath# as tydlike oantsjutting foar it paad nei de
|
||||||
|
* // brûkers-GNUstep-map. Window Maker sil dy ferfange mei de wearde
|
||||||
|
* // fan WMAKER_USER_ROOT, at dizze omjouwingsfariabele ynsteld is, of
|
||||||
|
* // oars "~/GNUstep"
|
||||||
|
*
|
||||||
|
* <Parameters> is it út te fieren programma.
|
||||||
|
*
|
||||||
|
* ** Kommandorigelopsjes yn EXEC:
|
||||||
|
* %s - wurdt ferfongen troch de aktuele seleksje
|
||||||
|
* %a(titel[,oanwizing]) - iepenet in ynfierfjild mei de opjûne titel en de
|
||||||
|
* opsjonele oanwizing, en wurdt ferfongen troch wat jo yntype
|
||||||
|
* %w - wurdt ferfongen troch XID foar it aktuele fokust finster
|
||||||
|
* %W - wurdt ferfongen troch it nûmer fan 'e aktuele wurkromte
|
||||||
|
*
|
||||||
|
* Jo kinne spesjale karakters (sa as % en ") útskeakelje mei it \-teken:
|
||||||
|
* fb.: xterm -T "\"Hallo Wrâld\""
|
||||||
|
*
|
||||||
|
* Jo kinne ek ûntsnappingstekens brûke, sa as \n
|
||||||
|
*
|
||||||
|
* Elke MENU-deklaraasje moat ien keppele END-deklaraasje op it ein hawwe.
|
||||||
|
*
|
||||||
|
* Foarbyld:
|
||||||
|
*
|
||||||
|
* "Test" MENU
|
||||||
|
* "XTerm" EXEC xterm
|
||||||
|
* // makket in submenu mei de ynhâld fan /usr/openwin/bin oan
|
||||||
|
* "XView-progr" OPEN_MENU "/usr/openwin/bin"
|
||||||
|
* // wat X11-programma's yn ferskate mappen
|
||||||
|
* "X11-progr" OPEN_MENU /usr/X11/bin $HOME/bin/X11
|
||||||
|
* // wat eftergrûnôfbyldingen ynstelle
|
||||||
|
* "Eftergrûn" OPEN_MENU -noext $HOME/ôfbyldingen /usr/share/images WITH wmsetbg -u -t
|
||||||
|
* // foeget it style.menu yn mei dit ûnderdiel
|
||||||
|
* "Styl" OPEN_MENU style.menu
|
||||||
|
* "Test" END
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "wmmacros"
|
||||||
|
|
||||||
|
"Programma's" MENU
|
||||||
|
"Ynfo" MENU
|
||||||
|
"Ynfopaniel" INFO_PANEL
|
||||||
|
"Juridyske ynfo" LEGAL_PANEL
|
||||||
|
"Systeemconsole" EXEC xconsole
|
||||||
|
"Systeembelêsting" SHEXEC xosview || xload
|
||||||
|
"Proseslist" EXEC xterm -e top
|
||||||
|
"Hantliedingblêder" EXEC xman
|
||||||
|
"Ynfo" END
|
||||||
|
"Utfiere..." SHEXEC %a(Utfiere,Typ út te fieren kommando:)
|
||||||
|
"XTerm" EXEC xterm -sb
|
||||||
|
"Mozilla Firefox" EXEC firefox
|
||||||
|
"Wurkromten" WORKSPACE_MENU
|
||||||
|
"Programma's" MENU
|
||||||
|
"Gimp" SHEXEC gimp >/dev/null
|
||||||
|
"Ghostview" EXEC ghostview %a(GhostView,Fier te besjen bestân yn)
|
||||||
|
"Xpdf" EXEC xpdf %a(Xpdf,Fier te besjen PDF yn)
|
||||||
|
"Abiword" EXEC abiword
|
||||||
|
"Dia" EXEC dia
|
||||||
|
"OpenOffice.org" MENU
|
||||||
|
"OpenOffice.org" EXEC ooffice
|
||||||
|
"Writer" EXEC oowriter
|
||||||
|
"Rekkenblêd" EXEC oocalc
|
||||||
|
"Draw" EXEC oodraw
|
||||||
|
"Impress" EXEC ooimpress
|
||||||
|
"OpenOffice.org" END
|
||||||
|
|
||||||
|
"Tekstbewurkers" MENU
|
||||||
|
"XEmacs" EXEC xemacs
|
||||||
|
"Emacs" EXEC emacs
|
||||||
|
"XJed" EXEC xjed
|
||||||
|
"VI" EXEC xterm -e vi
|
||||||
|
"GVIM" EXEC gvim
|
||||||
|
"NEdit" EXEC nedit
|
||||||
|
"Xedit" EXEC xedit
|
||||||
|
"Tekstbewurkers" END
|
||||||
|
|
||||||
|
"Multymedia" MENU
|
||||||
|
"XMMS" MENU
|
||||||
|
"XMMS" EXEC xmms
|
||||||
|
"XMMS ôfspylje/skoftsje" EXEC xmms -t
|
||||||
|
"XMMS stopje" EXEC xmms -s
|
||||||
|
"XMMS" END
|
||||||
|
"Xine fideospiler" EXEC xine
|
||||||
|
"MPlayer" EXEC mplayer
|
||||||
|
"Multymedia" END
|
||||||
|
"Programma's" END
|
||||||
|
|
||||||
|
"Helpmiddels" MENU
|
||||||
|
"Rekkenmasine" EXEC xcalc
|
||||||
|
"Finstereigenskippen" SHEXEC xprop | xmessage -center -title 'xprop' -file -
|
||||||
|
"Lettertypekiezer" EXEC xfontsel
|
||||||
|
"Fergrutsje" EXEC wmagnify
|
||||||
|
"Kleurekaart" EXEC xcmap
|
||||||
|
"X-programma deadzje" EXEC xkill
|
||||||
|
"Helpmiddels" END
|
||||||
|
|
||||||
|
"Seleksje" MENU
|
||||||
|
"Kopiearje" SHEXEC echo '%s' | wxcopy
|
||||||
|
"E-maile nei" EXEC xterm -name mail -T "Pine" -e pine %s
|
||||||
|
"Navigearje" EXEC netscape %s
|
||||||
|
"Sykje yn hantlieding" SHEXEC MANUAL_SEARCH(%s)
|
||||||
|
"Seleksje" END
|
||||||
|
|
||||||
|
"Kommando's" MENU
|
||||||
|
"Oare ferbergje" HIDE_OTHERS
|
||||||
|
"Alles toane" SHOW_ALL
|
||||||
|
"Ikoanen skikke" ARRANGE_ICONS
|
||||||
|
"Fernije" REFRESH
|
||||||
|
"Beskoattelje" EXEC xlock -allowroot -usefirst
|
||||||
|
"Kommando's" END
|
||||||
|
|
||||||
|
"Uterlik" OPEN_MENU "appearance.menu.fy"
|
||||||
|
|
||||||
|
"Sesje" MENU
|
||||||
|
"Sesje bewarje" SAVE_SESSION
|
||||||
|
"Sesje wiskje" CLEAR_SESSION
|
||||||
|
"Window Maker werstarte" RESTART
|
||||||
|
"BlackBox starte" RESTART blackbox
|
||||||
|
"IceWM starte" RESTART icewm
|
||||||
|
"Ofslute" EXIT
|
||||||
|
"Sesje" END
|
||||||
|
"Programma's" END
|
||||||
|
|
||||||
|
|
||||||
+1
-1
@@ -45,7 +45,7 @@
|
|||||||
* // it in current position
|
* // it in current position
|
||||||
* OPEN_MENU file.menu
|
* OPEN_MENU file.menu
|
||||||
* 2. Pipe menu handling.
|
* 2. Pipe menu handling.
|
||||||
* // opens command and uses it's stdout to construct menu.
|
* // opens command and uses its stdout to construct menu.
|
||||||
* // Command's output must be a valid menu description.
|
* // Command's output must be a valid menu description.
|
||||||
* // The space between '|' and command itself is optional.
|
* // The space between '|' and command itself is optional.
|
||||||
* OPEN_MENU | command
|
* OPEN_MENU | command
|
||||||
|
|||||||
+1
-1
@@ -45,7 +45,7 @@
|
|||||||
* // it in current position
|
* // it in current position
|
||||||
* OPEN_MENU file.menu
|
* OPEN_MENU file.menu
|
||||||
* 2. Pipe menu handling.
|
* 2. Pipe menu handling.
|
||||||
* // opens command and uses it's stdout to construct menu.
|
* // opens command and uses its stdout to construct menu.
|
||||||
* // Command's output must be a valid menu description.
|
* // Command's output must be a valid menu description.
|
||||||
* // The space between '|' and command itself is optional.
|
* // The space between '|' and command itself is optional.
|
||||||
* OPEN_MENU | command
|
* OPEN_MENU | command
|
||||||
|
|||||||
@@ -204,7 +204,7 @@
|
|||||||
"Háttér" END
|
"Háttér" END
|
||||||
"Téma mentése" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Téma neve,Add meg a téma fájl nevét:)"
|
"Téma mentése" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Téma neve,Add meg a téma fájl nevét:)"
|
||||||
"Ikonbeállítások mentése" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(Ikonbeállítások mentése,Add meg a fájl nevét:)"
|
"Ikonbeállítások mentése" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(Ikonbeállítások mentése,Add meg a fájl nevét:)"
|
||||||
"Konfiguráló program" EXEC /usr/bin/WPrefs
|
"Konfiguráló program" EXEC #wprefs#
|
||||||
"Megjelenés" END
|
"Megjelenés" END
|
||||||
|
|
||||||
"Kilépés" MENU
|
"Kilépés" MENU
|
||||||
@@ -74,6 +74,11 @@
|
|||||||
* -noext strip whatever is after the last dot in the
|
* -noext strip whatever is after the last dot in the
|
||||||
* file name
|
* file name
|
||||||
*
|
*
|
||||||
|
* // Use #usergnusteppath# as a placeholder for the path to the user
|
||||||
|
* // GNUstep directory. Window Maker will replace this with the value
|
||||||
|
* // of WMAKER_USER_ROOT, if this environment variable is set, or
|
||||||
|
* // "~/GNUstep" otherwise
|
||||||
|
*
|
||||||
* <Parameters> is the program to execute.
|
* <Parameters> is the program to execute.
|
||||||
*
|
*
|
||||||
* ** Options for command line in EXEC:
|
* ** Options for command line in EXEC:
|
||||||
@@ -179,37 +184,7 @@
|
|||||||
"Lock" EXEC xlock -allowroot -usefirst
|
"Lock" EXEC xlock -allowroot -usefirst
|
||||||
"Commands" END
|
"Commands" END
|
||||||
|
|
||||||
"Appearance" MENU
|
"Appearance" OPEN_MENU "appearance.menu"
|
||||||
"Themes" OPEN_MENU -noext THEMES_DIR $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle
|
|
||||||
"Styles" OPEN_MENU -noext STYLES_DIR $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle
|
|
||||||
"Icon Sets" OPEN_MENU -noext ICON_SETS_DIR $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons
|
|
||||||
"Background" MENU
|
|
||||||
"Solid" MENU
|
|
||||||
"Black" WS_BACK '(solid, black)'
|
|
||||||
"Blue" WS_BACK '(solid, "#505075")'
|
|
||||||
"Indigo" WS_BACK '(solid, "#243e6c")'
|
|
||||||
"Bluemarine" WS_BACK '(solid, "#224477")'
|
|
||||||
"Purple" WS_BACK '(solid, "#554466")'
|
|
||||||
"Wheat" WS_BACK '(solid, "wheat4")'
|
|
||||||
"Dark Gray" WS_BACK '(solid, "#333340")'
|
|
||||||
"Wine" WS_BACK '(solid, "#400020")'
|
|
||||||
"Solid" END
|
|
||||||
"Gradient" MENU
|
|
||||||
"Sunset" WS_BACK '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'
|
|
||||||
"Sky" WS_BACK '(vgradient, blue4, white)'
|
|
||||||
"Blue Shades" WS_BACK '(vgradient, "#7080a5", "#101020")'
|
|
||||||
"Indigo Shades" WS_BACK '(vgradient, "#746ebc", "#242e4c")'
|
|
||||||
"Purple Shades" WS_BACK '(vgradient, "#654c66", "#151426")'
|
|
||||||
"Wheat Shades" WS_BACK '(vgradient, "#a09060", "#302010")'
|
|
||||||
"Grey Shades" WS_BACK '(vgradient, "#636380", "#131318")'
|
|
||||||
"Wine Shades" WS_BACK '(vgradient, "#600040", "#180010")'
|
|
||||||
"Gradient" END
|
|
||||||
"Images" OPEN_MENU -noext BACKGROUNDS_DIR $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t
|
|
||||||
"Background" END
|
|
||||||
"Save Theme" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Theme name,Enter file name:)"
|
|
||||||
"Save IconSet" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(IconSet name,Enter file name:)"
|
|
||||||
"Preferences Utility" EXEC /usr/local/GNUstep/Applications/WPrefs.app/WPrefs
|
|
||||||
"Appearance" END
|
|
||||||
|
|
||||||
"Session" MENU
|
"Session" MENU
|
||||||
"Save Session" SAVE_SESSION
|
"Save Session" SAVE_SESSION
|
||||||
@@ -163,7 +163,7 @@
|
|||||||
"세션 지움" CLEAR_SESSION
|
"세션 지움" CLEAR_SESSION
|
||||||
"창 관 리" END
|
"창 관 리" END
|
||||||
"작업환경" MENU
|
"작업환경" MENU
|
||||||
"설 정" SHEXEC /usr/local/GNUstep/Applications/WPrefs.app/WPrefs || wmakerconf
|
"설 정" SHEXEC #wprefs# || wmakerconf
|
||||||
"테 마" OPEN_MENU -noext THEMES_DIR ~/GNUstep/Library/WindowMaker/Themes WITH setstyle
|
"테 마" OPEN_MENU -noext THEMES_DIR ~/GNUstep/Library/WindowMaker/Themes WITH setstyle
|
||||||
"테마저장" EXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(테마 이름,파일 이름을 입력하세요:)"
|
"테마저장" EXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(테마 이름,파일 이름을 입력하세요:)"
|
||||||
"아이콘셋" OPEN_MENU -noext ICON_SETS_DIR ~/GNUstep/Library/WindowMaker/IconSets WITH seticons
|
"아이콘셋" OPEN_MENU -noext ICON_SETS_DIR ~/GNUstep/Library/WindowMaker/IconSets WITH seticons
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
* // het in op de huidige plaats
|
* // het in op de huidige plaats
|
||||||
* OPEN_MENU bestand.menu
|
* OPEN_MENU bestand.menu
|
||||||
* 2. Menuafhandeling uit pipe.
|
* 2. Menuafhandeling uit pipe.
|
||||||
* // opent commando en gebruikt zeen 'stdout' om een menu aan te maken.
|
* // opent commando en gebruikt zijn 'stdout' om een menu aan te maken.
|
||||||
* // Commando-output moet een geldige menubeschrijving zijn.
|
* // Commando-output moet een geldige menubeschrijving zijn.
|
||||||
* // De ruimte tussen '|' en het commando zelf is optioneel.
|
* // De ruimte tussen '|' en het commando zelf is optioneel.
|
||||||
* // Gebruik '||' in plaats van '|' als u het menu altijd wilt bijwerken
|
* // Gebruik '||' in plaats van '|' als u het menu altijd wilt bijwerken
|
||||||
@@ -71,8 +71,13 @@
|
|||||||
* // elk van hen voorafgegaan met commando.
|
* // elk van hen voorafgegaan met commando.
|
||||||
* OPEN_MENU [opties] /een/map [/een/andere/map ...] WITH commando -opties
|
* OPEN_MENU [opties] /een/map [/een/andere/map ...] WITH commando -opties
|
||||||
* Opties:
|
* Opties:
|
||||||
* -noext haal alles vanaf de laatste punt in de
|
* -noext laat alles vanaf de laatste punt in de
|
||||||
* bestandsnaam eraf
|
* bestandsnaam weg
|
||||||
|
*
|
||||||
|
* // Gebruik #usergnusteppath# als tijdelijke aanduiding voor het pad naar de
|
||||||
|
* // gebruikers-GNUstep-map. Window Maker zal die vervangen met de waarde
|
||||||
|
* // van WMAKER_USER_ROOT, als deze omgevingsvariabele is ingesteld, of
|
||||||
|
* // anders "~/GNUstep"
|
||||||
*
|
*
|
||||||
* <Parameters> is het uit te voeren programma.
|
* <Parameters> is het uit te voeren programma.
|
||||||
*
|
*
|
||||||
@@ -179,37 +184,7 @@
|
|||||||
"Vergrendelen" EXEC xlock -allowroot -usefirst
|
"Vergrendelen" EXEC xlock -allowroot -usefirst
|
||||||
"Commando's" END
|
"Commando's" END
|
||||||
|
|
||||||
"Uiterlijk" MENU
|
"Uiterlijk" OPEN_MENU "appearance.menu.nl"
|
||||||
"Thema's" OPEN_MENU -noext THEMES_DIR $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle
|
|
||||||
"Stijlen" OPEN_MENU -noext STYLES_DIR $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle
|
|
||||||
"Iconensets" OPEN_MENU -noext ICON_SETS_DIR $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons
|
|
||||||
"Achtergrond" MENU
|
|
||||||
"Effen" MENU
|
|
||||||
"Zwart" WS_BACK '(solid, black)'
|
|
||||||
"Blauw" WS_BACK '(solid, "#505075")'
|
|
||||||
"Indigo" WS_BACK '(solid, "#243e6c")'
|
|
||||||
"Marineblauw" WS_BACK '(solid, "#224477")'
|
|
||||||
"Purper" WS_BACK '(solid, "#554466")'
|
|
||||||
"Tarwe" WS_BACK '(solid, "wheat4")'
|
|
||||||
"Donkergrijs" WS_BACK '(solid, "#333340")'
|
|
||||||
"Wijnrood" WS_BACK '(solid, "#400020")'
|
|
||||||
"Effen" END
|
|
||||||
"Kleurverloop" MENU
|
|
||||||
"Zonsondergang" WS_BACK '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'
|
|
||||||
"Lucht" WS_BACK '(vgradient, blue4, white)'
|
|
||||||
"Blauwtinten" WS_BACK '(vgradient, "#7080a5", "#101020")'
|
|
||||||
"Indigotinten" WS_BACK '(vgradient, "#746ebc", "#242e4c")'
|
|
||||||
"Purpertinten" WS_BACK '(vgradient, "#654c66", "#151426")'
|
|
||||||
"Tarwetinten" WS_BACK '(vgradient, "#a09060", "#302010")'
|
|
||||||
"Grijstinten" WS_BACK '(vgradient, "#636380", "#131318")'
|
|
||||||
"Wijnroodtinten" WS_BACK '(vgradient, "#600040", "#180010")'
|
|
||||||
"Kleurverloop" END
|
|
||||||
"Afbeeldingen" OPEN_MENU -noext BACKGROUNDS_DIR $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t
|
|
||||||
"Achtergrond" END
|
|
||||||
"Thema opslaan" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Themanaam,Voer bestandsnaam in:)"
|
|
||||||
"Iconenset opslaan" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(Iconensetnaam,Voer bestandsnaam in:)"
|
|
||||||
"Voorkeurenhulpmiddel" EXEC /usr/local/GNUstep/Applications/WPrefs.app/WPrefs
|
|
||||||
"Uiterlijk" END
|
|
||||||
|
|
||||||
"Sessie" MENU
|
"Sessie" MENU
|
||||||
"Sessie opslaan" SAVE_SESSION
|
"Sessie opslaan" SAVE_SESSION
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
* // it in current position
|
* // it in current position
|
||||||
* OPEN_MENU file.menu
|
* OPEN_MENU file.menu
|
||||||
* 2. Pipe menu handling.
|
* 2. Pipe menu handling.
|
||||||
* // opens command and uses it's stdout to construct menu.
|
* // opens command and uses its stdout to construct menu.
|
||||||
* // Command's output must be a valid menu description.
|
* // Command's output must be a valid menu description.
|
||||||
* // The space between '|' and command itself is optional.
|
* // The space between '|' and command itself is optional.
|
||||||
* OPEN_MENU | command
|
* OPEN_MENU | command
|
||||||
@@ -202,7 +202,7 @@
|
|||||||
"Fundal" END
|
"Fundal" END
|
||||||
"Salvează Tema" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Theme name,Enter file name:)"
|
"Salvează Tema" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Theme name,Enter file name:)"
|
||||||
"Salvează Setul de Iconiţe" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(IconSet name,Enter file name:)"
|
"Salvează Setul de Iconiţe" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(IconSet name,Enter file name:)"
|
||||||
"Utilitar de Configurare" EXEC /usr/local/GNUstep/Applications/WPrefs.app/WPrefs
|
"Utilitar de Configurare" EXEC #wprefs#
|
||||||
"Configurare" END
|
"Configurare" END
|
||||||
|
|
||||||
"Ieşire" MENU
|
"Ieşire" MENU
|
||||||
@@ -216,7 +216,7 @@
|
|||||||
"Pozadie" END
|
"Pozadie" END
|
||||||
"Uložiť tému" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Meno témy,Zadajte názov súboru:)"
|
"Uložiť tému" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Meno témy,Zadajte názov súboru:)"
|
||||||
"Uložiť sadu ikon" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(Meno sady ikon,Zadajte názov súboru:)"
|
"Uložiť sadu ikon" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(Meno sady ikon,Zadajte názov súboru:)"
|
||||||
"Konfiguračný nástroj" EXEC /usr/local/GNUstep/Applications/WPrefs.app/WPrefs
|
"Konfiguračný nástroj" EXEC #wprefs#
|
||||||
"Vzhľad" END
|
"Vzhľad" END
|
||||||
|
|
||||||
"Koniec" MENU
|
"Koniec" MENU
|
||||||
+1
-1
@@ -53,7 +53,7 @@
|
|||||||
* // it in current position
|
* // it in current position
|
||||||
* OPEN_MENU file.menu
|
* OPEN_MENU file.menu
|
||||||
* 2. Pipe menu handling.
|
* 2. Pipe menu handling.
|
||||||
* // opens command and uses it's stdout to construct menu.
|
* // opens command and uses its stdout to construct menu.
|
||||||
* // Command's output must be a valid menu description.
|
* // Command's output must be a valid menu description.
|
||||||
* // The space between '|' and command itself is optional.
|
* // The space between '|' and command itself is optional.
|
||||||
* OPEN_MENU | command
|
* OPEN_MENU | command
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
* // it in current position
|
* // it in current position
|
||||||
* OPEN_MENU file.menu
|
* OPEN_MENU file.menu
|
||||||
* 2. Pipe menu handling.
|
* 2. Pipe menu handling.
|
||||||
* // opens command and uses it's stdout to construct menu.
|
* // opens command and uses its stdout to construct menu.
|
||||||
* // Command's output must be a valid menu description.
|
* // Command's output must be a valid menu description.
|
||||||
* // The space between '|' and command itself is optional.
|
* // The space between '|' and command itself is optional.
|
||||||
* OPEN_MENU | command
|
* OPEN_MENU | command
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
* // it in current position
|
* // it in current position
|
||||||
* OPEN_MENU file.menu
|
* OPEN_MENU file.menu
|
||||||
* 2. Pipe menu handling.
|
* 2. Pipe menu handling.
|
||||||
* // opens command and uses it's stdout to construct menu.
|
* // opens command and uses its stdout to construct menu.
|
||||||
* // Command's output must be a valid menu description.
|
* // Command's output must be a valid menu description.
|
||||||
* // The space between '|' and command itself is optional.
|
* // The space between '|' and command itself is optional.
|
||||||
* OPEN_MENU | command
|
* OPEN_MENU | command
|
||||||
@@ -199,7 +199,7 @@
|
|||||||
"背景" END
|
"背景" END
|
||||||
"儲存主題" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(主題名稱)"
|
"儲存主題" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(主題名稱)"
|
||||||
"儲存圖示集" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(圖示集名稱)"
|
"儲存圖示集" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(圖示集名稱)"
|
||||||
"偏好設定公用程式" EXEC /usr/local/GNUstep/Applications/WPrefs.app/WPrefs
|
"偏好設定公用程式" EXEC #wprefs#
|
||||||
"外觀" END
|
"外觀" END
|
||||||
|
|
||||||
"離開" MENU
|
"離開" MENU
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
#
|
|
||||||
# Creates a Makefile.am file containing all the stuff to install
|
|
||||||
# wmaker data
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DIRS="Backgrounds Defaults IconSets Icons Pixmaps Styles Themes"
|
|
||||||
|
|
||||||
FILE=Makefile.am
|
|
||||||
|
|
||||||
spit() {
|
|
||||||
echo -n "$*" >> $FILE
|
|
||||||
}
|
|
||||||
|
|
||||||
spitln() {
|
|
||||||
echo "$*" >> $FILE
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
rm -f $FILE
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
spitln SUBDIRS = $DIRS
|
|
||||||
spitln
|
|
||||||
spitln prefsdatadir = '$(pkgdatadir)'
|
|
||||||
spitln
|
|
||||||
|
|
||||||
|
|
||||||
EXCEPT="Makefile.am Makefile.in Makefile mkMakefile $FILE"
|
|
||||||
|
|
||||||
spit prefsdata_DATA =
|
|
||||||
|
|
||||||
FILES=`ls -1|grep -v \~`
|
|
||||||
FILES=`echo $FILES`
|
|
||||||
|
|
||||||
for f in $FILES; do
|
|
||||||
ok=1
|
|
||||||
for i in $EXCEPT; do
|
|
||||||
if test "$i" = "$f"; then
|
|
||||||
ok=0
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
if [ -f $f -a $ok = 1 ]; then
|
|
||||||
spitln \\
|
|
||||||
spit " $f"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
spitln
|
|
||||||
spitln
|
|
||||||
|
|
||||||
spitln EXTRA_DIST = '$(prefsdata_DATA)' mkMakefile
|
|
||||||
spitln
|
|
||||||
spitln
|
|
||||||
@@ -1,106 +0,0 @@
|
|||||||
("Applications",
|
|
||||||
("Info",
|
|
||||||
("Info Panel", INFO_PANEL),
|
|
||||||
("Legal", LEGAL_PANEL),
|
|
||||||
("System Console", EXEC, "xconsole"),
|
|
||||||
("System Load", SHEXEC, "xosview || xload"),
|
|
||||||
("Process List", EXEC, "xterm -e top"),
|
|
||||||
("Manual Browser", EXEC, "xman")
|
|
||||||
),
|
|
||||||
("Run...", SHEXEC, "%a(Run,Type command to run:)"),
|
|
||||||
("XTerm", EXEC, "xterm -sb"),
|
|
||||||
("Mozilla Firefox", EXEC, "firefox"),
|
|
||||||
("Workspaces", WORKSPACE_MENU),
|
|
||||||
("Applications",
|
|
||||||
("Gimp", SHEXEC, "gimp >/dev/null"),
|
|
||||||
("Ghostview", EXEC, "ghostview %a(Enter file to view)"),
|
|
||||||
("Xpdf", EXEC, "xpdf %a(Enter PDF to view)"),
|
|
||||||
("Abiword", EXEC, "abiword"),
|
|
||||||
("Dia", EXEC, "dia"),
|
|
||||||
("OpenOffice.org",
|
|
||||||
("OpenOffice.org", EXEC, "ooffice"),
|
|
||||||
("Writer", EXEC, "oowriter"),
|
|
||||||
("Spreadsheet", EXEC, "oocalc"),
|
|
||||||
("Draw", EXEC, "oodraw"),
|
|
||||||
("Impress", EXEC, "ooimpress")
|
|
||||||
),
|
|
||||||
("Editors",
|
|
||||||
("XEmacs", EXEC, "xemacs"),
|
|
||||||
("Emacs", EXEC, "emacs"),
|
|
||||||
("XJed", EXEC, "xjed"),
|
|
||||||
("VI", EXEC, "xterm -e vi"),
|
|
||||||
("GVIM", EXEC, "gvim"),
|
|
||||||
("NEdit", EXEC, "nedit"),
|
|
||||||
("Xedit", EXEC, "xedit")
|
|
||||||
),
|
|
||||||
("Multimedia",
|
|
||||||
("XMMS",
|
|
||||||
("XMMS", EXEC, "xmms"),
|
|
||||||
("XMMS play/pause", EXEC, "xmms -t"),
|
|
||||||
("XMMS stop", EXEC, "xmms -s")
|
|
||||||
),
|
|
||||||
("Xine video player", EXEC, "xine"),
|
|
||||||
("MPlayer", EXEC, "mplayer")
|
|
||||||
)
|
|
||||||
),
|
|
||||||
("Utils",
|
|
||||||
("Calculator", EXEC, "xcalc"),
|
|
||||||
("Window Properties", SHEXEC, "xprop | xmessage -center -title 'xprop' -file -"),
|
|
||||||
("Font Chooser", EXEC, "xfontsel"),
|
|
||||||
("Magnify", EXEC, "wmagnify"),
|
|
||||||
("Colormap", EXEC, "xcmap"),
|
|
||||||
("Kill X Application", EXEC, "xkill")
|
|
||||||
),
|
|
||||||
("Selection",
|
|
||||||
("Copy", SHEXEC, "echo '%s' | wxcopy"),
|
|
||||||
("Mail To", EXEC, "xterm -name mail -T Pine -e pine %s"),
|
|
||||||
("Navigate", EXEC, "mozilla %s"),
|
|
||||||
("Search in Manual", EXEC, "MANUAL_SEARCH(%s)")
|
|
||||||
),
|
|
||||||
("Commands",
|
|
||||||
("Hide Others", HIDE_OTHERS),
|
|
||||||
("Show All", SHOW_ALL),
|
|
||||||
("Arrange Icons", ARRANGE_ICONS),
|
|
||||||
("Refresh", REFRESH),
|
|
||||||
("Lock", EXEC, "xlock -allowroot -usefirst")
|
|
||||||
),
|
|
||||||
("Appearance",
|
|
||||||
("Themes", OPEN_MENU, "-noext #wmdatadir#/Themes $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle"),
|
|
||||||
("Styles", OPEN_MENU, "-noext #wmdatadir#/Styles $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle"),
|
|
||||||
("Icon Sets", OPEN_MENU, "-noext #wmdatadir#/IconSets $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons"),
|
|
||||||
("Background",
|
|
||||||
("Solid",
|
|
||||||
("Black", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, black)'"),
|
|
||||||
("Blue", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#505075\")'"),
|
|
||||||
("Indigo", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#243e6c\")'"),
|
|
||||||
("Bluemarine", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#224477\")'"),
|
|
||||||
("Purple", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#554466\")'"),
|
|
||||||
("Wheat", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, wheat4)'"),
|
|
||||||
("Dark Gray", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#333340\")'"),
|
|
||||||
("Wine", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#400020\")'")
|
|
||||||
),
|
|
||||||
("Gradient",
|
|
||||||
("Sunset", EXEC, "wdwrite WindowMaker WorkspaceBack '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'"),
|
|
||||||
("Sky", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, blue4, white)'"),
|
|
||||||
("Blue Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#7080a5\", \"#101020\")'"),
|
|
||||||
("Indigo Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#746ebc\", \"#242e4c\")'"),
|
|
||||||
("Purple Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#654c66\", \"#151426\")'"),
|
|
||||||
("Wheat Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#a09060\", \"#302010\")'"),
|
|
||||||
("Grey Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#636380\", \"#131318\")'"),
|
|
||||||
("Wine Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#600040\", \"#180010\")'")
|
|
||||||
),
|
|
||||||
("Images", OPEN_MENU, "-noext #wmdatadir#/Backgrounds $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t")
|
|
||||||
),
|
|
||||||
("Save Theme", SHEXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(Theme name)\""),
|
|
||||||
("Save IconSet", SHEXEC, "geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/\"%a(IconSet name)\""),
|
|
||||||
("Preferences Utility", EXEC, "/usr/local/GNUstep/Applications/WPrefs.app/WPrefs")
|
|
||||||
),
|
|
||||||
("Session",
|
|
||||||
("Save Session", SAVE_SESSION),
|
|
||||||
("Clear Session", CLEAR_SESSION),
|
|
||||||
("Restart Window Maker", RESTART),
|
|
||||||
("Start BlackBox", RESTART, blackbox),
|
|
||||||
("Start IceWM", RESTART, icewm),
|
|
||||||
("Exit", EXIT)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
),
|
),
|
||||||
("Запази темата", SHEXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(Theme name)\""),
|
("Запази темата", SHEXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(Theme name)\""),
|
||||||
("Запази колекцията иконки", SHEXEC, "geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/\"%a(IconSet name)\""),
|
("Запази колекцията иконки", SHEXEC, "geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/\"%a(IconSet name)\""),
|
||||||
("Пособие за настройки", EXEC, "/usr/local/GNUstep/Applications/WPrefs.app/WPrefs")
|
("Пособие за настройки", EXEC, "#wprefs#")
|
||||||
),
|
),
|
||||||
("Изход",
|
("Изход",
|
||||||
("Рестартиране", RESTART),
|
("Рестартиране", RESTART),
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
),
|
),
|
||||||
("Guardar tema", SHEXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(Theme name)\""),
|
("Guardar tema", SHEXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(Theme name)\""),
|
||||||
("Guardar iconos", SHEXEC, "geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/\"%a(IconSet name)\""),
|
("Guardar iconos", SHEXEC, "geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/\"%a(IconSet name)\""),
|
||||||
("Preferencias", EXEC, "/usr/local/GNUstep/Applications/WPrefs.app/WPrefs")
|
("Preferencias", EXEC, "#wprefs#")
|
||||||
),
|
),
|
||||||
("Salir",
|
("Salir",
|
||||||
("Reiniciar", RESTART),
|
("Reiniciar", RESTART),
|
||||||
@@ -357,7 +357,7 @@
|
|||||||
(
|
(
|
||||||
"Asetukset",
|
"Asetukset",
|
||||||
EXEC,
|
EXEC,
|
||||||
"/usr/local/GNUstep/Applications/WPrefs.app/WPrefs"
|
"#wprefs#"
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
@@ -1,106 +0,0 @@
|
|||||||
("Programma's",
|
|
||||||
("Ynfo",
|
|
||||||
("Ynfopaniel", INFO_PANEL),
|
|
||||||
("Juridyske ynfo", LEGAL_PANEL),
|
|
||||||
("Systeemconsole", EXEC, "xconsole"),
|
|
||||||
("Systeembelêsting", SHEXEC, "xosview || xload"),
|
|
||||||
("Proseslist", EXEC, "xterm -e top"),
|
|
||||||
("Hantliedingbrowser", EXEC, "xman")
|
|
||||||
),
|
|
||||||
("Utfiere...", SHEXEC, "%a(Utfiere,Typ út te fiere kommando:)"),
|
|
||||||
("XTerm", EXEC, "xterm -sb"),
|
|
||||||
("Mozilla Firefox", EXEC, "firefox"),
|
|
||||||
("Wurkromten", WORKSPACE_MENU),
|
|
||||||
("Programma's",
|
|
||||||
("Gimp", SHEXEC, "gimp >/dev/null"),
|
|
||||||
("Ghostview", EXEC, "ghostview %a(Fier te besjen bestân yn)"),
|
|
||||||
("Xpdf", EXEC, "xpdf %a(Fier te besjen PDF yn)"),
|
|
||||||
("Abiword", EXEC, "abiword"),
|
|
||||||
("Dia", EXEC, "dia"),
|
|
||||||
("OpenOffice.org",
|
|
||||||
("OpenOffice.org", EXEC, "ooffice"),
|
|
||||||
("Writer", EXEC, "oowriter"),
|
|
||||||
("Rekkenblêd", EXEC, "oocalc"),
|
|
||||||
("Draw", EXEC, "oodraw"),
|
|
||||||
("Impress", EXEC, "ooimpress")
|
|
||||||
),
|
|
||||||
("Tekstbewurkers",
|
|
||||||
("XEmacs", EXEC, "xemacs"),
|
|
||||||
("Emacs", EXEC, "emacs"),
|
|
||||||
("XJed", EXEC, "xjed"),
|
|
||||||
("VI", EXEC, "xterm -e vi"),
|
|
||||||
("GVIM", EXEC, "gvim"),
|
|
||||||
("NEdit", EXEC, "nedit"),
|
|
||||||
("Xedit", EXEC, "xedit")
|
|
||||||
),
|
|
||||||
("Multymedia",
|
|
||||||
("XMMS",
|
|
||||||
("XMMS", EXEC, "xmms"),
|
|
||||||
("XMMS ôfspylje/poazje", EXEC, "xmms -t"),
|
|
||||||
("XMMS stopje", EXEC, "xmms -s")
|
|
||||||
),
|
|
||||||
("Xine fideospeler", EXEC, "xine"),
|
|
||||||
("MPlayer", EXEC, "mplayer")
|
|
||||||
)
|
|
||||||
),
|
|
||||||
("Helpmiddels",
|
|
||||||
("Rekkenmasine", EXEC, "xcalc"),
|
|
||||||
("Finstereigenskippen", SHEXEC, "xprop | xmessage -center -title 'xprop' -file -"),
|
|
||||||
("Lettertypekiezer", EXEC, "xfontsel"),
|
|
||||||
("Fergrutsje", EXEC, "wmagnify"),
|
|
||||||
("Kleurekaart", EXEC, "xcmap"),
|
|
||||||
("X-programma deadzje", EXEC, "xkill")
|
|
||||||
),
|
|
||||||
("Seleksje",
|
|
||||||
("Kopiearje", SHEXEC, "echo '%s' | wxcopy"),
|
|
||||||
("E-maile nei", EXEC, "xterm -name mail -T Pine -e pine %s"),
|
|
||||||
("Navigearje", EXEC, "mozilla %s"),
|
|
||||||
("Sykje yn hantlieding", EXEC, "MANUAL_SEARCH(%s)")
|
|
||||||
),
|
|
||||||
("Kommando's",
|
|
||||||
("Oare ferbergje", HIDE_OTHERS),
|
|
||||||
("Alles toane", SHOW_ALL),
|
|
||||||
("Ikoanen skikke", ARRANGE_ICONS),
|
|
||||||
("Fernije", REFRESH),
|
|
||||||
("Ofskoattelje", EXEC, "xlock -allowroot -usefirst")
|
|
||||||
),
|
|
||||||
("Uterlik",
|
|
||||||
("Tema's", OPEN_MENU, "-noext #wmdatadir#/Themes $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle"),
|
|
||||||
("Stilen", OPEN_MENU, "-noext #wmdatadir#/Styles $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle"),
|
|
||||||
("Ikoanensets", OPEN_MENU, "-noext #wmdatadir#/IconSets $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons"),
|
|
||||||
("Eftergrûn",
|
|
||||||
("Effen",
|
|
||||||
("Swart", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, black)'"),
|
|
||||||
("Blau", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#505075\")'"),
|
|
||||||
("Indigo", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#243e6c\")'"),
|
|
||||||
("Marineblau", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#224477\")'"),
|
|
||||||
("Poarper", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#554466\")'"),
|
|
||||||
("Weet", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, wheat4)'"),
|
|
||||||
("Donkergriis", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#333340\")'"),
|
|
||||||
("Wynread", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#400020\")'")
|
|
||||||
),
|
|
||||||
("Kleurferrin",
|
|
||||||
("Sinneûndergong", EXEC, "wdwrite WindowMaker WorkspaceBack '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'"),
|
|
||||||
("Loft", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, blue4, white)'"),
|
|
||||||
("Blautinten", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#7080a5\", \"#101020\")'"),
|
|
||||||
("Indigotinten", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#746ebc\", \"#242e4c\")'"),
|
|
||||||
("Poarpertinten", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#654c66\", \"#151426\")'"),
|
|
||||||
("Weettinten", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#a09060\", \"#302010\")'"),
|
|
||||||
("Griistinten", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#636380\", \"#131318\")'"),
|
|
||||||
("Wynreadtinten", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#600040\", \"#180010\")'")
|
|
||||||
),
|
|
||||||
("Ofbyldingen", OPEN_MENU, "-noext #wmdatadir#/Backgrounds $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t")
|
|
||||||
),
|
|
||||||
("Tema bewarje", SHEXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(Temanamme)\""),
|
|
||||||
("Ikoanenset bewarje", SHEXEC, "geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/\"%a(Ikoanensetnamme)\""),
|
|
||||||
("Foarkarrenhelpmiddel", EXEC, "/usr/local/GNUstep/Applications/WPrefs.app/WPrefs")
|
|
||||||
),
|
|
||||||
("Sesje",
|
|
||||||
("Sesje bewarje", SAVE_SESSION),
|
|
||||||
("Sesje wiskje", CLEAR_SESSION),
|
|
||||||
("Window Maker werstarte", RESTART),
|
|
||||||
("BlackBox starte", RESTART, blackbox),
|
|
||||||
("IceWM starte", RESTART, icewm),
|
|
||||||
("Ofslute", EXIT)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
("Programma's",
|
||||||
|
("Ynfo",
|
||||||
|
("Ynfopaniel", INFO_PANEL),
|
||||||
|
("Juridyske ynfo", LEGAL_PANEL),
|
||||||
|
("Systeemconsole", EXEC, "xconsole"),
|
||||||
|
("Systeembelêsting", SHEXEC, "xosview || xload"),
|
||||||
|
("Proseslist", EXEC, "xterm -e top"),
|
||||||
|
("Hantliedingblêder", EXEC, "xman")
|
||||||
|
),
|
||||||
|
("Utfiere...", SHEXEC, "%a(Utfiere,Typ út te fieren kommando:)"),
|
||||||
|
("XTerm", EXEC, "xterm -sb"),
|
||||||
|
("Mozilla Firefox", EXEC, "firefox"),
|
||||||
|
("Wurkromten", WORKSPACE_MENU),
|
||||||
|
("Programma's",
|
||||||
|
("Gimp", SHEXEC, "gimp >/dev/null"),
|
||||||
|
("Ghostview", EXEC, "ghostview %a(Fier te besjen bestân yn)"),
|
||||||
|
("Xpdf", EXEC, "xpdf %a(Fier te besjen PDF yn)"),
|
||||||
|
("Abiword", EXEC, "abiword"),
|
||||||
|
("Dia", EXEC, "dia"),
|
||||||
|
("OpenOffice.org",
|
||||||
|
("OpenOffice.org", EXEC, "ooffice"),
|
||||||
|
("Writer", EXEC, "oowriter"),
|
||||||
|
("Rekkenblêd", EXEC, "oocalc"),
|
||||||
|
("Draw", EXEC, "oodraw"),
|
||||||
|
("Impress", EXEC, "ooimpress")
|
||||||
|
),
|
||||||
|
("Tekstbewurkers",
|
||||||
|
("XEmacs", EXEC, "xemacs"),
|
||||||
|
("Emacs", EXEC, "emacs"),
|
||||||
|
("XJed", EXEC, "xjed"),
|
||||||
|
("VI", EXEC, "xterm -e vi"),
|
||||||
|
("GVIM", EXEC, "gvim"),
|
||||||
|
("NEdit", EXEC, "nedit"),
|
||||||
|
("Xedit", EXEC, "xedit")
|
||||||
|
),
|
||||||
|
("Multymedia",
|
||||||
|
("XMMS",
|
||||||
|
("XMMS", EXEC, "xmms"),
|
||||||
|
("XMMS ôfspylje/skoftsje", EXEC, "xmms -t"),
|
||||||
|
("XMMS stopje", EXEC, "xmms -s")
|
||||||
|
),
|
||||||
|
("Xine fideospiler", EXEC, "xine"),
|
||||||
|
("MPlayer", EXEC, "mplayer")
|
||||||
|
)
|
||||||
|
),
|
||||||
|
("Helpmiddels",
|
||||||
|
("Rekkenmasine", EXEC, "xcalc"),
|
||||||
|
("Finstereigenskippen", SHEXEC, "xprop | xmessage -center -title 'xprop' -file -"),
|
||||||
|
("Lettertypekiezer", EXEC, "xfontsel"),
|
||||||
|
("Fergrutsje", EXEC, "wmagnify"),
|
||||||
|
("Kleurekaart", EXEC, "xcmap"),
|
||||||
|
("X-programma deadzje", EXEC, "xkill")
|
||||||
|
),
|
||||||
|
("Seleksje",
|
||||||
|
("Kopiearje", SHEXEC, "echo '%s' | wxcopy"),
|
||||||
|
("E-maile nei", EXEC, "xterm -name mail -T Pine -e pine %s"),
|
||||||
|
("Navigearje", EXEC, "mozilla %s"),
|
||||||
|
("Sykje yn hantlieding", EXEC, "MANUAL_SEARCH(%s)")
|
||||||
|
),
|
||||||
|
("Kommando's",
|
||||||
|
("Oare ferbergje", HIDE_OTHERS),
|
||||||
|
("Alles toane", SHOW_ALL),
|
||||||
|
("Ikoanen skikke", ARRANGE_ICONS),
|
||||||
|
("Fernije", REFRESH),
|
||||||
|
("Beskoattelje", EXEC, "xlock -allowroot -usefirst")
|
||||||
|
),
|
||||||
|
("Uterlik", OPEN_MENU, "appearance.menu.fy"),
|
||||||
|
("Sesje",
|
||||||
|
("Sesje bewarje", SAVE_SESSION),
|
||||||
|
("Sesje wiskje", CLEAR_SESSION),
|
||||||
|
("Window Maker werstarte", RESTART),
|
||||||
|
("BlackBox starte", RESTART, blackbox),
|
||||||
|
("IceWM starte", RESTART, icewm),
|
||||||
|
("Ofslute", EXIT)
|
||||||
|
)
|
||||||
|
)
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
("Applications",
|
||||||
|
("Info",
|
||||||
|
("Info Panel", INFO_PANEL),
|
||||||
|
("Legal", LEGAL_PANEL),
|
||||||
|
("System Console", EXEC, "xconsole"),
|
||||||
|
("System Load", SHEXEC, "xosview || xload"),
|
||||||
|
("Process List", EXEC, "xterm -e top"),
|
||||||
|
("Manual Browser", EXEC, "xman")
|
||||||
|
),
|
||||||
|
("Run...", SHEXEC, "%a(Run,Type command to run:)"),
|
||||||
|
("XTerm", EXEC, "xterm -sb"),
|
||||||
|
("Mozilla Firefox", EXEC, "firefox"),
|
||||||
|
("Workspaces", WORKSPACE_MENU),
|
||||||
|
("Applications",
|
||||||
|
("Gimp", SHEXEC, "gimp >/dev/null"),
|
||||||
|
("Ghostview", EXEC, "ghostview %a(Enter file to view)"),
|
||||||
|
("Xpdf", EXEC, "xpdf %a(Enter PDF to view)"),
|
||||||
|
("Abiword", EXEC, "abiword"),
|
||||||
|
("Dia", EXEC, "dia"),
|
||||||
|
("OpenOffice.org",
|
||||||
|
("OpenOffice.org", EXEC, "ooffice"),
|
||||||
|
("Writer", EXEC, "oowriter"),
|
||||||
|
("Spreadsheet", EXEC, "oocalc"),
|
||||||
|
("Draw", EXEC, "oodraw"),
|
||||||
|
("Impress", EXEC, "ooimpress")
|
||||||
|
),
|
||||||
|
("Editors",
|
||||||
|
("XEmacs", EXEC, "xemacs"),
|
||||||
|
("Emacs", EXEC, "emacs"),
|
||||||
|
("XJed", EXEC, "xjed"),
|
||||||
|
("VI", EXEC, "xterm -e vi"),
|
||||||
|
("GVIM", EXEC, "gvim"),
|
||||||
|
("NEdit", EXEC, "nedit"),
|
||||||
|
("Xedit", EXEC, "xedit")
|
||||||
|
),
|
||||||
|
("Multimedia",
|
||||||
|
("XMMS",
|
||||||
|
("XMMS", EXEC, "xmms"),
|
||||||
|
("XMMS play/pause", EXEC, "xmms -t"),
|
||||||
|
("XMMS stop", EXEC, "xmms -s")
|
||||||
|
),
|
||||||
|
("Xine video player", EXEC, "xine"),
|
||||||
|
("MPlayer", EXEC, "mplayer")
|
||||||
|
)
|
||||||
|
),
|
||||||
|
("Utils",
|
||||||
|
("Calculator", EXEC, "xcalc"),
|
||||||
|
("Window Properties", SHEXEC, "xprop | xmessage -center -title 'xprop' -file -"),
|
||||||
|
("Font Chooser", EXEC, "xfontsel"),
|
||||||
|
("Magnify", EXEC, "wmagnify"),
|
||||||
|
("Colormap", EXEC, "xcmap"),
|
||||||
|
("Kill X Application", EXEC, "xkill")
|
||||||
|
),
|
||||||
|
("Selection",
|
||||||
|
("Copy", SHEXEC, "echo '%s' | wxcopy"),
|
||||||
|
("Mail To", EXEC, "xterm -name mail -T Pine -e pine %s"),
|
||||||
|
("Navigate", EXEC, "mozilla %s"),
|
||||||
|
("Search in Manual", EXEC, "MANUAL_SEARCH(%s)")
|
||||||
|
),
|
||||||
|
("Commands",
|
||||||
|
("Hide Others", HIDE_OTHERS),
|
||||||
|
("Show All", SHOW_ALL),
|
||||||
|
("Arrange Icons", ARRANGE_ICONS),
|
||||||
|
("Refresh", REFRESH),
|
||||||
|
("Lock", EXEC, "xlock -allowroot -usefirst")
|
||||||
|
),
|
||||||
|
("Appearance", OPEN_MENU, "appearance.menu"),
|
||||||
|
("Session",
|
||||||
|
("Save Session", SAVE_SESSION),
|
||||||
|
("Clear Session", CLEAR_SESSION),
|
||||||
|
("Restart Window Maker", RESTART),
|
||||||
|
("Start BlackBox", RESTART, blackbox),
|
||||||
|
("Start IceWM", RESTART, icewm),
|
||||||
|
("Exit", EXIT)
|
||||||
|
)
|
||||||
|
)
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
),
|
),
|
||||||
("設定をテーマとしてセーブ", SHEXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(Theme name)\""),
|
("設定をテーマとしてセーブ", SHEXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(Theme name)\""),
|
||||||
("現在のアイコンセットをセーブ", SHEXEC, "geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/\"%a(IconSet name)\""),
|
("現在のアイコンセットをセーブ", SHEXEC, "geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/\"%a(IconSet name)\""),
|
||||||
("設定ユーティリティ", EXEC, "/usr/local/GNUstep/Applications/WPrefs.app/WPrefs")
|
("設定ユーティリティ", EXEC, "#wprefs#")
|
||||||
),
|
),
|
||||||
("終了",
|
("終了",
|
||||||
("再起動", RESTART),
|
("再起動", RESTART),
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
),
|
),
|
||||||
("작업공간", WORKSPACE_MENU),
|
("작업공간", WORKSPACE_MENU),
|
||||||
("작업환경",
|
("작업환경",
|
||||||
("설 정", SHEXEC, "/usr/local/GNUstep/Applications/WPrefs.app/WPrefs || wmakerconf"),
|
("설 정", SHEXEC, "#wprefs# || wmakerconf"),
|
||||||
("테 마", OPEN_MENU, "-noext /usr/share/WindowMaker/Themes ~/GNUstep/Library/WindowMaker/Themes WITH setstyle"),
|
("테 마", OPEN_MENU, "-noext /usr/share/WindowMaker/Themes ~/GNUstep/Library/WindowMaker/Themes WITH setstyle"),
|
||||||
("테마저장", EXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(테마 이름,파일 이름을 입력하세요:)\""),
|
("테마저장", EXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(테마 이름,파일 이름을 입력하세요:)\""),
|
||||||
("스 타 일", OPEN_MENU, "-noext /usr/share/WindowMaker/Styles ~/GNUstep/Library/WindowMaker/Styles WITH setstyle"),
|
("스 타 일", OPEN_MENU, "-noext /usr/share/WindowMaker/Styles ~/GNUstep/Library/WindowMaker/Styles WITH setstyle"),
|
||||||
@@ -1,106 +0,0 @@
|
|||||||
("Programma's",
|
|
||||||
("Info",
|
|
||||||
("Infopaneel", INFO_PANEL),
|
|
||||||
("Juridische info", LEGAL_PANEL),
|
|
||||||
("Systeemconsole", EXEC, "xconsole"),
|
|
||||||
("Systeembelasting", SHEXEC, "xosview || xload"),
|
|
||||||
("Proceslijst", EXEC, "xterm -e top"),
|
|
||||||
("Handleidingbrowser", EXEC, "xman")
|
|
||||||
),
|
|
||||||
("Uitvoeren...", SHEXEC, "%a(Uitvoeren,Typ uit te voeren commando:)"),
|
|
||||||
("XTerm", EXEC, "xterm -sb"),
|
|
||||||
("Mozilla Firefox", EXEC, "firefox"),
|
|
||||||
("Werkruimten", WORKSPACE_MENU),
|
|
||||||
("Programma's",
|
|
||||||
("Gimp", SHEXEC, "gimp >/dev/null"),
|
|
||||||
("Ghostview", EXEC, "ghostview %a(Voer te bekijken bestand in)"),
|
|
||||||
("Xpdf", EXEC, "xpdf %a(Voer te bekijken PDF in)"),
|
|
||||||
("Abiword", EXEC, "abiword"),
|
|
||||||
("Dia", EXEC, "dia"),
|
|
||||||
("OpenOffice.org",
|
|
||||||
("OpenOffice.org", EXEC, "ooffice"),
|
|
||||||
("Writer", EXEC, "oowriter"),
|
|
||||||
("Rekenblad", EXEC, "oocalc"),
|
|
||||||
("Draw", EXEC, "oodraw"),
|
|
||||||
("Impress", EXEC, "ooimpress")
|
|
||||||
),
|
|
||||||
("Tekstbewerkers",
|
|
||||||
("XEmacs", EXEC, "xemacs"),
|
|
||||||
("Emacs", EXEC, "emacs"),
|
|
||||||
("XJed", EXEC, "xjed"),
|
|
||||||
("VI", EXEC, "xterm -e vi"),
|
|
||||||
("GVIM", EXEC, "gvim"),
|
|
||||||
("NEdit", EXEC, "nedit"),
|
|
||||||
("Xedit", EXEC, "xedit")
|
|
||||||
),
|
|
||||||
("Multimedia",
|
|
||||||
("XMMS",
|
|
||||||
("XMMS", EXEC, "xmms"),
|
|
||||||
("XMMS afspelen/pauzeren", EXEC, "xmms -t"),
|
|
||||||
("XMMS stoppen", EXEC, "xmms -s")
|
|
||||||
),
|
|
||||||
("Xine videospeler", EXEC, "xine"),
|
|
||||||
("MPlayer", EXEC, "mplayer")
|
|
||||||
)
|
|
||||||
),
|
|
||||||
("Hulpmiddelen",
|
|
||||||
("Rekenmachine", EXEC, "xcalc"),
|
|
||||||
("Venstereigenschappen", SHEXEC, "xprop | xmessage -center -title 'xprop' -file -"),
|
|
||||||
("Lettertypekiezer", EXEC, "xfontsel"),
|
|
||||||
("Vergroten", EXEC, "wmagnify"),
|
|
||||||
("Kleurenkaart", EXEC, "xcmap"),
|
|
||||||
("X-programma doden", EXEC, "xkill")
|
|
||||||
),
|
|
||||||
("Selectie",
|
|
||||||
("Kopiëren", SHEXEC, "echo '%s' | wxcopy"),
|
|
||||||
("E-mailen naar", EXEC, "xterm -name mail -T Pine -e pine %s"),
|
|
||||||
("Navigeren", EXEC, "mozilla %s"),
|
|
||||||
("Zoeken in handleiding", EXEC, "MANUAL_SEARCH(%s)")
|
|
||||||
),
|
|
||||||
("Commando's",
|
|
||||||
("Andere verbergen", HIDE_OTHERS),
|
|
||||||
("Alles tonen", SHOW_ALL),
|
|
||||||
("Iconen schikken", ARRANGE_ICONS),
|
|
||||||
("Vernieuwen", REFRESH),
|
|
||||||
("Vergrendelen", EXEC, "xlock -allowroot -usefirst")
|
|
||||||
),
|
|
||||||
("Uiterlijk",
|
|
||||||
("Thema's", OPEN_MENU, "-noext #wmdatadir#/Themes $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle"),
|
|
||||||
("Stijlen", OPEN_MENU, "-noext #wmdatadir#/Styles $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle"),
|
|
||||||
("Iconensets", OPEN_MENU, "-noext #wmdatadir#/IconSets $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons"),
|
|
||||||
("Achtergrond",
|
|
||||||
("Effen",
|
|
||||||
("Zwart", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, black)'"),
|
|
||||||
("Blauw", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#505075\")'"),
|
|
||||||
("Indigo", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#243e6c\")'"),
|
|
||||||
("Marineblauw", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#224477\")'"),
|
|
||||||
("Purper", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#554466\")'"),
|
|
||||||
("Tarwe", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, wheat4)'"),
|
|
||||||
("Donkergrijs", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#333340\")'"),
|
|
||||||
("Wijnrood", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#400020\")'")
|
|
||||||
),
|
|
||||||
("Kleurverloop",
|
|
||||||
("Zonsondergang", EXEC, "wdwrite WindowMaker WorkspaceBack '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'"),
|
|
||||||
("Lucht", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, blue4, white)'"),
|
|
||||||
("Blauwtinten", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#7080a5\", \"#101020\")'"),
|
|
||||||
("Indigotinten", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#746ebc\", \"#242e4c\")'"),
|
|
||||||
("Purpertinten", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#654c66\", \"#151426\")'"),
|
|
||||||
("Tarwetinten", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#a09060\", \"#302010\")'"),
|
|
||||||
("Grijstinten", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#636380\", \"#131318\")'"),
|
|
||||||
("Wijnroodtinten", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#600040\", \"#180010\")'")
|
|
||||||
),
|
|
||||||
("Afbeeldingen", OPEN_MENU, "-noext #wmdatadir#/Backgrounds $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t")
|
|
||||||
),
|
|
||||||
("Thema opslaan", SHEXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(Themanaam)\""),
|
|
||||||
("Iconenset opslaan", SHEXEC, "geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/\"%a(Iconensetnaam)\""),
|
|
||||||
("Voorkeurenhulpmiddel", EXEC, "/usr/local/GNUstep/Applications/WPrefs.app/WPrefs")
|
|
||||||
),
|
|
||||||
("Sessie",
|
|
||||||
("Sessie opslaan", SAVE_SESSION),
|
|
||||||
("Sessie wissen", CLEAR_SESSION),
|
|
||||||
("Window Maker herstarten", RESTART),
|
|
||||||
("BlackBox starten", RESTART, blackbox),
|
|
||||||
("IceWM starten", RESTART, icewm),
|
|
||||||
("Afsluiten", EXIT)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
("Programma's",
|
||||||
|
("Info",
|
||||||
|
("Infopaneel", INFO_PANEL),
|
||||||
|
("Juridische info", LEGAL_PANEL),
|
||||||
|
("Systeemconsole", EXEC, "xconsole"),
|
||||||
|
("Systeembelasting", SHEXEC, "xosview || xload"),
|
||||||
|
("Proceslijst", EXEC, "xterm -e top"),
|
||||||
|
("Handleidingbrowser", EXEC, "xman")
|
||||||
|
),
|
||||||
|
("Uitvoeren...", SHEXEC, "%a(Uitvoeren,Typ uit te voeren commando:)"),
|
||||||
|
("XTerm", EXEC, "xterm -sb"),
|
||||||
|
("Mozilla Firefox", EXEC, "firefox"),
|
||||||
|
("Werkruimten", WORKSPACE_MENU),
|
||||||
|
("Programma's",
|
||||||
|
("Gimp", SHEXEC, "gimp >/dev/null"),
|
||||||
|
("Ghostview", EXEC, "ghostview %a(Voer te bekijken bestand in)"),
|
||||||
|
("Xpdf", EXEC, "xpdf %a(Voer te bekijken PDF in)"),
|
||||||
|
("Abiword", EXEC, "abiword"),
|
||||||
|
("Dia", EXEC, "dia"),
|
||||||
|
("OpenOffice.org",
|
||||||
|
("OpenOffice.org", EXEC, "ooffice"),
|
||||||
|
("Writer", EXEC, "oowriter"),
|
||||||
|
("Rekenblad", EXEC, "oocalc"),
|
||||||
|
("Draw", EXEC, "oodraw"),
|
||||||
|
("Impress", EXEC, "ooimpress")
|
||||||
|
),
|
||||||
|
("Tekstbewerkers",
|
||||||
|
("XEmacs", EXEC, "xemacs"),
|
||||||
|
("Emacs", EXEC, "emacs"),
|
||||||
|
("XJed", EXEC, "xjed"),
|
||||||
|
("VI", EXEC, "xterm -e vi"),
|
||||||
|
("GVIM", EXEC, "gvim"),
|
||||||
|
("NEdit", EXEC, "nedit"),
|
||||||
|
("Xedit", EXEC, "xedit")
|
||||||
|
),
|
||||||
|
("Multimedia",
|
||||||
|
("XMMS",
|
||||||
|
("XMMS", EXEC, "xmms"),
|
||||||
|
("XMMS afspelen/pauzeren", EXEC, "xmms -t"),
|
||||||
|
("XMMS stoppen", EXEC, "xmms -s")
|
||||||
|
),
|
||||||
|
("Xine videospeler", EXEC, "xine"),
|
||||||
|
("MPlayer", EXEC, "mplayer")
|
||||||
|
)
|
||||||
|
),
|
||||||
|
("Hulpmiddelen",
|
||||||
|
("Rekenmachine", EXEC, "xcalc"),
|
||||||
|
("Venstereigenschappen", SHEXEC, "xprop | xmessage -center -title 'xprop' -file -"),
|
||||||
|
("Lettertypekiezer", EXEC, "xfontsel"),
|
||||||
|
("Vergroten", EXEC, "wmagnify"),
|
||||||
|
("Kleurenkaart", EXEC, "xcmap"),
|
||||||
|
("X-programma doden", EXEC, "xkill")
|
||||||
|
),
|
||||||
|
("Selectie",
|
||||||
|
("Kopiëren", SHEXEC, "echo '%s' | wxcopy"),
|
||||||
|
("E-mailen naar", EXEC, "xterm -name mail -T Pine -e pine %s"),
|
||||||
|
("Navigeren", EXEC, "mozilla %s"),
|
||||||
|
("Zoeken in handleiding", EXEC, "MANUAL_SEARCH(%s)")
|
||||||
|
),
|
||||||
|
("Commando's",
|
||||||
|
("Andere verbergen", HIDE_OTHERS),
|
||||||
|
("Alles tonen", SHOW_ALL),
|
||||||
|
("Iconen schikken", ARRANGE_ICONS),
|
||||||
|
("Vernieuwen", REFRESH),
|
||||||
|
("Vergrendelen", EXEC, "xlock -allowroot -usefirst")
|
||||||
|
),
|
||||||
|
("Uiterlijk", OPEN_MENU, "appearance.menu.nl"),
|
||||||
|
("Sessie",
|
||||||
|
("Sessie opslaan", SAVE_SESSION),
|
||||||
|
("Sessie wissen", CLEAR_SESSION),
|
||||||
|
("Window Maker herstarten", RESTART),
|
||||||
|
("BlackBox starten", RESTART, blackbox),
|
||||||
|
("IceWM starten", RESTART, icewm),
|
||||||
|
("Afsluiten", EXIT)
|
||||||
|
)
|
||||||
|
)
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user