FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 03-30-2012, 07:55 PM
Vratislav Podzimek
 
Default Add month_changed and year_changed callbacks and filter days

---
pyanaconda/ui/gui/spokes/datetime_spoke.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/datetime_spoke.py b/pyanaconda/ui/gui/spokes/datetime_spoke.py
index b269fd1..0f45806 100644
--- a/pyanaconda/ui/gui/spokes/datetime_spoke.py
+++ b/pyanaconda/ui/gui/spokes/datetime_spoke.py
@@ -171,13 +171,13 @@ class DatetimeSpoke(NormalSpoke):
pass

def on_month_changed(self, *args):
- pass
+ self._daysFilter.refilter()

def on_day_changed(self, *args):
pass

def on_year_changed(self, *args):
- pass
+ self._daysFilter.refilter()

def on_timezone_changed(self, *args):
pass
--
1.7.4.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 04-02-2012, 03:13 PM
Vratislav Podzimek
 
Default Add month_changed and year_changed callbacks and filter days

---
pyanaconda/ui/gui/spokes/datetime_spoke.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/datetime_spoke.py b/pyanaconda/ui/gui/spokes/datetime_spoke.py
index 1ff500d..3eb9f90 100644
--- a/pyanaconda/ui/gui/spokes/datetime_spoke.py
+++ b/pyanaconda/ui/gui/spokes/datetime_spoke.py
@@ -177,13 +177,13 @@ class DatetimeSpoke(NormalSpoke):
pass

def on_month_changed(self, *args):
- pass
+ self._daysFilter.refilter()

def on_day_changed(self, *args):
pass

def on_year_changed(self, *args):
- pass
+ self._daysFilter.refilter()

def on_timezone_changed(self, *args):
pass
--
1.7.4.4

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

Thread Tools




All times are GMT. The time now is 01:17 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org