Skip to content

Commit

Permalink
fix: prefs icons
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers authored and jmmaranan committed Sep 18, 2023
1 parent 05af3e7 commit 6b354ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ export default class ForgeExtentionPreferences extends ExtensionPreferences {

kbdSettings = this.getSettings("org.gnome.shell.extensions.forge.keybindings");

init() {
constructor(...args) {
super(...args);
const iconPath = this.dir.get_child("resources").get_child("icons").get_path();
const iconTheme = Gtk.IconTheme.get_for_display(Gdk.Display.get_default());
iconTheme.add_search_path(iconPath);
Expand Down

0 comments on commit 6b354ba

Please sign in to comment.