Alon Bar-Lev has uploaded a new change for review.

Change subject: packaging: setup: add product option stage in customization
......................................................................

packaging: setup: add product option stage in customization

Change-Id: I6ae2d79218745cf5d6cb58d1aa14a3fc95734dfd
Signed-off-by: Alon Bar-Lev <alo...@redhat.com>
---
M packaging/setup/ovirt_engine_setup/constants.py
M packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/dialog/titles.py
2 files changed, 25 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/19/23119/1

diff --git a/packaging/setup/ovirt_engine_setup/constants.py 
b/packaging/setup/ovirt_engine_setup/constants.py
index 81e7201..e594b1a 100644
--- a/packaging/setup/ovirt_engine_setup/constants.py
+++ b/packaging/setup/ovirt_engine_setup/constants.py
@@ -523,6 +523,8 @@
     DIALOG_TITLES_S_FIREWALL = 'osetup.dialog.titles.firewall.start'
     DIALOG_TITLES_S_PACKAGES = 'osetup.dialog.titles.packaging.start'
     DIALOG_TITLES_S_PKI = 'osetup.dialog.titles.pki.start'
+    DIALOG_TITLES_S_PRODUCT_OPTIONS = \
+        'osetup.dialog.titles.productoptions.start'
     DIALOG_TITLES_S_SYSTEM = 'osetup.dialog.titles.system.start'
     DIALOG_TITLES_E_ALLINONE = 'osetup.dialog.titles.allinone.end'
     DIALOG_TITLES_E_APACHE = 'osetup.dialog.titles.apache.end'
@@ -532,6 +534,7 @@
     DIALOG_TITLES_E_FIREWALL = 'osetup.dialog.titles.firewall.end'
     DIALOG_TITLES_E_PACKAGES = 'osetup.dialog.titles.packages.end'
     DIALOG_TITLES_E_PKI = 'osetup.dialog.titles.pki.end'
+    DIALOG_TITLES_E_PRODUCT_OPTIONS = 'osetup.dialog.titles.productoptions.end'
     DIALOG_TITLES_E_SYSTEM = 'osetup.dialog.titles.system.end'
 
     DIALOG_TITLES_S_SUMMARY = 'osetup.dialog.titles.summary.start'
diff --git 
a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/dialog/titles.py 
b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/dialog/titles.py
index e85b697..4e7214f 100644
--- a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/dialog/titles.py
+++ b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/dialog/titles.py
@@ -48,7 +48,29 @@
 
     @plugin.event(
         stage=plugin.Stages.STAGE_CUSTOMIZATION,
+        name=osetupcons.Stages.DIALOG_TITLES_S_PRODUCT_OPTIONS,
+    )
+    def _title_s_product_options(self):
+        self._title(
+            text=_('PRODUCT OPTIONS'),
+        )
+
+    @plugin.event(
+        stage=plugin.Stages.STAGE_CUSTOMIZATION,
+        name=osetupcons.Stages.DIALOG_TITLES_E_PRODUCT_OPTIONS,
+        after=(
+            osetupcons.Stages.DIALOG_TITLES_S_PRODUCT_OPTIONS,
+        ),
+    )
+    def _title_e_product_options(self):
+        pass
+
+    @plugin.event(
+        stage=plugin.Stages.STAGE_CUSTOMIZATION,
         name=osetupcons.Stages.DIALOG_TITLES_S_PACKAGES,
+        after=(
+            osetupcons.Stages.DIALOG_TITLES_E_PRODUCT_OPTIONS,
+        ),
         condition=lambda self: self._distribution in (
             'redhat', 'fedora', 'centos',
         ),


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6ae2d79218745cf5d6cb58d1aa14a3fc95734dfd
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to