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

« back to all changes in this revision

Viewing changes to StandardPlugins/GMail/src/GMailAtom.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:
257
257
                                        
258
258
                                        if (GMailPreferences.Notify) {
259
259
                                                if (NewCount > 5)
260
 
                                                        Log.Notify (CurrentLabel, "gmail", Catalog.GetString ("You have {0} new, unread messages"), NewCount);
 
260
                                                        Log.Notify (CurrentLabel, "gmail", string.Format (Catalog.GetString ("You have {0} new, unread messages"), NewCount));
261
261
                                                else
262
262
                                                        foreach (UnreadMessage message in tmp)
263
263
                                                                if (message.SendDate > GMailPreferences.LastChecked)
264
 
                                                                        Log.Notify (message.Topic, "gmail", Catalog.GetString ("From: {0}"), message.From);
 
264
                                                                        Log.Notify (message.Topic, "gmail", string.Format (Catalog.GetString ("From: {0}"), message.From));
265
265
                                        }
266
266
                                        
267
267
                                        try {
292
292
                                        OnGMailFailed (Catalog.GetString ("Network Error"));
293
293
                                } catch (Exception e) {
294
294
                                        Log<GMailAtom>.Error (e.Message);
 
295
                                        Log<GMailAtom>.Debug (e.StackTrace);
295
296
                                        OnGMailFailed (Catalog.GetString ("General Error"));
296
297
                                }
297
298
                        });