Public bug reported: Binary package hint: python-notify
When I use n.add_action from main I get the callback. However, if I call it from inside of my UI (specifically code using gtk.StatusIcon), I never get the callback. I am using gtk.gdk.threads_init() gtk.gdk.threads_enter() and gtk.gdk.threads_leave() in this application as well, if that makes a difference When it is working in my main method, the notification is shown before calling gtk.main(). There are no errors and n.show() returns true. The only issue is that the action button never invokes the callback. It looks like I am not the only one with this issue: http://www.mail-archive.com/[EMAIL PROTECTED]/msg00566.html In there you see: #FIXME: following action do not work. the call back function is never called #notification.add_action("show", "show", self.__action_callback) #notification.add_action("exit", "exit gPodder", self.__action_callback) #notification.add_action("ignore", "ignore", self.__action_callback) ** Affects: notify-python (Ubuntu) Importance: Undecided Status: New -- python-notify add_action doesn't work in gtk code https://bugs.launchpad.net/bugs/185262 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
