[shotwell/wip/gtk4] Fix icon for initial startup progress



commit a957fb64980d3a17345be0a59760d09d497fa54c
Author: Jens Georg <mail jensge org>
Date:   Fri Apr 15 21:06:43 2022 +0200

    Fix icon for initial startup progress

 src/main.vala | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/src/main.vala b/src/main.vala
index d261d173..13415177 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -112,11 +112,7 @@ void library_exec(string[] mounts) {
             progress_dialog = new ProgressDialog(null, _("Loading Shotwell"));
             progress_dialog.update_display_every(100);
             progress_dialog.set_minimum_on_screen_time_msec(250);
-            try {
-                //progress_dialog.icon = new 
Gdk.Pixbuf.from_resource("/org/gnome/Shotwell/icons/hicolor/scalable/org.gnome.Shotwell.svg");
-            } catch (Error err) {
-                debug("Warning - could not load application icon for loading window: %s", err.message);
-            }
+            progress_dialog.icon_name = "org.gnome.Shotwell";
             
             aggregate_monitor = new AggregateProgressMonitor(grand_total, progress_dialog.monitor);
             monitor = aggregate_monitor.monitor;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]