Bug 74623

Summary: error message (deprecated python calls)
Product: [Retired] Red Hat Linux Reporter: Chris Ricker <chris.ricker>
Component: redhat-config-xfree86Assignee: Brent Fox <bfox>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 8.0CC: mharris, rhbugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-15 15:19:31 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:

Description Chris Ricker 2002-09-27 21:32:14 UTC
Running redhat-config-xfree86 on RHL 8 gives me

[root@dartagnan root]# redhat-config-xfree86
/usr/share/redhat-config-xfree86/xconf.py:1238: DeprecationWarning:
  self.xml.get_widget("display_dialog").set_uposition(xpos, ypos)
[root@dartagnan root]#

Comment 1 Alexander Larsson 2002-10-02 07:15:59 UTC
Maybe we can get away with usign window.set_position(center). Need to try that.
Otherwise I don't see much that can be done.


Comment 2 Brent Fox 2002-12-15 15:19:31 UTC
Fixed in cvs by replacing set_uposition with set_position(gtk.WIN_POS_CENTER). 
Thanks for your report.



RCS file: /usr/local/CVS/redhat-config-xfree/src/xconf.py,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- xconf.py    13 Dec 2002 20:43:58 -0000      1.38
+++ xconf.py    13 Dec 2002 23:05:35 -0000      1.39
@@ -50,7 +50,7 @@
     if xserverpid:
         xpos = gtk.gdk.screen_width() / 2 - dialog.size_request()[0] / 2
         ypos = gtk.gdk.screen_height() / 2 - dialog.size_request()[1] / 2
-        dialog.set_uposition(xpos, ypos)
+        dialog.set_position(gtk.WIN_POS_CENTER)


Comment 3 Brent Fox 2003-02-14 02:19:46 UTC
*** Bug 84284 has been marked as a duplicate of this bug. ***