[epiphany] ephy-shell: pass active window to the about dialog
- From: Diego Escalante Urrelo <diegoe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-shell: pass active window to the about dialog
- Date: Thu, 19 Jan 2012 23:49:10 +0000 (UTC)
commit 1d566cf039d77514d57f458dbb5942199db4480e
Author: Diego Escalante Urrelo <descalante igalia com>
Date: Tue Jan 17 15:15:22 2012 -0500
ephy-shell: pass active window to the about dialog
So it can be modal.
https://bugzilla.gnome.org/show_bug.cgi?id=668113
src/ephy-shell.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 40d2f72..8a29994 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -225,7 +225,13 @@ show_about (GSimpleAction *action,
GVariant *parameter,
gpointer user_data)
{
- window_cmd_help_about (NULL, NULL);
+ EphySession *session;
+ EphyWindow *window;
+
+ session = EPHY_SESSION (ephy_shell_get_session (ephy_shell));
+ window = ephy_session_get_active_window (session);
+
+ window_cmd_help_about (NULL, GTK_WIDGET (window));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]