Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | QStateAction: try to maintain the type of the action's state | Lars Uebernickel | 2013-09-23 | 1 | -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 unitymenumodel | Pete Woods | 2013-09-17 | 1 | -0/+1 |
| | |||||
* | fullActioName: make sure 'name' is valid for the duration of the function | Lars Uebernickel | 2013-09-03 | 1 | -1/+3 |
| | |||||
* | Add UnityMenuAction::index property | Lars Uebernickel | 2013-09-03 | 4 | -46/+82 |
| | |||||
* | Add UnityMenuModel::getAction | Lars Uebernickel | 2013-09-02 | 4 | -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_name | Lars Uebernickel | 2013-09-02 | 1 | -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 namespace | Lars Uebernickel | 2013-09-02 | 3 | -9/+20 |
| | |||||
* | Added UnityMenuAction for "out-of-menu" actions. | Nick Dedekind | 2013-08-30 | 10 | -1/+756 |
|\ | | | | | Approved by Lars Uebernickel, PS Jenkins bot. | ||||
| * | merged with trunk | Nick Dedekind | 2013-08-27 | 15 | -55/+498 |
| |\ | |||||
| * | | Review comments | Nick Dedekind | 2013-08-27 | 6 | -256/+246 |
| | | | |||||
| * | | removed newline | Nick Dedekind | 2013-08-22 | 1 | -1/+0 |
| | | | |||||
| * | | Added copywrite headers | Nick Dedekind | 2013-08-22 | 2 | -1/+19 |
| | | | |||||
| * | | Using qt event loop to pass UnityMenuAction events | Nick Dedekind | 2013-08-22 | 6 | -43/+176 |
| | | | |||||
| * | | Added activate/changeState to UnityMenuModel | Nick Dedekind | 2013-08-22 | 3 | -0/+31 |
| | | | |||||
| * | | Added UnityMenuAction for out-of-line actions. Action muxer copied to submenus. | Nick Dedekind | 2013-08-21 | 8 | -1/+585 |
| | | | |||||
* | | | Remove theme image provider | Lars Uebernickel | 2013-08-29 | 4 | -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 provider | Lars Uebernickel | 2013-08-22 | 4 | -70/+0 |
| |/ / | | | | | | | | | | | | | The platform should provide that, because more than this one module ned themed icons. | ||||
* | / | Let Qt manage deletion of children | Nick Dedekind | 2013-08-29 | 1 | -3/+0 |
| |/ |/| | |||||
* | | Adds qt event spawning to direct glib main loop callbacks. Fixes: ↵ | Nick Dedekind | 2013-08-26 | 12 | -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 Dedekind | 2013-08-09 | 12 | -136/+203 |
| | | | |||||
| * | | bit of code cleanup | Nick Dedekind | 2013-08-09 | 3 | -4/+2 |
| | | | |||||
| * | | Glib callbacks send events through qt. | Nick Dedekind | 2013-08-08 | 10 | -47/+263 |
| | | | |||||
* | | | UnityMenuModel::changeState now uses current state parameter type as a base ↵ | Nick Dedekind | 2013-08-26 | 3 | -2/+150 |
|\ \ \ | | | | | | | | | | | | | | | | | for parameter GVariant conversion. Approved by Lars Uebernickel, PS Jenkins bot. | ||||
| * | | | Added toGVariantWithSchema for UnityMenuModel::changeState | Nick Dedekind | 2013-08-15 | 3 | -2/+150 |
| | |/ | |/| | |||||
* / | | new unitymenumodel attribute types | Nick Dedekind | 2013-08-20 | 1 | -6/+20 |
|/ / | |||||
* | | Removed UnityMenuAction. Fixed leaks from unitymenumodel. | Nick Dedekind | 2013-08-12 | 6 | -195/+34 |
| | | |||||
* | | Added UnityMenuModel. | Nick Dedekind | 2013-08-12 | 25 | -4/+3978 |
|\ \ | |/ |/| | Approved by PS Jenkins bot, Nick Dedekind. | ||||
| * | Add isToggled role | Lars Uebernickel | 2013-08-12 | 1 | -1/+6 |
| | | |||||
| * | Use qevents to send between direct glib loop events and qt. | Nick Dedekind | 2013-08-12 | 5 | -28/+202 |
| |\ | |||||
| | * | glib callbacks pass events through qt. | Nick Dedekind | 2013-08-09 | 5 | -28/+203 |
| | | | |||||
| * | | use correct qvariant types for sensitive and isSeparator roles | Nick Dedekind | 2013-08-12 | 1 | -2/+2 |
| |\ \ | |||||
| | * | | use correct qvariant types for sensitive and isSeparator roles | Nick Dedekind | 2013-08-09 | 1 | -2/+2 |
| | |/ | |||||
| * | | Expose isCheck and isRadio roles | Lars Uebernickel | 2013-08-12 | 1 | -1/+11 |
| | | | |||||
| * | | Add parameter to unitymenumodel.action.activate | Lars Uebernickel | 2013-08-09 | 2 | -3/+7 |
| | | | |||||
| * | | Re-add UnityMenuModel::activate() | Lars Uebernickel | 2013-08-09 | 2 | -0/+9 |
| |/ | |||||
| * | Fix exporting of boolean extended-attribute in attributeToQVariant() | Mirco Müller | 2013-08-05 | 1 | -1/+1 |
| |\ | |||||
| | * | Fix exporting of boolean extended-attribute in attributeToQVariant() | Mirco Müller | 2013-08-01 | 1 | -1/+1 |
| | | | |||||
| * | | Allow changing action state | Nick Dedekind | 2013-08-05 | 5 | -18/+99 |
| |\ \ | | |/ | |/| | |||||
| | * | removed debug code | Nick Dedekind | 2013-07-31 | 1 | -3/+0 |
| | | | |||||
| | * | Added menu action updateState | Nick Dedekind | 2013-07-30 | 5 | -21/+62 |
| | | | |||||
| | * | Added action name | Nick Dedekind | 2013-07-30 | 4 | -0/+42 |
| |/ | |||||
| * | Add action role (replacing actionState role) | Nick Dedekind | 2013-07-30 | 5 | -6/+154 |
| | | |||||
| * | Set model qdata on items instead of the muxer | Lars Uebernickel | 2013-07-30 | 1 | -7/+3 |
| | | |||||
| * | Add ActionStateParser | Nick Dedekind | 2013-07-30 | 5 | -3/+116 |
| | | |||||
| * | unitymenumodel: lookup themed icon before turning it into a uri | Nick Dedekind | 2013-07-30 | 1 | -5/+11 |
| | | |||||
| * | unitymenumodel: add get() | Lars Uebernickel | 2013-07-26 | 2 | -0/+13 |
| | | |||||
| * | Expose the state of a menu item's action in model.actionState | Lars Uebernickel | 2013-07-26 | 3 | -3/+60 |
| | | |||||
| * | Fix crash in UnityMenuModel::menuItemChanged | Lars Uebernickel | 2013-07-25 | 1 | -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 qml | Lars Uebernickel | 2013-07-25 | 4 | -1/+164 |
| | | |||||
| * | unitymenumodel: add support for icons | Lars Uebernickel | 2013-06-25 | 7 | -4/+132 |
| | | | | | | | | For now, this includes themed icons, file icons, and icons send as raw data. |