Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Librem5-apps
Tootle
Commits
da5899c2
Commit
da5899c2
authored
Aug 17, 2018
by
Federico Ceratto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add icon theme
parent
86c30f9f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletion
+21
-1
debian/control
debian/control
+3
-1
debian/patches/001-insert-icon-search-path.patch
debian/patches/001-insert-icon-search-path.patch
+17
-0
debian/patches/series
debian/patches/series
+1
-0
No files found.
debian/control
View file @
da5899c2
...
...
@@ -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
debian/patches/001-insert-icon-search-path.patch
0 → 100644
View file @
da5899c2
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 () {
debian/patches/series
0 → 100644
View file @
da5899c2
001-insert-icon-search-path.patch
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment