[shotwell/wip/gtk4: 116/154] Fix icon for initial startup progress
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell/wip/gtk4: 116/154] Fix icon for initial startup progress
- Date: Sat, 1 Oct 2022 17:53:17 +0000 (UTC)
commit fb80621b2c7ba8b624efcdf73a588941528e4871
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 82cda117..66ae7f36 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]