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

« back to all changes in this revision

Viewing changes to Docky.Items/Docky.Items/FileDockItem.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:
219
219
                                        long cur = 0, tot = 10;
220
220
                                        
221
221
                                        if (note == null) {
222
 
                                                note = Docky.Services.Log.Notify ("", file.Icon (), "{0}% " + Catalog.GetString ("Complete") + "...", cur / tot);
 
222
                                                note = Docky.Services.Log.Notify ("", file.Icon (), string.Format ("{0}% " + Catalog.GetString ("Complete") + "...", cur / tot));
223
223
                                                
224
224
                                                GLib.Timeout.Add (250, () => {
225
225
                                                        note.Body = string.Format ("{0:00.0}% ", ((float) Math.Min (cur, tot) / tot) * 100) + Catalog.GetString ("Complete") + "...";