Re: A progress bar in notification area



Yeah did a bit of digging, the application has to make a call to `libunity`'s `unity_launcher_entry_set_progress_visible` to do it: https://wiki.ubuntu.com/Unity/LauncherAPI#Progress

If running gnome-shell but *not* on ubuntu, my guess it the application would be compiled without the libunity support.

In any case, since it's up to each app to implement this my guess is in general there would be no way for gnome-shell to detect the "progress" of an operation of an arbitrary app. If you were running on gnome-shell on ubuntu with unity installed, there is a Unity-3.0.gir that *might* expose this information, or if you were lucky the app itself might fire a signal to indicate progress (Nautilus seems to have a 'progress-changed' signal, although I don't know if it is exposed), but otherwise I think that progress information and whether or not it is made public is app-specific.


On 4 June 2013 12:51, Jason Heeris <jason heeris gmail com> wrote:

On Jun 4, 2013 10:20 AM, "Amy" <mathematical coffee gmail com> wrote:

It seems unlikely that (say) Firefox would expose the current download "progress" to any interested application

Doesn't Unity do this though? Last time I used it, Nautilus, Firefox and Chrome all got miniature progress bars over their icons in Unity's sidebar. So there must be some mechanism for it, but I couldn't tell you what it is.

– Jason




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]