aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/notifier_gnotifications.vala
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/notifier_gnotifications.vala')
-rw-r--r--main/src/ui/notifier_gnotifications.vala9
1 files changed, 0 insertions, 9 deletions
diff --git a/main/src/ui/notifier_gnotifications.vala b/main/src/ui/notifier_gnotifications.vala
index a7aab753..31d1ffa3 100644
--- a/main/src/ui/notifier_gnotifications.vala
+++ b/main/src/ui/notifier_gnotifications.vala
@@ -63,15 +63,6 @@ namespace Dino.Ui {
if (active_conversation_ids != null) {
active_conversation_ids.add(conversation.id.to_string());
}
-
- // Don't set urgency hint in GNOME, produces "Window is active" notification
- var desktop_env = Environment.get_variable("XDG_CURRENT_DESKTOP");
- if (desktop_env == null || !desktop_env.down().contains("gnome")) {
- var app = (GLib.Application.get_default() as Application);
- if (app.active_window != null) {
- app.active_window.urgency_hint = true;
- }
- }
}
public async void notify_subscription_request(Conversation conversation) {