From c62256d0a9454353b9e597ee00731dcc12f55b3b Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 16 Mar 2011 15:40:47 +0000 Subject: [PATCH] Allow CTRL+W to close popups as well --- src/surfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/surfer.c b/src/surfer.c index 296c125..9934172 100644 --- a/src/surfer.c +++ b/src/surfer.c @@ -87,9 +87,9 @@ static char const * _authors[] = #endif static DesktopAccel _surfer_accel[] = { + { G_CALLBACK(on_close), GDK_CONTROL_MASK, GDK_W }, #ifdef EMBEDDED { G_CALLBACK(on_refresh), GDK_CONTROL_MASK, GDK_R }, - { G_CALLBACK(on_close), GDK_CONTROL_MASK, GDK_W }, { G_CALLBACK(on_normal_size), GDK_CONTROL_MASK, GDK_0 }, { G_CALLBACK(on_zoom_in), GDK_CONTROL_MASK, GDK_plus }, { G_CALLBACK(on_zoom_out), GDK_CONTROL_MASK, GDK_minus },