From 9e73b40c1c5d4c65933bf8affb40066196a45db9 Mon Sep 17 00:00:00 2001 From: David Bordoley Date: Mon, 14 Apr 2003 19:12:25 +0000 Subject: Added some help buttons to the new bookmark, and properties dialogs. 2003-04-14 David Bordoley * 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. --- src/bookmarks/ephy-bookmark-properties.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/bookmarks/ephy-bookmark-properties.c') diff --git a/src/bookmarks/ephy-bookmark-properties.c b/src/bookmarks/ephy-bookmark-properties.c index 0d1cb0c94..7d9d8c2be 100644 --- a/src/bookmarks/ephy-bookmark-properties.c +++ b/src/bookmarks/ephy-bookmark-properties.c @@ -190,6 +190,12 @@ 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, @@ -197,6 +203,9 @@ bookmark_properties_response_cb (GtkDialog *dialog, { switch (response_id) { + case GTK_RESPONSE_HELP: + ephy_bookmark_properties_help (); + break; case GTK_RESPONSE_CLOSE: gtk_widget_destroy (GTK_WIDGET (dialog)); break; @@ -369,7 +378,9 @@ build_ui (EphyBookmarkProperties *editor) gtk_box_pack_start (GTK_BOX (GTK_DIALOG (editor)->vbox), table, 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_CLOSE, GTK_RESPONSE_CLOSE); -- cgit v1.2.3