| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Fixes https://github.com/AyatanaIndicators/qmenumodel/issues/22
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|\
| |
| |
| |
| |
| | |
(LP: #1670694)
Approved by: Lukáš Tinkl
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
|
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.
|