diff options
author | Christian Dywan <christian.dywan@canonical.com> | 2014-03-19 23:38:23 +0100 |
---|---|---|
committer | Christian Dywan <christian.dywan@canonical.com> | 2014-03-19 23:38:23 +0100 |
commit | 0d174e972fda5b6f948d305f33cfb507df905b3a (patch) | |
tree | fe6a2ba3dccd402957a2fb3776c11201e5367ad7 /katze | |
parent | fe26230b7707d650452375e49c788f73074e2bd3 (diff) | |
download | midori-0d174e972fda5b6f948d305f33cfb507df905b3a.tar.gz |
Install Adblock icons as proper icons and move to own icon folder
Diffstat (limited to 'katze')
-rw-r--r-- | katze/midori-paths.vala | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/katze/midori-paths.vala b/katze/midori-paths.vala index 3ef5d116..5021663c 100644 --- a/katze/midori-paths.vala +++ b/katze/midori-paths.vala @@ -170,9 +170,17 @@ namespace Midori { WebKit.get_favicon_database ().set_path (null); #endif } + + string fallack_icons1 = Path.build_filename (MDATADIR, PACKAGE_NAME, "icons", "scalable"); + Gtk.IconTheme.get_default ().append_search_path (fallack_icons1); +#if !HAVE_WIN32 + string fallack_icons2 = build_folder ("icons", null, "scalable"); + Gtk.IconTheme.get_default ().append_search_path (fallack_icons2); +#endif + if (strcmp (Environment.get_variable ("MIDORI_DEBUG"), "paths") == 0) { - stdout.printf ("config: %s\ncache: %s\nuser_data: %s\ntmp: %s\n", - config_dir, cache_dir, user_data_dir, tmp_dir); + stdout.printf ("config: %s\ncache: %s\nuser_data: %s\ntmp: %s\nicons: %s\n", + config_dir, cache_dir, user_data_dir, tmp_dir, fallack_icons1); } } |