diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2009-03-05 08:11:54 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2009-03-05 08:11:54 +0000 |
| commit | 31c5e23a0b6c91c2765b9e111c29c6debf86004a (patch) | |
| tree | 912bfd7c32a1556fca7f6f73cb1bff747b96a994 /src/interface.cpp | |
| parent | Control when shift affects moving of handles. Applies patch from bug #245698. (diff) | |
| download | inkscape-31c5e23a0b6c91c2765b9e111c29c6debf86004a.tar.gz inkscape-31c5e23a0b6c91c2765b9e111c29c6debf86004a.zip | |
Adding clear-color swatch to complement no-color.
(bzr r7422)
Diffstat (limited to 'src/interface.cpp')
| -rw-r--r-- | src/interface.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/interface.cpp b/src/interface.cpp index e7a3d6f28..f03df2917 100644 --- a/src/interface.cpp +++ b/src/interface.cpp @@ -77,7 +77,8 @@ typedef enum { IMAGE_DATA, APP_X_INKY_COLOR, APP_X_COLOR, - APP_X_NOCOLOR + APP_X_NOCOLOR, + APP_X_XCOLOR } ui_drop_target_info; static GtkTargetEntry ui_drop_target_entries [] = { @@ -90,6 +91,7 @@ static GtkTargetEntry ui_drop_target_entries [] = { {(gchar *)"application/x-inkscape-color", 0, APP_X_INKY_COLOR}, #endif // ENABLE_MAGIC_COLORS {(gchar *)"application/x-inkscape-nocolor", 0, APP_X_NOCOLOR }, + {(gchar *)"application/x-inkscape-xcolor", 0, APP_X_XCOLOR }, {(gchar *)"application/x-color", 0, APP_X_COLOR } }; @@ -1236,6 +1238,7 @@ sp_ui_drag_data_received(GtkWidget *widget, break; case APP_X_NOCOLOR: + case APP_X_XCOLOR: { gchar* c = g_strdup("none"); // temp int destX = 0; |
