[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-575-g2bba4ee
iwkse at claws-mail.org
iwkse at claws-mail.org
Thu Jan 10 22:53:45 CET 2019
The branch, gtk3 has been updated
via 2bba4ee1365d331d6b999188599f3c01d27a5480 (commit)
from 3c65d2af1bbe2d89683c6a620601d2392d604457 (commit)
Summary of changes:
src/plugins/fancy/fancy_viewer.c | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
- Log -----------------------------------------------------------------
commit 2bba4ee1365d331d6b999188599f3c01d27a5480
Author: iwkse <iwkse at claws-mail.org>
Date: Thu Jan 10 22:53:15 2019 +0100
Fix plugin type, thanks to Ticho
diff --git a/src/plugins/fancy/fancy_viewer.c b/src/plugins/fancy/fancy_viewer.c
index f3a6ede..74dbdf7 100644
--- a/src/plugins/fancy/fancy_viewer.c
+++ b/src/plugins/fancy/fancy_viewer.c
@@ -839,19 +839,20 @@ static gboolean context_menu_cb (WebKitWebView *view, WebKitContextMenu *menu,
link_uri = webkit_hit_test_result_get_link_uri(hit_test_result);
- debug_print("context %d, link-uri '%s'\n", context,
- (link_uri != NULL ? link_uri : "(null)"));
+// debug_print("context %d, link-uri '%s'\n", context,
+// (link_uri != NULL ? link_uri : "(null)"));
if (context & WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK &&
link_uri != NULL) {
- if (viewer != NULL || viewer->cur_link != NULL)
+ if (viewer != NULL && viewer->cur_link != NULL) {
g_free(viewer->cur_link);
- /* g_object_get() already made a copy, no need to strdup() here */
- viewer->cur_link = link_uri;
+ /* g_object_get() already made a copy, no need to strdup() here */
+ viewer->cur_link = link_uri;
+ }
}
- gtk_container_foreach(GTK_CONTAINER(menu),
+/* gtk_container_foreach(GTK_CONTAINER(menu),
(GtkCallback)viewer_menu_handler,
- viewer);
+ viewer);*/
if (plugin) {
GtkWidget *rssyl = gtk_image_menu_item_new_with_label(_("Import feed"));
@@ -1185,7 +1186,7 @@ const gchar *plugin_desc(void)
const gchar *plugin_type(void)
{
- return "GTK3";
+ return "GTK2";
}
const gchar *plugin_licence(void)
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list