chiark / gitweb /
Fix queue/etc popup menu
authorRichard Kettlewell <rjk@greenend.org.uk>
Tue, 10 Jun 2008 21:01:46 +0000 (22:01 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Tue, 10 Jun 2008 21:01:46 +0000 (22:01 +0100)
disobedience/queue-generic.c

index 37e0c301d4483142130443dbd4a21f56c7f31c9c..33e350a8c3e1d1e1ad434f5dd8e5f788bb5e4ca5 100644 (file)
@@ -57,7 +57,6 @@ static const struct cache_type cachetype_integer = { 3600 };
  */
 static void namepart_completed_or_failed(void) {
   --namepart_lookups_outstanding;
  */
 static void namepart_completed_or_failed(void) {
   --namepart_lookups_outstanding;
-  fprintf(stderr, "namepart_lookups_outstanding -> %d\n", namepart_lookups_outstanding);
   if(!namepart_lookups_outstanding) {
     /* There are no more lookups outstanding, so we update the display */
     for(unsigned n = 0; n < NQUEUELIKES; ++n)
   if(!namepart_lookups_outstanding) {
     /* There are no more lookups outstanding, so we update the display */
     for(unsigned n = 0; n < NQUEUELIKES; ++n)
@@ -397,7 +396,7 @@ GtkWidget *init_queuelike(struct queuelike *ql) {
   /* TODO tabtype */
   g_object_set_data(G_OBJECT(ql->view), "queue", ql);
   /* Catch button presses */
   /* TODO tabtype */
   g_object_set_data(G_OBJECT(ql->view), "queue", ql);
   /* Catch button presses */
-  g_signal_connect(ql->view, "button-release-event",
+  g_signal_connect(ql->view, "button-press-event",
                    G_CALLBACK(ql_button_release), ql);
 
   /* TODO style? */
                    G_CALLBACK(ql_button_release), ql);
 
   /* TODO style? */