[node-patches] Change in ovirt-node[master]: Move to src subfolder

fabiand at fedoraproject.org fabiand at fedoraproject.org
Tue Dec 11 20:09:31 UTC 2012


Fabian Deutsch has uploaded a new change for review.

Change subject: Move to src subfolder
......................................................................

Move to src subfolder

Change-Id: Iba4b1ca40f12e9ac1b52cdf9e756dbb07f1da3b0
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
R scripts/tui/src/README
R scripts/tui/src/app
R scripts/tui/src/ovirt/__init__.py
R scripts/tui/src/ovirt/node/__init__.py
R scripts/tui/src/ovirt/node/plugins/__init__.py
R scripts/tui/src/ovirt/node/plugins/example.py
R scripts/tui/src/ovirt/node/plugins/features.py
R scripts/tui/src/ovirt/node/plugins/usage.py
R scripts/tui/src/ovirt/node/tui.py
9 files changed, 10 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/62/9862/1

diff --git a/scripts/tui/README b/scripts/tui/src/README
similarity index 100%
rename from scripts/tui/README
rename to scripts/tui/src/README
diff --git a/scripts/tui/app b/scripts/tui/src/app
similarity index 100%
rename from scripts/tui/app
rename to scripts/tui/src/app
diff --git a/scripts/tui/ovirt/__init__.py b/scripts/tui/src/ovirt/__init__.py
similarity index 100%
rename from scripts/tui/ovirt/__init__.py
rename to scripts/tui/src/ovirt/__init__.py
diff --git a/scripts/tui/ovirt/node/__init__.py b/scripts/tui/src/ovirt/node/__init__.py
similarity index 100%
rename from scripts/tui/ovirt/node/__init__.py
rename to scripts/tui/src/ovirt/node/__init__.py
diff --git a/scripts/tui/ovirt/node/plugins/__init__.py b/scripts/tui/src/ovirt/node/plugins/__init__.py
similarity index 100%
rename from scripts/tui/ovirt/node/plugins/__init__.py
rename to scripts/tui/src/ovirt/node/plugins/__init__.py
diff --git a/scripts/tui/ovirt/node/plugins/example.py b/scripts/tui/src/ovirt/node/plugins/example.py
similarity index 60%
rename from scripts/tui/ovirt/node/plugins/example.py
rename to scripts/tui/src/ovirt/node/plugins/example.py
index c905495..dfa26e1 100644
--- a/scripts/tui/ovirt/node/plugins/example.py
+++ b/scripts/tui/src/ovirt/node/plugins/example.py
@@ -16,3 +16,13 @@
         widgets.append(ovirt.node.plugins.Label("Subsection"))
         widgets.append(ovirt.node.plugins.Entry("foo.bar", label=__file__))
         return widgets
+
+    def ui_on_change(self, model):
+        """Called when some widget was changed
+        """
+        LOGGER.debug("changed: " + str(model))
+
+    def ui_on_save(self, model):
+        """Called when data should be saved
+        """
+        LOGGER.debug("saved: " + str(model))
diff --git a/scripts/tui/ovirt/node/plugins/features.py b/scripts/tui/src/ovirt/node/plugins/features.py
similarity index 100%
rename from scripts/tui/ovirt/node/plugins/features.py
rename to scripts/tui/src/ovirt/node/plugins/features.py
diff --git a/scripts/tui/ovirt/node/plugins/usage.py b/scripts/tui/src/ovirt/node/plugins/usage.py
similarity index 100%
rename from scripts/tui/ovirt/node/plugins/usage.py
rename to scripts/tui/src/ovirt/node/plugins/usage.py
diff --git a/scripts/tui/ovirt/node/tui.py b/scripts/tui/src/ovirt/node/tui.py
similarity index 100%
rename from scripts/tui/ovirt/node/tui.py
rename to scripts/tui/src/ovirt/node/tui.py


--
To view, visit http://gerrit.ovirt.org/9862
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iba4b1ca40f12e9ac1b52cdf9e756dbb07f1da3b0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list