~ken-vandine/address-book-app/add_profile

« back to all changes in this revision

Viewing changes to src/imports/ContactView/ContactView.qml

  • Committer: Renato Araujo Oliveira Filho
  • Date: 2014-07-02 21:11:09 UTC
  • mfrom: (169.22.5 staging)
  • mto: (169.22.8 staging)
  • mto: This revision was merged to the branch mainline in revision 224.
  • Revision ID: renato.filho@canonical.com-20140702211109-qe7uy602g08yg8g9
Staging merged.

Show diffs side-by-side

added added

removed removed

Lines of Context:
200
200
                }
201
201
            }
202
202
        }
203
 
        // FIXME: Having more than 3 options in the header causes a bug that make difficult to reach the component behind it.
204
 
        // Enable it again when the bug #1329557 get fix
205
 
//        ToolbarButton {
206
 
//            action: Action {
207
 
//                objectName: "share"
208
 
//                text: i18n.tr("Share")
209
 
//                iconName: "share"
210
 
//                onTriggered: {
211
 
//                    pageStack.push(Qt.resolvedUrl("../ContactShare/ContactSharePage.qml"),
212
 
//                                   { contactModel: root.model, contact: root.contact})
213
 
//                }
214
 
//            }
215
 
//        }
 
203
        ToolbarButton {
 
204
            action: Action {
 
205
                objectName: "share"
 
206
                text: i18n.tr("Share")
 
207
                iconName: "share"
 
208
                onTriggered: {
 
209
                    pageStack.push(Qt.resolvedUrl("../ContactShare/ContactSharePage.qml"),
 
210
                                   { contactModel: root.model, contact: root.contact})
 
211
                }
 
212
            }
 
213
        }
216
214
        ToolbarButton {
217
215
            action: Action {
218
216
                objectName: "edit"