aboutsummaryrefslogtreecommitdiff
path: root/src/fe
diff options
context:
space:
mode:
authorAndrew Gaffney <agaffney@gentoo.org>2007-03-27 03:51:29 +0000
committerAndrew Gaffney <agaffney@gentoo.org>2007-03-27 03:51:29 +0000
commit10138018c0efd112eb418cb545ecc44c3c9f7dd1 (patch)
tree0ee663171da921944a09f032715d5e287da44ed2 /src/fe
parentsubtract 1 from max size for free (diff)
downloadgli-10138018c0efd112eb418cb545ecc44c3c9f7dd1.tar.gz
gli-10138018c0efd112eb418cb545ecc44c3c9f7dd1.tar.bz2
gli-10138018c0efd112eb418cb545ecc44c3c9f7dd1.zip
s/or/and/
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/gli/trunk@1834 f8877401-5920-0410-a79b-8e2d7e04ca0d
Diffstat (limited to 'src/fe')
-rw-r--r--src/fe/gtk/LocalMounts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe/gtk/LocalMounts.py b/src/fe/gtk/LocalMounts.py
index 34f439c..146baa0 100644
--- a/src/fe/gtk/LocalMounts.py
+++ b/src/fe/gtk/LocalMounts.py
@@ -172,7 +172,7 @@ can remove it from the list by clicking the 'Delete' button.
if result == gtk.RESPONSE_ACCEPT:
msgdialog.destroy()
return
- if self.mount_info_mountpoint.get_text().strip() == "":
+ if not self.mount_info_type.get_text().strip() in ("swap", "linux-swap") and self.mount_info_mountpoint.get_text().strip() == "":
msgdialog = Widgets.Widgets().error_Box("Invalid Entry", "You must enter a mountpoint")
result = msgdialog.run()
if result == gtk.RESPONSE_ACCEPT: