mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Accept drops with the wrong format, since the KDE color chooser
2003-08-02 Matthias Clasen <maclas@gmx.de> * gtk/gtkcolorsel.c (color_sample_drop_handle) (palette_drop_handle): * gtk/gtkcolorbutton.c (gtk_color_button_drag_data_received): Accept drops with the wrong format, since the KDE color chooser incorrectly drops application/x-color with format 8.
This commit is contained in:
parent
3dc24f5893
commit
3d4c726c48
@ -1,3 +1,11 @@
|
||||
2003-08-02 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcolorsel.c (color_sample_drop_handle)
|
||||
(palette_drop_handle):
|
||||
* gtk/gtkcolorbutton.c (gtk_color_button_drag_data_received): Accept drops with the
|
||||
wrong format, since the KDE color chooser incorrectly drops application/x-color with
|
||||
format 8.
|
||||
|
||||
2003-08-02 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
Fix gdk/win32 window geometry handling again. The window position
|
||||
|
@ -1,3 +1,11 @@
|
||||
2003-08-02 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcolorsel.c (color_sample_drop_handle)
|
||||
(palette_drop_handle):
|
||||
* gtk/gtkcolorbutton.c (gtk_color_button_drag_data_received): Accept drops with the
|
||||
wrong format, since the KDE color chooser incorrectly drops application/x-color with
|
||||
format 8.
|
||||
|
||||
2003-08-02 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
Fix gdk/win32 window geometry handling again. The window position
|
||||
|
@ -1,3 +1,11 @@
|
||||
2003-08-02 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcolorsel.c (color_sample_drop_handle)
|
||||
(palette_drop_handle):
|
||||
* gtk/gtkcolorbutton.c (gtk_color_button_drag_data_received): Accept drops with the
|
||||
wrong format, since the KDE color chooser incorrectly drops application/x-color with
|
||||
format 8.
|
||||
|
||||
2003-08-02 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
Fix gdk/win32 window geometry handling again. The window position
|
||||
|
@ -1,3 +1,11 @@
|
||||
2003-08-02 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcolorsel.c (color_sample_drop_handle)
|
||||
(palette_drop_handle):
|
||||
* gtk/gtkcolorbutton.c (gtk_color_button_drag_data_received): Accept drops with the
|
||||
wrong format, since the KDE color chooser incorrectly drops application/x-color with
|
||||
format 8.
|
||||
|
||||
2003-08-02 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
Fix gdk/win32 window geometry handling again. The window position
|
||||
|
@ -1,3 +1,11 @@
|
||||
2003-08-02 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcolorsel.c (color_sample_drop_handle)
|
||||
(palette_drop_handle):
|
||||
* gtk/gtkcolorbutton.c (gtk_color_button_drag_data_received): Accept drops with the
|
||||
wrong format, since the KDE color chooser incorrectly drops application/x-color with
|
||||
format 8.
|
||||
|
||||
2003-08-02 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
Fix gdk/win32 window geometry handling again. The window position
|
||||
|
@ -455,8 +455,10 @@ gtk_color_button_drag_data_received (GtkWidget *widget,
|
||||
if (selection_data->length < 0)
|
||||
return;
|
||||
|
||||
if ((selection_data->format != 16) ||
|
||||
(selection_data->length != 8))
|
||||
/* We accept drops with the wrong format, since the KDE color
|
||||
* chooser incorrectly drops application/x-color with format 8.
|
||||
*/
|
||||
if (selection_data->length != 8)
|
||||
{
|
||||
g_warning (_("Received invalid color data\n"));
|
||||
return;
|
||||
|
@ -313,8 +313,10 @@ color_sample_drop_handle (GtkWidget *widget,
|
||||
if (selection_data->length < 0)
|
||||
return;
|
||||
|
||||
if ((selection_data->format != 16) ||
|
||||
(selection_data->length != 8))
|
||||
/* We accept drops with the wrong format, since the KDE color
|
||||
* chooser incorrectly drops application/x-color with format 8.
|
||||
*/
|
||||
if (selection_data->length != 8)
|
||||
{
|
||||
g_warning ("Received invalid color data\n");
|
||||
return;
|
||||
@ -1022,8 +1024,10 @@ palette_drop_handle (GtkWidget *widget,
|
||||
if (selection_data->length < 0)
|
||||
return;
|
||||
|
||||
if ((selection_data->format != 16) ||
|
||||
(selection_data->length != 8))
|
||||
/* We accept drops with the wrong format, since the KDE color
|
||||
* chooser incorrectly drops application/x-color with format 8.
|
||||
*/
|
||||
if (selection_data->length != 8)
|
||||
{
|
||||
g_warning ("Received invalid color data\n");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user