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



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

    contacts-app: Add our search path to icon theme
    
    https://bugzilla.gnome.org/show_bug.cgi?id=658553

 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..34b921d 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]