summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c5c34f4)
raw | patch | inline | side by side (parent: c5c34f4)
author | joncruz <joncruz@users.sourceforge.net> | |
Tue, 23 May 2006 16:39:31 +0000 (16:39 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Tue, 23 May 2006 16:39:31 +0000 (16:39 +0000) |
configure.ac | patch | blob | history | |
src/dialogs/swatches.cpp | patch | blob | history | |
src/interface.cpp | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index ac889fef3bc26e6a98f2a4081f37841e2ffbd6a5..0a5a6dffce34252ed4a217d2f8815255b969bd45 100644 (file)
--- a/configure.ac
+++ b/configure.ac
dnl ******************************
AC_ARG_ENABLE(lcms,
- AC_HELP_STRING([--enable-lcms], [enable LittleCms for color management (disabled by default)]),
- [enable_lcms=$enableval], [enable_lcms=no])
+ AC_HELP_STRING([--enable-lcms], [enable LittleCms for color management]),
+ [enable_lcms=$enableval], [enable_lcms=yes])
if test "x$enable_lcms" = "xno"; then
dnl Asked to ignore LittleCms
index dc9b6fdd6db8ec0f24441ad2e736055bd4acaa82..dc9de8d2b367e7ea2027ec8eb5d91a429aa3974e 100644 (file)
--- a/src/dialogs/swatches.cpp
+++ b/src/dialogs/swatches.cpp
} colorFlavorType;
static const GtkTargetEntry sourceColorEntries[] = {
-#if ENABLE_LCMS
+#if ENABLE_MAGIC_COLORS
// {"application/x-inkscape-color-id", GTK_TARGET_SAME_APP, APP_X_INKY_COLOR_ID},
{"application/x-inkscape-color", 0, APP_X_INKY_COLOR},
-#endif // ENABLE_LCMS
+#endif // ENABLE_MAGIC_COLORS
{"application/x-color", 0, APP_X_COLOR},
{"text/plain", 0, TEXT_DATA},
};
}
static const GtkTargetEntry destColorTargets[] = {
-#if ENABLE_LCMS
+#if ENABLE_MAGIC_COLORS
// {"application/x-inkscape-color-id", GTK_TARGET_SAME_APP, APP_X_INKY_COLOR_ID},
{"application/x-inkscape-color", 0, APP_X_INKY_COLOR},
-#endif // ENABLE_LCMS
+#endif // ENABLE_MAGIC_COLORS
{"application/x-color", 0, APP_X_COLOR},
};
} while ( result && !hasErr );
if ( !hasErr ) {
possible.push_back(onceMore);
+#if ENABLE_MAGIC_COLORS
ColorItem::_wireMagicColors( onceMore );
+#endif ENABLE_MAGIC_COLORS
} else {
delete onceMore;
}
diff --git a/src/interface.cpp b/src/interface.cpp
index c5d893edea08b2e5b55c72ccb6322a4f6b4340c1..959e231e2a52436c568da2765d89f3c0d4fce738 100644 (file)
--- a/src/interface.cpp
+++ b/src/interface.cpp
{"image/svg", 0, SVG_DATA},
{"image/png", 0, PNG_DATA},
{"image/jpeg", 0, JPEG_DATA},
-#if ENABLE_LCMS
+#if ENABLE_MAGIC_COLORS
{"application/x-inkscape-color", 0, APP_X_INKY_COLOR},
-#endif // ENABLE_LCMS
+#endif // ENABLE_MAGIC_COLORS
{"application/x-color", 0, APP_X_COLOR}
};
gpointer user_data)
{
switch (info) {
-#if ENABLE_LCMS
+#if ENABLE_MAGIC_COLORS
case APP_X_INKY_COLOR:
{
SPDesktop *desktop = SP_ACTIVE_DESKTOP;
}
}
break;
-#endif // ENABLE_LCMS
+#endif // ENABLE_MAGIC_COLORS
case APP_X_COLOR:
{