aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-new-bookmark.c
diff options
context:
space:
mode:
authorDavid Adam Bordoley <bordoley@msu.edu>2003-05-09 00:22:12 +0800
committerDave Bordoley <Bordoley@src.gnome.org>2003-05-09 00:22:12 +0800
commit6be59e74845e71b11e1ade1e7e8de2ad6d87f590 (patch)
tree5931e630f85581ed417fdbbf8a88f772c249ae93 /src/bookmarks/ephy-new-bookmark.c
parent8de67d32c63ed75c7e4fa233bb4d1afd63770943 (diff)
downloadgsoc2013-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/ephy-new-bookmark.c')
-rw-r--r--src/bookmarks/ephy-new-bookmark.c11
1 files changed, 4 insertions, 7 deletions
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;