Skip to content

Commit

Permalink
texture directly from resource
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed May 29, 2024
1 parent 27a8afd commit 8ff834c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Views/ProgressView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class ProgressView : AbstractInstallerView {
margin_bottom = 6,
margin_start = 6
};
logo.custom_image = Gdk.Texture.from_file (File.new_for_uri ("resource://io/elementary/installer/wallpaper.jpg"));
logo.custom_image = Gdk.Texture.from_resource ("resource://io/elementary/installer/wallpaper.jpg");
logo.get_style_context ().add_provider (style_provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);

var icon = new Gtk.Image () {
Expand Down

0 comments on commit 8ff834c

Please sign in to comment.