From 706e1c3027569507e420733ef9c46f793613e301 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Tue, 23 Sep 2014 08:11:25 +0200 Subject: [PATCH] New skin solarized, incomplete so far. --- resources/skins/base/solarized.xml | 12 ++++++++++++ src/network-web/webview.cpp | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 resources/skins/base/solarized.xml diff --git a/resources/skins/base/solarized.xml b/resources/skins/base/solarized.xml new file mode 100644 index 000000000..7da93068a --- /dev/null +++ b/resources/skins/base/solarized.xml @@ -0,0 +1,12 @@ + + + solarized + + Martin Rotter + rotter.martinos@gmail.com + + + PGh0bWw+DQogIDxoZWFkPg0KICAgIDxzdHlsZT4gICANCiAgICAgIGJvZHkgeyAgDQogICAgICAgIG1hcmdpbjogMHB4Ow0KICAgICAgICBwYWRkaW5nOiAwcHg7DQogICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNmZGY2ZTM7DQogICAgICB9DQogICAgDQogICAgICBwcmUgew0KICAgICAgICB3aGl0ZS1zcGFjZTogcHJlLXdyYXA7DQogICAgICB9DQogICAgICANCiAgICAgIC5jb250YWluZXIgew0KICAgICAgICBmb250LWZhbWlseTogIlRyZWJ1Y2hldCBNUyIsIEhlbHZldGljYSwgc2Fucy1zZXJpZjsNCiAgICAgICAgY29sb3I6ICM2NTdiODM7DQogICAgICB9DQoNCiAgICAgIC5oZWFkZXJ0ZXh0IHsNCiAgICAgICAgZm9udC1zaXplOiAyMHB4Ow0KICAgICAgfQ0KDQogICAgICAuaGVhZGVyIHsNCiAgICAgICAgYm9yZGVyOiAwLjVweCBzb2xpZCBibGFjazsNCiAgICAgICAgZm9udC1zaXplOiAxNnB4Ow0KICAgICAgICBwYWRkaW5nOiA2cHg7DQogICAgICB9DQoNCiAgICAgIGEsIGE6YWN0aXZlLCBhOnZpc2l0ZWQgew0KICAgICAgICBjb2xvcjogIzI2OGJkMjsNCiAgICAgICAgd29yZC13cmFwOiBicmVhay13b3JkOw0KICAgICAgfQ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Vzc2VkIHsNCiAgYm9yZGVyOiAxcHggc29saWQgIzM0YWEzNDsNCiAgYm9yZGVyLWJvdHRvbTogbm9uZTsNCiAgYmFja2dyb3VuZDogcWxpbmVhcmdyYWRpZW50KHgxOjAsIHkxOjAsIHgyOjAsIHkyOjEsIHN0b3A6MCAjN2FjYzdhLCBzdG9wOjAuNCAjNzBjODcwLCBzdG9wOjAuNSAjNjBjNDYwLCBzdG9wOjEgIzdhY2M3YSk7DQogIGNvbG9yOiB3aGl0ZTsNCn0= + \ No newline at end of file diff --git a/src/network-web/webview.cpp b/src/network-web/webview.cpp index 87df4e716..36d775c82 100755 --- a/src/network-web/webview.cpp +++ b/src/network-web/webview.cpp @@ -161,7 +161,7 @@ void WebView::displayErrorPage() { "
  • target destination outage,
  • " "
  • many other things.
  • " ""), - QDateTime::currentDateTime().toString(Qt::DefaultLocaleLongDate)))); + QDateTime::currentDateTime().toString(Qt::DefaultLocaleShortDate)))); } void WebView::popupContextMenu(const QPoint &pos) {