diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-06-23 07:03:43 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-06-23 07:03:43 +0800 |
commit | ca789c035a4c74bfaf25b52d8d73c4685d4eb91f (patch) | |
tree | c3b680c5f273a0e3d3475c0820ee33a971b79515 /lib/ephy-dialog.c | |
parent | 250fa48d8848faf5741544fe3e9a083119ba0309 (diff) | |
download | gsoc2013-epiphany-ca789c035a4c74bfaf25b52d8d73c4685d4eb91f.tar gsoc2013-epiphany-ca789c035a4c74bfaf25b52d8d73c4685d4eb91f.tar.gz gsoc2013-epiphany-ca789c035a4c74bfaf25b52d8d73c4685d4eb91f.tar.bz2 gsoc2013-epiphany-ca789c035a4c74bfaf25b52d8d73c4685d4eb91f.tar.lz gsoc2013-epiphany-ca789c035a4c74bfaf25b52d8d73c4685d4eb91f.tar.xz gsoc2013-epiphany-ca789c035a4c74bfaf25b52d8d73c4685d4eb91f.tar.zst gsoc2013-epiphany-ca789c035a4c74bfaf25b52d8d73c4685d4eb91f.zip |
Correct translations dir (leftover from galeon)
2003-06-23 Marco Pesenti Gritti <marco@it.gnome.org>
* configure.in:
Correct translations dir (leftover from galeon)
* embed/ephy-history.c:
Lower expire to 10 days, similar to phoenix. Current interface
and perf make this a better default.
* lib/ephy-dialog.c: (ephy_dialog_init), (setup_default_size):
Make sure to not state_add more than one time
* lib/widgets/ephy-location-entry.c: (insert_text_cb):
Do not show autocompletion on not focused window. This is to
work around problems with gnome-entry.
* src/ephy-window.c: (popup_menu_at_coords), (show_embed_popup),
(tab_context_menu_cb):
Do not use custom func to show mouse popups.
Fix costum func to be smarter with screen limits.
Diffstat (limited to 'lib/ephy-dialog.c')
-rw-r--r-- | lib/ephy-dialog.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c index 8b6baa2ca..2100eb1f6 100644 --- a/lib/ephy-dialog.c +++ b/lib/ephy-dialog.c @@ -105,6 +105,7 @@ struct EphyDialogPrivate GtkWidget *container; PropertyInfo *props; gboolean modal; + gboolean has_default_size; char *name; int spin_item_id; @@ -795,6 +796,7 @@ ephy_dialog_init (EphyDialog *dialog) dialog->priv->spin_timer = NULL; dialog->priv->name = NULL; dialog->priv->initialized = FALSE; + dialog->priv->has_default_size = FALSE; } static void @@ -1181,9 +1183,14 @@ impl_get_value (EphyDialog *dialog, static void setup_default_size (EphyDialog *dialog) { - ephy_state_add_window (dialog->priv->dialog, - dialog->priv->name, -1, -1, - EPHY_STATE_WINDOW_SAVE_SIZE); + if (!dialog->priv->has_default_size) + { + ephy_state_add_window (dialog->priv->dialog, + dialog->priv->name, -1, -1, + EPHY_STATE_WINDOW_SAVE_SIZE); + } + + dialog->priv->has_default_size = TRUE; } static gint |