XSelectInput (server.dsp, server.root_win, PropertyChangeMask|StructureNotifyMask);
setlocale (LC_ALL, "");
+ // config file use '.' as decimal separator
+ setlocale(LC_NUMERIC, "POSIX");
// load default icon
gchar *path;
#include "common.h"
#include "theme_view.h"
+#define SNAPSHOT_TICK 190
// default config file and directory
selectTheme(name_first);
g_free(name_first);
- g_timeout_add(100, (GSourceFunc)update_snapshot, NULL);
+ g_timeout_add(SNAPSHOT_TICK, (GSourceFunc)update_snapshot, NULL);
}
gtk_list_store_set(g_store, &iter, COL_SNAPSHOT, NULL, -1);
}
- g_timeout_add(100, (GSourceFunc)update_snapshot, NULL);
+ g_timeout_add(SNAPSHOT_TICK, (GSourceFunc)update_snapshot, NULL);
}
have_iter = gtk_tree_model_iter_next(model, &iter);
}
- g_timeout_add(100, (GSourceFunc)update_snapshot, NULL);
+ g_timeout_add(SNAPSHOT_TICK, (GSourceFunc)update_snapshot, NULL);
}
selectTheme(g_default_theme);
- g_timeout_add(100, (GSourceFunc)update_snapshot, NULL);
+ g_timeout_add(SNAPSHOT_TICK, (GSourceFunc)update_snapshot, NULL);
}