git.iko.soy
/
unity8
readme
files
commits
refs
on
xenial
help
sign in
Activate on click for SimpleMessages
4c26121
Albert Astals Cid
11 years ago
qml/Panel/Indicators/MessageMenuItemFactory.qml
+1
−5
compare with xenial
unified
split
@@ -123,11 +123,7 @@ Loader {
123
menuModel.activate(menuIndex, false);
123
menuModel.activate(menuIndex, false);
124
}
124
}
125
onTriggered: {
125
onTriggered: {
126
−
if (selected) {
126
+
menuModel.activate(menuIndex, true);
127
−
menuDeselected();
128
−
} else {
129
−
menuSelected();
130
−
}
131
}
127
}
132
}
128
}
133
}
129
}
tests/qmltests/Panel/Indicators/tst_MessageMenuItemFactory.qml
+1
@@ -30,6 +30,7 @@ Item {
30
id: factory
30
id: factory
31
menuModel: UnityMenuModel {}
31
menuModel: UnityMenuModel {}
32
menuIndex: 0
32
menuIndex: 0
33
+
width: parent.width
33
}
34
}
34
35
35
UT.UnityTestCase {
36
UT.UnityTestCase {
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list