Indicator scroll event says direction UP on 12.10 even when scrolling down
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Application Indicators |
Confirmed
|
Undecided
|
Unassigned | ||
indicator-application (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I am using AppIndicator via Python. On Ubuntu 12.10 (stock install, python-
My application variety depends on this functionality, here is the relevant bug report for it: https:/
Here is sample code to demonstrate the problem (OK on 12.04, buggy on 12.10):
from gi.repository import Gtk, Gdk, AppIndicator3
if __name__ == "__main__":
menu = Gtk.Menu()
quit = Gtk.MenuItem(
quit.
menu.
menu.show_all()
def scroll(ind, steps, direction):
print steps, direction
if direction != Gdk.ScrollDirec
print "Things seem ok"
indicator = AppIndicator3.
indicator.
indicator.
indicator.
indicator.
Gtk.main()
Changed in indicator-application (Ubuntu): | |
status: | New → Confirmed |
tags: | removed: scroll |
I am unable to run your sample code on 12.10. What am I missing?
alan@wopr:~$ python scroll.py python2. 7/dist- packages/ gi/importer. py", line 76, in load_module module. _load() python2. 7/dist- packages/ gi/module. py", line 244, in _load modules = __import_ _('gi.overrides ', fromlist= [self._ namespace] ) python2. 7/dist- packages/ gi/overrides/ Gtk.py" , line 1624, in <module>
Traceback (most recent call last):
File "scroll.py", line 1, in <module>
from gi.repository import Gtk, Gdk, AppIndicator3
File "/usr/lib/
dynamic_
File "/usr/lib/
overrides_
File "/usr/lib/
raise RuntimeError("Gtk couldn't be initialized")
RuntimeError: Gtk couldn't be initialized
alan@wopr:~$