gtk spin button depreciation

Bug #332720 reported by Adam Rooke
2
Affects Status Importance Assigned to Milestone
PyRoom
New
Undecided
Unassigned

Bug Description

When running pyroom I get the following error
/home/adam/Programming/pyroom/PyRoom/preferences.py:146: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  "dialog-preferences")
/home/adam/Programming/pyroom/PyRoom/preferences.py:157: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  self.heightpreference.set_range(5, 95)
/home/adam/Programming/pyroom/PyRoom/preferences.py:159: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  self.widthpreference.set_range(5, 95)

After a bit of research:
The page size of the adjustment. Note that the page-size is irrelevant and should be set to zero if the adjustment is used for a simple scalar value, e.g. in a GtkSpinButton.

Default value: 0

Since 2.4

Revision history for this message
Florian Heinle (tiax) wrote :

Hi,

marking this as a duplicate. The issue at hand has already been fixed.

Revision history for this message
Adam Rooke (abelianr) wrote :

I was still getting the error message from rev no 142.

Revision history for this message
Florian Heinle (tiax) wrote :

Hi,

ok, sorry. Looks like a regression. Three-Way-Merging xml files, especially glade files, is a bitch.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers