OK, it wasn't working because AbiWord only expected "TEXT" target
whereas gnome-terminal only sets "STRING" target. This simple patch
will do the trick.

bye,
-- 
Petr Tesarik
Tel: +420 602 575294            http://www.lupa.cz/
*** abi/src/wp/ap/unix/ap_UnixApp.cpp.orig      Tue May 16 16:37:40 2000
--- abi/src/wp/ap/unix/ap_UnixApp.cpp   Tue May 16 16:41:25 2000
***************
*** 347,350 ****
--- 347,351 ----
        static const char * aszFormatsAccepted[] = { AP_CLIPBOARD_RTF,
                                                                                       
          AP_CLIPBOARD_TEXTPLAIN_8BIT,
+                                                                                      
+          AP_CLIPBOARD_STRING,
                                                                                       
          0 /* must be last */ };
  
***************
*** 384,388 ****
        }
  
!       if (UT_stricmp(szFormatFound,AP_CLIPBOARD_TEXTPLAIN_8BIT) == 0)
        {
                iLen = MyMin(iLen,strlen((const char *)pData));
--- 385,390 ----
        }
  
!       if (   (UT_stricmp(szFormatFound,AP_CLIPBOARD_TEXTPLAIN_8BIT) == 0)
!           || (UT_stricmp(szFormatFound,AP_CLIPBOARD_STRING) == 0))
        {
                iLen = MyMin(iLen,strlen((const char *)pData));

Reply via email to