~ubuntu-branches/ubuntu/maverick/wxwidgets2.8/maverick-proposed

« back to all changes in this revision

Viewing changes to wxPython/src/mac/_misc.py

  • Committer: Bazaar Package Importer
  • Author(s): Devid Filoni
  • Date: 2007-11-06 18:25:13 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20071106182513-809agqds6igh7mqo
Tags: 2.8.6.1-0ubuntu1
* New upstream version, based on the upstream tarball
  wxPython-src-2.8.6.1.tar.bz2, renamed debian to debian-upstream.
* Provide a get-orig-source target to do the repackaging.
* Fix "substvar-source-version-is-deprecated" lintian warnings.
* Remove duplicate Description field in debian/control.
* Add "\" at the end of line 8 in debian/python-wxtools.menu to fix
  "bad-test-in-menu-item" lintian error.
* Provide .xpm icons to fix "menu-icon-not-in-xpm-format" lintian errors,
  changed Icon field in debian/python-wxtools.menu.
* Fix "wrong-name-for-upstream-changelog" lintian warnings.
* Remove "Application;" from Categories field in debian/pycrust.desktop,
  debian/pyshell.desktop, debian/xrced.desktop.
* Switch "Apps" to "Applications" in debian/python-wxtools.menu to fix
  "menu-item-uses-apps-section" lintian warnings.
* Drop the icon extension from debian/pycrust.desktop,
  debian/pyshell.desktop, debian/xrced.desktop.
* Add dpatch support.
* Add "WX_CONFIG" patch.
* debian/rules:
  - added .xpm icons to install-gtk-py-tools target
  - added "docs/changes.txt" to dh_installchangelogs in binary-common target
  - added "\" at the end of "install-examples install-msw-dev
    install-msw-dbg install-headers-msw" line in .PHONY

Show diffs side-by-side

added added

removed removed

Lines of Context:
1725
1725
        """GetOldLog(self) -> Log"""
1726
1726
        return _misc_.LogChain_GetOldLog(*args, **kwargs)
1727
1727
 
 
1728
    def DetachOldLog(*args, **kwargs):
 
1729
        """DetachOldLog(self)"""
 
1730
        return _misc_.LogChain_DetachOldLog(*args, **kwargs)
 
1731
 
1728
1732
    OldLog = property(GetOldLog,doc="See `GetOldLog`") 
1729
1733
_misc_.LogChain_swigregister(LogChain)
1730
1734
 
1927
1931
        return _misc_.Process_GetErrorStream(*args, **kwargs)
1928
1932
 
1929
1933
    def GetOutputStream(*args, **kwargs):
1930
 
        """GetOutputStream(self) -> OutputStream"""
 
1934
        """GetOutputStream(self) -> wxOutputStream"""
1931
1935
        return _misc_.Process_GetOutputStream(*args, **kwargs)
1932
1936
 
1933
1937
    def CloseOutput(*args, **kwargs):
6006
6010
    that these are just  examples and the actual values may differ. For
6007
6011
    example, under Windows the system administrator may change the
6008
6012
    standard directories locations, i.e. the Windows directory may be
6009
 
    named W:\Win2003 instead of the default C:\Windows.
 
6013
    named W:/Win2003 instead of the default C:/Windows.
6010
6014
 
6011
6015
    The strings appname and username should be replaced with the value
6012
6016
    returned by `wx.App.GetAppName` and the name of the currently logged
6053
6057
        GetConfigDir(self) -> String
6054
6058
 
6055
6059
        Return the directory with system config files: /etc under Unix,
6056
 
        'c:\Documents and Settings\All Users\Application Data' under Windows,
 
6060
        'c:/Documents and Settings/All Users/Application Data' under Windows,
6057
6061
        /Library/Preferences for Mac
6058
6062
        """
6059
6063
        return _misc_.StandardPaths_GetConfigDir(*args, **kwargs)
6063
6067
        GetUserConfigDir(self) -> String
6064
6068
 
6065
6069
        Return the directory for the user config files: $HOME under Unix,
6066
 
        'c:\Documents and Settings\username' under Windows, and 
 
6070
        'c:/Documents and Settings/username' under Windows, and 
6067
6071
        ~/Library/Preferences under Mac
6068
6072
            
6069
6073
        Only use this if you have a single file to put there, otherwise
6077
6081
 
6078
6082
        Return the location of the application's global, (i.e. not
6079
6083
        user-specific,) data files: prefix/share/appname under Unix,
6080
 
        'c:\Program Files\appname' under Windows,
 
6084
        'c:/Program Files/appname' under Windows,
6081
6085
        appname.app/Contents/SharedSupport app bundle directory under Mac.
6082
6086
        """
6083
6087
        return _misc_.StandardPaths_GetDataDir(*args, **kwargs)
6097
6101
        GetUserDataDir(self) -> String
6098
6102
 
6099
6103
        Return the directory for the user-dependent application data files:
6100
 
        $HOME/.appname under Unix, c:\Documents and
6101
 
        Settings\username\Application Data\appname under Windows and
 
6104
        $HOME/.appname under Unix, c:/Documents and
 
6105
        Settings/username/Application Data/appname under Windows and
6102
6106
        ~/Library/Application Support/appname under Mac
6103
6107
        """
6104
6108
        return _misc_.StandardPaths_GetUserDataDir(*args, **kwargs)
6111
6115
        with the other machines
6112
6116
 
6113
6117
        Same as `GetUserDataDir` for all platforms except Windows where it is
6114
 
        the 'Local Settings\Application Data\appname' directory.
 
6118
        the 'Local Settings/Application Data/appname' directory.
6115
6119
        """
6116
6120
        return _misc_.StandardPaths_GetUserLocalDataDir(*args, **kwargs)
6117
6121
 
6157
6161
 
6158
6162
        Return the Documents directory for the current user.
6159
6163
 
6160
 
        C:\Documents and Settings\username\Documents under Windows,
 
6164
        C:/Documents and Settings/username/Documents under Windows,
6161
6165
        $HOME under Unix and ~/Documents under Mac
6162
6166
        """
6163
6167
        return _misc_.StandardPaths_GetDocumentsDir(*args, **kwargs)