diff options
author | Matt Wilson <msw@redhat.com> | 2001-06-25 06:06:45 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-06-25 06:06:45 +0000 |
commit | c60c48e9d3e6436d88bdd8f2b4cac23e400344b1 (patch) | |
tree | e9aa673813f7c86857bfa9adc6fa194768721808 | |
parent | 11128835621aa718e63faf112433a312b90a4f05 (diff) | |
download | anaconda-c60c48e9d3e6436d88bdd8f2b4cac23e400344b1.tar.gz anaconda-c60c48e9d3e6436d88bdd8f2b4cac23e400344b1.tar.xz anaconda-c60c48e9d3e6436d88bdd8f2b4cac23e400344b1.zip |
move setting pygtk environment variables to the first file that
imports them - splashscreen.py
fixed what I broke in partitioning.py
-rwxr-xr-x | gui.py | 2 | ||||
-rw-r--r-- | partitioning.py | 4 | ||||
-rw-r--r-- | splashscreen.py | 4 |
3 files changed, 6 insertions, 4 deletions
@@ -14,8 +14,6 @@ # import os -os.environ["PYGTK_FATAL_EXCEPTIONS"] = "1" -os.environ["GNOME_DISABLE_CRASH_DIALOG"] = "1" # msw says this is a good idea os.environ["LC_ALL"] = "C" diff --git a/partitioning.py b/partitioning.py index 0cc154f7d..f06e470ae 100644 --- a/partitioning.py +++ b/partitioning.py @@ -477,8 +477,8 @@ class PartitionRequests: self.deletes = [] # identifier used for raid partitions self.nextUniqueID = 1 -# if diskset: -# self.setFromDisk(diskset) + if diskset: + self.setFromDisk(diskset) def setFromDisk(self, diskset): diff --git a/splashscreen.py b/splashscreen.py index f1deebbc0..30eccdd55 100644 --- a/splashscreen.py +++ b/splashscreen.py @@ -13,6 +13,10 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # +import os +os.environ["PYGTK_FATAL_EXCEPTIONS"] = "1" +os.environ["GNOME_DISABLE_CRASH_DIALOG"] = "1" + from gtk import * from gtk import _root_window import GDK |