Philipp Hörist pushed to branch reaction-notifications at gajim / gajim
Commits:
07e925a5 by Philipp Hörist at 2026-03-28T10:20:44+01:00
cfix: Improve preference page
- - - - -
1 changed file:
- gajim/gtk/preference/app.py
Changes:
=====================================
gajim/gtk/preference/app.py
=====================================
@@ -419,12 +419,12 @@ def __init__(self) -> None:
self.add_setting(setting)
-class VisualNotificationsGroup(GajimPreferencesGroup):
+class SystemNotificationsGroup(GajimPreferencesGroup):
def __init__(self) -> None:
GajimPreferencesGroup.__init__(
self,
- key="visual-notifications",
- title=_("Visual Notifications"),
+ key="system-notifications",
+ title=_("System"),
)
settings = [
@@ -473,7 +473,7 @@ def __init__(self) -> None:
settings = [
Setting(
SettingKind.SWITCH,
- _("Notify of Reactions"),
+ _("Reactions"),
SettingType.CONFIG,
"notify_on_reaction_default",
desc=_("Notify me when someone reacts to my message in a
chat"),
@@ -495,7 +495,7 @@ def __init__(self) -> None:
settings = [
Setting(
SettingKind.SWITCH,
- _("Notify of Reactions"),
+ _("Reactions"),
SettingType.CONFIG,
"gc_notify_on_reaction_default",
desc=_("Notify me when someone reacts to my message in a group
chat"),
@@ -1209,19 +1209,19 @@ def __init__(self) -> None:
class VisualNotificationsPage(GajimPreferencePage):
- key = "visual-notifications"
+ key = "system-notifications"
icon_name = "lucide-bell-symbolic"
label = _("Notifications")
def __init__(self) -> None:
GajimPreferencePage.__init__(
self,
- title=_("Visual Notifications"),
+ title=_("Notifications"),
groups=[
- VisualNotificationsGroup,
- SoundsGroup,
+ SystemNotificationsGroup,
NotificationsChatsGroup,
NotificationsGroupChatsGroup,
+ SoundsGroup,
],
)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/07e925a51e4e19ff078532ed81251a130f2ba0fc
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/07e925a51e4e19ff078532ed81251a130f2ba0fc
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]