diff options
author | Xan Lopez <xan@src.gnome.org> | 2003-05-14 02:25:21 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2003-05-14 02:25:21 +0800 |
commit | 72154773a5f2c7a7f880b908db7483934e213b6f (patch) | |
tree | 1a7e18f58b2029047c6ee67c770fef3d6d49befe /src | |
parent | 97b43a5ae57b98a94a2031db0a72d27515bc2cca (diff) | |
download | gsoc2013-epiphany-72154773a5f2c7a7f880b908db7483934e213b6f.tar gsoc2013-epiphany-72154773a5f2c7a7f880b908db7483934e213b6f.tar.gz gsoc2013-epiphany-72154773a5f2c7a7f880b908db7483934e213b6f.tar.bz2 gsoc2013-epiphany-72154773a5f2c7a7f880b908db7483934e213b6f.tar.lz gsoc2013-epiphany-72154773a5f2c7a7f880b908db7483934e213b6f.tar.xz gsoc2013-epiphany-72154773a5f2c7a7f880b908db7483934e213b6f.tar.zst gsoc2013-epiphany-72154773a5f2c7a7f880b908db7483934e213b6f.zip |
Fix the no_topics pointer writing, fixes adding bookmarks to Uncategorized
Fix the no_topics pointer writing, fixes adding bookmarks to
Uncategorized when they are removed from a topic and they still
are in other topics (Bad Marco).
Diffstat (limited to 'src')
-rw-r--r-- | src/bookmarks/ephy-bookmarks.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c index f4117dd9f..5bd807610 100644 --- a/src/bookmarks/ephy-bookmarks.c +++ b/src/bookmarks/ephy-bookmarks.c @@ -14,6 +14,8 @@ * 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$ */ #include "ephy-bookmarks.h" @@ -505,7 +507,7 @@ get_topics_list (EphyBookmarks *eb, kid = g_ptr_array_index (children, i); - if (kid != eb->priv->notcategorized && + if (kid != eb->priv->notcategorized && kid != eb->priv->favorites && kid != eb->priv->bookmarks && ephy_node_has_child (kid, bookmark)) @@ -514,7 +516,7 @@ get_topics_list (EphyBookmarks *eb, topic = ephy_node_get_property_string (kid, EPHY_NODE_KEYWORD_PROP_NAME); g_string_append (list, topic); - no_topics = FALSE; + *no_topics = FALSE; } } ephy_node_thaw (eb->priv->keywords); |