linux ui: Remove deprecated set_wmclass calls from windows
This commit is contained in:
parent
26c89feaea
commit
446b38ba30
|
@ -31,8 +31,6 @@ namespace SparkleShare {
|
|||
|
||||
public About () : base ("About SparkleShare")
|
||||
{
|
||||
SetWmclass ("SparkleShare", "SparkleShare");
|
||||
|
||||
IconName = "org.sparkleshare.SparkleShare";
|
||||
Resizable = false;
|
||||
WindowPosition = WindowPosition.CenterAlways;
|
||||
|
|
|
@ -40,8 +40,6 @@ namespace SparkleShare {
|
|||
|
||||
public EventLog () : base ("Recent Changes")
|
||||
{
|
||||
SetWmclass ("SparkleShare", "SparkleShare");
|
||||
|
||||
TypeHint = Gdk.WindowTypeHint.Dialog;
|
||||
IconName = "org.sparkleshare.SparkleShare";
|
||||
|
||||
|
|
|
@ -27,8 +27,6 @@ namespace SparkleShare {
|
|||
|
||||
public Note () : base ("Add Note")
|
||||
{
|
||||
SetWmclass ("SparkleShare", "SparkleShare");
|
||||
|
||||
IconName = "org.sparkleshare.SparkleShare";
|
||||
Resizable = false;
|
||||
WindowPosition = WindowPosition.CenterAlways;
|
||||
|
|
|
@ -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; };
|
||||
|
||||
|
|
Loading…
Reference in a new issue