~saviq/unity8/workaround-lp1238417

« back to all changes in this revision

Viewing changes to Notifications/NotificationMenuItemFactory.qml

  • Committer: Mirco Müller
  • Author(s): Nick Dedekind
  • Date: 2013-10-10 14:54:39 UTC
  • mfrom: (411.4.3 trunk)
  • Revision ID: mirco.mueller@ubuntu.com-20131010145439-gzab8glsqv4jlslm
Only show Snap Decision notification actions when available.

Approved by Mirco Müller.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
        PinLockscreen {
79
79
            anchors.left: parent.left; anchors.right: parent.right
80
80
 
 
81
            Component.onCompleted: {
 
82
                menuModel.loadExtendedAttributes(menuIndex, {'x-canonical-pin-length': 'int'});
 
83
                pinLength = menuData.ext.xCanonicalPinLength;
 
84
            }
 
85
 
81
86
            onEntered: {
82
87
                menuModel.changeState(menuIndex, passphrase);
 
88
                entryEnabled = false;
83
89
            }
84
90
 
85
91
            onCancel: {