[Goodies-commits] r7338 - in xfce4-clipman-plugin/trunk: . panel-plugin

Mike Massonnet mmassonnet at xfce.org
Fri May 15 08:50:58 CEST 2009


Author: mmassonnet
Date: 2009-05-15 06:50:58 +0000 (Fri, 15 May 2009)
New Revision: 7338

Modified:
   xfce4-clipman-plugin/trunk/ChangeLog
   xfce4-clipman-plugin/trunk/panel-plugin/collector.c
Log:
Do not consider text/html as text

Modified: xfce4-clipman-plugin/trunk/ChangeLog
===================================================================
--- xfce4-clipman-plugin/trunk/ChangeLog	2009-05-14 04:53:35 UTC (rev 7337)
+++ xfce4-clipman-plugin/trunk/ChangeLog	2009-05-15 06:50:58 UTC (rev 7338)
@@ -1,3 +1,9 @@
+2009-05-15	Mike Massonnet
+Do not consider text/html as text
+
+	- panel-plugin/collector.c(cb_clipboard_owner_change):
+		Drop check on text/html atom.
+
 2009-05-14	Mike Massonnet
 === Release 1.0.1 ===
 

Modified: xfce4-clipman-plugin/trunk/panel-plugin/collector.c
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/collector.c	2009-05-14 04:53:35 UTC (rev 7337)
+++ xfce4-clipman-plugin/trunk/panel-plugin/collector.c	2009-05-15 06:50:58 UTC (rev 7338)
@@ -123,11 +123,9 @@
           text = gtk_clipboard_wait_for_text (collector->priv->default_clipboard);
           if (text != NULL && text[0] != '\0')
             {
-              /* Make Clipman the owner only if it has the target text/plain or text/html */
+              /* Make Clipman the owner only if it has the target text/plain */
               text_plain = gdk_atom_intern_static_string ("text/plain");
-              text_html = gdk_atom_intern_static_string ("text/html");
-              if (gtk_clipboard_wait_is_target_available (collector->priv->default_clipboard, text_plain)
-                  || gtk_clipboard_wait_is_target_available (collector->priv->default_clipboard, text_html))
+              if (gtk_clipboard_wait_is_target_available (collector->priv->default_clipboard, text_plain))
                 {
                   collector->priv->internal_change = TRUE;
                   gtk_clipboard_set_text (collector->priv->default_clipboard, text, -1);




More information about the Goodies-commits mailing list