Gladex waits for Yelp to close before closing

Bug #135217 reported by Charles Edward Pax
2
Affects Status Importance Assigned to Milestone
Gladex
Fix Released
Low
Charles Edward Pax
0.4
Invalid
Undecided
Unassigned

Bug Description

Gladex appears to launch Yelp as a sub process. This is believed because Gladex waits for Yelp to close before closing itself. To fix this Yelp needs to be launched as an independent process. This will allow Gladex to close independently of Yelp.

Revision history for this message
Charles Edward Pax (pax) wrote :

This should do it:

=== modified file 'gladex_callbacks.py'
--- gladex_callbacks.py 2007-08-28 05:32:20 +0000
+++ gladex_callbacks.py 2007-08-28 07:07:21 +0000
@@ -218,8 +218,8 @@
 #

 def on_help_menu_activate(widget, data, wtree):
- print os.path.dirname(__file__)
- os.system("yelp file://"+os.path.dirname(__file__)+"/docs/gladex-manual.xml")
+ yelp = os.popen("yelp file://"+os.path.dirname(__file__)+"/docs/gladex-manual.xml")
+ os.unlink(yelp)
 #

 def on_glade_file_chooser_selection_changed(widget, data, wtree):

Changed in gladex:
importance: Undecided → Low
status: New → Confirmed
status: Confirmed → Fix Committed
Charles Edward Pax (pax)
Changed in gladex:
status: Fix Committed → Fix Released
assignee: nobody → pax
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.