diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-03-19 03:13:23 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-03-19 03:13:23 +0800 |
commit | d012141a9d6dc6e0b374b4e992e18239b21501dd (patch) | |
tree | 430ad3fc3ab6fdda82d91afe2acaadc081ac8c1a /lib/ephy-state.h | |
parent | d248386941ce108b1e99d1a553682d5af791a628 (diff) | |
download | gsoc2013-epiphany-d012141a9d6dc6e0b374b4e992e18239b21501dd.tar gsoc2013-epiphany-d012141a9d6dc6e0b374b4e992e18239b21501dd.tar.gz gsoc2013-epiphany-d012141a9d6dc6e0b374b4e992e18239b21501dd.tar.bz2 gsoc2013-epiphany-d012141a9d6dc6e0b374b4e992e18239b21501dd.tar.lz gsoc2013-epiphany-d012141a9d6dc6e0b374b4e992e18239b21501dd.tar.xz gsoc2013-epiphany-d012141a9d6dc6e0b374b4e992e18239b21501dd.tar.zst gsoc2013-epiphany-d012141a9d6dc6e0b374b4e992e18239b21501dd.zip |
Reimplement ephystate using xml and make it easier to use. -> remove some
2003-03-18 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/ephy-dialog.c: (setup_default_size):
* lib/ephy-state.c: (ephy_states_load), (ephy_states_save),
(find_by_name), (ensure_states), (ephy_state_window_set_size),
(ephy_state_window_save_size), (window_configure_event_cb),
(window_state_event_cb), (ephy_state_add_window),
(ephy_state_save):
* lib/ephy-state.h:
* lib/ephy-types.h:
* src/ephy-shell.c: (ephy_shell_finalize):
* src/ephy-window.c: (setup_window), (ephy_window_init),
(ephy_window_show):
* src/prefs-dialog.c: (prefs_dialog_init):
Reimplement ephystate using xml and make it easier to use.
-> remove some duplicate code
Diffstat (limited to 'lib/ephy-state.h')
-rw-r--r-- | lib/ephy-state.h | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/lib/ephy-state.h b/lib/ephy-state.h index 508e986be..7e05e6106 100644 --- a/lib/ephy-state.h +++ b/lib/ephy-state.h @@ -1,6 +1,7 @@ /* * Copyright (C) 2001 Matthew Mueller * (C) 2002 Jorn Baayen <jorn@nl.linux.org> + * (C) 2003 Marco Pesenti Gritti <mpeseng@tin.it> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -15,29 +16,22 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ + * */ #ifndef EPHY_STATE_H #define EPHY_STATE_H -G_BEGIN_DECLS +#include "gtk/gtkwidget.h" -void ephy_state_save_window (GtkWidget *window, - const gchar *name); +G_BEGIN_DECLS -void ephy_state_load_window (GtkWidget *window, - const gchar *name, +void ephy_state_add_window (GtkWidget *window, + const char *name, int default_width, - int default_heigth, - gboolean position); - -void ephy_state_save_pane_pos (GtkWidget *pane, - const gchar *name); + int default_heigth); -void ephy_state_load_pane_pos (GtkWidget *pane, - const gchar *name); +void ephy_state_save (void); G_END_DECLS |