summaryrefslogtreecommitdiff
path: root/src/folders/Folders.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/folders/Folders.vala')
-rw-r--r--src/folders/Folders.vala15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/folders/Folders.vala b/src/folders/Folders.vala
index 1cc14b1..da6f817 100644
--- a/src/folders/Folders.vala
+++ b/src/folders/Folders.vala
@@ -1,4 +1,4 @@
-/* Copyright 2012-2014 Yorba Foundation
+/* Copyright 2012-2015 Yorba Foundation
*
* This software is licensed under the GNU Lesser General Public License
* (version 2.1 or later). See the COPYING file in this distribution.
@@ -15,19 +15,16 @@
namespace Folders {
-static Icon? opened_icon = null;
-static Icon? closed_icon = null;
-static Icon? have_photos_icon = null;
+static string? icon = null;
+static string? have_photos_icon = null;
public void init() throws Error {
- opened_icon = new ThemedIcon(Resources.ICON_FOLDER_OPEN);
- closed_icon = new ThemedIcon(Resources.ICON_FOLDER_CLOSED);
- have_photos_icon = new ThemedIcon(Resources.ICON_FOLDER_DOCUMENTS);
+ icon = Resources.ICON_FOLDER;
+ have_photos_icon = Resources.ICON_FOLDER_DOCUMENTS;
}
public void terminate() {
- opened_icon = null;
- closed_icon = null;
+ icon = null;
have_photos_icon = null;
}