Bug 67657 - Wrong device is highlighted when editing local printer configuration
Summary: Wrong device is highlighted when editing local printer configuration
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: printconf
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 67218
TreeView+ depends on / blocked
 
Reported: 2002-06-28 17:40 UTC by Tim Waugh
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-07-14 12:19:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Tim Waugh 2002-06-28 17:40:37 UTC
Description of Problem: 
Really odd behaviour. 
 
Version-Release number of selected component (if applicable): 
pygtk2-1.99.10-5.1 
 
How Reproducible: 
100% 
 
Steps to Reproduce: 
import gtk 
c=gtk.CList() 
row=c.append('a') 
c.set_row_data(row,'/d') 
c.find_row_from_data('/d') 
 
Actual Results: 
-1 
 
Expected Results: 
0 
 
Additional Information: 
If you change '/d' to something else like 'x', it works. 
 
This is causing GUI oddness in printconf-gui.  But it's been there for a 
while..

Comment 1 Tim Waugh 2002-07-12 13:38:34 UTC
Ah, of course: it's comparing Python objects, not doing string comparisons.  This printconf bug 
is fixed in CVS.

Comment 2 Tim Waugh 2002-07-14 12:19:14 UTC
Fixed in redhat-config-printer-0.4.14-1.

Comment 3 Jay Turner 2002-09-04 03:12:20 UTC
Fix confirmed with redhat-config-printer-0.4.23-1.


Note You need to log in before you can comment on or make changes to this bug.