From 446b38ba30a7cc698a2dabf6db2c40b7687ffca9 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 5 Aug 2018 17:46:53 +0100 Subject: [PATCH] linux ui: Remove deprecated set_wmclass calls from windows --- SparkleShare/Linux/About.cs | 2 -- SparkleShare/Linux/EventLog.cs | 2 -- SparkleShare/Linux/Note.cs | 2 -- SparkleShare/Linux/SetupWindow.cs | 3 --- 4 files changed, 9 deletions(-) diff --git a/SparkleShare/Linux/About.cs b/SparkleShare/Linux/About.cs index cb4e0cde..b4df76b7 100755 --- a/SparkleShare/Linux/About.cs +++ b/SparkleShare/Linux/About.cs @@ -31,8 +31,6 @@ namespace SparkleShare { public About () : base ("About SparkleShare") { - SetWmclass ("SparkleShare", "SparkleShare"); - IconName = "org.sparkleshare.SparkleShare"; Resizable = false; WindowPosition = WindowPosition.CenterAlways; diff --git a/SparkleShare/Linux/EventLog.cs b/SparkleShare/Linux/EventLog.cs index 28ee613b..b6d1c53e 100755 --- a/SparkleShare/Linux/EventLog.cs +++ b/SparkleShare/Linux/EventLog.cs @@ -40,8 +40,6 @@ namespace SparkleShare { public EventLog () : base ("Recent Changes") { - SetWmclass ("SparkleShare", "SparkleShare"); - TypeHint = Gdk.WindowTypeHint.Dialog; IconName = "org.sparkleshare.SparkleShare"; diff --git a/SparkleShare/Linux/Note.cs b/SparkleShare/Linux/Note.cs index 6fe81872..e2e998bf 100644 --- a/SparkleShare/Linux/Note.cs +++ b/SparkleShare/Linux/Note.cs @@ -27,8 +27,6 @@ namespace SparkleShare { public Note () : base ("Add Note") { - SetWmclass ("SparkleShare", "SparkleShare"); - IconName = "org.sparkleshare.SparkleShare"; Resizable = false; WindowPosition = WindowPosition.CenterAlways; diff --git a/SparkleShare/Linux/SetupWindow.cs b/SparkleShare/Linux/SetupWindow.cs index a1465d38..4d61a2c7 100644 --- a/SparkleShare/Linux/SetupWindow.cs +++ b/SparkleShare/Linux/SetupWindow.cs @@ -32,15 +32,12 @@ namespace SparkleShare { public SetupWindow () : base ("SparkleShare Setup") { - SetWmclass ("SparkleShare", "SparkleShare"); - IconName = "org.sparkleshare.SparkleShare"; Resizable = false; WindowPosition = WindowPosition.CenterAlways; Deletable = false; TypeHint = Gdk.WindowTypeHint.Dialog; - SetSizeRequest (720, 540); DeleteEvent += delegate (object sender, DeleteEventArgs args) { args.RetVal = true; };