aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-new-bookmark.c
diff options
context:
space:
mode:
authorDavid Bordoley <bordoley@msu.edu>2003-04-15 03:12:25 +0800
committerDave Bordoley <Bordoley@src.gnome.org>2003-04-15 03:12:25 +0800
commit9e73b40c1c5d4c65933bf8affb40066196a45db9 (patch)
treee77408624f3e517a1119954c8fbedf098a26a9c4 /src/bookmarks/ephy-new-bookmark.c
parent1b233621840ce78f89ab5b91e67f8c9c8f6a09df (diff)
downloadgsoc2013-epiphany-9e73b40c1c5d4c65933bf8affb40066196a45db9.tar
gsoc2013-epiphany-9e73b40c1c5d4c65933bf8affb40066196a45db9.tar.gz
gsoc2013-epiphany-9e73b40c1c5d4c65933bf8affb40066196a45db9.tar.bz2
gsoc2013-epiphany-9e73b40c1c5d4c65933bf8affb40066196a45db9.tar.lz
gsoc2013-epiphany-9e73b40c1c5d4c65933bf8affb40066196a45db9.tar.xz
gsoc2013-epiphany-9e73b40c1c5d4c65933bf8affb40066196a45db9.tar.zst
gsoc2013-epiphany-9e73b40c1c5d4c65933bf8affb40066196a45db9.zip
Added some help buttons to the new bookmark, and properties dialogs.
2003-04-14 David Bordoley <bordoley@msu.edu> * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_help), (bookmark_properties_response_cb), (build_ui): * src/bookmarks/ephy-new-bookmark.c: (phy_new_bookmark_help), (ephy_new_bookmark_response_cb), (ephy_new_bookmark_construct): Added some help buttons to the new bookmark, and properties dialogs.
Diffstat (limited to 'src/bookmarks/ephy-new-bookmark.c')
-rw-r--r--src/bookmarks/ephy-new-bookmark.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/bookmarks/ephy-new-bookmark.c b/src/bookmarks/ephy-new-bookmark.c
index f133e167d..e3a50f3a5 100644
--- a/src/bookmarks/ephy-new-bookmark.c
+++ b/src/bookmarks/ephy-new-bookmark.c
@@ -144,6 +144,12 @@ 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;
@@ -177,6 +183,9 @@ ephy_new_bookmark_response_cb (GtkDialog *dialog,
{
switch (response_id)
{
+ case GTK_RESPONSE_HELP:
+ ephy_new_bookmark_help ();
+ break;
case GTK_RESPONSE_CANCEL:
break;
case GTK_RESPONSE_OK:
@@ -268,7 +277,9 @@ ephy_new_bookmark_construct (EphyNewBookmark *editor)
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (editor)->vbox),
build_editing_table (editor),
TRUE, TRUE, 0);
-
+ gtk_dialog_add_button (GTK_DIALOG (editor),
+ GTK_STOCK_HELP,
+ GTK_RESPONSE_HELP);
gtk_dialog_add_button (GTK_DIALOG (editor),
GTK_STOCK_CANCEL,
GTK_RESPONSE_CANCEL);