Commit da5899c2 authored by Federico Ceratto's avatar Federico Ceratto

Add icon theme

parent 86c30f9f
......@@ -16,6 +16,8 @@ Homepage: https://github.com/bleakgrey/tootle
Package: tootle
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Depends: ${misc:Depends},
${shlibs:Depends},
elementary-xfce-icon-theme
Description: Mastodon client
Lightweight desktop client for Mastodon
From: Federico Ceratto <federico@debian.org>
Subject: Insert search path for elementary-xfce icons
--- a/src/MainWindow.vala
+++ b/src/MainWindow.vala
@@ -167,6 +167,11 @@
provider.load_from_resource ("/com/github/bleakgrey/tootle/%s.css".printf (theme));
StyleContext.add_provider_for_screen (Gdk.Screen.get_default (), provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
Gtk.Settings.get_default ().gtk_application_prefer_dark_theme = is_dark;
+
+ string[] icon_search_path;
+ Gtk.IconTheme.get_default ().get_search_path (out icon_search_path);
+ icon_search_path[0] = "/usr/share/icons/elementary-xfce/status/symbolic";
+ Gtk.IconTheme.get_default ().set_search_path (icon_search_path);
}
private void update_header () {
001-insert-icon-search-path.patch
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment