dogtail-devel [Bug 353731] sniff has path to glade and icons file paths hardcoded in script



Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=353731
 dogtail | Sniff | Ver: CVS HEAD


Zack Cerza changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zcerza redhat com
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from Zack Cerza  2006-09-11 16:38 UTC -------
Thanks for the report, and the fix. I modified it very slightly, and committed
it:

try:
    x = gtk.glade.XML('sniff.glade')
except RuntimeError:
    import sys
    exec_root = sys.argv[0].split("/bin/")[0]
    if exec_root[0] is not '/':
        exec_root = "/usr"
    x = gtk.glade.XML(exec_root + '/share/dogtail/glade/sniff.glade')


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the QA contact for the bug.
You are watching the assignee for the bug.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]