aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-state.h
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-22 17:32:07 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-22 17:32:07 +0800
commit393c76d574626ca402bc86057bea66a0130e2a72 (patch)
treeacbb863a2324ea9f03877dfc57e73d75a10d27ca /lib/ephy-state.h
parent1b0ed8d6983398861ecef0971f0131661d0ccef1 (diff)
downloadgsoc2013-epiphany-393c76d574626ca402bc86057bea66a0130e2a72.tar
gsoc2013-epiphany-393c76d574626ca402bc86057bea66a0130e2a72.tar.gz
gsoc2013-epiphany-393c76d574626ca402bc86057bea66a0130e2a72.tar.bz2
gsoc2013-epiphany-393c76d574626ca402bc86057bea66a0130e2a72.tar.lz
gsoc2013-epiphany-393c76d574626ca402bc86057bea66a0130e2a72.tar.xz
gsoc2013-epiphany-393c76d574626ca402bc86057bea66a0130e2a72.tar.zst
gsoc2013-epiphany-393c76d574626ca402bc86057bea66a0130e2a72.zip
When following SAVE_POSITION/SAVE_SIZE flags actually not save them
2003-06-22 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-state.c: (ephy_state_window_set_size), (ephy_state_window_set_position), (ephy_state_window_save_size), (ephy_state_window_save_position), (ephy_state_window_save), (window_configure_event_cb), (window_state_event_cb), (ephy_state_add_window): When following SAVE_POSITION/SAVE_SIZE flags actually not save them instead of just not restore. Do not use coords value to determine unset state but a boolean flag. (this will restore all saved states to NULL now) * lib/ephy-state.h: Add a NONE flag, it will restore but not save. * src/ephy-tab.c: (ephy_tab_set_title): Fix a warning when the url is NULL (popups) * src/ephy-window.c: (ephy_window_init), (ephy_window_show): Use normal size for not sized popups.
Diffstat (limited to 'lib/ephy-state.h')
-rw-r--r--lib/ephy-state.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ephy-state.h b/lib/ephy-state.h
index 0604ea0d5..55cd4fa5a 100644
--- a/lib/ephy-state.h
+++ b/lib/ephy-state.h
@@ -28,10 +28,11 @@ G_BEGIN_DECLS
typedef enum
{
+ EPHY_STATE_WINDOW_SAVE_NONE = 0,
EPHY_STATE_WINDOW_SAVE_SIZE = 1 << 0,
EPHY_STATE_WINDOW_SAVE_POSITION = 1 << 1
} EphyStateWindowFlags;
-
+
void ephy_state_add_window (GtkWidget *window,
const char *name,
int default_width,