Do not use single click for roster and gc-roster to open chats if an usefull modifier key is
pressed. See #2072.
This commit is contained in:
parent
983ea67c00
commit
5b758a4977
|
@ -1837,7 +1837,7 @@ class GroupchatControl(ChatControlBase):
|
|||
widget.get_selection().unselect_all()
|
||||
return
|
||||
|
||||
if gajim.single_click:
|
||||
if gajim.single_click and not event.state & gtk.gdk.SHIFT_MASK:
|
||||
self.on_row_activated(widget, path)
|
||||
return True
|
||||
else:
|
||||
|
|
|
@ -2998,7 +2998,8 @@ class RosterWindow:
|
|||
elif event.button == 1: # Left click
|
||||
model = self.tree.get_model()
|
||||
type_ = model[path][C_TYPE]
|
||||
if gajim.single_click:
|
||||
if gajim.single_click and not event.state & gtk.gdk.SHIFT_MASK and \
|
||||
not event.state & gtk.gdk.CONTROL_MASK:
|
||||
self.on_row_activated(widget, path)
|
||||
else:
|
||||
if type_ == 'group' and x < 27:
|
||||
|
|
Loading…
Reference in New Issue