configurator: set text after loosing focus (see #29)

yahoo_weather
simon04 13 years ago
parent 5403ce76aa
commit 425ec2ba37
  1. 1
      weather-extension-configurator.py

@ -59,6 +59,7 @@ class WeatherConfigurator:
entry = Gtk.Entry()
entry.set_text(self.schema.get_string(key))
entry.connect('activate', set)
entry.connect('focus-out-event', lambda x, y: set(x))
self.add_tooltip(entry, tooltip)
self.add_label(label, tooltip)
self.elements.append(entry)

Loading…
Cancel
Save