aboutsummaryrefslogtreecommitdiff
path: root/src/im-app-menu-item.c
Commit message (Collapse)AuthorAgeFilesLines
* Show icons in application and source menu itemsLars Uebernickel2012-08-211-1/+46
| | | | | | | Everthing goes through GIcon now, using g_icon_{to,new_for}_string to set a string attribute on the menu item. The attribute is prefixed x-canonical- for now.
* Use a custom menu item for application itemsLars Uebernickel2012-08-201-0/+305
This introduces ImAppMenuItem: a menu item which shows a small triangle next to an application's name if the associated app is running. The running state is communicated to the menu by giving the "launch" action a boolean state. This depends on a patch to gtk which creates custom menu items from gtk_menu_new_from_model when the x-canonical-type attribute is set on a menu item in the model.