Bug 153033

Summary: GtkDeprecationWarning: gtk.FALSE, gtk.TRUE
Product: [Fedora] Fedora Reporter: Ricky Ng-Adam <rngadam>
Component: firstbootAssignee: Chris Lumens <clumens>
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: 1.3.42 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-04 23:20:41 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:
Bug Depends On:    
Bug Blocks: 136451    
Attachments:
Description Flags
fixes the warnings none

Description Ricky Ng-Adam 2005-04-01 03:16:02 UTC
Description of problem:

/usr/share/firstboot/firstbootWindow.py:59: GtkDeprecationWarning: gtk.FALSE is
deprecated, use False instead
  self.mainHBox = gtk.HBox(gtk.FALSE, 10)
/usr/share/firstboot/firstbootWindow.py:69: GtkDeprecationWarning: gtk.TRUE is
deprecated, use True instead
  self.leftVBox.pack_start(leftEventBox, gtk.TRUE)
/usr/share/firstboot/firstbootWindow.py:86: GtkDeprecationWarning: gtk.FALSE is
deprecated, use False instead
  self.win.set_decorated(gtk.FALSE)
/usr/share/firstboot/firstbootWindow.py:112: DeprecationWarning: use
gtk.gdk.Drawable.draw_pixbuf
  y_screen, gtk.gdk.RGB_DITHER_MAX, 0, 0)
/usr/share/firstboot/firstbootWindow.py:113: GtkDeprecationWarning: gtk.TRUE is
deprecated, use True instead
  self.win.set_app_paintable(gtk.TRUE)
/usr/share/firstboot/firstbootWindow.py:114: GtkDeprecationWarning: gtk.FALSE is
deprecated, use False instead
  self.win.window.set_back_pixmap(bgimage, gtk.FALSE)
/usr/share/firstboot/firstbootWindow.py:143: GtkDeprecationWarning: gtk.FALSE is
deprecated, use False instead
  self.notebook.set_show_tabs(gtk.FALSE)
/usr/share/firstboot/firstbootWindow.py:144: GtkDeprecationWarning: gtk.TRUE is
deprecated, use True instead
  self.notebook.set_scrollable(gtk.TRUE)
/usr/share/firstboot/firstbootWindow.py:145: GtkDeprecationWarning: gtk.FALSE is
deprecated, use False instead
  self.notebook.set_show_border(gtk.FALSE)

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

1.3.39-3

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 problem, I'm opening a bug for each.

Comment 1 Colin Charles 2005-04-01 05:30:37 UTC
Attached patch will fix all the warnings, even in the unused_modules. Please
apply, and rebuild.

Comment 2 Colin Charles 2005-04-01 05:31:12 UTC
Created attachment 112571 [details]
fixes the warnings

Comment 3 Colin Charles 2005-04-01 06:07:19 UTC
*** Bug 153036 has been marked as a duplicate of this bug. ***

Comment 4 Jeremy Katz 2005-05-25 15:00:58 UTC
Fixed in 1.3.42