Change the max grid size before changing the size (fixes bug #12292). Don't rotate...
[drlaunch] / src / about.py
index 8156bd3..6f26ccc 100755 (executable)
@@ -25,26 +25,34 @@ __version__ = "$Id: 0.py 2265 2010-02-21 19:16:26Z v13 $"
 from gtk import AboutDialog
 import config
 from about0 import HeAboutDialog
+from portrait import FremantleRotation
 
-class DlgAbout(HeAboutDialog):
-    def __init__(self, *args):
-       HeAboutDialog.__init__(self, *args)
+class DlgAbout(HeAboutDialog, FremantleRotation):
+    def __init__(self):
+       HeAboutDialog.__init__(self)
+       FremantleRotation.__init__(self, "DrlaunchPlugin",
+           mode=FremantleRotation.AUTOMATIC)
 
     @classmethod
-    def present2(cls):
+    def present2(cls, parent):
        _copyright="""\
 Copyright (C) 2010 Stefanos Harhalakis <v13@v13.gr>
-Copyright (C) 2005-2010 Thomas Perl and the gPodder Team (for about0.py)
+Copyright (C) 2005-2010 Thomas Perl and the gPodder Team (for about0.py
+and portrait.py)
 """
        _description="""
 DrLaunch is a desktop launcher widget that
 supports portrait mode by rotating program
 icons. Whenever the device is rotated, icons
 are also rotated.
+
+Thanks to Thomas Perl and the gPodder Team.
 """
 
        _license="""\
-Send bug reports and feature requests to Stefanos Harhalakis <v13@v13.gr>
+Send bug reports and feature requests to maemo's bugzilla:
+https://bugs.maemo.org/enter_bug.cgi?product=DrLaunch (preferred)
+or directly to Stefanos Harhalakis <v13@v13.gr>
 
 DrLaunch is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -60,7 +68,9 @@ You should have received a copy of the GNU General Public License
 along with DrLaunch.  If not, see <http://www.gnu.org/licenses/>.
 
 DrLaunch uses a modified version of about.py from gpodder which is also
-distributed under the terms of the GPLv3 license.
+distributed under the terms of the GPLv3 license. It also uses a
+modified version of portrait.py from gpodder which is also distributed
+under the terms of the GPLv3 license.
 """
 
        args={
@@ -68,13 +78,14 @@ distributed under the terms of the GPLv3 license.
        "version":          config.version,
        "copyright":        _copyright + "\n" + _license,
        "description":      _description,
-       "bugtracker_url":   "mailto:v13@v13.gr",
+       "bugtracker_url":   "https://bugs.maemo.org/enter_bug.cgi?product=DrLaunch",
+       "parent":           parent,
        }
 
        cls.present(**args)
 
     def set_icon_name(self, icon_name):
-       print "koko"
+       pass
 
 # vim: set ts=8 sts=4 sw=4 noet formatoptions=r ai nocindent: