]> Dogcows Code - chaz/tint2/blobdiff - src/tint.c
battery patch for Openbsd by vext01
[chaz/tint2] / src / tint.c
index ed65fa183c34536407a64cd65a6ddc4087ccddbb..7388035bdb41169907abf8d2b1e12fd495fac2ef 100644 (file)
@@ -59,7 +59,9 @@ void init (int argc, char *argv[])
        default_timeout();
        default_systray();
        memset(&server, 0, sizeof(Server_global));
+#ifdef ENABLE_BATTERY
        default_battery();
+#endif
        default_clock();
        default_taskbar();
        default_tooltip();
@@ -128,6 +130,8 @@ void init_X11()
        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;
This page took 0.022153 seconds and 4 git commands to generate.