Commit graph

6738 commits

Author SHA1 Message Date
Dana Jansens
dbbbbb7d48 When showing a window's title in the kill prompt, if it doesn't have a title use its parent's (same way the focus cycle popup does) 2008-02-27 23:11:08 -05:00
Dana Jansens
573bbb08a6 add the autostart.sh.in to the dist targz instead of the autostart.sh 2008-02-27 22:46:44 -05:00
Dana Jansens
40c014faf1 include the xdg-autostart script in the dist targz 2008-02-27 22:44:22 -05:00
Dana Jansens
1018b836c4 clean up the execute action code, and free the prompt option string 2008-02-27 22:19:59 -05:00
Dana Jansens
92f23264c7 change the yes/no buttons to Exit/Cancel for the exit prompt 2008-02-27 22:14:11 -05:00
Dana Jansens
fbacc56d9d some new translated strings 2008-02-27 21:04:04 -05:00
Dana Jansens
2c8bc0c904 add a boolean <prompt> option to the Exit action, which will ask before exiting openbox 2008-02-27 20:59:17 -05:00
Dana Jansens
94e339496c Give the Execute action the <prompt> option 2008-02-27 20:59:15 -05:00
Dana Jansens
b1dc814128 make the xdg-autostart script get installed to PREFIX/lib/openbox, and make the autostart.sh script look for it there. 2008-02-27 19:36:48 -05:00
Mikael Magnusson
e35a4697a7 Update po files with new strings, update swedish translation. 2008-02-27 04:58:12 +01:00
Dana Jansens
490ef3213a Change the kill prompt buttons to "Cancel" and "End Process"/"Disconnect" (for local/remote apps) 2008-02-26 22:32:20 -05:00
Mikael Magnusson
c38a756ae5 Fix some typos and style in client.c, and add a comment.
Also moves a comment from many places into one place.
2008-02-27 04:34:35 +01:00
Mikael Magnusson
7753be1cb6 Make "Unnamed Window" translatable. 2008-02-27 04:34:35 +01:00
Mikael Magnusson
c11a7c3ce1 Pass TRUE instead of FALSE to do what the comment says. 2008-02-27 04:34:35 +01:00
Mikael Magnusson
04bf68c2ac Various cleanups of event.c
Typo in debug message.
Improve some comments.
Space after comma.
Factor out compress_client_message_event.
Fold two ifs together.
Change duplicated case to fall through.
2008-02-27 04:34:31 +01:00
Mikael Magnusson
ab9233ddb1 Refactor the event handling for titlebar buttons a bit. 2008-02-27 04:20:21 +01:00
Dana Jansens
120bab667f add xce-mcs-manager to the autostart.sh - run it if gsd is not found 2008-02-26 21:17:26 -05:00
Dana Jansens
1ef0d8eb53 Fixing bug from commit 041d17373e
Pressing a button and leave/enter would cause the button to show hover mode, not pressed mode.  Change the behaviour back to how it used to be for pressing (the button stays pressed when you move outside of its box) and make it work correctly, as commit 041d17373e also did for menus.

Reverting this behaviour because it seems impossible to do the enter/leave stuff correctly for the close button on maximized windows.  Leaving the titlebar contexts doesn't give us an Enter event to go along with it, so even if we check all motion events, the button will flash unpressed when leaving the topright contexts.
2008-02-26 03:12:57 -05:00
Dana Jansens
dd97c9beac change the buttons in the kill prompt from "yes/no" which can be a little confusing to be more clear "cancel/force exit" so people won't do the wrong thing by accident so much 2008-02-26 00:59:25 -05:00
Dana Jansens
14b422f9a3 show the desktop change popup before mapping/unmapping all the windows
this makes a big difference if the compmgr is being laggy trying to show windows
2008-02-25 22:16:58 -05:00
Dana Jansens
d9e6aa5643 Add theme options for menu line separators.
Added:
 menu.separator.color
 menu.separator.width
 menu.separator.padding.width
 menu.separator.padding.height
2008-02-22 12:13:02 -05:00
Dana Jansens
fadc52e186 Allow windows to specify a base-size of 0
This fixes the resize popup for terminal windows, if the base-size was 0, the size popup would be off by one.
2008-02-22 10:52:04 -05:00
Dana Jansens
cd4f325ee7 Let ObPrompts be modal dialogs, and when they are transient for a window, make it transient for its entire group, so it can be stacked at the highest level above other transients 2008-02-22 10:38:14 -05:00
Dana Jansens
c49c2a8e40 If multiple key bindings at the same level are not able to be translated, then don't have them conflict and end up removing untranslated bindings from the key tree. This way they can be re-translated later.
This fixes keybindings getting lost when VMWare grabs the keyboard/pointer
2008-02-21 13:00:11 -05:00
Mikael Magnusson
2cb31da22c Change all single quotes to double quotes in strings. 2008-02-21 12:02:18 +01:00
Mikael Magnusson
4642d896a8 Update finnish translation. 2008-02-21 11:51:31 +01:00
Mikael Magnusson
c1257fb4f9 MoveResizeTo was broken for opposite edges. 2008-02-19 18:44:49 +01:00
Dana Jansens
041d17373e Fix button press behaviours. On LeaveNotify, make the button no longer pressed. On MotionNotify, only make it hovered if no button is pressed down. On EnterNotify, make it hovered or pressed as appropriate.
This fixes case where you left-click and hold on a button, then right click to open the menu - this used to leave the button in a pressed state.
2008-02-18 20:42:35 -05:00
Dana Jansens
5bfa48dcff Grab key bindings with GrabModeSync, so that if they lead to a keyboard grab, then no keyboard events will be lost between the initial keybinding and the keyboard grab. 2008-02-18 20:42:35 -05:00
Dana Jansens
58788c7817 the focus indicator line for prompt buttons wasn't being displayed, since the texture type was no longer being set 2008-02-18 20:42:35 -05:00
Elián Hanisch
b889d86e63 Update spanish translation. 2008-02-19 00:16:29 +01:00
Mikael Magnusson
71940dae6f Fix some typos in comments. 2008-02-17 19:14:59 +01:00
Mikael Magnusson
6be85936ae Add a comment for translators about how to change order of arguments. 2008-02-17 17:01:07 +01:00
Mikael Magnusson
da2b83ff26 Update all the po files so they contain the new prompt strings so translators can translate them. 2008-02-17 16:39:56 +01:00
Mikael Magnusson
28aa0990ac Update swedish translation. 2008-02-17 16:38:22 +01:00
洪任諭
e89efbc5f9 Update traditional chinese translation. 2008-02-17 16:35:52 +01:00
Mikael Magnusson
2eb130ef3c Update swedish translation. 2008-02-17 16:10:58 +01:00
Dana Jansens
4b71209ec8 make the frame iconify animation go right into the icon geometry area instead of stopping before it 2008-02-15 01:07:15 -05:00
Dana Jansens
0c8aca23eb set the window type hint on menus to be "popup menus" 2008-02-14 23:04:54 -05:00
Dana Jansens
cec5480108 avoid a compiler warning 2008-02-14 15:11:25 -05:00
Dana Jansens
3f62e77dea don't use \n at the end of g_message strings 2008-02-14 15:10:14 -05:00
Dana Jansens
66a897d9b2 don't reference free'd memory, and don't leak memory if the image cache is not saving any resized pictures 2008-02-14 15:10:14 -05:00
Dana Jansens
e7a86f5fe4 use g_message not g_print so it can go to the log 2008-02-14 15:10:14 -05:00
Dana Jansens
38c96413b3 pre-calc the sum of a picture added to an RrImage rather than calculating it every time 2008-02-14 15:10:14 -05:00
Dana Jansens
a2e3026d8a add a bunch of comments for images and image caches. and make the number of resized pictures saved in an image tunable per-icon cache. 2008-02-14 15:10:14 -05:00
Dana Jansens
35b36fc377 when resizing images, pick a source image with the same aspect ratio if possible 2008-02-14 15:10:14 -05:00
Dana Jansens
4c7cc1cfa6 Introducing the icon cache.
If an icon is the same as one in the cache, then it uses that one.
icons of different sizes (from the same client) are linked together into
one, and resizes of icons are cached and linked to all the various sizes.
so you only need one icon in memory for all your terminals now. ya!
2008-02-14 15:09:24 -05:00
Dana Jansens
512d93afcc backport the changes to render/ from the alttab branch (commit 3592046b2b) in master, as the iconcache changes depend on this
git show 3592046b -- render
2008-02-14 14:44:17 -05:00
Mikael Magnusson
e06ddf9f22 put the char member at the bottom of the struct so that it doesnt mess up alignment for the other members (assuming the compiler doesn't pad the struct appropriately anyways) 2008-02-14 14:35:28 -05:00
Dana Jansens
911413d86c obprompts do not have a stacking layer, as they don't appear directly in the stacking list 2008-02-14 14:30:10 -05:00