~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to setup/util.py

  • Committer: Matt Giuca
  • Date: 2010-02-23 05:27:07 UTC
  • Revision ID: matt.giuca@gmail.com-20100223052707-3a76wo23r2z503t8
browser.js: Adjusted condition for enabling "Commit" action; now allowed if
    no files are selected AND current directory is versioned (as well as if
    all selected files are versioned). Committing with 0 files selected will
    commit the current directory.
ivle.fileservice_lib.action: Fixed to allow commit to contain 0 paths. This
    will commit the current directory instead.
This fixes Launchpad bug #526161.

Show diffs side-by-side

added added

removed removed

Lines of Context:
256
256
# Mime types which will automatically be placed in the list by InstallList.
257
257
installlist_mimetypes = ['text/x-python', 'text/html',
258
258
    'application/x-javascript', 'application/javascript',
259
 
    'text/css', 'image/png', 'image/gif', 'application/xml', 'text/plain',
260
 
    'text/x-sh']
 
259
    'text/css', 'image/png', 'image/gif', 'application/xml', 'text/plain']
261
260
# Filenames which will automatically be placed in the list by InstallList.
262
261
whitelist_filenames = ['ivle-spec.conf']
263
262
 
322
321
        "bin/ivle-fetchsubmissions",
323
322
        "bin/ivle-listusers",
324
323
        "bin/ivle-loadsampledata",
 
324
        "bin/ivle-marks",
325
325
        "bin/ivle-mountallusers",
326
326
        "bin/ivle-refreshfilesystem",
327
327
        "bin/ivle-remakeuser",