Philipp Hörist pushed to branch master at gajim / gajim
Commits:
39e1790b by Philipp Hörist at 2025-12-31T22:31:35+01:00
fix: Reset unread count after closing chat with mouse middle button
The unread count was not reset when the MIDDLE button was used to close the chat
- - - - -
0bbb424e by Philipp Hörist at 2026-01-01T09:40:03+01:00
cfix: Shortcuts: Remove default shortcut from format italic
This shortcut is already used for a different action
- - - - -
2 changed files:
- gajim/gtk/chat_list_row.py
- gajim/gtk/shortcut_manager.py
Changes:
=====================================
gajim/gtk/chat_list_row.py
=====================================
@@ -469,6 +469,7 @@ def _on_row_clicked(
) -> None:
gesture_click.set_state(Gtk.EventSequenceState.CLAIMED)
if gesture_click.get_current_button() == Gdk.BUTTON_MIDDLE:
+ self.reset_unread()
app.window.activate_action(
"win.remove-chat", GLib.Variant("as", [self.account,
str(self.jid)])
)
=====================================
gajim/gtk/shortcut_manager.py
=====================================
@@ -538,7 +538,7 @@ def get_for_action(self, action_name: str) -> GajimShortcut:
GajimShortcut(
label=_("Format Text Italic"),
category="messages",
- accelerators=["<Primary>I"],
+ accelerators=None,
action_name="win.input-italic",
),
GajimShortcut(
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/compare/d4455dec1bbf2a6f65fbe7733bff37c8fffb4fdd...0bbb424e96d003b1656892b64878df93bdf9db0a
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/compare/d4455dec1bbf2a6f65fbe7733bff37c8fffb4fdd...0bbb424e96d003b1656892b64878df93bdf9db0a
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]