Package: jack-mixer
Version: 9-3
Severity: important
Tags: upstream patch

Editing channel names causes the names to disappear. I think this is beacause
the edit dialog is destroyed before the contents are read. See patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-2-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages jack-mixer depends on:
ii  gconf2                      2.32.4-1     GNOME configuration database syste
ii  jackd                       5            JACK Audio Connection Kit (default
ii  libc6                       2.13-7       Embedded GNU C Library: Shared lib
ii  libglib2.0-0                2.28.6-1     The GLib library of C routines
ii  libjack-jackd2-0 [libjack-0 1.9.7~dfsg-1 JACK Audio Connection Kit (librari
ii  python                      2.6.6-14     interactive high-level object-orie
ii  python-fpconst              0.7.2-4      Utilities for handling IEEE 754 fl
ii  python-gobject              2.28.6-1     Python bindings for the GObject li
ii  python-gtk2                 2.24.0-2     Python bindings for the GTK+ widge
ii  python2.6                   2.6.7-1      An interactive high-level object-o

jack-mixer recommends no packages.

Versions of packages jack-mixer suggests:
pn  patchage                      <none>     (no description available)
ii  qjackctl                      0.3.7-5    User interface for controlling the

-- no debconf information
--- jack-mixer-9/channel.py	2010-10-04 20:50:30.000000000 +0100
+++ jack-mixer-9_/channel.py	2011-07-01 17:51:28.000000000 +0100
@@ -871,9 +871,8 @@
 
     def on_response_cb(self, dlg, response_id, *args):
         self.channel.channel_properties_dialog = None
-        self.destroy()
+        name = self.entry_name.get_text()
         if response_id == gtk.RESPONSE_APPLY:
-            name = self.entry_name.get_text()
             self.channel.channel_name = name
             try:
                 self.channel.channel.volume_midi_cc = int(self.entry_volume_cc.get_text())
@@ -883,6 +882,7 @@
                 self.channel.channel.balance_midi_cc = int(self.entry_balance_cc.get_text())
             except ValueError:
                 pass
+        self.destroy()
 
     def on_entry_name_changed(self, entry):
         sensitive = False
@@ -933,9 +933,9 @@
         self.display_solo_buttons.set_active(self.channel.display_solo_buttons)
 
     def on_response_cb(self, dlg, response_id, *args):
-        ChannelPropertiesDialog.on_response_cb(self, dlg, response_id, *args)
         if response_id == gtk.RESPONSE_APPLY:
             self.channel.display_solo_buttons = self.display_solo_buttons.get_active()
+        ChannelPropertiesDialog.on_response_cb(self, dlg, response_id, *args)
 
 
 class NewOutputChannelDialog(OutputChannelPropertiesDialog):
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to