Ignore:
Timestamp:
06/06/12 18:44:04 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added a link to the project homepage on the About dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/gui.py

    r227 r237  
    12991299            dialog.set_version(const.VERSION)
    13001300            dialog.set_copyright("(c) 2012 by István Váradi")
     1301            dialog.set_website("http://mlx.varadiistvan.hu")
     1302            dialog.set_website_label(xstr("about_website"))
    13011303
    13021304            isHungarian = getLanguage()=="hu"
     
    13111313            dialog.set_license(xstr("about_license"))
    13121314
     1315            if not pygobject:
     1316                gtk.about_dialog_set_url_hook(self._showAboutURL, None)
     1317
    13131318        return self._aboutDialog
     1319
     1320    def _showAboutURL(self, dialog, link, user_data):
     1321        """Show the about URL."""       
     1322        webbrowser.open(url = link, new = 1)
Note: See TracChangeset for help on using the changeset viewer.