>I think the progress information and whether or not it is made public is app-specific Isn't that the case with Windows, and Unity? Correct me if I'm wrong but I believe the original sender is asking if we could implement an API (correct me if I used the wrong word, I'm not a developer yet) for applications to use for displaying progress in operations. Or is he asking for a generic progress detector?
On Mon, Jun 3, 2013 at 9:15 PM, Amy <mathematical.cof...@gmail.com> wrote: > 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.hee...@gmail.com> wrote: > >> On Jun 4, 2013 10:20 AM, "Amy" <mathematical.cof...@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 >> > > > _______________________________________________ > gnome-shell-list mailing list > gnome-shell-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gnome-shell-list > >
_______________________________________________ gnome-shell-list mailing list gnome-shell-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-shell-list