Bug 251656 - PATCH: glchess no longer works due to gtk tooltip changes
PATCH: glchess no longer works due to gtk tooltip changes
Product: Fedora
Classification: Fedora
Component: gnome-games (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Ray Strode [halfline]
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-08-10 05:28 EDT by Hans de Goede
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-08-10 05:47:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
PATCH: glchess no longer works due to gtk tooltip changes (1.02 KB, patch)
2007-08-10 05:28 EDT, Hans de Goede
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
GNOME Desktop 459740 None None None Never

  None (edit)
Description Hans de Goede 2007-08-10 05:28:04 EDT
glchess exits with this error when run on rawhide:
Traceback (most recent call last):
  File "/usr/bin/glchess", line 20, in <module>
  File "/usr/lib/python2.5/site-packages/glchess/glchess.py", line 3, in start_game
    app = main.Application()
  File "/usr/lib/python2.5/site-packages/glchess/main.py", line 1077, in __init__
    self.ui = UI(self)
  File "/usr/lib/python2.5/site-packages/glchess/main.py", line 985, in __init__
    self.controller = gtkui.GtkUI(self)
  File "/usr/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 453, in
    self.defaultViewController = self.notebook.setDefault(None)
  File "/usr/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 95, in
    self.defaultView = chessview.GtkView(self.ui, '', feedback)
  File "/usr/lib/python2.5/site-packages/glchess/gtkui/chessview.py", line 254,
in __init__
AttributeError: 'NoneType' object has no attribute 'ensure_style'

The attached patch works around this by not changing the style of the info panel
to the tooltip style, except for having a gray background instead of a yellow
one this doesn't seem to have any ill effects. I'm also submitting this upstream
for a proper fix.

Notice that I will commit this fix to cvs and build it, this bug is just for
tracking things until a real fix is available.
Comment 1 Hans de Goede 2007-08-10 05:28:04 EDT
Created attachment 161042 [details]
PATCH: glchess no longer works due to gtk tooltip changes
Comment 2 Hans de Goede 2007-08-10 05:47:45 EDT
Scrap that I've found the upstream bug, and gtk has been fixed to be backward
compatible (although the yellow background is still gone).

Note You need to log in before you can comment on or make changes to this bug.