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")
|
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;
|
||||||
|
|
|
@ -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";
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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; };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue