summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 51295c6)
raw | patch | inline | side by side (parent: 51295c6)
author | verbalshadow <verbalshadow@users.sourceforge.net> | |
Fri, 28 Apr 2006 03:57:58 +0000 (03:57 +0000) | ||
committer | verbalshadow <verbalshadow@users.sourceforge.net> | |
Fri, 28 Apr 2006 03:57:58 +0000 (03:57 +0000) |
src/dialogs/swatches.cpp | patch | blob | history |
index 4338b42520a21ae05bd398f9774be6e5781e5e26..5af23f95eecd302a420ab460241665a6a5df6807 100644 (file)
--- a/src/dialogs/swatches.cpp
+++ b/src/dialogs/swatches.cpp
std::list<gchar *> sources;
sources.push_back( profile_path("palettes") );
sources.push_back( g_strdup(INKSCAPE_PALETTESDIR) );
+ sources.push_back( g_strdup(CREATE_PALETTESDIR) );
// Use this loop to iterate through a list of possible document locations.
while (!sources.empty()) {
gchar *filename = 0;
while ((filename = (gchar *)g_dir_read_name(directory)) != NULL) {
gchar* lower = g_ascii_strdown( filename, -1 );
- if ( g_str_has_suffix(lower, ".gpl") ) {
+// if ( g_str_has_suffix(lower, ".gpl") ) {
gchar* full = g_build_filename(dirname, filename, NULL);
if ( !Inkscape::IO::file_test( full, (GFileTest)(G_FILE_TEST_IS_DIR ) ) ) {
_loadPaletteFile(full);
}
g_free(full);
- }
+// }
g_free(lower);
}
g_dir_close(directory);