[Epiphany] Simple patch
- From: dave <bordoley msu edu>
- To: epiphany mozdev org
- Subject: [Epiphany] Simple patch
- Date: 14 Feb 2003 11:31:30 -0500
Adds a help => contents menu entry and I implemented call back stubs,
but didn't bother actually implementing it since we don't have help docs
yet anyway.
Changes the tab switching modifier to alt as specified in bugs 105938
and 87764. This change is needed because in a scrolled window,
ctrl+pgup/dwn should vertically scroll, though there is a mozilla bug
that keeps this from working.
dave
Index: data/ui/epiphany-ui.xml.in
===================================================================
RCS file: /cvs/gnome/epiphany/data/ui/epiphany-ui.xml.in,v
retrieving revision 1.8
diff -u -p -r1.8 epiphany-ui.xml.in
--- data/ui/epiphany-ui.xml.in 14 Feb 2003 15:18:25 -0000 1.8
+++ data/ui/epiphany-ui.xml.in 14 Feb 2003 16:17:42 -0000
@@ -72,6 +72,7 @@
</submenu>
<submenu name="HelpMenu" verb="Help">
+ <menuitem name="HelpContentsMenu" verb="HelpContents"/>
<menuitem name="HelpAboutMenu" verb="HelpAbout"/>
</submenu>
</menu>
Index: src/ephy-window.c
===================================================================
RCS file: /cvs/gnome/epiphany/src/ephy-window.c,v
retrieving revision 1.25
diff -u -p -r1.25 ephy-window.c
--- src/ephy-window.c 14 Feb 2003 15:18:26 -0000 1.25
+++ src/ephy-window.c 14 Feb 2003 16:17:53 -0000
@@ -174,16 +174,16 @@ static EggActionGroupEntry ephy_menu_ent
G_CALLBACK (window_cmd_go_bookmarks), NULL },
/* Tabs menu */
- { "TabsPrevious", N_("_Previous Tab"), NULL, "<control>Page_Up",
+ { "TabsPrevious", N_("_Previous Tab"), NULL, "<alt>Page_Up",
N_("Activate previous tab"),
G_CALLBACK (window_cmd_tabs_previous), NULL },
- { "TabsNext", N_("_Next Tab"), NULL, "<control>Page_Down",
+ { "TabsNext", N_("_Next Tab"), NULL, "<alt>Page_Down",
N_("Activate next tab"),
G_CALLBACK (window_cmd_tabs_next), NULL },
- { "TabsMoveLeft", N_("Move Tab _Left"), NULL, "<shift><control>Page_Up",
+ { "TabsMoveLeft", N_("Move Tab _Left"), NULL, "<shift><alt>Page_Up",
N_("Move current tab to left"),
G_CALLBACK (window_cmd_tabs_move_left), NULL },
- { "TabsMoveRight", N_("Move Tab _Right"), NULL, "<shift><control>Page_Down",
+ { "TabsMoveRight", N_("Move Tab _Right"), NULL, "<shift><alt>Page_Down",
N_("Move current tab to right"),
G_CALLBACK (window_cmd_tabs_move_right), NULL },
{ "TabsDetach", N_("_Detach Tab"), NULL, "<shift><control>M",
@@ -191,6 +191,9 @@ static EggActionGroupEntry ephy_menu_ent
G_CALLBACK (window_cmd_tabs_detach), NULL },
/* Help menu */
+ {"HelpContents", N_("Contents"), GTK_STOCK_HELP, "F1",
+ N_("Display web browser help"),
+ G_CALLBACK (window_cmd_help_contents), NULL },
{ "HelpAbout", N_("_About"), GNOME_STOCK_ABOUT, NULL,
N_("Display credits for the web browser creators"),
G_CALLBACK (window_cmd_help_about), NULL },
Index: src/window-commands.c
===================================================================
RCS file: /cvs/gnome/epiphany/src/window-commands.c,v
retrieving revision 1.14
diff -u -p -r1.14 window-commands.c
--- src/window-commands.c 14 Feb 2003 15:18:26 -0000 1.14
+++ src/window-commands.c 14 Feb 2003 16:17:56 -0000
@@ -646,6 +646,13 @@ window_cmd_edit_toolbar (EggAction *acti
ephy_editable_toolbar_edit (EPHY_EDITABLE_TOOLBAR (toolbar));
}
+void
+window_cmd_help_contents (EggAction *action,
+ EphyWindow *window)
+{
+ /* FIXME: Need to implement */
+}
+
void
window_cmd_help_about (EggAction *action,
EphyWindow *window)
Index: src/window-commands.h
===================================================================
RCS file: /cvs/gnome/epiphany/src/window-commands.h,v
retrieving revision 1.6
diff -u -p -r1.6 window-commands.h
--- src/window-commands.h 14 Feb 2003 15:18:26 -0000 1.6
+++ src/window-commands.h 14 Feb 2003 16:17:57 -0000
@@ -131,6 +131,9 @@ void window_cmd_edit_prefs (EggActi
void window_cmd_edit_toolbar (EggAction *action,
EphyWindow *window);
+void window_cmd_help_contents(EggAction *action,
+ EphyWindow *window);
+
void window_cmd_help_about (EggAction *action,
EphyWindow *window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]