1

I'm trying to use the uniy launcher with progress bar.. but it doesn't work.. I just followed the first example on http://www.youtube.com/watch?v=wqGfsgz1Sl4&list=UUWUDCz-Q0m4qK7lkK4CevQA&index=4&feature=plcp and watched the code of the hello-unity ppa ... trying integration in my apps.. and it doesn't work.

What I did:

  • added from gi.repository import Unity;
  • added self.launcher = Unity.LauncherEntry.get_for_desktop_id ("protoborsa.desktop") in the init code of my window application.
  • added launcher.set_property("progress", 0.42) after my application is displayed
  • added launcher.set_property("progress_visible", True) after my application is displayed

and nothing happened after quickly run...

I tried to follow this also.. How do I make the launcher progress bar work with my application? but it didn't work for me.

many thanks.

1 Answers1

1

I don't know why but now, after I've copied the file myproject.desktop.in (myproject is the name of the quickly project) inside the project folder in ~/.local/share/applications/myproject.desktop, it works.

Eliah Kagan
  • 119,640