summaryrefslogtreecommitdiff
path: root/notificationswatchlet
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-01-03 19:04:30 +0100
committerJavier S. Pedro <maemo@javispedro.com>2012-01-03 19:04:30 +0100
commit989b0c15d56472dd430edb378315d5c40bc91d08 (patch)
tree2e3130e161ebd04f019e5b2515e47c619d28373e /notificationswatchlet
parent42877713055d098a259ac33f3278336610f22b9b (diff)
downloadsowatch-989b0c15d56472dd430edb378315d5c40bc91d08.tar.gz
sowatch-989b0c15d56472dd430edb378315d5c40bc91d08.zip
adding icons to mw watchlet titles
Diffstat (limited to 'notificationswatchlet')
-rw-r--r--notificationswatchlet/icon.pngbin0 -> 3241 bytes
-rw-r--r--notificationswatchlet/metawatch-digital.qml3
-rw-r--r--notificationswatchlet/notificationswatchlet.pro2
3 files changed, 3 insertions, 2 deletions
diff --git a/notificationswatchlet/icon.png b/notificationswatchlet/icon.png
new file mode 100644
index 0000000..ba4ba96
--- /dev/null
+++ b/notificationswatchlet/icon.png
Binary files differ
diff --git a/notificationswatchlet/metawatch-digital.qml b/notificationswatchlet/metawatch-digital.qml
index a298395..493cc96 100644
--- a/notificationswatchlet/metawatch-digital.qml
+++ b/notificationswatchlet/metawatch-digital.qml
@@ -9,10 +9,11 @@ Rectangle {
MWTitle {
id: title
- text: qsTr("Notifications")
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
+ text: qsTr("Notifications")
+ icon.source: "icon.png"
}
MWListView {
diff --git a/notificationswatchlet/notificationswatchlet.pro b/notificationswatchlet/notificationswatchlet.pro
index 865fa3b..eafd756 100644
--- a/notificationswatchlet/notificationswatchlet.pro
+++ b/notificationswatchlet/notificationswatchlet.pro
@@ -7,7 +7,7 @@ SOURCES += notificationswatchletplugin.cpp notificationswatchlet.cpp
HEADERS += notificationswatchletplugin.h notificationswatchlet.h
-qml_files.files = metawatch-digital.qml
+qml_files.files = metawatch-digital.qml icon.png
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../libsowatch/release/ -lsowatch
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../libsowatch/debug/ -lsowatch