diff --git a/SparkleShare/Linux/SparkleStatusIcon.cs b/SparkleShare/Linux/SparkleStatusIcon.cs index cd11a1e8..8d6116b4 100644 --- a/SparkleShare/Linux/SparkleStatusIcon.cs +++ b/SparkleShare/Linux/SparkleStatusIcon.cs @@ -218,12 +218,23 @@ namespace SparkleShare { this.menu.Add (this.recent_events_item); this.menu.Add (new SeparatorMenuItem ()); - CheckMenuItem notify_item = new CheckMenuItem (_("Notifications")) { - Active = (Controller.Folders.Length > 0 && Program.Controller.NotificationsEnabled) - }; - + + MenuItem notify_item; + + if (Program.Controller.NotificationsEnabled) + notify_item = new MenuItem (_("Turn Notifications Off")); + else + notify_item = new MenuItem (_("Turn Notifications On")); + notify_item.Activated += delegate { - Program.Controller.ToggleNotifications (); + Application.Invoke (delegate { + Program.Controller.ToggleNotifications (); + + if (Program.Controller.NotificationsEnabled) + (notify_item.Child as Label).Text = _("Turn Notifications Off"); + else + (notify_item.Child as Label).Text = _("Turn Notifications On"); + }); }; this.menu.Add (notify_item); diff --git a/configure.ac b/configure.ac index 185b2044..f28dca06 100755 --- a/configure.ac +++ b/configure.ac @@ -1,9 +1,9 @@ dnl Process this file with autoconf to produce a configure script. m4_define([sparkleshare_version], - [0.8.4]) + [0.9.0]) m4_define([sparkleshare_asm_version], - [0.8.4]) + [0.9.0]) AC_PREREQ([2.54]) AC_INIT([SparkleShare], sparkleshare_version) diff --git a/data/plugins/Makefile.am b/data/plugins/Makefile.am index 45a936af..a699d79d 100644 --- a/data/plugins/Makefile.am +++ b/data/plugins/Makefile.am @@ -3,15 +3,17 @@ dist_plugins_in_files = \ github.xml.in \ gitorious.xml.in \ gnome.xml.in \ + ssnet.xml.in \ own-server.xml.in dist_plugins_DATA = \ $(dist_plugins_in_files:.xml.in=.xml) \ github.png \ - gitorious.png \ - bitbucket.png \ - gnome.png \ - own-server.png + gitorious.png \ + bitbucket.png \ + gnome.png \ + ssnet.png \ + own-server.png @INTLTOOL_XML_RULE@