~ubuntu-branches/debian/experimental/docky/experimental

« back to all changes in this revision

Viewing changes to Docky.Items/Docky.Menus/MenuItem.cs

  • Committer: Bazaar Package Importer
  • Author(s): Rico Tzschichholz
  • Date: 2011-01-16 19:44:44 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20110116194444-vj2u0i96i8j0qfbs
Tags: 2.0.11-1
* New upstream release 2.0.11 "Clean up your desktop",
  changes include:
  + fix event-driven icon-update of MenuItemWidget
  + fix Gdk.Pixbuf leak in MenuItem and MenuItemWidget
  + add docky.desktop to translations
  + fix startup-activation of plugins
  + unregister of an event in DockWindow.Dispose was missing
  + make sure to ignore launchers with Hidden set (LP: #700203)
  + don't set geo on notifications (LP: #506084)
  + don't have Log.Notify use string.Format, which causes random bugs such
    as gmail breaking when messages contain {} in the subject (LP: #697981)
  + NetworkMananger: fix typo and catch exception to prevent crash if dbus
    access isn't granted

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
                        get { return icon; }
91
91
                        set {
92
92
                                // if we set this, clear the forced pixbuf
93
 
                                if (forced_pixbuf != null)
 
93
                                if (forced_pixbuf != null) {
 
94
                                        forced_pixbuf.Dispose ();
94
95
                                        forced_pixbuf = null;
 
96
                                }
95
97
                                if (icon == value)
96
98
                                        return;
97
99
                                icon = value;
106
108
                        protected set {
107
109
                                if (forced_pixbuf == value)
108
110
                                        return;
 
111
                                if (forced_pixbuf != null)
 
112
                                        forced_pixbuf.Dispose ();
109
113
                                forced_pixbuf = value;
110
114
                        }
111
115
                }