Merge lp:~philip.scott/granite/editable-title into lp:~elementary-pantheon/granite/granite
Proposed by
Felipe Escoto
Status: | Work in progress |
---|---|
Proposed branch: | lp:~philip.scott/granite/editable-title |
Merge into: | lp:~elementary-pantheon/granite/granite |
Diff against target: |
159 lines (+144/-0) 2 files modified
lib/CMakeLists.txt (+1/-0) lib/Widgets/EditableTitle.vala (+143/-0) |
To merge this branch: | bzr merge lp:~philip.scott/granite/editable-title |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Danielle Foré | Needs Fixing | ||
Adam Bieńkowski (community) | code | Needs Fixing | |
Review via email: mp+311101@code.launchpad.net |
Commit message
EditableTitle class added
Description of the change
Moves the EditableTitle class that is been used in Pantheon Photos and on the Printers Plug into it's own class here on granite.
It could also be used on Audience's Library view and I'm also planning on using it on Spice Up's future presentations browser
To post a comment you must log in.
Unmerged revisions
- 1013. By Felipe Escoto
-
Add EditableTile.vala
* Use construct {} method of constructing the object.
* Use "construct set" for text property.
* There's no way of determining if the user is currently editing the label or not
* changed signal could probably have an additional parameter for something like "previous_title".
* Hm, reading the code it seems that every press on the widget will cause the editing to procced, maybe check if it's left click? Or is that intentional?