mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-27 14:29:42 +03:00
b0b271274c
The GTK UI resources have to be different resources between major versions. When kept in one directory with slightly different filenames they were difficult to distinguish and resource definition was difficult to update. The resources for both gtk versions were stored in both builds resulting in unneccessary increased binary size. The new stratagy lists the UI files once in a single gresources file and only includes what is required. If a UI file is added it must be provided in both gtk2 and 3 or a build failure will occour rather than a runtime error.
19 lines
501 B
XML
19 lines
501 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<gresources>
|
|
<gresource prefix="/org/netsurf">
|
|
<file>cookies.ui</file>
|
|
<file>downloads.ui</file>
|
|
<file>globalhistory.ui</file>
|
|
<file>hotlist.ui</file>
|
|
<file>localhistory.ui</file>
|
|
<file>netsurf.ui</file>
|
|
<file>options.ui</file>
|
|
<file>pageinfo.ui</file>
|
|
<file>password.ui</file>
|
|
<file>tabcontents.ui</file>
|
|
<file>toolbar.ui</file>
|
|
<file>viewdata.ui</file>
|
|
<file>warning.ui</file>
|
|
</gresource>
|
|
</gresources>
|