[gnome-contacts/wip/map-widget: 3/5] contacts-app: Add our search path to icon theme



commit b8fb54534e33e863aecd20af516bd4b16ef2d313
Author: Jonas Danielsson <jonas threetimestwo org>
Date:   Tue Dec 16 05:30:45 2014 -0500

    contacts-app: Add our search path to icon theme

 src/contacts-app.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/contacts-app.vala b/src/contacts-app.vala
index 6b86e80..5dc270b 100644
--- a/src/contacts-app.vala
+++ b/src/contacts-app.vala
@@ -266,6 +266,9 @@ public class Contacts.App : Gtk.Application {
   }
 
   public override void activate () {
+    var icon_theme = IconTheme.get_default ();
+    icon_theme.append_search_path(Config.PKGDATADIR + "/icons");
+
     /* window creation code */
     if (window == null) {
       if (!contacts_store.is_prepared) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]