public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Wiktor W Brodlo" <wiktor@brodlo.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/anaconda:master commit in: iw/
Date: Wed,  3 Aug 2011 09:47:14 +0000 (UTC)	[thread overview]
Message-ID: <274cb9cc3b54cb3f5a8410d75376d2d7f76fe8eb.wiktor@gentoo> (raw)

commit:     274cb9cc3b54cb3f5a8410d75376d2d7f76fe8eb
Author:     wiktor w brodlo <wiktor <AT> brodlo <DOT> net>
AuthorDate: Wed Aug  3 09:46:45 2011 +0000
Commit:     Wiktor W Brodlo <wiktor <AT> brodlo <DOT> net>
CommitDate: Wed Aug  3 09:46:45 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/anaconda.git;a=commit;h=274cb9cc

iw/timezone_gui.py: revert to stock

---
 iw/timezone_gui.py |   21 +++++++++------------
 1 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/iw/timezone_gui.py b/iw/timezone_gui.py
index e61dba3..bfe8029 100644
--- a/iw/timezone_gui.py
+++ b/iw/timezone_gui.py
@@ -26,7 +26,6 @@ import gobject
 from scdate.core import zonetab
 import pango
 import sys
-import gui
 
 from timezone_map_gui import TimezoneMap, Enum
 from iw_gui import *
@@ -56,22 +55,21 @@ class TimezoneWindow(InstallWindow):
         self.zonetab = zonetab.ZoneTab()
 
         # Pull in a bunch of widgets.
-        (self.xml, self.vbox) = gui.getGladeWidget("timezone.glade", "tz_vbox")
+        self.xml = gtk.glade.XML("/usr/share/system-config-date/system-config-date.glade", domain="system-config-date")
+        self.vbox = self.xml.get_widget("tz_vbox")
         self.utcCheckbox = self.xml.get_widget("utc_check")
+        self.notebook = self.xml.get_widget("notebook")
 
         ics.setTitle(_("Time Zone Selection"))
         ics.setNextEnabled(1)
 
     def custom_widget_handler(self, xml, function_name, widget_name, str1, str2,
                               int1, int2):
-        try:
-            if hasattr(self, function_name):
-                handler = getattr(self, function_name)
-                return handler(str1, str2, int1, int2)
-            else:
-                # Lame.
-                return gtk.Label()
-        except:
+        if hasattr(self, function_name):
+            handler = getattr(self, function_name)
+            return handler(str1, str2, int1, int2)
+        else:
+            # Lame.
             return gtk.Label()
 
     def timezone_widget_create (self, str1, str2, int1, int2):
@@ -107,7 +105,7 @@ class TimezoneWindow(InstallWindow):
 
     # TimezoneWindow tag="timezone"
     def getScreen(self, anaconda):
-        self.intf = anaconda.intf        
+	self.intf = anaconda.intf        
         self.timezone = anaconda.timezone
         (self.default, asUTC) = self.timezone.getTimezoneInfo()
 
@@ -176,7 +174,6 @@ class AnacondaTZMap(TimezoneMap):
         self.tzCombo.add_attribute(cell, 'text', 0)
         self.tzCombo.connect("changed", self.selectionChanged)
         self.hbox.pack_start(self.tzCombo, False, False)
-        self.hbox.pack_start(self.utcCheckbox, False, False)
 
         self.pack_start(self.hbox, False, False)
 



             reply	other threads:[~2011-08-03  9:47 UTC|newest]

Thread overview: 97+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-03  9:47 Wiktor W Brodlo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-08-21  0:03 [gentoo-commits] proj/anaconda:master commit in: iw/ Wiktor W Brodlo
2011-08-21  0:03 Wiktor W Brodlo
2011-08-21  0:03 Wiktor W Brodlo
2011-08-21  0:03 Wiktor W Brodlo
2011-08-11 12:58 Wiktor W Brodlo
2011-08-04  2:16 Wiktor W Brodlo
2011-08-04  2:16 Wiktor W Brodlo
2011-08-04  2:16 Wiktor W Brodlo
2011-08-03 11:30 Wiktor W Brodlo
2011-08-03  9:31 Wiktor W Brodlo
2011-08-03  9:16 Wiktor W Brodlo
2011-08-03  8:59 Wiktor W Brodlo
2011-08-03  8:51 Wiktor W Brodlo
2011-08-03  8:40 Wiktor W Brodlo
2011-08-03  2:52 Wiktor W Brodlo
2011-08-01  9:47 Wiktor W Brodlo
2011-08-01  9:39 Wiktor W Brodlo
2011-08-01  9:32 Wiktor W Brodlo
2011-08-01  9:09 Wiktor W Brodlo
2011-08-01  8:58 Wiktor W Brodlo
2011-08-01  1:59 Wiktor W Brodlo
2011-08-01  1:50 Wiktor W Brodlo
2011-08-01  1:41 Wiktor W Brodlo
2011-08-01  1:32 Wiktor W Brodlo
2011-08-01  1:24 Wiktor W Brodlo
2011-08-01  1:01 Wiktor W Brodlo
2011-08-01  0:53 Wiktor W Brodlo
2011-08-01  0:44 Wiktor W Brodlo
2011-08-01  0:35 Wiktor W Brodlo
2011-08-01  0:28 Wiktor W Brodlo
2011-08-01  0:17 Wiktor W Brodlo
2011-07-30  3:16 Wiktor W Brodlo
2011-07-26 11:38 Wiktor W Brodlo
2011-07-26 11:27 Wiktor W Brodlo
2011-07-26 11:12 Wiktor W Brodlo
2011-07-23  0:18 Wiktor W Brodlo
2011-07-22 21:22 Wiktor W Brodlo
2011-07-22 19:34 Wiktor W Brodlo
2011-07-22 19:27 Wiktor W Brodlo
2011-07-22 19:16 Wiktor W Brodlo
2011-07-21 21:37 Wiktor W Brodlo
2011-07-21 21:21 Wiktor W Brodlo
2011-07-21 20:40 Wiktor W Brodlo
2011-07-21 16:40 Wiktor W Brodlo
2011-07-21 15:21 Wiktor W Brodlo
2011-07-21 15:04 Wiktor W Brodlo
2011-07-21 14:47 Wiktor W Brodlo
2011-07-21 14:36 Wiktor W Brodlo
2011-07-21 14:19 Wiktor W Brodlo
2011-07-21 13:47 Wiktor W Brodlo
2011-07-21 13:42 Wiktor W Brodlo
2011-07-21 12:43 Wiktor W Brodlo
2011-07-10  1:44 Wiktor W Brodlo
2011-07-09 22:43 Wiktor W Brodlo
2011-07-09 19:20 Wiktor W Brodlo
2011-07-09 19:06 Wiktor W Brodlo
2011-07-09 18:43 Wiktor W Brodlo
2011-07-08 16:18 Wiktor W Brodlo
2011-07-08 15:42 Wiktor W Brodlo
2011-07-07 20:35 Wiktor W Brodlo
2011-07-07 20:22 Wiktor W Brodlo
2011-07-07 18:58 Wiktor W Brodlo
2011-07-07 18:58 Wiktor W Brodlo
2011-07-05 12:36 Wiktor W Brodlo
2011-07-05 12:33 Wiktor W Brodlo
2011-07-05 12:22 Wiktor W Brodlo
2011-07-05 12:07 Wiktor W Brodlo
2011-07-04 16:32 Wiktor W Brodlo
2011-07-04 16:19 Wiktor W Brodlo
2011-07-04 15:16 Wiktor W Brodlo
2011-07-04 14:53 Wiktor W Brodlo
2011-07-04 14:40 Wiktor W Brodlo
2011-07-04 14:18 Wiktor W Brodlo
2011-07-04 14:17 Wiktor W Brodlo
2011-07-04 12:56 Wiktor W Brodlo
2011-07-04 12:42 Wiktor W Brodlo
2011-07-03 19:28 Wiktor W Brodlo
2011-07-03 19:21 Wiktor W Brodlo
2011-07-03 19:06 Wiktor W Brodlo
2011-07-03 18:59 Wiktor W Brodlo
2011-07-03 17:52 Wiktor W Brodlo
2011-07-03 17:15 Wiktor W Brodlo
2011-07-03 16:49 Wiktor W Brodlo
2011-07-03 16:41 Wiktor W Brodlo
2011-07-03 16:00 Wiktor W Brodlo
2011-07-03 15:54 Wiktor W Brodlo
2011-07-01  2:03 Wiktor W Brodlo
2011-06-21 13:40 Wiktor W Brodlo
2011-06-21 13:12 Wiktor W Brodlo
2011-06-21 13:04 Wiktor W Brodlo
2011-06-21 12:56 Wiktor W Brodlo
2011-06-21 12:43 Wiktor W Brodlo
2011-06-21 12:40 Wiktor W Brodlo
2011-06-21 12:15 Wiktor W Brodlo
2011-06-20 19:28 Wiktor W Brodlo
2011-06-20 19:07 Wiktor W Brodlo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=274cb9cc3b54cb3f5a8410d75376d2d7f76fe8eb.wiktor@gentoo \
    --to=wiktor@brodlo.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox