aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src/gtk
Commit message (Collapse)AuthorAgeFilesLines
* src/gtk Update gtk part to version 3.24.8Sergey Chupligin2023-08-248-200/+731
| | | | Fixes https://github.com/AyatanaIndicators/qmenumodel/issues/22
* Add missing headerLuca Weiss2020-05-181-0/+1
| | | | | | | | | | | | | Resolves the following build-time warning: [..]/libqmenumodel/src/gtk/gtksimpleactionobserver.c: In function ‘gtk_simple_action_observer_register_action’: [..]/libqmenumodel/src/gtk/gtksimpleactionobserver.c:147:7: warning: implicit declaration of function ‘gtk_action_observable_register_observer’ [-Wimplicit-function-declaration] 147 | gtk_action_observable_register_observer (self->observable, self->action_name, GTK_ACTION_OBSERVER (self)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [..]/libqmenumodel/src/gtk/gtksimpleactionobserver.c: In function ‘gtk_simple_action_observer_unregister_action’: [..]/libqmenumodel/src/gtk/gtksimpleactionobserver.c:156:5: warning: implicit declaration of function ‘gtk_action_observable_unregister_observer’ [-Wimplicit-function-declaration] 156 | gtk_action_observable_unregister_observer(self->observable, self->action_name, GTK_ACTION_OBSERVER (self)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Use submenu-enabled for those items that don't have an action (if it exists) ↵Albert Astals Cid2017-03-161-1/+11
|\ | | | | | | | | | | (LP: #1670694) Approved by: Lukáš Tinkl
| * Use submenu-enabled for those items that don't have an action (if it exists)Albert Astals Cid2017-03-081-1/+11
| |
* | valignAlbert Astals Cid2017-02-281-1/+1
| |
* | Batch add and removes into the modelAlbert Astals Cid2017-02-282-15/+46
|/
* Fix crash from not NULLing a variant that we later might try to unrefMichael Terry2015-04-301-0/+1
|
* Add UnityMenuModel::getActionLars Uebernickel2013-09-022-0/+8
| | | | | | A method that returns a UnityMenuAction for a menu item. It must be used if the action name came from an attribute on the menu item so that the menu item's namespace can be prepended to the action name.
* gtk_menu_tracker_item_get_action_name: return full name, including namespaceLars Uebernickel2013-09-022-7/+14
|
* Review commentsNick Dedekind2013-08-274-237/+227
|
* Added copywrite headersNick Dedekind2013-08-222-1/+19
|
* Added UnityMenuAction for out-of-line actions. Action muxer copied to submenus.Nick Dedekind2013-08-212-0/+219
|
* Allow changing action stateNick Dedekind2013-08-052-0/+51
|\
| * removed debug codeNick Dedekind2013-07-311-3/+0
| |
| * Added menu action updateStateNick Dedekind2013-07-302-0/+27
| |
| * Added action nameNick Dedekind2013-07-302-0/+26
|/
* Expose the state of a menu item's action in model.actionStateLars Uebernickel2013-07-262-0/+38
|
* unitymenumodel: expose type and extended attributes to qmlLars Uebernickel2013-07-252-0/+50
|
* Introduce UnityMenuModel and UnityQmlMenuModelLars Uebernickel2013-06-0411-0/+2629
UnityMenuModel serves the same purpose as QMenuModel, but it is based on GtkMenuTracker and has a different API. GtkMenuTracker is maintained in gtk, but meant to be copy-and-pasted into other consumers of menu models. It does not introduce new dependencies. It does give us access to all the features that GMenuModel has.