channel editor fix
Michael Vogt
mvogt at acm.org
Mon Jun 12 01:56:05 PDT 2006
On Wed, Jun 07, 2006 at 04:03:48PM +0200, Christoph Thiel wrote:
> Hi everyone,
Hi Christoph,
> to fix https://bugzilla.novell.com/show_bug.cgi?id=169678 I'v just created
> smart-0.41-channel-editor.patch
>
> You might want to push this into trunk :)
[..]
Thanks for the patch! I commited a modified version into trunk/ that
fixes the issue in a different way. This ensures that multiple calls
to show() will not result in the gui artefacts you encountered.
--- smart/interfaces/gtk/channels.py (revision 704)
+++ smart/interfaces/gtk/channels.py (working copy)
@@ -512,7 +514,9 @@
self._fieldn += 1
def show(self, alias, oldchannel, editalias=False):
+ # reset the dialog fields
self._table.foreach(self._table.remove)
+ self._fieldn = 0
if len(oldchannel) > 1:
# This won't be needed once old format channels
Cheers,
Michael
--
Linux is not The Answer. Yes is the answer. Linux is The Question. - Neo
More information about the Smart
mailing list