[epiphany] Do not save state for popup windows
- From: Gustavo Noronha Silva <gns src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Do not save state for popup windows
- Date: Sun, 17 Apr 2011 18:02:54 +0000 (UTC)
commit 9d106fb898a71bca2d0aa9233b72a6423627942e
Author: Gustavo Noronha Silva <gns gnome org>
Date: Sat Apr 16 17:02:19 2011 -0300
Do not save state for popup windows
Bug #580951
src/ephy-window.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 2d10dbe..4a874ce 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -3925,8 +3925,12 @@ ephy_window_show (GtkWidget *widget)
ephy_tab_get_size (embed, &width, &height);
if (width == -1 && height == -1)
{
+ int flags = 0;
+ if (!priv->is_popup)
+ flags = EPHY_STATE_WINDOW_SAVE_SIZE;
+
ephy_state_add_window (widget, "main_window", 600, 500,
- TRUE, EPHY_STATE_WINDOW_SAVE_SIZE);
+ TRUE, flags);
}
priv->has_size = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]