[epiphany/gnome-3-22] web-overview: Properly show new overview item after removing one
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-3-22] web-overview: Properly show new overview item after removing one
- Date: Sun, 4 Dec 2016 19:56:48 +0000 (UTC)
commit 8b3001c9a6d6948d44081c1eacd6a9cc3a3dd58c
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Dec 4 13:46:23 2016 -0600
web-overview: Properly show new overview item after removing one
This has been broken since I got rid of the list that was previously
used to hold overview items. The style class now lives on the anchor
itself and not its parent element.
https://bugzilla.gnome.org/show_bug.cgi?id=775604
embed/web-extension/ephy-web-overview.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/embed/web-extension/ephy-web-overview.c b/embed/web-extension/ephy-web-overview.c
index dec04fb..a0b033f 100644
--- a/embed/web-extension/ephy-web-overview.c
+++ b/embed/web-extension/ephy-web-overview.c
@@ -310,7 +310,7 @@ ephy_web_overview_model_urls_changed (EphyWebOverviewModel *model,
g_free (item->url);
item->url = g_strdup (url->url);
- class_list = webkit_dom_element_get_class_list (webkit_dom_node_get_parent_element (WEBKIT_DOM_NODE
(item->anchor)));
+ class_list = webkit_dom_element_get_class_list (item->anchor);
if (class_list && webkit_dom_dom_token_list_contains (class_list, "overview-removed"))
webkit_dom_dom_token_list_remove (class_list, NULL, "overview-removed", NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]