This commit is contained in:
Hylke Bons 2012-10-15 23:34:01 +01:00
parent dc62a916d0
commit d402c7d4e8

View file

@ -44,14 +44,13 @@ namespace SparkleShare {
private Gdk.Pixbuf syncing_image = SparkleUIHelpers.GetIcon ("process-syncing", 24); private Gdk.Pixbuf syncing_image = SparkleUIHelpers.GetIcon ("process-syncing", 24);
private Gdk.Pixbuf syncing_error_image = SparkleUIHelpers.GetIcon ("process-syncing-error", 24); private Gdk.Pixbuf syncing_error_image = SparkleUIHelpers.GetIcon ("process-syncing-error", 24);
#endif #endif
public SparkleStatusIcon () public SparkleStatusIcon ()
{ {
#if HAVE_APP_INDICATOR #if HAVE_APP_INDICATOR
this.indicator = new ApplicationIndicator ("sparkleshare", "sparkleshare", Category.ApplicationStatus); this.indicator = new ApplicationIndicator ("sparkleshare", "sparkleshare", Category.ApplicationStatus);
this.indicator.IconName = "sparkleshare"; this.indicator.IconName = "process-syncing-idle";
this.indicator.Status = Status.Active; this.indicator.Status = Status.Active;
#else #else
this.status_icon = new StatusIcon (); this.status_icon = new StatusIcon ();
@ -68,7 +67,7 @@ namespace SparkleShare {
switch (state) { switch (state) {
case IconState.Idle: { case IconState.Idle: {
#if HAVE_APP_INDICATOR #if HAVE_APP_INDICATOR
this.indicator.IconName = "sparkleshare"; this.indicator.IconName = "process-syncing-idle";
#else #else
this.status_icon.Pixbuf = this.syncing_idle_image; this.status_icon.Pixbuf = this.syncing_idle_image;
#endif #endif