diff --git a/Makefile b/Makefile index 778e0ff41..c1767f383 100644 --- a/Makefile +++ b/Makefile @@ -64,6 +64,7 @@ install: cp COPYING "$(DESTDIR)$(PREFIX)/share/gajim/"; mkdir -p "$(DESTDIR)$(PREFIX)/share/pixmaps"; cp data/pixmaps/gajim.png "$(DESTDIR)$(PREFIX)/share/pixmaps/"; + cp data/pixmaps/gajim_about.png "$(DESTDIR)$(PREFIX)/share/pixmaps/"; mkdir -p "$(DESTDIR)$(PREFIX)/share/applications"; cp gajim.desktop "$(DESTDIR)$(PREFIX)/share/applications/"; mkdir -p "$(DESTDIR)$(PREFIX)/share/man/man1"; diff --git a/data/pixmaps/gajim.png b/data/pixmaps/gajim.png index 24dedfcd1..78f0a8df2 100644 Binary files a/data/pixmaps/gajim.png and b/data/pixmaps/gajim.png differ diff --git a/data/pixmaps/gajim_about.png b/data/pixmaps/gajim_about.png new file mode 100644 index 000000000..24dedfcd1 Binary files /dev/null and b/data/pixmaps/gajim_about.png differ diff --git a/src/dialogs.py b/src/dialogs.py index 7a5c4c4fe..cbe036a89 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -372,12 +372,12 @@ _('User names must be of the form "user@servername".')).get_response() self.fill_jid() self.old_uid_value = uid.split('@')[0] -class About_dialog: +class AboutDialog: '''Class for about dialog''' def __init__(self): if gtk.pygtk_version < (2, 6, 0) or gtk.gtk_version < (2, 6, 0): Information_dialog(_('Gajim - a GTK+ Jabber client'), - 'Version %s' % gajim.version).get_response() + _('Version %s') % gajim.version).get_response() return dlg = gtk.AboutDialog() @@ -394,7 +394,7 @@ class About_dialog: authors = ['Yann Le Boulanger ', 'Vincent Hanquez ', 'Nikos Kouremenos ', 'Alex Podaras ', 'Gajim patchers '] dlg.set_authors(authors) - pixbuf = gtk.gdk.pixbuf_new_from_file(os.path.join(gajim.DATA_DIR, 'pixmaps/gajim.png')) + pixbuf = gtk.gdk.pixbuf_new_from_file(os.path.join(gajim.DATA_DIR, 'pixmaps/gajim_about.png')) dlg.set_logo(pixbuf) dlg.set_translator_credits(_('translator_credits')) diff --git a/src/roster_window.py b/src/roster_window.py index 4126d1b62..ad258cd86 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1073,7 +1073,7 @@ class Roster_window: dialogs.New_message_dialog(self.plugin, account) def on_about_menuitem_activate(self, widget): - dialogs.About_dialog() + dialogs.AboutDialog() def on_accounts_menuitem_activate(self, widget): if self.plugin.windows.has_key('accounts'):