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

« back to all changes in this revision

Viewing changes to www/media/browser/specialhome.js

  • Committer: wagrant
  • Date: 2008-07-24 06:54:29 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:952
specialhome: Also be nice if a directory is blocked.

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
            else
130
130
            {
131
131
                // Blocked: Offer to rename the directory
132
 
                li.appendChild(dom_make_text_elem("span", name));
133
 
                span = dom_make_text_elem("span", "blocked");
 
132
                li.appendChild(dom_make_text_elem("span", name, description));
 
133
                span = dom_make_text_elem("span", " (blocked) ",
 
134
                      "Another file or directory is in the way of this directory.");
134
135
                span.setAttribute("class", "status");
135
136
                li.appendChild(span);
136
137