diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-01-23 21:53:00 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-01-23 21:53:00 +0800 |
commit | bcd2c87f376c7a7912e1cd28d980821f9903c155 (patch) | |
tree | 90ab5e9872f666905e05a4b356150aea22712f1e | |
parent | 3c7e9683462c1af47c215039250f739ab4d6fcc2 (diff) | |
download | gsoc2013-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-- | ChangeLog | 7 | ||||
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | lib/ephy-node.c | 5 |
3 files changed, 12 insertions, 2 deletions
@@ -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): @@ -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. */ |