summaryrefslogtreecommitdiffstats
path: root/iw/upgrade_swap_gui.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2002-01-08 01:16:52 +0000
committerMatt Wilson <msw@redhat.com>2002-01-08 01:16:52 +0000
commitef715eb678a2b518ad7a4ed77b570436a3c11d29 (patch)
tree8c0f7fc73aab7f74f0c1d46afc155491738e3a7f /iw/upgrade_swap_gui.py
parent8bbed3b5af6fdcb17c7a317bd7333bd42b270d9d (diff)
downloadanaconda-ef715eb678a2b518ad7a4ed77b570436a3c11d29.tar.gz
anaconda-ef715eb678a2b518ad7a4ed77b570436a3c11d29.tar.xz
anaconda-ef715eb678a2b518ad7a4ed77b570436a3c11d29.zip
s/set_usize/set_size_request/g
Diffstat (limited to 'iw/upgrade_swap_gui.py')
-rw-r--r--iw/upgrade_swap_gui.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/iw/upgrade_swap_gui.py b/iw/upgrade_swap_gui.py
index 04001ed41..e0d58d4c1 100644
--- a/iw/upgrade_swap_gui.py
+++ b/iw/upgrade_swap_gui.py
@@ -97,7 +97,7 @@ class UpgradeSwapWindow (InstallWindow):
(iutil.memInstalled(corrected = 1)/1024))
label.set_alignment (0.5, 0.0)
- label.set_usize(400, 100)
+ label.set_size_request(400, 100)
label.set_line_wrap (TRUE)
box.pack_start(label, FALSE)
@@ -137,7 +137,7 @@ class UpgradeSwapWindow (InstallWindow):
label = GtkLabel (_("It is recommended that your swap file be at "
"least %d MB. Please enter a size for the swap "
"file:") % suggSize)
- label.set_usize(400, 40)
+ label.set_size_request(400, 40)
label.set_line_wrap (TRUE)
a = GtkAlignment(0.5, 0.5)
a.add(label)
@@ -153,7 +153,7 @@ class UpgradeSwapWindow (InstallWindow):
hbox.pack_start(label, FALSE)
self.entry = GtkEntry(4)
- self.entry.set_usize(40, 25)
+ self.entry.set_size_request(40, 25)
self.entry.set_text(str(suggSize))
hbox.pack_start(self.entry, FALSE, TRUE, 10)