aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Removed UnityMenuAction.Nick Dedekind2013-08-136-195/+34
|\ | | | | Approved by Lars Uebernickel, PS Jenkins bot.
| * Removed UnityMenuAction. Fixed leaks from unitymenumodel.Nick Dedekind2013-08-126-195/+34
| |
* | Releasing 0.2.6+13.10.20130812-0ubuntu1 (revision 70 from lp:qmenumodel).Automatic PS uploader2013-08-121-0/+16
|\ \ | |/ |/| Approved by PS Jenkins bot.
| * Releasing 0.2.6+13.10.20130812-0ubuntu1, based on r70Automatic PS uploader2013-08-121-0/+16
|/
* Added UnityMenuModel.Nick Dedekind2013-08-1228-22/+4106
|\ | | | | Approved by PS Jenkins bot, Nick Dedekind.
| * Add isToggled roleLars Uebernickel2013-08-121-1/+6
| |
| * Use qevents to send between direct glib loop events and qt.Nick Dedekind2013-08-126-29/+203
| |\
| | * glib callbacks pass events through qt.Nick Dedekind2013-08-096-29/+204
| | |
| * | use correct qvariant types for sensitive and isSeparator rolesNick Dedekind2013-08-121-2/+2
| |\ \
| | * | use correct qvariant types for sensitive and isSeparator rolesNick Dedekind2013-08-091-2/+2
| | |/
| * | Expose isCheck and isRadio rolesLars Uebernickel2013-08-121-1/+11
| | |
| * | Add parameter to unitymenumodel.action.activateLars Uebernickel2013-08-092-3/+7
| | |
| * | Re-add UnityMenuModel::activate()Lars Uebernickel2013-08-092-0/+9
| |/
| * Fix exporting of boolean extended-attribute in attributeToQVariant()Mirco Müller2013-08-051-1/+1
| |\
| | * Fix exporting of boolean extended-attribute in attributeToQVariant()Mirco Müller2013-08-011-1/+1
| | |
| * | Allow changing action stateNick Dedekind2013-08-055-18/+99
| |\ \ | | |/ | |/|
| | * removed debug codeNick Dedekind2013-07-311-3/+0
| | |
| | * Added menu action updateStateNick Dedekind2013-07-305-21/+62
| | |
| | * Added action nameNick Dedekind2013-07-304-0/+42
| | |
| | * merged with parentNick Dedekind2013-07-305-6/+154
| | |\ | | |/ | |/|
| * | Add action role (replacing actionState role)Nick Dedekind2013-07-305-6/+154
| | |
| | * merged with trunkNick Dedekind2013-07-305-15/+130
| | |\ | | |/ | |/|
| * | Set model qdata on items instead of the muxerLars Uebernickel2013-07-301-7/+3
| | |
| * | Add ActionStateParserNick Dedekind2013-07-305-3/+116
| | |
| * | unitymenumodel: lookup themed icon before turning it into a uriNick Dedekind2013-07-301-5/+11
| |/
| * unitymenumodel: add get()Lars Uebernickel2013-07-262-0/+13
| |
| * Expose the state of a menu item's action in model.actionStateLars Uebernickel2013-07-264-10/+75
| |
| * Fix crash in UnityMenuModel::menuItemChangedLars Uebernickel2013-07-251-1/+1
| | | | | | | | | | | | | | menuItemInserted set the iter _after_ the one that was just inserted as qdata. This is (a) wrong and (b) leads to the end iter being in there in some cases. menuItemChanged can't deal with that (it calls g_sequence_get() without checking for the end iter).
| * examples/unityqmlmenumodel.qml: add license headerLars Uebernickel2013-07-251-0/+17
| |
| * examples/unitymenumodel.qml: update to newest APILars Uebernickel2013-07-251-9/+46
| |
| * unitymenumodel: expose type and extended attributes to qmlLars Uebernickel2013-07-254-1/+164
| |
| * unitymenumodel: add support for iconsLars Uebernickel2013-06-257-4/+132
| | | | | | | | For now, this includes themed icons, file icons, and icons send as raw data.
| * Remove unityqmlmenumodelLars Uebernickel2013-06-244-81/+2
| | | | | | | | | | | | It was used for calling ::init() on the unitymenumodel when parsing finished (so that unitymenumodel wouldn't have to implement QQmlParserStatus). Now that init() is gone, unityqmlmenumodel doesn't serve any purpose.
| * unitymenumodel: allow setting multiple prefixed action groupsLars Uebernickel2013-06-242-16/+19
| |
| * unitymenumodel: set free func on GSequenceLars Uebernickel2013-06-241-29/+10
| | | | | | | | | | Makes item removal code much cleaner (no need for the explicit free), at the cost of another qdata.
| * unitymenumodel: use g_clear_objectLars Uebernickel2013-06-241-6/+2
| |
| * unitymenumodel: remove forSubMenuLars Uebernickel2013-06-241-13/+6
| |
| * unitymenumodel: move role enum into .cppLars Uebernickel2013-06-242-11/+10
| | | | | | | | No need for that to be public.
| * unitymenumodel: remove redundant priv functionsLars Uebernickel2013-06-241-67/+42
| |
| * Move unityqmlmenumodel's properties to unitymenumodelLars Uebernickel2013-06-244-149/+133
| | | | | | | | | | | | | | | | This gets rid of the ad-hoc construct-only properties and ::init() vfunc. Names and paths can now be changed after creating the menu model. This will probably be used seldom in practice, but it makes the code a bit cleaner. Unityqmlmenumodel doesn't do anything interesting right now.
| * unitymenumodel: call init in the the constructor that is meant to be used ↵Lars Uebernickel2013-06-051-0/+1
| | | | | | | | from c++
| * unitymenumodel: add support for submenusLars Uebernickel2013-06-052-18/+67
| |
| * unitymenumodel: add activate()Lars Uebernickel2013-06-053-2/+27
| |
| * Link against the qml moduleLars Uebernickel2013-06-052-2/+3
| | | | | | | | Reverts r69, that was nonsense.
| * unitymenumodel: expose isSeparatorLars Uebernickel2013-06-043-11/+33
| |
| * examples/exportmenu.py: use g_bus_own_name to avoid raceLars Uebernickel2013-06-041-17/+3
| | | | | | | | | | This avoids the common d-bus race where a name is owned but objects aren't exported on it yet.
| * unitymenumodel: watch the bus nameLars Uebernickel2013-06-041-30/+83
| | | | | | | | This makes it possible to restart the service that provides the menu.
| * Add qml example for UnityMenuModelLars Uebernickel2013-06-042-1/+39
| |
| * CMakeLists.txt: explicitly specify qml include pathLars Uebernickel2013-06-041-0/+1
| | | | | | | | CMake doesn't call moc correctly if this is not specified.
| * Introduce UnityMenuModel and UnityQmlMenuModelLars Uebernickel2013-06-0417-2/+3089
| | | | | | | | | | | | | | | | | | 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.