Changelog for Openbox:
+2.2.3:
+ * Fix compile errors when the strftime funtion is not (Ben Jansens)
+ found on the system.
+
2.2.2:
* Add an option to disable the window raise on (Scott Moynes)
mouse clicks with the modifierMask.
void BScreen::saveDateFormat(int f) {
resource.date_format = f;
config->setValue(screenstr + "dateFormat",
- resource.date_format == B_EuropeanDate ?
+ resource.date_format == Blackbox::B_EuropeanDate ?
"European" : "American");
}
saveStrftimeFormat(resource.strftime_format);
#else // !HAVE_STRFTIME
saveDateFormat(resource.date_format);
- savwClock24Hour(resource.clock24hour);
+ saveClock24Hour(resource.clock24hour);
#endif // HAVE_STRFTIME
savePlaceIgnoreShaded(resource.ignore_shaded);
savePlaceIgnoreMaximized(resource.ignore_maximized);
long l;
if (config->getValue(screenstr + "dateFormat", s) && s == "European")
- resource.date_format = B_EuropeanDate;
+ resource.date_format = Blackbox::B_EuropeanDate;
else
- resource.date_format = B_AmericanDate;
+ resource.date_format = Blackbox::B_AmericanDate;
if (! config->getValue(screenstr + "clockFormat", l))
l = 12;
if (date) {
// format the date... with special consideration for y2k ;)
if (screen->getDateFormat() == Blackbox::B_EuropeanDate)
- sprintf(t, 18n(ToolbarSet, ToolbarNoStrftimeDateFormatEu,
+ sprintf(t, i18n(ToolbarSet, ToolbarNoStrftimeDateFormatEu,
"%02d.%02d.%02d"),
tt->tm_mday, tt->tm_mon + 1,
(tt->tm_year >= 100) ? tt->tm_year - 100 : tt->tm_year);