diff options
author | David Adam Bordoley <bordoley@msu.edu> | 2003-05-09 00:22:12 +0800 |
---|---|---|
committer | Dave Bordoley <Bordoley@src.gnome.org> | 2003-05-09 00:22:12 +0800 |
commit | 6be59e74845e71b11e1ade1e7e8de2ad6d87f590 (patch) | |
tree | 5931e630f85581ed417fdbbf8a88f772c249ae93 /src/bookmarks | |
parent | 8de67d32c63ed75c7e4fa233bb4d1afd63770943 (diff) | |
download | gsoc2013-epiphany-6be59e74845e71b11e1ade1e7e8de2ad6d87f590.tar gsoc2013-epiphany-6be59e74845e71b11e1ade1e7e8de2ad6d87f590.tar.gz gsoc2013-epiphany-6be59e74845e71b11e1ade1e7e8de2ad6d87f590.tar.bz2 gsoc2013-epiphany-6be59e74845e71b11e1ade1e7e8de2ad6d87f590.tar.lz gsoc2013-epiphany-6be59e74845e71b11e1ade1e7e8de2ad6d87f590.tar.xz gsoc2013-epiphany-6be59e74845e71b11e1ade1e7e8de2ad6d87f590.tar.zst gsoc2013-epiphany-6be59e74845e71b11e1ade1e7e8de2ad6d87f590.zip |
Convenience function for displaying help. Remove unneeded include of
2003-05-08 David Adam Bordoley <bordoley@msu.edu>
* lib/ephy-gui.c: (ephy_gui_help):
* lib/ephy-gui.h:
Convenience function for displaying help.
Remove unneeded include of gnome-dialog.h
* src/ephy-history-window.c: (cmd_help_contents):
* src/prefs-dialog.c: (prefs_dialog_show_help):
* src/window-commands.c: (window_cmd_help_contents),
(window_cmd_help_about):
* src/bookmarks/ephy-bookmark-properties.c:
(ephy_bookmark_properties_help),
(bookmark_properties_response_cb):
* src/bookmarks/ephy-bookmarks-editor.c:
(cmd_help_contents):
* src/bookmarks/ephy-new-bookmark.c:
(ephy_new_bookmark_help), (response_cb):
Hook up help to windows/dialogs.
Add the guilty parties to about.
* help/C/epiphany.xml:
Fixed the "To Create a New Bookmark" id.
Diffstat (limited to 'src/bookmarks')
-rw-r--r-- | src/bookmarks/ephy-bookmark-properties.c | 11 | ||||
-rw-r--r-- | src/bookmarks/ephy-bookmarks-editor.c | 5 | ||||
-rw-r--r-- | src/bookmarks/ephy-new-bookmark.c | 11 |
3 files changed, 12 insertions, 15 deletions
diff --git a/src/bookmarks/ephy-bookmark-properties.c b/src/bookmarks/ephy-bookmark-properties.c index 38bcbe96f..575578aa2 100644 --- a/src/bookmarks/ephy-bookmark-properties.c +++ b/src/bookmarks/ephy-bookmark-properties.c @@ -22,6 +22,7 @@ #include "ephy-debug.h" #include "ephy-shell.h" #include "ephy-state.h" +#include "ephy-gui.h" #include <gtk/gtkcheckbutton.h> #include <gtk/gtktogglebutton.h> @@ -195,12 +196,6 @@ ephy_bookmark_properties_get_property (GObject *object, } static void -ephy_bookmark_properties_help () -{ - /* FIXME: Implement Help */ -} - -static void bookmark_properties_response_cb (GtkDialog *dialog, int response_id, gpointer data) @@ -208,7 +203,9 @@ bookmark_properties_response_cb (GtkDialog *dialog, switch (response_id) { case GTK_RESPONSE_HELP: - ephy_bookmark_properties_help (); + ephy_gui_help (GTK_WINDOW (dialog), + "epiphany", + "to-edit-bookmark-properties"); break; case GTK_RESPONSE_CLOSE: gtk_widget_destroy (GTK_WIDGET (dialog)); diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c index a6d0c161c..25da06978 100644 --- a/src/bookmarks/ephy-bookmarks-editor.c +++ b/src/bookmarks/ephy-bookmarks-editor.c @@ -47,6 +47,7 @@ #include "ephy-state.h" #include "window-commands.h" #include "ephy-debug.h" +#include "ephy-gui.h" static GtkTargetEntry topic_drag_dest_types [] = { @@ -530,7 +531,9 @@ static void cmd_help_contents (EggAction *action, EphyBookmarksEditor *editor) { - /*FIXME: Implement help.*/ + ephy_gui_help (GTK_WINDOW (editor), + "epiphany", + "ephy-managing-bookmarks"); } GType diff --git a/src/bookmarks/ephy-new-bookmark.c b/src/bookmarks/ephy-new-bookmark.c index ec913b112..3e12ec602 100644 --- a/src/bookmarks/ephy-new-bookmark.c +++ b/src/bookmarks/ephy-new-bookmark.c @@ -32,6 +32,7 @@ #include "ephy-topics-selector.h" #include "ephy-debug.h" #include "ephy-stock-icons.h" +#include "ephy-gui.h" static void ephy_new_bookmark_class_init (EphyNewBookmarkClass *klass); static void ephy_new_bookmark_init (EphyNewBookmark *editor); @@ -144,12 +145,6 @@ ephy_new_bookmark_finalize (GObject *object) } static void -ephy_new_bookmark_help () -{ - /* FIXME: Hook up Help */ -} - -static void ephy_new_bookmark_add (EphyNewBookmark *new_bookmark) { char *title; @@ -186,7 +181,9 @@ response_cb (EphyNewBookmark *new_bookmark, switch (response_id) { case GTK_RESPONSE_HELP: - ephy_new_bookmark_help (); + ephy_gui_help (GTK_WINDOW (new_bookmark), + "epiphany", + "to-create-new-bookmark"); break; case GTK_RESPONSE_CANCEL: break; |