Mercurial > geeqie
diff src/layout.c @ 1482:dac747d99394
fixed keyboard focus on start-up
https://sourceforge.net/tracker/?func=detail&aid=2707025&group_id=222125&atid=1054680
author | nadvornik |
---|---|
date | Sat, 28 Mar 2009 15:51:21 +0000 |
parents | 077924265c28 |
children | 331e2d60d447 |
line wrap: on
line diff
--- a/src/layout.c Sat Mar 28 15:31:04 2009 +0000 +++ b/src/layout.c Sat Mar 28 15:51:21 2009 +0000 @@ -1683,7 +1683,7 @@ layout_tools_setup(lw, tools, files); - gtk_widget_grab_focus(lw->image->widget); + image_grab_focus(lw->image); return; } @@ -1750,7 +1750,7 @@ gtk_paned_set_position(GTK_PANED(lw->h_pane), lw->options.main_window.hdivider_pos); gtk_paned_set_position(GTK_PANED(lw->v_pane), lw->options.main_window.vdivider_pos); - gtk_widget_grab_focus(lw->image->widget); + image_grab_focus(lw->image); } void layout_style_set(LayoutWindow *lw, gint style, const gchar *order)