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

« back to all changes in this revision

Viewing changes to www/apps/browser/__init__.py

  • Committer: mattgiuca
  • Date: 2008-06-16 08:28:58 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:777
browser: Now hides the "More actions" box altogether if the current file is
    not a directory. (There is nothing useful there, though this may change).
    Fixed disabling directory actions all the time.
Editor: Rather than having an empty "actions2" bar and a special "editor
    bar", the contents of the previous editor bar are now placed in the
    "actions2" bar. (Basically removed that blank toolbar line in the editor).

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
        class="disabled">Run</a> :
145
145
    <a id="act_download" class="choice">Download</a> :
146
146
    <a title="Refresh the current page" onclick="refresh()"
147
 
        class="choice">Refresh</a> :
 
147
        class="choice">Refresh</a><span id="moreactions_area"> :
148
148
    <select id="moreactions" onchange="handle_moreactions()"
149
149
        onblur="handle_moreactions()">
150
150
      <option class="moreactions" value="top"
200
200
      <option id="act_svncheckout" class="disabled" disabled="disabled"
201
201
        title="Re-check out your default directories"
202
202
        value="svncheckout">Re-Checkout</option>
203
 
    </select>
 
203
    </select></span>
204
204
""")
205
205
 
206
206
def present_actions2(req, isdir):