linux ui: Remove deprecated set_wmclass calls from windows

This commit is contained in:
Hylke Bons 2018-08-05 17:46:53 +01:00
parent 26c89feaea
commit 446b38ba30
4 changed files with 0 additions and 9 deletions

View file

@ -31,8 +31,6 @@ namespace SparkleShare {
public About () : base ("About SparkleShare") public About () : base ("About SparkleShare")
{ {
SetWmclass ("SparkleShare", "SparkleShare");
IconName = "org.sparkleshare.SparkleShare"; IconName = "org.sparkleshare.SparkleShare";
Resizable = false; Resizable = false;
WindowPosition = WindowPosition.CenterAlways; WindowPosition = WindowPosition.CenterAlways;

View file

@ -40,8 +40,6 @@ namespace SparkleShare {
public EventLog () : base ("Recent Changes") public EventLog () : base ("Recent Changes")
{ {
SetWmclass ("SparkleShare", "SparkleShare");
TypeHint = Gdk.WindowTypeHint.Dialog; TypeHint = Gdk.WindowTypeHint.Dialog;
IconName = "org.sparkleshare.SparkleShare"; IconName = "org.sparkleshare.SparkleShare";

View file

@ -27,8 +27,6 @@ namespace SparkleShare {
public Note () : base ("Add Note") public Note () : base ("Add Note")
{ {
SetWmclass ("SparkleShare", "SparkleShare");
IconName = "org.sparkleshare.SparkleShare"; IconName = "org.sparkleshare.SparkleShare";
Resizable = false; Resizable = false;
WindowPosition = WindowPosition.CenterAlways; WindowPosition = WindowPosition.CenterAlways;

View file

@ -32,15 +32,12 @@ namespace SparkleShare {
public SetupWindow () : base ("SparkleShare Setup") public SetupWindow () : base ("SparkleShare Setup")
{ {
SetWmclass ("SparkleShare", "SparkleShare");
IconName = "org.sparkleshare.SparkleShare"; IconName = "org.sparkleshare.SparkleShare";
Resizable = false; Resizable = false;
WindowPosition = WindowPosition.CenterAlways; WindowPosition = WindowPosition.CenterAlways;
Deletable = false; Deletable = false;
TypeHint = Gdk.WindowTypeHint.Dialog; TypeHint = Gdk.WindowTypeHint.Dialog;
SetSizeRequest (720, 540); SetSizeRequest (720, 540);
DeleteEvent += delegate (object sender, DeleteEventArgs args) { args.RetVal = true; }; DeleteEvent += delegate (object sender, DeleteEventArgs args) { args.RetVal = true; };