[gnome-calculator] Separate UI files from sources
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] Separate UI files from sources
- Date: Thu, 4 Jun 2020 16:52:40 +0000 (UTC)
commit 148ac2d35f395ddee18dd4adb0b0eb240f085d98
Author: Robert Roth <robert roth off gmail com>
Date: Thu Jun 4 19:52:28 2020 +0300
Separate UI files from sources
src/meson.build | 4 ++--
src/{ => ui}/buttons-advanced.ui | 0
src/{ => ui}/buttons-basic.ui | 0
src/{ => ui}/buttons-financial.ui | 0
src/{ => ui}/buttons-programming.ui | 0
src/{ => ui}/calculator.css | 0
src/{ => ui}/gnome-calculator.gresource.xml | 0
src/{ => ui}/history-entry.ui | 0
src/{ => ui}/history-view.ui | 0
src/{ => ui}/math-converter.ui | 0
src/{ => ui}/math-function-popover.ui | 0
src/{ => ui}/math-shortcuts.ui | 0
src/{ => ui}/math-variable-popover.ui | 0
src/{ => ui}/math-window.ui | 0
14 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index 824feaa4..825cff8b 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -11,8 +11,8 @@ gnome_calculator_vala_sources = [
'math-history.vala',
]
-gnome_calculator_resource_files = files('gnome-calculator.gresource.xml')
-gnome_calculator_resources = gnome.compile_resources('org.gnome.Calculator', gnome_calculator_resource_files)
+gnome_calculator_resource_files = files('ui/gnome-calculator.gresource.xml')
+gnome_calculator_resources = gnome.compile_resources('org.gnome.Calculator',
gnome_calculator_resource_files, source_dir : ['ui'])
gnome_calculator_sources = [
gnome_calculator_vala_sources,
diff --git a/src/buttons-advanced.ui b/src/ui/buttons-advanced.ui
similarity index 100%
rename from src/buttons-advanced.ui
rename to src/ui/buttons-advanced.ui
diff --git a/src/buttons-basic.ui b/src/ui/buttons-basic.ui
similarity index 100%
rename from src/buttons-basic.ui
rename to src/ui/buttons-basic.ui
diff --git a/src/buttons-financial.ui b/src/ui/buttons-financial.ui
similarity index 100%
rename from src/buttons-financial.ui
rename to src/ui/buttons-financial.ui
diff --git a/src/buttons-programming.ui b/src/ui/buttons-programming.ui
similarity index 100%
rename from src/buttons-programming.ui
rename to src/ui/buttons-programming.ui
diff --git a/src/calculator.css b/src/ui/calculator.css
similarity index 100%
rename from src/calculator.css
rename to src/ui/calculator.css
diff --git a/src/gnome-calculator.gresource.xml b/src/ui/gnome-calculator.gresource.xml
similarity index 100%
rename from src/gnome-calculator.gresource.xml
rename to src/ui/gnome-calculator.gresource.xml
diff --git a/src/history-entry.ui b/src/ui/history-entry.ui
similarity index 100%
rename from src/history-entry.ui
rename to src/ui/history-entry.ui
diff --git a/src/history-view.ui b/src/ui/history-view.ui
similarity index 100%
rename from src/history-view.ui
rename to src/ui/history-view.ui
diff --git a/src/math-converter.ui b/src/ui/math-converter.ui
similarity index 100%
rename from src/math-converter.ui
rename to src/ui/math-converter.ui
diff --git a/src/math-function-popover.ui b/src/ui/math-function-popover.ui
similarity index 100%
rename from src/math-function-popover.ui
rename to src/ui/math-function-popover.ui
diff --git a/src/math-shortcuts.ui b/src/ui/math-shortcuts.ui
similarity index 100%
rename from src/math-shortcuts.ui
rename to src/ui/math-shortcuts.ui
diff --git a/src/math-variable-popover.ui b/src/ui/math-variable-popover.ui
similarity index 100%
rename from src/math-variable-popover.ui
rename to src/ui/math-variable-popover.ui
diff --git a/src/math-window.ui b/src/ui/math-window.ui
similarity index 100%
rename from src/math-window.ui
rename to src/ui/math-window.ui
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]