From d481e04a2e3713d563037889b1dc5b1417e63ecd Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Tue, 31 Mar 2020 17:37:27 +0200 Subject: Use gresource for ui files This will make referencing them simpler --- data/meson.build | 9 + data/ppm.gresources.xml | 7 + data/ui/ppm-provider-assistant.ui | 209 ++++++++++++++++++++ data/ui/ppm.ui | 390 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 615 insertions(+) create mode 100644 data/ppm.gresources.xml create mode 100644 data/ui/ppm-provider-assistant.ui create mode 100644 data/ui/ppm.ui (limited to 'data') diff --git a/data/meson.build b/data/meson.build index 9af0850..55f36ec 100644 --- a/data/meson.build +++ b/data/meson.build @@ -33,5 +33,14 @@ if appstream_util.found() ) endif +ppm_resources = gnome.compile_resources( + 'ppm', + 'ppm.gresources.xml', + gresource_bundle: true, + c_name: 'ppm', + install: true, + install_dir: pkgdatadir, +) + iconsdir = join_paths(get_option('datadir'), 'icons') install_subdir('hicolor/', install_dir: iconsdir) diff --git a/data/ppm.gresources.xml b/data/ppm.gresources.xml new file mode 100644 index 0000000..36e93a1 --- /dev/null +++ b/data/ppm.gresources.xml @@ -0,0 +1,7 @@ + + + + ui/ppm.ui + ui/ppm-provider-assistant.ui + + diff --git a/data/ui/ppm-provider-assistant.ui b/data/ui/ppm-provider-assistant.ui new file mode 100644 index 0000000..590e18d --- /dev/null +++ b/data/ui/ppm-provider-assistant.ui @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + + + + + + + 12 + Provider Configuration + True + True + dialog + True + True + + + + + + + + + True + The following pages will guide you through the process of setting it you mobile broadband provider. + True + + + intro + True + Provider configuration + + + + + True + vertical + + + True + Please select the country of your mobile broadband provider. + True + + + False + False + 10 + 0 + + + + + True + True + automatic + automatic + in + + + 200 + True + True + liststore_countries + 0 + + + + Country + 0 + + + + 0 + + + + + + + + + 1 + + + + + Select your country + + + + + True + vertical + + + True + Please select your mobile broadband provider. + True + + + False + False + 10 + 0 + + + + + True + True + automatic + automatic + in + + + True + True + liststore_providers + 0 + + + + Providers + 0 + + + + 0 + + + + + + + + + 1 + + + + + Select your provider + + + + + True + vertical + + + True + Your mobile broadband provider is + True + + + 0 + + + + + True + + + + + + 1 + + + + + True + in + + + 2 + + + + + True + + + + + + 3 + + + + + confirm + True + Check your selection + + + + diff --git a/data/ui/ppm.ui b/data/ui/ppm.ui new file mode 100644 index 0000000..6eee0c0 --- /dev/null +++ b/data/ui/ppm.ui @@ -0,0 +1,390 @@ + + + + + False + + + + True + False + + + True + False + + + False + True + False + _File + True + + + True + False + + + gtk-quit + False + True + False + True + True + + + + + + + + + + False + True + False + _Help + True + + + True + False + + + gtk-about + False + True + False + True + True + + + + + + + + + + False + True + 0 + + + + + + + + True + True + + + True + False + 3 + 3 + 4 + 4 + + + True + False + Provider: + + + + + 5 + 5 + + + + + True + False + unknown provider + + + + + + 1 + 2 + + 5 + 5 + + + + + change + False + True + True + True + True + Change provider + Change provider + False + + + + 2 + 3 + GTK_FILL + + 5 + 5 + + + + + False + Balance information from + + + 1 + 2 + + + 5 + 5 + + + + + False + unknown + + + 1 + 2 + 1 + 2 + + 5 + 5 + + + + + True + False + Balance unknown + True + + + + + + + 2 + 2 + 3 + + 5 + 5 + + + + + check + False + True + True + True + True + Check your prepaid cards balance. + Check your prepaid cards balance. + False + + + + 2 + 3 + 2 + 3 + GTK_FILL + + 5 + 5 + + + + + + + + + + True + False + Balance + + + False + + + + + True + False + 3 + 3 + 4 + 4 + + + True + False + Provider: + + + + + 5 + 5 + + + + + True + False + unknown provider + + + + + + 1 + 2 + + 5 + 5 + + + + + change + False + True + True + True + False + + + + 2 + 3 + GTK_FILL + + 5 + 5 + + + + + top up + False + True + False + True + True + True + Top up your prepaid accounts balance + Top up your prepaid accounts balance + False + + + + 2 + 3 + 1 + 2 + GTK_FILL + + 5 + 5 + + + + + True + True + True + Enter code to top up credit to your prepaid card. + Enter code to top up credit to your prepaid card. + + True + 01234567890123 + + + + 1 + 2 + 1 + 2 + + 5 + 5 + + + + + True + False + Code: + + + 1 + 2 + + + 5 + 5 + + + + + True + False + + + 3 + 2 + 3 + + 5 + 5 + + + + + 1 + False + + + + + True + False + Top up + + + 1 + False + + + + + False + True + end + 2 + + + + + + -- cgit v1.2.3