[PATCH 08/14] Register signal handlers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 pyanaconda/ui/gui/spokes/datetime_spoke.py |   39 ++++++++++++++++++++++++++++
 pyanaconda/ui/gui/spokes/datetime_spoke.ui |   13 +++++++++
 2 files changed, 52 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/datetime_spoke.py b/pyanaconda/ui/gui/spokes/datetime_spoke.py
index bed4ddc..e69b91d 100644
--- a/pyanaconda/ui/gui/spokes/datetime_spoke.py
+++ b/pyanaconda/ui/gui/spokes/datetime_spoke.py
@@ -148,3 +148,42 @@ class DatetimeSpoke(NormalSpoke):
         region = regions_model[regions_iter][0]
 
         return city in self._regions_zones[region]
+
+    def on_up_hours_clicked(self, *args):
+        pass
+
+    def on_down_hours_clicked(self, *args):
+        pass
+
+    def on_up_minutes_clicked(self, *args):
+        pass
+
+    def on_down_minutes_clicked(self, *args):
+        pass
+
+    def on_up_ampm_clicked(self, *args):
+        pass
+
+    def on_down_ampm_clicked(self, *args):
+        pass
+
+    def on_region_changed(self, *args):
+        pass
+
+    def on_city_changed(self, *args):
+        pass
+
+    def on_month_changed(self, *args):
+        pass
+
+    def on_day_changed(self, *args):
+        pass
+
+    def on_year_changed(self, *args):
+        pass
+
+    def on_timezone_changed(self, *args):
+        pass
+
+    def on_timeformat_changed(self, *args):
+        pass
diff --git a/pyanaconda/ui/gui/spokes/datetime_spoke.ui b/pyanaconda/ui/gui/spokes/datetime_spoke.ui
index 0aa0af3..0cc0425 100644
--- a/pyanaconda/ui/gui/spokes/datetime_spoke.ui
+++ b/pyanaconda/ui/gui/spokes/datetime_spoke.ui
@@ -82,6 +82,7 @@
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
                                 <property name="model">regionsSort</property>
+                                <signal name="changed" handler="on_region_changed" swapped="no"/>
                                 <child>
                                   <object class="GtkCellRendererText" id="regionsComboRenderer"/>
                                   <attributes>
@@ -114,6 +115,7 @@
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
                                 <property name="model">citiesFilter</property>
+                                <signal name="changed" handler="on_city_changed" swapped="no"/>
                                 <child>
                                   <object class="GtkCellRendererText" id="citiesComboRenderer"/>
                                   <attributes>
@@ -181,6 +183,7 @@
                       <object class="AnacondaTimezoneMap" id="tzmap">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
+                        <signal name="timezone-changed" handler="on_timezone_changed" swapped="no"/>
                       </object>
                       <packing>
                         <property name="expand">True</property>
@@ -259,6 +262,7 @@
                                     <property name="receives_default">True</property>
                                     <property name="use_action_appearance">False</property>
                                     <property name="image">upImage</property>
+                                    <signal name="clicked" handler="on_up_hours_clicked" swapped="no"/>
                                   </object>
                                   <packing>
                                     <property name="left_attach">0</property>
@@ -274,6 +278,7 @@
                                     <property name="receives_default">True</property>
                                     <property name="use_action_appearance">False</property>
                                     <property name="image">downImage</property>
+                                    <signal name="clicked" handler="on_down_hours_clicked" swapped="no"/>
                                   </object>
                                   <packing>
                                     <property name="left_attach">0</property>
@@ -289,6 +294,7 @@
                                     <property name="receives_default">True</property>
                                     <property name="use_action_appearance">False</property>
                                     <property name="image">upImage1</property>
+                                    <signal name="clicked" handler="on_up_ampm_clicked" swapped="no"/>
                                   </object>
                                   <packing>
                                     <property name="left_attach">4</property>
@@ -304,6 +310,7 @@
                                     <property name="receives_default">True</property>
                                     <property name="use_action_appearance">False</property>
                                     <property name="image">upImage2</property>
+                                    <signal name="clicked" handler="on_up_minutes_clicked" swapped="no"/>
                                   </object>
                                   <packing>
                                     <property name="left_attach">2</property>
@@ -319,6 +326,7 @@
                                     <property name="receives_default">True</property>
                                     <property name="use_action_appearance">False</property>
                                     <property name="image">downImage1</property>
+                                    <signal name="clicked" handler="on_down_ampm_clicked" swapped="no"/>
                                   </object>
                                   <packing>
                                     <property name="left_attach">4</property>
@@ -334,6 +342,7 @@
                                     <property name="receives_default">True</property>
                                     <property name="use_action_appearance">False</property>
                                     <property name="image">downImage2</property>
+                                    <signal name="clicked" handler="on_down_minutes_clicked" swapped="no"/>
                                   </object>
                                   <packing>
                                     <property name="left_attach">2</property>
@@ -414,6 +423,7 @@
                                         <property name="xalign">0</property>
                                         <property name="active">True</property>
                                         <property name="draw_indicator">True</property>
+                                        <signal name="toggled" handler="on_timeformat_changed" swapped="no"/>
                                       </object>
                                       <packing>
                                         <property name="expand">False</property>
@@ -464,6 +474,7 @@
                                         <property name="visible">True</property>
                                         <property name="can_focus">False</property>
                                         <property name="model">months</property>
+                                        <signal name="changed" handler="on_month_changed" swapped="no"/>
                                         <child>
                                           <object class="GtkCellRendererText" id="monthsComboRenderer"/>
                                           <attributes>
@@ -482,6 +493,7 @@
                                         <property name="visible">True</property>
                                         <property name="can_focus">False</property>
                                         <property name="model">daysFilter</property>
+                                        <signal name="changed" handler="on_day_changed" swapped="no"/>
                                         <child>
                                           <object class="GtkCellRendererText" id="daysComboRenderer"/>
                                           <attributes>
@@ -500,6 +512,7 @@
                                         <property name="visible">True</property>
                                         <property name="can_focus">False</property>
                                         <property name="model">years</property>
+                                        <signal name="changed" handler="on_year_changed" swapped="no"/>
                                         <child>
                                           <object class="GtkCellRendererText" id="yearsComboRenderer"/>
                                           <attributes>
-- 
1.7.4.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux