Compare commits
No commits in common. "27547906373f3d84f01fcade2dd3a3c93c501614" and "1fa320cbd31c17c933b47754799f3a049d010218" have entirely different histories.
2754790637
...
1fa320cbd3
|
@ -49,6 +49,7 @@ class Window(Gtk.Window):
|
|||
self.api = Api(config)
|
||||
|
||||
self.entry = Gtk.Entry()
|
||||
self.entry.set_visibility(False)
|
||||
self.entry.set_width_chars(32)
|
||||
self.entry.connect('activate', self.on_entry_activate)
|
||||
self.add(self.entry)
|
||||
|
@ -67,8 +68,6 @@ class Window(Gtk.Window):
|
|||
|
||||
def on_entry_activate(self, widget):
|
||||
results = self.api('GET', '/api/v1/organizers/%(organizer)s/checkinrpc/search/', ignore_status='true', list=self.config['list'], search=widget.get_text())
|
||||
widget.set_text('')
|
||||
|
||||
if results['count'] == 0:
|
||||
self.info('Keine Ergebnisse', 'Bitte präzisiere deine Eingabe.')
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue