aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--lib/ephy-dialog.c9
-rw-r--r--lib/ephy-dialog.h2
3 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ee3519b99..b9089c0ad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2004-01-18 Christian Persch <chpe@cvs.gnome.org>
+ * lib/ephy-dialog.c: (ephy_dialog_hide):
+ * lib/ephy-dialog.h:
+
+ Introduce ephy_dialog_hide().
+
+2004-01-18 Christian Persch <chpe@cvs.gnome.org>
+
* embed/mozilla/mozilla-embed.cpp:
We need to use do_QueryInterface to get from the
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c
index 60a8d3fa0..ae2f8598c 100644
--- a/lib/ephy-dialog.c
+++ b/lib/ephy-dialog.c
@@ -1152,6 +1152,15 @@ ephy_dialog_show (EphyDialog *dialog)
klass->show (dialog);
}
+void
+ephy_dialog_hide (EphyDialog *dialog)
+{
+ g_return_if_fail (EPHY_IS_DIALOG (dialog));
+ g_return_if_fail (dialog->priv->dialog != NULL);
+
+ gtk_widget_hide (dialog->priv->dialog);
+}
+
#if 0
static void
run_response_cb (GtkWidget *dialog,
diff --git a/lib/ephy-dialog.h b/lib/ephy-dialog.h
index 40c88f57c..2a956464d 100644
--- a/lib/ephy-dialog.h
+++ b/lib/ephy-dialog.h
@@ -106,6 +106,8 @@ int ephy_dialog_run (EphyDialog *dialog);
void ephy_dialog_show (EphyDialog *dialog);
+void ephy_dialog_hide (EphyDialog *dialog);
+
void ephy_dialog_set_modal (EphyDialog *dialog,
gboolean is_modal);