~martijnbraam/keyring

6fda1fcad617d334e192e79626bbc5f483278f68 — Martijn Braam 1 year, 10 months ago bf53b37
Fix slow events in the key entry window
1 files changed, 2 insertions(+), 3 deletions(-)

M himitsu_gtk/window.py
M himitsu_gtk/window.py => himitsu_gtk/window.py +2 -3
@@ 258,13 258,13 @@ class KeyringWindow:
        keyentry.set_width_chars(10)
        if name:
            keyentry.set_text(name)
        keyentry.connect('key-press-event', self.on_add_keypress)
        keyentry.connect('changed', self.on_add_keypress)
        self.add_entry_key.append(keyentry)

        valentry = Gtk.Entry()
        if value:
            valentry.set_text(value)
        valentry.connect('key-press-event', self.on_add_keypress)
        valentry.connect('changed', self.on_add_keypress)
        self.add_entry_val.append(valentry)

        box.pack_start(keyentry, False, False, 0)


@@ 290,7 290,6 @@ class KeyringWindow:
                has_empty = True
        if not has_empty:
            self.addkey_add_placeholder()
            self.addkey_add_placeholder()
            self.addkey.show_all()

    def on_save_clicked(self, widget, *args):