linux statusicon: Use symbolic icons when using appindicator
This commit is contained in:
parent
052181a4d0
commit
75aee1c8ed
|
@ -68,9 +68,6 @@ namespace SparkleShare {
|
||||||
Application.Invoke (delegate {
|
Application.Invoke (delegate {
|
||||||
string icon_name = "org.sparkleshare.SparkleShare";
|
string icon_name = "org.sparkleshare.SparkleShare";
|
||||||
|
|
||||||
if (use_appindicator)
|
|
||||||
icon_name += "-symbolic";
|
|
||||||
|
|
||||||
if (state == IconState.SyncingUp)
|
if (state == IconState.SyncingUp)
|
||||||
icon_name = "process-syncing-up";
|
icon_name = "process-syncing-up";
|
||||||
else if (state == IconState.SyncingDown)
|
else if (state == IconState.SyncingDown)
|
||||||
|
@ -82,6 +79,7 @@ namespace SparkleShare {
|
||||||
|
|
||||||
if (use_appindicator) {
|
if (use_appindicator) {
|
||||||
#if HAVE_APP_INDICATOR
|
#if HAVE_APP_INDICATOR
|
||||||
|
icon_name += "-symbolic";
|
||||||
indicator.IconName = icon_name;
|
indicator.IconName = icon_name;
|
||||||
|
|
||||||
// Force update of the status icon
|
// Force update of the status icon
|
||||||
|
|
Loading…
Reference in a new issue