aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog10
-rw-r--r--src/bookmarks/ephy-bookmark-properties.c13
-rw-r--r--src/bookmarks/ephy-new-bookmark.c13
3 files changed, 34 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ec834ec5..153eff7d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+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.
+
2003-04-14 Marco Pesenti Gritti <marco@it.gnome.org>
* configure.in:
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
@@ -191,12 +191,21 @@ 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)
{
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);
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);