[Python-apps-commits] r8281 - in packages/gmail-notify/trunk/debian/patches (2 files)
adejong at users.alioth.debian.org
adejong at users.alioth.debian.org
Fri Mar 9 13:29:46 UTC 2012
Date: Friday, March 9, 2012 @ 13:29:45
Author: adejong
Revision: 8281
* Clean up whitespace changes in patches.
Modified:
packages/gmail-notify/trunk/debian/patches/06_gmail_to_mail.patch
packages/gmail-notify/trunk/debian/patches/07_preferences-window.patch
Modified: packages/gmail-notify/trunk/debian/patches/06_gmail_to_mail.patch
===================================================================
--- packages/gmail-notify/trunk/debian/patches/06_gmail_to_mail.patch 2012-03-09 12:58:18 UTC (rev 8280)
+++ packages/gmail-notify/trunk/debian/patches/06_gmail_to_mail.patch 2012-03-09 13:29:45 UTC (rev 8281)
@@ -11,7 +11,7 @@
- print "launching browser "+self.options['browserpath']+" http://gmail.google.com"
- os.system(self.options['browserpath']+" http://gmail.google.com &")
+ print "launching browser "+self.options['browserpath']+" http://mail.google.com"
-+ os.system(self.options['browserpath']+" http://mail.google.com &")
++ os.system(self.options['browserpath']+" http://mail.google.com &")
def show_quota_info( self, event):
print "Not available"
Modified: packages/gmail-notify/trunk/debian/patches/07_preferences-window.patch
===================================================================
--- packages/gmail-notify/trunk/debian/patches/07_preferences-window.patch 2012-03-09 12:58:18 UTC (rev 8280)
+++ packages/gmail-notify/trunk/debian/patches/07_preferences-window.patch 2012-03-09 13:29:45 UTC (rev 8281)
@@ -5,20 +5,16 @@
--- a/GmailConfig.py
+++ b/GmailConfig.py
-@@ -264,9 +264,13 @@
+@@ -264,6 +264,9 @@
def get_lang( self ):
return self.lang
+ def no_username_or_password( self ):
+ return ( self.options["gmailusername"] == None or self.options["gmailpassword"] == None )
-+
++
def main( self ):
gtk.main()
-+
- if __name__ == "__main__":
- config = GmailConfigWindow()
- config.update_labels();
--- a/notifier.py
+++ b/notifier.py
@@ -56,8 +56,11 @@
More information about the Python-apps-commits
mailing list