I wonder how many other gtk application use this technique to figure out whether to enable the 'Paste' menu On Mon, Mar 17, 2008 at 12:16 PM, Colin Walters <walters@xxxxxxxxxx> wrote: > > On Mon, 2008-03-17 at 12:04 -0500, Xavier Toth wrote: > > This patch replaces the use of gtk_clipboard_request_text with > > gtk_clipboard_wait_is_text_available when > > the 'Edit' menu is selected. gtk_clipboard_wait_is_text_available will > > be a little faster as it doesn't retreive > > the text and selection or clipbord managers will only receive one > > selection-request-event for the data when > > the 'Paste' occurs if it ever does. Without this change > > selection-request-event listeners like selection or > > clipboard managers receive two selection-request-event one when the > > 'Edit' menu is selected and the other > > when 'Paste' is selected and there is no way to differentiate them. > > Hi, > > Thanks for the patch! The best place for this is: > http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-terminal > > > -- > fedora-devel-list mailing list > fedora-devel-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/fedora-devel-list > -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list