From d380121b28a162db4d37ed944818b3815504799a Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Thu, 26 Nov 2009 20:21:27 +0000 Subject: [PATCH] Comments Organization: Straylight/Edgeware From: Richard Kettlewell --- disobedience/menu.c | 2 +- disobedience/popup.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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); -- [mdw]