image references

Move image loading to main application to reduce probability of resource conflicts.
This commit is contained in:
markjfine 2021-04-08 08:44:30 -04:00 committed by GitHub
parent 3347ab3811
commit 1b56f4324f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,12 +35,12 @@
<object class="GtkImage" id="image1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="pixbuf">weather.png</property>
<!--property name="pixbuf">weather.png</property-->
</object>
<object class="GtkWindow" id="mainWindow">
<property name="can_focus">False</property>
<property name="title" translatable="yes">NRSC5 DUI</property>
<property name="icon">logo.png</property>
<!--property name="icon">logo.png</property-->
<child>
<placeholder/>
</child>
@ -149,7 +149,7 @@
<property name="tooltip_text" translatable="yes">Weather and Traffic Map Viewer</property>
<property name="label" translatable="yes">Weather &amp; Traffic Maps</property>
<property name="use_underline">True</property>
<property name="icon_widget">image1</property>
<!--property name="icon_widget">image1</property-->
<signal name="clicked" handler="on_btnMap_clicked" swapped="no"/>
</object>
<packing>
@ -1658,7 +1658,7 @@
<object class="GtkImage" id="img_nosynch">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="pixbuf">nosynch.png</property>
<!--property name="pixbuf">nosynch.png</property-->
<property name="halign">GTK_ALIGN_START</property>
<property name="tooltip_text" translatable="yes">Synchronization</property>
</object>
@ -1667,7 +1667,7 @@
<object class="GtkImage" id="img_synchpilot">
<property name="visible">False</property>
<property name="can_focus">False</property>
<property name="pixbuf">synchpilot.png</property>
<!--property name="pixbuf">synchpilot.png</property-->
<property name="halign">GTK_ALIGN_START</property>
<property name="tooltip_text" translatable="yes">Synchronization</property>
</object>
@ -1676,7 +1676,7 @@
<object class="GtkImage" id="img_lostdevice">
<property name="visible">False</property>
<property name="can_focus">False</property>
<property name="pixbuf">lostdevice.png</property>
<!--property name="pixbuf">lostdevice.png</property-->
<property name="halign">GTK_ALIGN_START</property>
<property name="tooltip_text" translatable="yes">Device failure</property>
</object>