Dana Jansens
97de737767
Merge branch 'backport' into work
...
Conflicts:
openbox/menuframe.c
openbox/prompt.c
openbox/prop.c
openbox/prop.h
2008-02-22 12:31:26 -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
198d98986b
Merge branch 'backport' into work
...
Conflicts:
openbox/openbox.c
openbox/session.c
2008-02-21 13:24:19 -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
3263845459
Merge branch 'backport' into work
...
Conflicts:
openbox/grab.c
openbox/keyboard.c
2008-02-18 20:43:18 -05: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
Mikael Magnusson
9e05faf3d6
() -> (void) also in .h files, and fix a place that gave arguments when it shouldn't have.
2008-02-15 16:47:10 +01:00
Mikael Magnusson
0ffd1ccc47
() -> (void)
2008-02-15 16:21:35 +01:00
Dana Jansens
db49122dec
Merge branch 'backport' into work
...
Conflicts:
openbox/frame.c
openbox/menuframe.c
2008-02-15 10:03:55 -05:00
Dana Jansens
beae040a81
remove prop.c/h, as they were reintroduced in a bad merge ( 0dc7eca4cd
)
2008-02-15 10:01:32 -05: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
e1b4b9eb17
Merge branch 'backport' into work
2008-02-14 15:14:55 -05:00
Dana Jansens
b01dd0b20f
Merge branch 'backport' into work
2008-02-14 15:14:41 -05:00
Dana Jansens
cec5480108
avoid a compiler warning
2008-02-14 15:11:25 -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
3f62e77dea
don't use \n at the end of g_message strings
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
Dana Jansens
ceb77efdd4
Merge branch 'backport' into work
2008-02-14 14:36:05 -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
Dana Jansens
def8fc707d
obprompts do not have a stacking layer, as they don't appear directly in the stacking list
2008-02-14 14:29:40 -05:00
Dana Jansens
cd3aa44b6a
draw a box inside the key-focused button in an ObPrompt. also fix rendering the buttons when they are parent-relative.
2008-02-14 14:24:37 -05:00
Dana Jansens
baf1a0919d
fix min-size calculations for lineart textures
2008-02-14 14:24:37 -05:00
Dana Jansens
415c0d2721
make ObPrompts resize and redraw correctly when reconfiguring and changing themes with them open
2008-02-14 14:24:37 -05:00
Dana Jansens
c778cf15cb
don't ping everything all the time. yay. ping when you close, and if it doesn't reply then show the kill prompt. also show a more correct prompt for windows connecting from non-local machines - ask to disconnect them from the X server.
2008-02-14 14:24:37 -05:00
Dana Jansens
4eecbeb611
tell what signal is going to be sent to the client when killing through the dialog
2008-02-14 14:24:37 -05:00
Dana Jansens
74a746e55f
use the hover and press button colors (this was a bug)
2008-02-14 14:24:37 -05:00
Dana Jansens
0da49e82ae
when drawing and measuring strings in "flow" mode, don't ellipsize so that lines can wrap
2008-02-14 14:24:37 -05:00
Dana Jansens
7b4556b211
don't kill our own ObPrompt windows with kill actions
2008-02-14 14:24:37 -05:00
Dana Jansens
972e1fc5a3
if a prompt is already showing and you try show it again, then make it active. in the "kill this?" prompt use the window's original title without any of the openbox-appended-ness
2008-02-14 14:24:36 -05:00