diff --git a/SparkleShare/Linux/StatusIcon.cs b/SparkleShare/Linux/StatusIcon.cs index decd2037..bba1c6d4 100644 --- a/SparkleShare/Linux/StatusIcon.cs +++ b/SparkleShare/Linux/StatusIcon.cs @@ -48,12 +48,14 @@ namespace SparkleShare { public StatusIcon () { if (InstallationInfo.OperatingSystem == OS.Ubuntu) { - #if HAVE_APP_INDICATOR +#if HAVE_APP_INDICATOR indicator = new Indicator ("sparkleshare", "sparkleshare", (int) IndicatorCategory.ApplicationStatus) { - IconName = "process-syncing-idle", + IconName = "org.sparkleshare.SparkleShare", Status = (int) IndicatorStatus.Active }; - #endif + + Console.WriteLine ("INDICATOR: " + indicator.IconName); +#endif } else { this.status_icon = new Gtk.StatusIcon { IconName = "org.sparkleshare.SparkleShare" }; @@ -67,9 +69,9 @@ namespace SparkleShare { Application.Invoke (delegate { string icon_name = "org.sparkleshare.SparkleShare"; - if (InstallationInfo.OperatingSystem == OS.Ubuntu) { - icon_name = "process-syncing-idle"; - } + // if (InstallationInfo.OperatingSystem == OS.Ubuntu) { + // icon_name = "process-syncing-idle"; + // } if (state == IconState.SyncingUp) icon_name = "process-syncing-up"; diff --git a/SparkleShare/Linux/meson.build b/SparkleShare/Linux/meson.build index 279234c3..d3e0233f 100644 --- a/SparkleShare/Linux/meson.build +++ b/SparkleShare/Linux/meson.build @@ -45,9 +45,9 @@ appindicator = dependency('appindicator3-sharp-0.1', required: get_option('ubunt args = '-r:Mono.Posix' -# if appindicator.found() -# args = [args, '-define:HAVE_APP_INDICATOR'] -# endif +if appindicator.found() + args = [args, '-define:HAVE_APP_INDICATOR'] +endif sparkleshare = executable('SparkleShare', dependencies: [gtk, gdk, gio, glib, webkit, notify, appindicator],