summaryrefslogtreecommitdiff
path: root/LibGUI/GMenuItem.cpp
AgeCommit message (Collapse)Author
2019-05-24LibGUI: Don't crash when updating menu item that's not in the window server ↵Christopher Dumas
(#83) Don't crash when updating menu item that's not in the window server. Menu Items begin with an invalid ID of -1, and only get a valid ID if the menu they are attached to is added to the window server. They don't send updates to the server unless they have a valid ID. Fixes #82
2019-04-26LibGUI+WindowServer: Make it possible to have checkable GActions.Andreas Kling
They show up as checkable GButtons in GToolBar, and with (or without) check marks in menus. There are a bunch of places to make use of this. This patch only takes advantage of it in the FileManager for the view type actions.
2019-04-12LibGUI+WindowServer: Add support for enabled/disabled actions.Andreas Kling
The enabled state of a GAction now propagates both to any toolbar buttons and any menu items linked to the action. Toolbar buttons are painted in a grayed out style when disabled. Menu items are gray when disabled. :^)
2019-03-16IRCClient: Add menus.Andreas Kling
2019-02-20LibGUI: Add a GToolBar class that can be populated with GActions.Andreas Kling
The same action can be added to both a menu and a toolbar. Use this to put a toolbar into FileManager. This is pretty neat. :^)
2019-02-12LibGUI: Add GAction class and make GMenu deal in actions rather than strings.Andreas Kling
2019-02-11LibGUI: Add GMenu* and GApplication classes.Andreas Kling