chiark / gitweb /
Update choose rows when lookups complete. Makes lengths appear
authorRichard Kettlewell <rjk@greenend.org.uk>
Fri, 13 Jun 2008 10:41:33 +0000 (11:41 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Fri, 13 Jun 2008 10:41:33 +0000 (11:41 +0100)
essentially immediately (at least with a fast local server) rather
than after a delay.

disobedience/choose.c

index 8813ad3..88b7c62 100644 (file)
@@ -431,7 +431,8 @@ GtkWidget *choose_widget(void) {
   event_register("queue-list-changed", choose_set_state, 0);
   event_register("playing-track-changed", choose_set_state, 0);
   event_register("search-results-changed", choose_set_state, 0);
-  
+  event_register("lookups-completed", choose_set_state, 0);
+
   /* Fill the root */
   disorder_eclient_files(client, choose_files_completed, "", NULL, NULL); 
   disorder_eclient_dirs(client, choose_dirs_completed, "", NULL, NULL);