linux: Update window icon names
This commit is contained in:
parent
37bc8e9b99
commit
2d371550f2
|
@ -31,7 +31,7 @@ namespace SparkleShare {
|
||||||
{
|
{
|
||||||
SetWmclass ("SparkleShare", "SparkleShare");
|
SetWmclass ("SparkleShare", "SparkleShare");
|
||||||
|
|
||||||
IconName = "sparkleshare";
|
IconName = "org.sparkleshare.SparkleShare";
|
||||||
Resizable = false;
|
Resizable = false;
|
||||||
WindowPosition = WindowPosition.CenterAlways;
|
WindowPosition = WindowPosition.CenterAlways;
|
||||||
TypeHint = Gdk.WindowTypeHint.Dialog;
|
TypeHint = Gdk.WindowTypeHint.Dialog;
|
||||||
|
|
|
@ -45,11 +45,11 @@ namespace SparkleShare {
|
||||||
SetWmclass ("SparkleShare", "SparkleShare");
|
SetWmclass ("SparkleShare", "SparkleShare");
|
||||||
|
|
||||||
TypeHint = Gdk.WindowTypeHint.Dialog;
|
TypeHint = Gdk.WindowTypeHint.Dialog;
|
||||||
|
IconName = "org.sparkleshare.SparkleShare";
|
||||||
|
|
||||||
Gdk.Rectangle monitor_0_rect = Gdk.Screen.Default.GetMonitorGeometry (0);
|
Gdk.Rectangle monitor_0_rect = Gdk.Screen.Default.GetMonitorGeometry (0);
|
||||||
SetSizeRequest (480, (int) (monitor_0_rect.Height * 0.8));
|
SetSizeRequest (480, (int) (monitor_0_rect.Height * 0.8));
|
||||||
|
|
||||||
IconName = "sparkleshare";
|
|
||||||
this.pos_x = (int) (monitor_0_rect.Width * 0.61);
|
this.pos_x = (int) (monitor_0_rect.Width * 0.61);
|
||||||
this.pos_y = (int) (monitor_0_rect.Height * 0.5 - (HeightRequest * 0.5));
|
this.pos_y = (int) (monitor_0_rect.Height * 0.5 - (HeightRequest * 0.5));
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ namespace SparkleShare {
|
||||||
{
|
{
|
||||||
SetWmclass ("SparkleShare", "SparkleShare");
|
SetWmclass ("SparkleShare", "SparkleShare");
|
||||||
|
|
||||||
IconName = "sparkleshare";
|
IconName = "org.sparkleshare.SparkleShare";
|
||||||
Resizable = false;
|
Resizable = false;
|
||||||
WindowPosition = WindowPosition.CenterAlways;
|
WindowPosition = WindowPosition.CenterAlways;
|
||||||
BorderWidth = 16;
|
BorderWidth = 16;
|
||||||
|
|
|
@ -34,7 +34,7 @@ namespace SparkleShare {
|
||||||
{
|
{
|
||||||
SetWmclass ("SparkleShare", "SparkleShare");
|
SetWmclass ("SparkleShare", "SparkleShare");
|
||||||
|
|
||||||
IconName = "sparkleshare";
|
IconName = "org.sparkleshare.SparkleShare";
|
||||||
Resizable = false;
|
Resizable = false;
|
||||||
WindowPosition = WindowPosition.CenterAlways;
|
WindowPosition = WindowPosition.CenterAlways;
|
||||||
Deletable = false;
|
Deletable = false;
|
||||||
|
|
Loading…
Reference in a new issue