call populate_opt_media on reset_state

this way the physical media combo box isn't empty when we show the dialog for
the first time
This commit is contained in:
Guido Gunther 2008-10-02 16:32:27 +02:00
parent c30ac57000
commit 768e777a6b
1 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,8 @@ class vmmChooseCD(gobject.GObject):
else:
self.window.get_widget("physical-media").set_sensitive(True)
self.window.get_widget("iso-file-chooser").set_sensitive(True)
self.populate_opt_media()
self.window.get_widget("cd-path").set_active(0)
def ok(self,ignore1=None, ignore2=None):
if self.window.get_widget("iso-image").get_active():