diff --git a/rigo/rigo/__init__.py b/rigo/rigo/__init__.py index e69de29bb..a157c1840 100644 --- a/rigo/rigo/__init__.py +++ b/rigo/rigo/__init__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +""" +Copyright (C) 2012 Fabio Erculiani + +Authors: + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" diff --git a/rigo/rigo/em.py b/rigo/rigo/em.py index 7b2555a08..034090e62 100644 --- a/rigo/rigo/em.py +++ b/rigo/rigo/em.py @@ -1,3 +1,25 @@ +# -*- coding: utf-8 -*- +""" +Copyright (C) 2009 Canonical +Copyright (C) 2012 Fabio Erculiani + +Authors: + Somebody at Canonical? + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" import gi from gi.repository import Pango from gi.repository import Gtk diff --git a/rigo/rigo/entropyapi.py b/rigo/rigo/entropyapi.py index 6f5bfab08..fd93081ca 100644 --- a/rigo/rigo/entropyapi.py +++ b/rigo/rigo/entropyapi.py @@ -1,3 +1,23 @@ +# -*- coding: utf-8 -*- +""" +Copyright (C) 2012 Fabio Erculiani + +Authors: + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" import os import tempfile from threading import Lock diff --git a/rigo/rigo/enums.py b/rigo/rigo/enums.py index e48757b17..0ef9c6280 100644 --- a/rigo/rigo/enums.py +++ b/rigo/rigo/enums.py @@ -1,20 +1,25 @@ -# Copyright (C) 2009 Canonical -# -# Authors: -# Michael Vogt -# -# This program is free software; you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the Free Software -# Foundation; version 3. -# -# This program is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# -*- coding: utf-8 -*- +""" +Copyright (C) 2009 Canonical +Copyright (C) 2012 Fabio Erculiani + +Authors: + Michael Vogt + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" import os from entropy.i18n import _ diff --git a/rigo/rigo/models/__init__.py b/rigo/rigo/models/__init__.py index e69de29bb..a157c1840 100644 --- a/rigo/rigo/models/__init__.py +++ b/rigo/rigo/models/__init__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +""" +Copyright (C) 2012 Fabio Erculiani + +Authors: + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" diff --git a/rigo/rigo/models/application.py b/rigo/rigo/models/application.py index 5831de839..9589f677d 100644 --- a/rigo/rigo/models/application.py +++ b/rigo/rigo/models/application.py @@ -1,22 +1,25 @@ -# Copyright (C) 2010 Canonical -# Copyright (C) 2012 Fabio Erculiani -# -# Authors: -# Michael Vogt -# Fabio Erculiani -# -# This program is free software; you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the Free Software -# Foundation; version 3. -# -# This program is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# -*- coding: utf-8 -*- +""" +Copyright (C) 2009 Canonical +Copyright (C) 2012 Fabio Erculiani + +Authors: + Michael Vogt + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" import logging import os diff --git a/rigo/rigo/paths.py b/rigo/rigo/paths.py index c2b52c4ed..7117c3e1a 100644 --- a/rigo/rigo/paths.py +++ b/rigo/rigo/paths.py @@ -1,21 +1,23 @@ -# Copyright (C) 2012 Fabio Erculiani -# -# Authors: -# Fabio Erculiani -# -# This program is free software; you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the Free Software -# Foundation; version 3. -# -# This program is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# -*- coding: utf-8 -*- +""" +Copyright (C) 2012 Fabio Erculiani +Authors: + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" import os ICON_PATH = os.getenv("RIGO_ICON_PATH", "/usr/share/rigo/icons") diff --git a/rigo/rigo/shapes.py b/rigo/rigo/shapes.py index 90bacad22..3e05989d4 100644 --- a/rigo/rigo/shapes.py +++ b/rigo/rigo/shapes.py @@ -1,3 +1,26 @@ +# -*- coding: utf-8 -*- +""" +Copyright (C) 2009 Canonical +Copyright (C) 2012 Fabio Erculiani + +Authors: + Michael Vogt + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" + import gi gi.require_version("Gtk", "3.0") from gi.repository import Gtk @@ -28,7 +51,7 @@ class Shape: If the Shape is direction dependent, the Shape MUST implement <_layout_ltr> and <_layout_rtl> methods. - + If the Shape is not direction dependent, then it simply can override the method. @@ -271,3 +294,4 @@ class ShapeStar(Shape): cr.close_path() return + diff --git a/rigo/rigo/ui/__init__.py b/rigo/rigo/ui/__init__.py index e69de29bb..a157c1840 100644 --- a/rigo/rigo/ui/__init__.py +++ b/rigo/rigo/ui/__init__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +""" +Copyright (C) 2012 Fabio Erculiani + +Authors: + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" diff --git a/rigo/rigo/ui/gtk3/__init__.py b/rigo/rigo/ui/gtk3/__init__.py index e69de29bb..a157c1840 100644 --- a/rigo/rigo/ui/gtk3/__init__.py +++ b/rigo/rigo/ui/gtk3/__init__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +""" +Copyright (C) 2012 Fabio Erculiani + +Authors: + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" diff --git a/rigo/rigo/ui/gtk3/models/__init__.py b/rigo/rigo/ui/gtk3/models/__init__.py index e69de29bb..a157c1840 100644 --- a/rigo/rigo/ui/gtk3/models/__init__.py +++ b/rigo/rigo/ui/gtk3/models/__init__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +""" +Copyright (C) 2012 Fabio Erculiani + +Authors: + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" diff --git a/rigo/rigo/ui/gtk3/models/appliststore.py b/rigo/rigo/ui/gtk3/models/appliststore.py index 17c6c16e0..ff1cf6e83 100644 --- a/rigo/rigo/ui/gtk3/models/appliststore.py +++ b/rigo/rigo/ui/gtk3/models/appliststore.py @@ -1,3 +1,23 @@ +# -*- coding: utf-8 -*- +""" +Copyright (C) 2012 Fabio Erculiani + +Authors: + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" import os from threading import Lock diff --git a/rigo/rigo/ui/gtk3/utils.py b/rigo/rigo/ui/gtk3/utils.py index ef5ecf56a..ad2662d96 100644 --- a/rigo/rigo/ui/gtk3/utils.py +++ b/rigo/rigo/ui/gtk3/utils.py @@ -1,23 +1,25 @@ -# Copyright (C) 2009 Canonical -# -# Authors: -# Michael Vogt -# -# This program is free software; you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the Free Software -# Foundation; version 3. -# -# This program is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# -*- coding: utf-8 -*- +""" +Copyright (C) 2009 Canonical +Copyright (C) 2012 Fabio Erculiani -#import gi -#gi.require_version("Gtk", "3.0") +Authors: + Michael Vogt + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" import os import logging import shutil diff --git a/rigo/rigo/ui/gtk3/widgets/__init__.py b/rigo/rigo/ui/gtk3/widgets/__init__.py index e69de29bb..a157c1840 100644 --- a/rigo/rigo/ui/gtk3/widgets/__init__.py +++ b/rigo/rigo/ui/gtk3/widgets/__init__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +""" +Copyright (C) 2012 Fabio Erculiani + +Authors: + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" diff --git a/rigo/rigo/ui/gtk3/widgets/apptreeview.py b/rigo/rigo/ui/gtk3/widgets/apptreeview.py index 565ab039d..c5bdacda1 100644 --- a/rigo/rigo/ui/gtk3/widgets/apptreeview.py +++ b/rigo/rigo/ui/gtk3/widgets/apptreeview.py @@ -1,3 +1,25 @@ +# -*- coding: utf-8 -*- +""" +Copyright (C) 2009 Canonical +Copyright (C) 2012 Fabio Erculiani + +Authors: + Michael Vogt + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" from gi.repository import Gtk, Gdk, GObject import logging import os diff --git a/rigo/rigo/ui/gtk3/widgets/buttons.py b/rigo/rigo/ui/gtk3/widgets/buttons.py index cda80c5e6..2253c6837 100644 --- a/rigo/rigo/ui/gtk3/widgets/buttons.py +++ b/rigo/rigo/ui/gtk3/widgets/buttons.py @@ -1,21 +1,26 @@ -# Copyright (C) 2011 Canonical -# -# Authors: -# Matthew McGowan -# -# This program is free software; you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the Free Software -# Foundation; version 3. -# -# This program is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# -*- coding: utf-8 -*- +""" +Copyright (C) 2011 Canonical +Copyright (C) 2012 Fabio Erculiani +Authors: + MatthewMcGowan + Michael Vogt + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" import cairo from gi.repository import Gtk, Gdk, Pango, GObject, GdkPixbuf diff --git a/rigo/rigo/ui/gtk3/widgets/cellrenderers.py b/rigo/rigo/ui/gtk3/widgets/cellrenderers.py index 073bf0ec4..b0ed434b9 100644 --- a/rigo/rigo/ui/gtk3/widgets/cellrenderers.py +++ b/rigo/rigo/ui/gtk3/widgets/cellrenderers.py @@ -1,22 +1,26 @@ -# Copyright (C) 2011 Canonical -# -# Authors: -# Matthew McGowan -# Michael Vogt -# -# This program is free software; you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the Free Software -# Foundation; version 3. -# -# This program is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# -*- coding: utf-8 -*- +""" +Copyright (C) 2011 Canonical +Copyright (C) 2012 Fabio Erculiani +Authors: + Michael Vogt + Matthew McGowan + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" from gi.repository import Gtk, Gdk, GObject, Pango from entropy.const import const_convert_to_unicode diff --git a/rigo/rigo/ui/gtk3/widgets/comments.py b/rigo/rigo/ui/gtk3/widgets/comments.py index 52d2e13be..a25e3ede5 100644 --- a/rigo/rigo/ui/gtk3/widgets/comments.py +++ b/rigo/rigo/ui/gtk3/widgets/comments.py @@ -1,21 +1,23 @@ -# Copyright (C) 2012 Fabio Erculiani -# -# Authors: -# Fabio Erculiani -# -# This program is free software; you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the Free Software -# Foundation; version 3. -# -# This program is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# -*- coding: utf-8 -*- +""" +Copyright (C) 2012 Fabio Erculiani +Authors: + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" from gi.repository import Gtk, Pango, GObject from entropy.client.services.interfaces import Document, DocumentFactory diff --git a/rigo/rigo/ui/gtk3/widgets/drawing.py b/rigo/rigo/ui/gtk3/widgets/drawing.py index ca9a6be85..a6dbf5c18 100644 --- a/rigo/rigo/ui/gtk3/widgets/drawing.py +++ b/rigo/rigo/ui/gtk3/widgets/drawing.py @@ -1,3 +1,25 @@ +# -*- coding: utf-8 -*- +""" +Copyright (C) 2009 Canonical +Copyright (C) 2012 Fabio Erculiani + +Authors: + Somebody at Canonical? + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" from math import pi as PI PI_OVER_180 = PI/180 diff --git a/rigo/rigo/ui/gtk3/widgets/notifications.py b/rigo/rigo/ui/gtk3/widgets/notifications.py index b66584c9b..d2fd07281 100644 --- a/rigo/rigo/ui/gtk3/widgets/notifications.py +++ b/rigo/rigo/ui/gtk3/widgets/notifications.py @@ -1,4 +1,23 @@ +# -*- coding: utf-8 -*- +""" +Copyright (C) 2012 Fabio Erculiani +Authors: + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" import subprocess from gi.repository import Gtk, GLib, GObject diff --git a/rigo/rigo/ui/gtk3/widgets/stars.py b/rigo/rigo/ui/gtk3/widgets/stars.py index 3ce0b623a..88f7f44f9 100644 --- a/rigo/rigo/ui/gtk3/widgets/stars.py +++ b/rigo/rigo/ui/gtk3/widgets/stars.py @@ -1,21 +1,25 @@ -# Copyright (C) 2011 Canonical -# -# Authors: -# Matthew McGowan -# -# This program is free software; you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the Free Software -# Foundation; version 3. -# -# This program is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# -*- coding: utf-8 -*- +""" +Copyright (C) 2011 Canonical +Copyright (C) 2012 Fabio Erculiani +Authors: + Matthew McGowan + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" import cairo import logging diff --git a/rigo/rigo/ui/gtk3/widgets/welcome.py b/rigo/rigo/ui/gtk3/widgets/welcome.py index dd3889c0c..33131797d 100644 --- a/rigo/rigo/ui/gtk3/widgets/welcome.py +++ b/rigo/rigo/ui/gtk3/widgets/welcome.py @@ -1,3 +1,23 @@ +# -*- coding: utf-8 -*- +""" +Copyright (C) 2012 Fabio Erculiani + +Authors: + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" import os from gi.repository import Gtk diff --git a/rigo/rigo/utils.py b/rigo/rigo/utils.py index a0a922713..ca7ddebaa 100644 --- a/rigo/rigo/utils.py +++ b/rigo/rigo/utils.py @@ -1,4 +1,23 @@ +# -*- coding: utf-8 -*- +""" +Copyright (C) 2012 Fabio Erculiani +Authors: + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" import os import subprocess diff --git a/rigo/rigo/version.py b/rigo/rigo/version.py index 10fe25f01..a9b473d75 100644 --- a/rigo/rigo/version.py +++ b/rigo/rigo/version.py @@ -1,4 +1,4 @@ -VERSION='0.1' -CODENAME='zomg' +VERSION='0.5' +CODENAME='zomg2' DISTRO='Sabayon' RELEASE='Rolling' diff --git a/rigo/rigo_app.py b/rigo/rigo_app.py index 6b8fcd3ea..233b2c212 100644 --- a/rigo/rigo_app.py +++ b/rigo/rigo_app.py @@ -1,3 +1,24 @@ +# -*- coding: utf-8 -*- +""" +Copyright (C) 2012 Fabio Erculiani + +Authors: + Fabio Erculiani + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; version 3. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" + import os import sys import copy