summaryrefslogtreecommitdiff
path: root/tests/testgmenu.c
Commit message (Collapse)AuthorAgeFilesLines
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Remove one last user of gmenumarkupRyan Lortie2012-01-251-56/+56
|
* Update testgmenu to latest api changesMatthias Clasen2011-12-191-2/+2
|
* gmenu testcase: update to glib API changesRyan Lortie2011-12-191-2/+2
|
* Only add a separator when a section endsMatthias Clasen2011-12-191-8/+9
|
* Make it build against the current wip/menus-rebase3 branchMatthias Clasen2011-12-191-4/+2
|
* testgmenu: #ifdef out non-compiling code for nowColin Walters2011-12-191-0/+2
|
* testgmenu: Insert separators after sectionsMatthias Clasen2011-12-191-1/+8
| | | | | The previous code was only inserting a separator when a new section was starting right away.
* testgmenu: Initial attempt at section headingsMatthias Clasen2011-12-191-3/+22
| | | | | | This should be redone to show the label together with the separator line, somehow. For now, just put the label below the separator, as a separate item.
* testgmenu: Use activate with parameter for radio actionsMatthias Clasen2011-12-191-37/+32
| | | | | This is how stateful actions are supposed to be activated, using change_state for this was not right at all.
* testgmenu: Use activate for toggle actionsMatthias Clasen2011-12-191-21/+21
| | | | | This is how stateful actions are supposed to be activated, using change_state for this was not right at all.
* testgmenu: Quit on delete-eventColin Walters2011-12-191-0/+10
|
* Adapt to api changes in GMenuModelMatthias Clasen2011-12-191-11/+9
|
* Adapt to object path conventionsMatthias Clasen2011-12-191-6/+8
| | | | Seems common to expect 'path == bus name with slashes'.
* testgmenu: Demonstrate how translatable labels workMatthias Clasen2011-12-191-3/+5
|
* More dynamic changesMatthias Clasen2011-12-191-11/+92
|
* CleanupsMatthias Clasen2011-12-191-148/+189
| | | | | Separate the menu generation code and all callbacks in a MenuHolder struct.
* Brute-force dynamic change propagationMatthias Clasen2011-12-191-12/+17
| | | | | We need to make sure that we connect to ::items-changed on every single model, as they appear and disappear. Ugly business.
* First attempt at handling dynamic changesMatthias Clasen2011-12-191-1/+43
| | | | | | | We need to connect to items-changed on _every_ menu model, which is somewhat icky. For some reason, this works fine with a local model, but not with D-Bus in between. Debugging needed.
* Add code for dynamic changesMatthias Clasen2011-12-191-0/+98
| | | | | Add and remove items and actions - we don't update the menus properly yet.
* Add some todosMatthias Clasen2011-12-191-0/+13
|
* Some GMenu test codeMatthias Clasen2011-12-191-0/+728
This is some test code for constructing GtkMenus from GMenus.