mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Strip trailing space and tabs in aboutdialog
This commit is contained in:
parent
3d8e3f4add
commit
96d8f10080
1 changed files with 5 additions and 5 deletions
|
@ -17,9 +17,9 @@
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with deluge. If not, write to:
|
# along with deluge. If not, write to:
|
||||||
# The Free Software Foundation, Inc.,
|
# The Free Software Foundation, Inc.,
|
||||||
# 51 Franklin Street, Fifth Floor
|
# 51 Franklin Street, Fifth Floor
|
||||||
# Boston, MA 02110-1301, USA.
|
# Boston, MA 02110-1301, USA.
|
||||||
#
|
#
|
||||||
# In addition, as a special exception, the copyright holders give
|
# In addition, as a special exception, the copyright holders give
|
||||||
# permission to link the code of portions of this program with the OpenSSL
|
# permission to link the code of portions of this program with the OpenSSL
|
||||||
|
@ -285,10 +285,10 @@ class AboutDialog:
|
||||||
if not client.is_classicmode():
|
if not client.is_classicmode():
|
||||||
self.about.set_comments(
|
self.about.set_comments(
|
||||||
self.about.get_comments() + _("Server:") + " %coreversion%\n")
|
self.about.get_comments() + _("Server:") + " %coreversion%\n")
|
||||||
|
|
||||||
self.about.set_comments(
|
self.about.set_comments(
|
||||||
self.about.get_comments() + "\n" + _("libtorrent:") + " %ltversion%\n")
|
self.about.get_comments() + "\n" + _("libtorrent:") + " %ltversion%\n")
|
||||||
|
|
||||||
def on_lt_version(result):
|
def on_lt_version(result):
|
||||||
c = self.about.get_comments()
|
c = self.about.get_comments()
|
||||||
c = c.replace("%ltversion%", result)
|
c = c.replace("%ltversion%", result)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue