Comment 46 for bug 35876

Revision history for this message
Loye Young (loyeyoung) wrote : Re: 'Downloading package information' and 'building dependency tree' progress dialogs steal focus

Daniel, unless you know of someone else to fix this, the maintainer of the package is the right person. In this case, the maintainer is ubuntu-core-dev.

Sebastien. Two solutions:
1. Remove every reference to grab_focus from:
./UpdateManager/Common/SimpleGladeApp.py, (I show lines 239 through 245) and
./UpdateManager/UpdateManager.py (I show lines 347 and 348)

See http://library.gnome.org/devel/pygtk/2.10/class-gtkwidget.html#method-gtkwidget--grab-focus

2. If that seems too draconian, in
./DistUpgrade/DistUpgrade.glade

set:
<property name="focus_on_map">False</property>

See http://www.pygtk.org/docs/pygtk/class-gdkwindow.html#method-gdkwindow--set-focus-on-map

Happy Trails,

Loye Young
Isaac & Young Computer Company
Laredo, Texas
http://www.iycc.net