Mercurial > geeqie
diff src/layout_image.c @ 160:85657b4766c9
use accels also in fullscreen mode
author | nadvornik |
---|---|
date | Tue, 18 Dec 2007 21:15:16 +0000 |
parents | dd6dc0a55d3d |
children | 126724275319 |
line wrap: on
line diff
--- a/src/layout_image.c Mon Dec 17 21:42:24 2007 +0000 +++ b/src/layout_image.c Tue Dec 18 21:15:16 2007 +0000 @@ -87,6 +87,10 @@ gtk_menu_popup(GTK_MENU(menu), NULL, NULL, layout_image_fullscreen_menu_pos_cb, lw, 0, GDK_CURRENT_TIME); } +#if 0 +/* this is handled by layout_key_press_cb */ + + static gint layout_image_full_screen_key_press_cb(GtkWidget *widget, GdkEventKey *event, gpointer data) { LayoutWindow *lw = data; @@ -322,6 +326,8 @@ return stop_signal; } +#endif + static void layout_image_full_screen_stop_func(FullScreenData *fs, gpointer data) { LayoutWindow *lw = data; @@ -357,8 +363,9 @@ layout_image_set_buttons(lw); g_signal_connect(G_OBJECT(lw->full_screen->window), "key_press_event", - G_CALLBACK(layout_image_full_screen_key_press_cb), lw); + G_CALLBACK(layout_key_press_cb), lw); + layout_actions_add_window(lw, lw->full_screen->window); #if 0 gtk_widget_set_sensitive(lw->window, FALSE); if (lw->tools) gtk_widget_set_sensitive(lw->tools, FALSE);