From: adrianiainlam Date: Mon, 9 May 2016 14:57:31 +0000 (+0100) Subject: Move icon files to "icons" directory X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=9a229460a2e7d9aafa6b3147075231a47abdacd9;p=indicator-lunar-calendar.git Move icon files to "icons" directory --- diff --git "a/icons/\345\205\224.svg" "b/icons/\345\205\224.svg" new file mode 100644 index 0000000..f7846d3 --- /dev/null +++ "b/icons/\345\205\224.svg" @@ -0,0 +1,57 @@ + + + + + + image/svg+xml + + + + + + + + + + diff --git "a/icons/\347\211\233.svg" "b/icons/\347\211\233.svg" new file mode 100644 index 0000000..7822f51 --- /dev/null +++ "b/icons/\347\211\233.svg" @@ -0,0 +1,57 @@ + + + + + + image/svg+xml + + + + + + + + + + diff --git "a/icons/\347\213\227.svg" "b/icons/\347\213\227.svg" new file mode 100644 index 0000000..4d15922 --- /dev/null +++ "b/icons/\347\213\227.svg" @@ -0,0 +1,57 @@ + + + + + + image/svg+xml + + + + + + + + + + diff --git "a/icons/\347\214\264.svg" "b/icons/\347\214\264.svg" new file mode 100644 index 0000000..02f1e81 --- /dev/null +++ "b/icons/\347\214\264.svg" @@ -0,0 +1,57 @@ + + + + + + image/svg+xml + + + + + + + + + + diff --git "a/icons/\347\276\212.svg" "b/icons/\347\276\212.svg" new file mode 100644 index 0000000..8741358 --- /dev/null +++ "b/icons/\347\276\212.svg" @@ -0,0 +1,57 @@ + + + + + + image/svg+xml + + + + + + + + + + diff --git "a/icons/\350\231\216.svg" "b/icons/\350\231\216.svg" new file mode 100644 index 0000000..c6ec261 --- /dev/null +++ "b/icons/\350\231\216.svg" @@ -0,0 +1,57 @@ + + + + + + image/svg+xml + + + + + + + + + + diff --git "a/icons/\350\233\207.svg" "b/icons/\350\233\207.svg" new file mode 100644 index 0000000..b676422 --- /dev/null +++ "b/icons/\350\233\207.svg" @@ -0,0 +1,57 @@ + + + + + + image/svg+xml + + + + + + + + + + diff --git "a/icons/\350\261\254.svg" "b/icons/\350\261\254.svg" new file mode 100644 index 0000000..b6394f1 --- /dev/null +++ "b/icons/\350\261\254.svg" @@ -0,0 +1,57 @@ + + + + + + image/svg+xml + + + + + + + + + + diff --git "a/icons/\351\233\236.svg" "b/icons/\351\233\236.svg" new file mode 100644 index 0000000..d624b52 --- /dev/null +++ "b/icons/\351\233\236.svg" @@ -0,0 +1,57 @@ + + + + + + image/svg+xml + + + + + + + + + + diff --git "a/icons/\351\246\254.svg" "b/icons/\351\246\254.svg" new file mode 100644 index 0000000..7afa950 --- /dev/null +++ "b/icons/\351\246\254.svg" @@ -0,0 +1,57 @@ + + + + + + image/svg+xml + + + + + + + + + + diff --git "a/icons/\351\274\240.svg" "b/icons/\351\274\240.svg" new file mode 100644 index 0000000..0cbab49 --- /dev/null +++ "b/icons/\351\274\240.svg" @@ -0,0 +1,57 @@ + + + + + + image/svg+xml + + + + + + + + + + diff --git "a/icons/\351\276\215.svg" "b/icons/\351\276\215.svg" new file mode 100644 index 0000000..2f9614e --- /dev/null +++ "b/icons/\351\276\215.svg" @@ -0,0 +1,57 @@ + + + + + + image/svg+xml + + + + + + + + + + diff --git a/indicator-lunar-calendar.js b/indicator-lunar-calendar.js index 77b778d..e93f83e 100755 --- a/indicator-lunar-calendar.js +++ b/indicator-lunar-calendar.js @@ -34,7 +34,7 @@ GNode.startLoop(); Gtk.init(null); var indicator = AppIndicator3.Indicator.new( "lunar-indicator", - __dirname + '/鼠.svg', + __dirname + '/icons/鼠.svg', AppIndicator3.IndicatorCategory.APPLICATION_STATUS ); indicator.set_status(AppIndicator3.IndicatorStatus.ACTIVE); @@ -70,7 +70,7 @@ function update_indicator() { long_date += '\n' + lunar.hour + '時'; /* output to indicator */ - indicator.set_icon(__dirname + '/' + lunar.zodiac + '.svg'); + indicator.set_icon(__dirname + '/icons/' + lunar.zodiac + '.svg'); indicator.set_label(compact_date, ''); item.set_label(long_date); } diff --git "a/\345\205\224.svg" "b/\345\205\224.svg" deleted file mode 100644 index f7846d3..0000000 --- "a/\345\205\224.svg" +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git "a/\347\211\233.svg" "b/\347\211\233.svg" deleted file mode 100644 index 7822f51..0000000 --- "a/\347\211\233.svg" +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git "a/\347\213\227.svg" "b/\347\213\227.svg" deleted file mode 100644 index 4d15922..0000000 --- "a/\347\213\227.svg" +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git "a/\347\214\264.svg" "b/\347\214\264.svg" deleted file mode 100644 index 02f1e81..0000000 --- "a/\347\214\264.svg" +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git "a/\347\276\212.svg" "b/\347\276\212.svg" deleted file mode 100644 index 8741358..0000000 --- "a/\347\276\212.svg" +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git "a/\350\231\216.svg" "b/\350\231\216.svg" deleted file mode 100644 index c6ec261..0000000 --- "a/\350\231\216.svg" +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git "a/\350\233\207.svg" "b/\350\233\207.svg" deleted file mode 100644 index b676422..0000000 --- "a/\350\233\207.svg" +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git "a/\350\261\254.svg" "b/\350\261\254.svg" deleted file mode 100644 index b6394f1..0000000 --- "a/\350\261\254.svg" +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git "a/\351\233\236.svg" "b/\351\233\236.svg" deleted file mode 100644 index d624b52..0000000 --- "a/\351\233\236.svg" +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git "a/\351\246\254.svg" "b/\351\246\254.svg" deleted file mode 100644 index 7afa950..0000000 --- "a/\351\246\254.svg" +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git "a/\351\274\240.svg" "b/\351\274\240.svg" deleted file mode 100644 index 0cbab49..0000000 --- "a/\351\274\240.svg" +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git "a/\351\276\215.svg" "b/\351\276\215.svg" deleted file mode 100644 index 2f9614e..0000000 --- "a/\351\276\215.svg" +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - -