aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel
Commit message (Collapse)AuthorAgeFilesLines
* QStateAction: try to maintain the type of the action's stateLars Uebernickel2013-09-231-4/+7
| | | | | | QML likes to convert doubles to integers if the number is close enough to an integer. This tries to circumvent that by explicitly casting to the right action type, because that's what exporters of GActionGroups expect.
* Fix sequence memory leak in unitymenumodelPete Woods2013-09-171-0/+1
|
* fullActioName: make sure 'name' is valid for the duration of the functionLars Uebernickel2013-09-031-1/+3
|
* Add UnityMenuAction::index propertyLars Uebernickel2013-09-034-46/+82
|
* Add UnityMenuModel::getActionLars Uebernickel2013-09-024-0/+37
| | | | | | 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::activate: use gtk_menu_tracker_item_get_action_nameLars Uebernickel2013-09-021-1/+1
| | | | | Instead of fetching the action name directly. This will make sure we always get the full action name, including the name space if one is set.
* gtk_menu_tracker_item_get_action_name: return full name, including namespaceLars Uebernickel2013-09-023-9/+20
|
* Added UnityMenuAction for "out-of-menu" actions.Nick Dedekind2013-08-3010-1/+756
|\ | | | | Approved by Lars Uebernickel, PS Jenkins bot.
| * merged with trunkNick Dedekind2013-08-2715-55/+498
| |\
| * | Review commentsNick Dedekind2013-08-276-256/+246
| | |
| * | removed newlineNick Dedekind2013-08-221-1/+0
| | |
| * | Added copywrite headersNick Dedekind2013-08-222-1/+19
| | |
| * | Using qt event loop to pass UnityMenuAction eventsNick Dedekind2013-08-226-43/+176
| | |
| * | Added activate/changeState to UnityMenuModelNick Dedekind2013-08-223-0/+31
| | |
| * | Added UnityMenuAction for out-of-line actions. Action muxer copied to submenus.Nick Dedekind2013-08-218-1/+585
| | |
* | | Remove theme image providerLars Uebernickel2013-08-294-70/+0
|\ \ \ | | | | | | | | | | | | | | | | The platform should provide that, because more than this one module ned themed icons. Approved by Michal Hruby, PS Jenkins bot.
| * | | Remove theme image providerLars Uebernickel2013-08-224-70/+0
| |/ / | | | | | | | | | | | | The platform should provide that, because more than this one module ned themed icons.
* | / Let Qt manage deletion of childrenNick Dedekind2013-08-291-3/+0
| |/ |/|
* | Adds qt event spawning to direct glib main loop callbacks. Fixes: ↵Nick Dedekind2013-08-2612-47/+328
|\ \ | | | | | | | | | | | | https://bugs.launchpad.net/bugs/1183065, https://bugs.launchpad.net/bugs/1206991. Approved by Lars Uebernickel, PS Jenkins bot.
| * | moved events to separate file.Nick Dedekind2013-08-0912-136/+203
| | |
| * | bit of code cleanupNick Dedekind2013-08-093-4/+2
| | |
| * | Glib callbacks send events through qt.Nick Dedekind2013-08-0810-47/+263
| | |
* | | UnityMenuModel::changeState now uses current state parameter type as a base ↵Nick Dedekind2013-08-263-2/+150
|\ \ \ | | | | | | | | | | | | | | | | for parameter GVariant conversion. Approved by Lars Uebernickel, PS Jenkins bot.
| * | | Added toGVariantWithSchema for UnityMenuModel::changeStateNick Dedekind2013-08-153-2/+150
| | |/ | |/|
* / | new unitymenumodel attribute typesNick Dedekind2013-08-201-6/+20
|/ /
* | Removed UnityMenuAction. Fixed leaks from unitymenumodel.Nick Dedekind2013-08-126-195/+34
| |
* | Added UnityMenuModel.Nick Dedekind2013-08-1225-4/+3978
|\ \ | |/ |/| 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-125-28/+202
| |\
| | * glib callbacks pass events through qt.Nick Dedekind2013-08-095-28/+203
| | |
| * | 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
| |/
| * Add action role (replacing actionState role)Nick Dedekind2013-07-305-6/+154
| |
| * 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-263-3/+60
| |
| * 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).
| * 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.