aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-dialog.c9
-rw-r--r--lib/ephy-dialog.h2
2 files changed, 11 insertions, 0 deletions
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);