| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2011-10-15 | Parse all the actions in a single menu item | Dana Jansens | |
| 2011-08-01 | Allow setting icons for submenus | Mikael Magnusson | |
| 2011-01-24 | Big rework of image.c and the image cache system. | Dana Jansens | |
| Added a lot of comments, simplified call graphs. Added full (not second-class) support for images coming from named sources (files, icon themes). RrImage holds an RrImageSet. RrImageSet holds a bunch of RrImagePic, which are different sizes of a logical image. RrImageSet objects can be merged if it is discovered they (will) share an RrImagePic. The RrImage objects are updated to use the new merged RrImageSet. | |||
| 2011-01-24 | Don't hog the user during the hideDelay | Mikael Magnusson | |
| 2010-06-14 | Use GMainLoop instead of ObtMainLoop | Dana Jansens | |
| 2010-05-11 | add cleanup function for menus that fires when the menu is no longer visible | Dana Jansens | |
| 2010-02-16 | more using g_slice_new() instead of g_new() | Dana Jansens | |
| 2010-01-28 | Add a hook to unset the client in the open menu frame instead of closing it | Mikael Magnusson | |
| Also nukes menu_frame_hide_all_client() as it is now unused. | |||
| 2010-01-15 | allow multiple escaped _'s in a menu label, and allow a real _ to come later ↵ | Dana Jansens | |
| in the label (Fixes bug #4355). | |||
| 2010-01-11 | NULL ic when we failed to load an image | Mikael Magnusson | |
| 2010-01-08 | Rework the code provided by Kadlcik Libor for loading/showing icons in ↵ | Dana Jansens | |
| Openbox menus. This changes how the imagecache works, you can load an image into it directly, or you can load it by name (then it will load it from a file on disk). NOTE: The name part is incomplete, as it needs to use the freedesktop.org icon spec to search for the right file. Also to resize it should look for another icon on disk with the same name but different size (icon themes). | |||
| 2010-01-08 | Some style changes, less ifdefs. | Mikael Magnusson | |
| 2010-01-08 | This patch implements support for icons in user-defined menus into Openbox | Kadlcik Libor | |
| Image loading is done using the Imlib2 library. I chose Imlib2 because it's pretty fast, it's easy to use, supports many file formats (tested xpm, gif, jpeg, png) and doesn't introduce too much bloat (it depends :)). I ported the patch to 3.4.7-pre3 and added some enhancements. Caching is much better now, and icons can be disabled at compile time using --disable-imlib2 option. What's new? Syntax of configuration files (namely rc.xml and menu.xml) has been changed slightly to allow users to associate icons to menu entries. This is done by specifying path to icon file in the new "icon" attribute in "<item>" element, e.g: <item label="Vim" icon="/usr/share/pixmaps/vim-32.xpm"> <action name="Execute"><execute>x-terminal-emulator -T Vim -e vim</execute></action> </item> If user doesn't want to display any icons in his user-defined menus, he/she can disable icons in rc.xml, inside "<menu>" section: <menu> ... <showIcons>no</showIcons> ... </menu> Default value is "yes". (New boolean variable "config_menu_user_show_icons" has been added to source code.) An icon is loaded (using menu_item_attach_icon()) when a new entry of menu is created. Fortunately, I haven't notice any performance problems because of this :). | |||
| 2010-01-08 | use obt_xml_* to navigate the xml file (also XML tags are case sensitive) | Dana Jansens | |
| 2009-12-21 | rename the obt_parse library to obt_xml (since it is very xml specific) | Dana Jansens | |
| 2009-09-19 | Merge branch 'backport' into work | Mikael Magnusson | |
| Conflicts: openbox/actions/desktop.c openbox/client.c openbox/event.c openbox/extensions.c openbox/popup.c openbox/screen.c parser/parse.c | |||
| 2009-07-05 | Allow escaping _ in menu labels by putting __ | Mikael Magnusson | |
| Currently you can't mark anything that comes after the __ with _ to make that a shortcut. | |||
| 2008-03-08 | Merge branch 'backport' into work | Mikael Magnusson | |
| Conflicts: obt/keyboard.c openbox/actions/cyclewindows.c openbox/actions/directionalwindows.c openbox/frame.c openbox/openbox.c | |||
| 2008-03-08 | Remove double newlines. | Mikael Magnusson | |
| 2008-02-21 | Merge branch 'backport' into work | Dana Jansens | |
| Conflicts: openbox/openbox.c openbox/session.c | |||
| 2008-02-21 | Change all single quotes to double quotes in strings. | Mikael Magnusson | |
| 2008-02-14 | Introducing the icon cache. | Dana Jansens | |
| 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 | Introducing the icon cache. | Dana Jansens | |
| 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-01-20 | move the xdg path stuff into obt/paths.[ch], and make render and openbox use it | Dana Jansens | |
| 2008-01-20 | was using random memory for parsing pipe menus with the new parse api | Dana Jansens | |
| 2008-01-20 | add obt_parse_tree_from_root and use it, cuz it's nice | Dana Jansens | |
| 2008-01-20 | update openbox to use the current parser interface in libobt | Dana Jansens | |
| there is also some random bug fixes for other libobt stuff in here. | |||
| 2008-01-20 | Move the main loop out into the libobt | Dana Jansens | |
| 2007-09-04 | ANSI function declarations, ie () -> (void) | Mikael Magnusson | |
| 2007-08-07 | Only copy execute_func to the more_menu. | Mikael Magnusson | |
| Also don't bother copying NULL around in menu_new. | |||
| 2007-08-07 | Fix another memleak | Mikael Magnusson | |
| 2007-07-17 | remove trailing whitespace | Mikael Magnusson | |
| 2007-07-10 | let you specify shortcuts in your menus. change & to be _ for shortcut selection | Dana Jansens | |
| 2007-06-23 | add shortcuts to add/remove desktops in the client list menus. | Dana Jansens | |
| also make it so &-specified shortcuts are always underlined | |||
| 2007-06-22 | add the showmenu action | Dana Jansens | |
| 2007-06-22 | well.. it compiles.. | Dana Jansens | |
| 2007-06-10 | cache pipe menus without crashing! | Dana Jansens | |
| 2007-06-10 | cache pipe menus until the menus close | Dana Jansens | |
| 2007-06-02 | do the menu_can_hide thing properly. was such a hack before? and the ↵ | Dana Jansens | |
| variable was getting set from all kinds of events like motion notify. totally not reliable. now it works all nice. | |||
| 2007-05-30 | add a big comment about more menus | Dana Jansens | |
| 2007-05-30 | dont need to recurse | Dana Jansens | |
| 2007-05-27 | only hilight the first entry when opening the menu with a keybind | Mikael Magnusson | |
| 2007-05-27 | hilight the first normal entry also if there is a menuheader/separator before it | Mikael Magnusson | |
| 2007-05-20 | set the functions recursively, so if you change it after the menu has been ↵ | Dana Jansens | |
| opened it takes effect all the way down | |||
| 2007-05-20 | set the functions in the more menu the same as the parent menu | Dana Jansens | |
| 2007-05-13 | use the right list in client_add_hide_notify, rename destructor to ↵ | Dana Jansens | |
| destroy_notify which is really what it is, and is more consistant now that there are 2 notifies | |||
| 2007-05-09 | mem leak | Dana Jansens | |
| 2007-05-07 | um... hide the client menu when the window changes desktops. its not visible ↵ | Dana Jansens | |
| anymore (probably..) and no send to menu wont be wrong too. | |||
| 2007-05-07 | add a notifier for clients changing desktops. use it to update the send-to ↵ | Dana Jansens | |
| menu if it changes. it does this by closing/opening the menu.. thats about the best we can do tho with this menu code without huge changes | |||
| 2007-05-07 | translate "More..." | Dana Jansens | |
