diff options
author | Andrew Gaffney <agaffney@gentoo.org> | 2007-03-27 03:51:29 +0000 |
---|---|---|
committer | Andrew Gaffney <agaffney@gentoo.org> | 2007-03-27 03:51:29 +0000 |
commit | 10138018c0efd112eb418cb545ecc44c3c9f7dd1 (patch) | |
tree | 0ee663171da921944a09f032715d5e287da44ed2 /src | |
parent | subtract 1 from max size for free (diff) | |
download | gli-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')
-rw-r--r-- | src/fe/gtk/LocalMounts.py | 2 |
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: |