aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-01-23 21:53:00 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-01-23 21:53:00 +0800
commitbcd2c87f376c7a7912e1cd28d980821f9903c155 (patch)
tree90ab5e9872f666905e05a4b356150aea22712f1e
parent3c7e9683462c1af47c215039250f739ab4d6fcc2 (diff)
downloadgsoc2013-epiphany-bcd2c87f376c7a7912e1cd28d980821f9903c155.tar
gsoc2013-epiphany-bcd2c87f376c7a7912e1cd28d980821f9903c155.tar.gz
gsoc2013-epiphany-bcd2c87f376c7a7912e1cd28d980821f9903c155.tar.bz2
gsoc2013-epiphany-bcd2c87f376c7a7912e1cd28d980821f9903c155.tar.lz
gsoc2013-epiphany-bcd2c87f376c7a7912e1cd28d980821f9903c155.tar.xz
gsoc2013-epiphany-bcd2c87f376c7a7912e1cd28d980821f9903c155.tar.zst
gsoc2013-epiphany-bcd2c87f376c7a7912e1cd28d980821f9903c155.zip
Fix evil bug in id factory.
2003-01-23 Marco Pesenti Gritti <marco@it.gnome.org> * TODO: * lib/ephy-node.c: (id_factory_set_to): Fix evil bug in id factory.
-rw-r--r--ChangeLog7
-rw-r--r--TODO2
-rw-r--r--lib/ephy-node.c5
3 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 1eeffe617..a3e2dee6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,13 @@
2003-01-23 Marco Pesenti Gritti <marco@it.gnome.org>
* TODO:
+ * lib/ephy-node.c: (id_factory_set_to):
+
+ Fix evil bug in id factory.
+
+2003-01-23 Marco Pesenti Gritti <marco@it.gnome.org>
+
+ * TODO:
* data/ui/epiphany-ui.xml.in:
* embed/ephy-embed-utils.c:
(ephy_embed_utils_build_charsets_submenu):
diff --git a/TODO b/TODO
index 64aa3e8f3..f9b747e17 100644
--- a/TODO
+++ b/TODO
@@ -6,7 +6,6 @@ To do:
- save bookmarks dialog state (current keyword)
- show bookmarks updated content
- temporary bookmarks, maybe an expire checkbox in new bookmark dialog ?
-- history shows empty hosts sometimes !?
Egg problems:
- popups not working
@@ -30,3 +29,4 @@ Done:
* drop items from history when they are not visited since some time
* create print preview toolbar only when necessary
* titles in history for hosts too
+* history shows empty hosts sometimes !?
diff --git a/lib/ephy-node.c b/lib/ephy-node.c
index c9ee9aa76..19ca32a15 100644
--- a/lib/ephy-node.c
+++ b/lib/ephy-node.c
@@ -1418,7 +1418,10 @@ ephy_node_new_id (void)
static void
id_factory_set_to (gulong new_factory_pos)
{
- id_factory = new_factory_pos + 1;
+ if (new_factory_pos > id_factory)
+ {
+ id_factory = new_factory_pos + 1;
+ }
}
/* evillish hacks to temporarily readlock->writelock and v.v. */