Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

about: fix opening the About window.

Thi is based on an issue reported by Rocus van Osteen in #80 but
slightly improved by actually removed unused code.
  • Loading branch information...
commit 4e34e0744cdc09f859256449832dac873f968490 1 parent dec4cde
@multani authored
View
3  CHANGELOG
@@ -28,6 +28,7 @@ Bug fixes
https://github.com/multani/sonata/pull/74
* fix translation of of Glade dialogs (Peter Helbing)
https://github.com/multani/sonata/pull/75
+ * fix opening the About dialog (based on Rocus van Oosten report).
Internal changes
''''''''''''''''
@@ -551,3 +552,5 @@ v0.5 - September 12, 2006
+ Bug: Doesn't properly retain view when browsing playlist
+ Added documentation
+ Other bugfixes, tweaks
+
+# vim:ft=rst
View
3  sonata/about.py
@@ -26,11 +26,10 @@
class About:
- def __init__(self, parent_window, config, version, licensetext):
+ def __init__(self, parent_window, config, version):
self.parent_window = parent_window
self.config = config
self.version = version
- self.license = licensetext
self.about_dialog = None
self.shortcuts_dialog = None
View
25 sonata/launcher.py
@@ -17,30 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with Sonata. If not, see <http://www.gnu.org/licenses/>.
-"""Sonata is a simple GTK+ client for the Music Player Daemon.
-"""
-
-__author__ = "Scott Horowitz"
-__email__ = "stonecrest@gmail.com"
-__license__ = """
-Sonata, an elegant GTK+ client for the Music Player Daemon
-Copyright 2006-2008 Scott Horowitz <stonecrest@gmail.com>
-
-This file is part of Sonata.
-
-Sonata 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; either version 3 of the License, or
-(at your option) any later version.
-
-Sonata 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, see <http://www.gnu.org/licenses/>.
-"""
+"""Sonata is a simple GTK+ client for the Music Player Daemon."""
import sys
if sys.version_info <= (3, 2):
View
3  sonata/main.py
@@ -3054,8 +3054,7 @@ def tags_mpd_update(self, tag_paths):
self.mpd_update_queued = True
def on_about(self, _action):
- about_dialog = about.About(self.window, self.config, version,
- __license__)
+ about_dialog = about.About(self.window, self.config, version)
stats = None
if self.conn:
Please sign in to comment.
Something went wrong with that request. Please try again.