[Xfce4-commits] [panel-plugins/xfce4-clipman-plugin] 17/37: Ignore non-text clipboard history items
noreply at xfce.org
noreply at xfce.org
Mon Mar 23 23:30:12 CET 2020
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository panel-plugins/xfce4-clipman-plugin.
commit 64cf7643c26c7f14547225e2e16b3ff8d57b852d
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Fri Mar 20 17:28:53 2020 +0100
Ignore non-text clipboard history items
---
panel-plugin/xfce4-clipman-history.c | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/panel-plugin/xfce4-clipman-history.c b/panel-plugin/xfce4-clipman-history.c
index 344df47..84d7c6d 100644
--- a/panel-plugin/xfce4-clipman-history.c
+++ b/panel-plugin/xfce4-clipman-history.c
@@ -240,21 +240,10 @@ clipman_history_treeview_init (MyPlugin *plugin)
-1);
break;
- case CLIPMAN_HISTORY_TYPE_IMAGE:
- G_GNUC_BEGIN_IGNORE_DEPRECATIONS
- // mi = gtk_image_menu_item_new ();
- // image = gtk_image_new_from_pixbuf (item->preview.image);
- // gtk_container_add (GTK_CONTAINER (mi), image);
- G_GNUC_END_IGNORE_DEPRECATIONS
- break;
-
default:
- DBG("Ignoring unknown history type %d", item->type);
+ DBG("Ignoring non-text history type %d", item->type);
continue;
}
-
- // g_signal_connect (mi, "activate", G_CALLBACK (cb_set_clipboard), item);
- // g_object_set_data (G_OBJECT (mi), "paste-on-activate", GUINT_TO_POINTER (menu->priv->paste_on_activate));
}
g_slist_free (list);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list