Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

We want to add Quicklists to our app Nitro. However Nitro uses GTK2 as it uses the pywebkitgtk library. As far as I'm aware, we can't use Quicklists because it requires PyGI which requires GTK3 and there is no pywebkitgtk for GTK3.

Is there a way around this?

share|improve this question
    
not sure I understand your question - "quicklists" refer to the right-click launcher menus as per this Q&A: askubuntu.com/questions/63765/… –  fossfreedom Apr 19 '12 at 22:18
1  
We want to add quicklist support to our app. However it doesn't seem to work in GTK2. –  consindo Apr 20 '12 at 4:56
add comment

2 Answers

up vote 3 down vote accepted

There are two kinds of quicklist entries:

  • Static: they only depend on static entries in the .desktop files
  • Dynamic: they can be created in the program itself and seem to require PyGI.

So for you there seem to be two ways around that:

  1. stick with static quicklists
  2. write a separate server (very simple, really) that uses gtk3 /PyGI and acts as a bridge between nitro and the launcher.

You have to decide depending on your need, mainly on how much you need the dynamic part. But the second version really is not that hard to implement.

share|improve this answer
add comment

Quicklists doesn't depend on GI or any other library. Like everything else in Unity, it's all DBus behind the scenes.

share|improve this answer
1  
most dbus methods used by unity are mainly undocumented (e.g. also the dbus menu). So a bit more information/links to documentation of these would be useful. –  xubuntix Apr 22 '12 at 4:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.