Bug 153035

Summary: GtkDeprecationWarning: gtk.FALSE, gtk.TRUE
Product: [Fedora] Fedora Reporter: Ricky Ng-Adam <rngadam>
Component: system-config-bindAssignee: Jason Vas Dias <jvdias>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: rawhideCC: byte, sundaram
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 4.0.0-7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-05 00:01:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
fixes the warnings none

Description Ricky Ng-Adam 2005-04-01 03:45:10 UTC
Description of problem:

/usr/share/system-config-bind/ZoneTree.py:914: GtkDeprecationWarning: gtk.TRUE
is deprecated, use True instead
  s.tree.set_reorderable(gtk.TRUE)
/usr/share/system-config-bind/ZoneTree.py:894: GtkDeprecationWarning: gtk.FALSE
is deprecated, use False instead
  w.pack_start(l,gtk.FALSE)
/usr/share/system-config-bind/ZoneTree.py:897: GtkDeprecationWarning: gtk.FALSE
is deprecated, use False instead
  w.pack_start(s.search_value,gtk.FALSE)
/usr/share/system-config-bind/ZoneTree.py:905: GtkDeprecationWarning: gtk.FALSE
is deprecated, use False instead
  s.showDNSSEC.set_active(gtk.FALSE)

Version-Release number of selected component (if applicable):

4.0.0-4.4

How reproducible:

always

Steps to Reproduce:
1. start program at console
2.
3.
  
Actual results:

extraneous warnings

Expected results:

no warnings

Additional info:

Most system-config-* have the same problems, I'm opening a bug for each.

Comment 1 Colin Charles 2005-04-01 05:23:04 UTC
Attached patch fixes all possible warnings thru the entire code
(s/gtk.TRUE/True/g) and so on. Apply them, and rebuild so the warnings disappear.

Comment 2 Colin Charles 2005-04-01 05:24:28 UTC
Created attachment 112569 [details]
fixes the warnings

Comment 3 Jason Vas Dias 2005-04-04 14:11:37 UTC
This bug was caused by pygtk2-2.6.0 .
It is now fixed in system-config-bind-4.0.0-7 .