From: Richard Kettlewell Date: Thu, 26 Nov 2009 20:21:27 +0000 (+0000) Subject: Comments X-Git-Tag: 5.0~40^2~7 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/d380121b28a162db4d37ed944818b3815504799a?hp=a99b7c5044d1c2e3e3d4734e914633a19281f375 Comments --- diff --git a/disobedience/menu.c b/disobedience/menu.c index 2bb81a3..f04f720 100644 --- a/disobedience/menu.c +++ b/disobedience/menu.c @@ -1,6 +1,6 @@ /* * 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 diff --git a/disobedience/popup.c b/disobedience/popup.c index 6613cfc..1a7c2e5 100644 --- a/disobedience/popup.c +++ b/disobedience/popup.c @@ -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); + /* 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);