Rename Keys.Room.(previous/next)_urgent setting
to (previous/next)_highlight, to match the new terminology used from the previous notification settings commit.
This commit is contained in:
parent
1017d02a83
commit
a33902e382
|
@ -303,10 +303,12 @@ class Keys:
|
||||||
previous_unread = ["Alt+Shift+U"]
|
previous_unread = ["Alt+Shift+U"]
|
||||||
next_unread = ["Alt+U"]
|
next_unread = ["Alt+U"]
|
||||||
|
|
||||||
# Switch to the previous/next room with urgent messages in the list,
|
# Switch to the previous/next room with highlighted messages in the
|
||||||
# e.g. messages mentioning your name, replies to you or keywords.
|
# list. What causes a highlight is controlled by push rules
|
||||||
previous_urgent = ["Alt+Shift+M"]
|
# (editable in GUI account settings): by default, this includes
|
||||||
next_urgent = ["Alt+M"]
|
# when your name is mentioned, replied to, or messages with keywords.
|
||||||
|
previous_highlight = ["Alt+Shift+M"]
|
||||||
|
next_highlight = ["Alt+M"]
|
||||||
|
|
||||||
class AtIndex:
|
class AtIndex:
|
||||||
# Switch to room number X in the current account.
|
# Switch to room number X in the current account.
|
||||||
|
|
|
@ -264,12 +264,12 @@ HListView {
|
||||||
}
|
}
|
||||||
|
|
||||||
HShortcut {
|
HShortcut {
|
||||||
sequences: window.settings.Keys.Rooms.previous_urgent
|
sequences: window.settings.Keys.Rooms.previous_highlight
|
||||||
onActivated: cycleUnreadRooms(false, true) && showItemLimiter.restart()
|
onActivated: cycleUnreadRooms(false, true) && showItemLimiter.restart()
|
||||||
}
|
}
|
||||||
|
|
||||||
HShortcut {
|
HShortcut {
|
||||||
sequences: window.settings.Keys.Rooms.next_urgent
|
sequences: window.settings.Keys.Rooms.next_highlight
|
||||||
onActivated: cycleUnreadRooms(true, true) && showItemLimiter.restart()
|
onActivated: cycleUnreadRooms(true, true) && showItemLimiter.restart()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user