From ce41d0f2c6becdb0032813f8917ff82e984b860f Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 4 Jan 2006 12:25:42 +0000 Subject: Fix warning when Ctrl-F while the find toolbar is already shown. Fix 2006-01-04 Christian Persch * src/ephy-find-toolbar.c: (entry_changed_cb), (set_focus_cb), (ephy_find_toolbar_grab_focus), (ephy_find_toolbar_find_next), (ephy_find_toolbar_find_previous), (ephy_find_toolbar_open), (ephy_find_toolbar_close): Fix warning when Ctrl-F while the find toolbar is already shown. Fix next/prev button sensitivity when find wrapped around. * src/ephy-window.c: Add more XF86XK key codes. --- src/ephy-window.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'src/ephy-window.c') diff --git a/src/ephy-window.c b/src/ephy-window.c index bf8f98f0b..7f49315c8 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -365,20 +365,22 @@ static const struct { GDK_KP_Subtract, GDK_CONTROL_MASK, "ViewZoomOut", FALSE }, { GDK_equal, GDK_CONTROL_MASK, "ViewZoomIn", FALSE }, #ifdef HAVE_X11_XF86KEYSYM_H - { XF86XK_HomePage, 0, "GoHome", TRUE }, { XF86XK_Back, 0, "NavigationBack", TRUE }, - { XF86XK_Forward, 0, "NavigationForward", TRUE }, - { XF86XK_Stop, 0, "ViewStop", FALSE }, - { XF86XK_Refresh, 0, "ViewReload", FALSE }, - { XF86XK_Reload, 0, "ViewReload", FALSE }, { XF86XK_Favorites, 0, "GoBookmarks", FALSE }, + { XF86XK_Forward, 0, "NavigationForward", TRUE }, + { XF86XK_Go, 0, "GoLocation", FALSE }, { XF86XK_History, 0, "GoHistory", FALSE }, + { XF86XK_HomePage, 0, "GoHome", TRUE }, { XF86XK_OpenURL, 0, "GoLocation", FALSE }, - { XF86XK_Go, 0, "GoLocation", FALSE }, { XF86XK_AddFavorite, 0, "FileBookmarkPage", FALSE }, + { XF86XK_Refresh, 0, "ViewReload", FALSE }, + { XF86XK_Reload, 0, "ViewReload", FALSE }, + { XF86XK_Search, 0, "EditFind", FALSE }, { XF86XK_Send, 0, "FileSendTo", FALSE }, + { XF86XK_Start, 0, "GoHome", TRUE }, + { XF86XK_Stop, 0, "ViewStop", FALSE }, { XF86XK_ZoomIn, 0, "ViewZoomIn", FALSE }, - { XF86XK_ZoomOut, 0, "ViewZoomOut", FALSE }, + { XF86XK_ZoomOut, 0, "ViewZoomOut", FALSE } /* FIXME: what about ScrollUp, ScrollDown, Menu*, Option, LogOff, Save,.. any others? */ #endif /* HAVE_X11_XF86KEYSYM_H */ }; -- cgit v1.2.3