return ui ub src dir

We are getting further away from God every day.
parent 1e4ed794
...@@ -12,13 +12,6 @@ if desktop_utils.found() ...@@ -12,13 +12,6 @@ if desktop_utils.found()
test('Validate desktop file', desktop_utils, args: [desktop_file]) test('Validate desktop file', desktop_utils, args: [desktop_file])
endif endif
gnome.compile_resources('eepm-play-gui',
'eepm-play-gui.gresource.xml',
gresource_bundle: true,
install: true,
install_dir: pkgdatadir,
)
appstream_file = i18n.merge_file( appstream_file = i18n.merge_file(
input: 'ru.eepm.PlayGUI.metainfo.xml.in', input: 'ru.eepm.PlayGUI.metainfo.xml.in',
output: 'ru.eepm.PlayGUI.metainfo.xml', output: 'ru.eepm.PlayGUI.metainfo.xml',
......
data/ru.eepm.PlayGUI.desktop.in data/ru.eepm.PlayGUI.desktop.in
data/ru.eepm.PlayGUI.metainfo.xml.in data/ru.eepm.PlayGUI.metainfo.xml.in
data/ru.eepm.PlayGUI.gschema.xml data/ru.eepm.PlayGUI.gschema.xml
data/ui/help-overlay.ui
data/ui/window.ui
src/main.py src/main.py
src/help-overlay.ui
src/window.py src/window.py
src/window.ui
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<gresources> <gresources>
<gresource prefix="/ru/eepm/PlayGUI"> <gresource prefix="/ru/eepm/PlayGUI">
<file>style.css</file> <file>style.css</file>
<file preprocess="xml-stripblanks">ui/window.ui</file> <file preprocess="xml-stripblanks">window.ui</file>
<file preprocess="xml-stripblanks">ui/logdialog.ui</file> <file preprocess="xml-stripblanks">logdialog.ui</file>
<file alias="gtk/help-overlay.ui" preprocess="xml-stripblanks">ui/help-overlay.ui</file> <file preprocess="xml-stripblanks">gtk/help-overlay.ui</file>
</gresource> </gresource>
</gresources> </gresources>
...@@ -13,6 +13,13 @@ configure_file( ...@@ -13,6 +13,13 @@ configure_file(
install_mode: 'r-xr-xr-x' install_mode: 'r-xr-xr-x'
) )
gnome.compile_resources('eepm-play-gui',
'eepm-play-gui.gresource.xml',
gresource_bundle: true,
install: true,
install_dir: pkgdatadir,
)
eepm_play_gui_sources = [ eepm_play_gui_sources = [
'__init__.py', '__init__.py',
'main.py', 'main.py',
......
...@@ -65,7 +65,7 @@ class ApplicationRow(Adw.ActionRow): ...@@ -65,7 +65,7 @@ class ApplicationRow(Adw.ActionRow):
print("marked-unchanged") print("marked-unchanged")
@Gtk.Template(resource_path='/ru/eepm/PlayGUI/ui/logdialog.ui') @Gtk.Template(resource_path='/ru/eepm/PlayGUI/logdialog.ui')
class LogDialog(Adw.Dialog): class LogDialog(Adw.Dialog):
__gtype_name__ = 'LogDialog' __gtype_name__ = 'LogDialog'
logdialog_textview = Gtk.Template.Child() logdialog_textview = Gtk.Template.Child()
...@@ -81,7 +81,7 @@ class LogDialog(Adw.Dialog): ...@@ -81,7 +81,7 @@ class LogDialog(Adw.Dialog):
runner.run_command(command, self) runner.run_command(command, self)
@Gtk.Template(resource_path='/ru/eepm/PlayGUI/ui/window.ui') @Gtk.Template(resource_path='/ru/eepm/PlayGUI/window.ui')
class EepmPlayGuiWindow(Adw.ApplicationWindow): class EepmPlayGuiWindow(Adw.ApplicationWindow):
__gtype_name__ = 'EepmPlayGuiWindow' __gtype_name__ = 'EepmPlayGuiWindow'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment