[gitg/vala] Prepend custom icon theme path
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/vala] Prepend custom icon theme path
- Date: Tue, 17 Jul 2012 07:56:55 +0000 (UTC)
commit 0ced44b31733a7491d210e13d5417c146b40cc90
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date: Tue Jul 17 09:45:38 2012 +0200
Prepend custom icon theme path
gitg/gitg-application.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gitg/gitg-application.vala b/gitg/gitg-application.vala
index 9569c3c..bbc075c 100644
--- a/gitg/gitg-application.vala
+++ b/gitg/gitg-application.vala
@@ -310,6 +310,9 @@ public class Application : Gtk.Application
provider,
600);
}
+
+ var theme = Gtk.IconTheme.get_default();
+ theme.prepend_search_path(Path.build_filename(Config.GITG_DATADIR, "icons"));
}
private GitgExt.ViewAction get_action_from_hint(string? hint)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]