forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pantheon.elementary-greeter: hardcode elementary theme
For some reason correcting the path to the settings daemon causes the icons to not be the elementary one's. Hardcoding this fixes this very simply without the need for the complicated wrapping.
- Loading branch information
1 parent
c2ac422
commit 536c72a
Showing
2 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
pkgs/desktops/pantheon/desktop/elementary-greeter/hardcode-theme.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/src/PantheonGreeter.vala b/src/PantheonGreeter.vala | ||
index 11aa4c0..daf4a8a 100644 | ||
--- a/src/PantheonGreeter.vala | ||
+++ b/src/PantheonGreeter.vala | ||
@@ -474,6 +474,10 @@ public static int main (string [] args) { | ||
Gdk.CursorType.LEFT_PTR); | ||
Gdk.get_default_root_window ().set_cursor (cursor); | ||
|
||
+ var settings = Gtk.Settings.get_default (); | ||
+ settings.gtk_icon_theme_name = "elementary"; | ||
+ settings.gtk_theme_name = "elementary"; | ||
+ | ||
var icon_theme = Gtk.IconTheme.get_default (); | ||
icon_theme.add_resource_path ("/io/elementary/greeter/icons"); | ||
|