Several snippets use Deprecated gtk.Tooltips

Bug #530078 reported by andypiper
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Python Snippets
Confirmed
Low
Unassigned

Bug Description

A number of the current snippets cause the following warning when executed:

/usr/share/python-snippets/pygtk/basicaction.py:89: DeprecationWarning: Use the new widget gtk.Tooltip
  tooltips = gtk.Tooltips()
/usr/share/python-snippets/pygtk/basicaction.py:90: DeprecationWarning: Use the new widget gtk.Tooltip
  tooltips.set_tip(quitbutton, action.get_property('tooltip'))

This is due to gtk.Tooltips being deprecated - it would be a good idea to update these snippets with more modern code.

Revision history for this message
Jono Bacon (jonobacon) wrote :

Agreed, Andy. Could you update these snippets and propose a merge and then we can fix this?

Changed in python-snippets:
status: New → Confirmed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.