chiark / gitweb /
Comments
authorRichard Kettlewell <rjk@greenend.org.uk>
Thu, 26 Nov 2009 20:21:27 +0000 (20:21 +0000)
committerRichard Kettlewell <rjk@greenend.org.uk>
Thu, 26 Nov 2009 20:21:27 +0000 (20:21 +0000)
disobedience/menu.c
disobedience/popup.c

index 2bb81a3c609e002551be6bde0760b4b762671a08..f04f7203d89ed4cbbb51d3b13d669f153991953c 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * This file is part of DisOrder.
 /*
  * This file is part of DisOrder.
- * Copyright (C) 2006-2008 Richard Kettlewell
+ * Copyright (C) 2006-2009 Richard Kettlewell
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 6613cfc4fb7f0691e71621cafb8b03458ec37093..1a7c2e5224de2fd8a89b6e682b9c8f0d1b2998fc 100644 (file)
@@ -35,6 +35,9 @@ void popup(GtkWidget **menup,
                      G_CALLBACK(gtk_widget_destroyed), menup);
     for(int n = 0; n < nitems; ++n) {
       items[n].w = gtk_menu_item_new_with_label(items[n].name);
                      G_CALLBACK(gtk_widget_destroyed), menup);
     for(int n = 0; n < nitems; ++n) {
       items[n].w = gtk_menu_item_new_with_label(items[n].name);
+      /* TODO accelerators would be useful here.  There might be some
+       * interaction with the main menu accelerators, _except_ for playlist
+       * case!  */
       gtk_menu_attach(GTK_MENU(menu), items[n].w, 0, 1, n, n + 1);
     }
     set_tool_colors(menu);
       gtk_menu_attach(GTK_MENU(menu), items[n].w, 0, 1, n, n + 1);
     }
     set_tool_colors(menu);