~vcs-imports/jackmixer/trunk

« back to all changes in this revision

Viewing changes to jack_mixer.py

  • Committer: nedko
  • Date: 2008-05-03 16:09:11 UTC
  • Revision ID: vcs-imports@canonical.com-20080503160911-vinru834b0wzbjlb
Fix [transient for] parent of channel add failure message box

Show diffs side-by-side

added added

removed removed

Lines of Context:
183
183
            channel = input_channel(self.mixer, self.gui_factory, name, stereo)
184
184
            self.add_channel_precreated(channel)
185
185
        except Exception:
186
 
            err = gtk.MessageDialog(None, gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK, "Channel creation failed")
 
186
            err = gtk.MessageDialog(self.window, gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK, "Channel creation failed")
187
187
            err.run()
188
188
            err.destroy()
189
189