Re: [PATCH spice-gtk 01/16] spice-widget: Fix file drag-n-drop mime-type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ACK

On Fri, Mar 29, 2013 at 12:40:13PM +0100, Hans de Goede wrote:
> Currently the user can drag-drop text onto the widget, and it will try to
> open it as a file, not good, this fixes this.
> 
> Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>
> ---
>  gtk/spice-widget.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c
> index fb8094e..2dfd326 100644
> --- a/gtk/spice-widget.c
> +++ b/gtk/spice-widget.c
> @@ -536,7 +536,7 @@ static void spice_display_init(SpiceDisplay *display)
>  {
>      GtkWidget *widget = GTK_WIDGET(display);
>      SpiceDisplayPrivate *d;
> -    GtkTargetEntry targets = {"text/plain", 0, 0};
> +    GtkTargetEntry targets = { "text/uri-list", 0, 0 };
>  
>      d = display->priv = SPICE_DISPLAY_GET_PRIVATE(display);
>  
> -- 
> 1.8.1.4
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: pgpqjrUBAPDvK.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]