Re: A progress bar in notification area
- From: Amy <mathematical coffee gmail com>
- To: Jason Heeris <jason heeris gmail com>
- Cc: gnome-shell-list <gnome-shell-list gnome org>
- Subject: Re: A progress bar in notification area
- Date: Tue, 4 Jun 2013 14:15:59 +1000
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]