Bug 153053

Summary: GtkDeprecationWarning: gtk.FALSE, gtk.TRUE
Product: [Fedora] Fedora Reporter: Ricky Ng-Adam <rngadam>
Component: system-config-soundcardAssignee: Bastien Nocera <bnocera>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: rawhideCC: byte
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.2.11-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-09 11:09:14 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 04:31:32 UTC
Description of problem:

/usr/share/system-config-soundcard/soundcard.py:75: GtkDeprecationWarning:
gtk.FALSE is deprecated, use False instead
  self.box = gtk.VBox(gtk.FALSE, 8)
/usr/share/system-config-soundcard/soundcard.py:139: GtkDeprecationWarning:
gtk.FALSE is deprecated, use False instead
  self.notebook.set_show_tabs(gtk.FALSE)
/usr/share/system-config-soundcard/soundcard.py:140: GtkDeprecationWarning:
gtk.FALSE is deprecated, use False instead
  self.notebook.set_show_border(gtk.FALSE)
/usr/share/system-config-soundcard/soundcard.py:303: GtkDeprecationWarning:
gtk.FALSE is deprecated, use False instead
  self.icon_box.pack_start(self.icon, gtk.FALSE)
/usr/share/system-config-soundcard/soundcard.py:304: GtkDeprecationWarning:
gtk.FALSE is deprecated, use False instead
  self.icon_box.pack_start(self.label, gtk.FALSE)
/usr/share/system-config-soundcard/soundcard.py:305: GtkDeprecationWarning:
gtk.FALSE is deprecated, use False instead
  self.toplevel.pack_start(self.icon_box, gtk.FALSE)
/usr/share/system-config-soundcard/soundcard.py:307: GtkDeprecationWarning:
gtk.FALSE is deprecated, use False instead
  self.toplevel.pack_start(self.box, gtk.FALSE)


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

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

Comment 1 Colin Charles 2005-04-01 04:48:36 UTC
Created attachment 112559 [details]
fixes the warnings

Comment 2 Colin Charles 2005-04-01 04:49:01 UTC
Apply patch, rebuild thanks

Comment 3 Bastien Nocera 2005-04-02 14:11:12 UTC
Fixed in CVS.

2005-04-02  Bastien Nocera  <hadess>

        * src/soundcard.py: remove use of deprecated gtk.FALSE and gtk.True
        (Closes: #153053)
        * src/soundcardBackend.py: scan the ISA bus (Closes: #146888), and the
        MacIO bus. Also set the "DRC Range" mixer to on for Macs
        (Closes: #146357)