Commit 41276851 authored by Adrien Plazas's avatar Adrien Plazas
Browse files

application: Load icon resources

This is needed to access the embedded icons.
parent e32399a5
......@@ -61,6 +61,9 @@ namespace Usage
base.startup();
add_action_entries(app_entries, this);
set_accels_for_action ("app.search", {"<Primary>f"});
var icon_theme = Gtk.IconTheme.get_default ();
icon_theme.add_resource_path ("/org/gnome/Usage/icons/hicolor");
}
private void on_about(GLib.SimpleAction action, GLib.Variant? parameter)
......
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