~bzr-explorer-dev/bzr-explorer/ppa

« back to all changes in this revision

Viewing changes to lib/location_viewer.py

  • Committer: Andrew Starr-Bochicchio
  • Date: 2010-02-28 15:00:08 UTC
  • mfrom: (321.1.12 unstable)
  • Revision ID: a.starr.b@gmail.com-20100228150008-e3i8cdyst1xc1gmy
Tags: 1.0.0final-0~bazaar1~karmic1
Merge from Debian branch retaining DebSrc format 1 to ease backporting.

Show diffs side-by-side

added added

removed removed

Lines of Context:
166
166
        self._selector.close_current()
167
167
        del self._key_model_by_view[current_widget]
168
168
 
169
 
    def refresh_current(self):
 
169
    def refresh_current(self, reopen=False):
170
170
        """Refresh the current location."""
171
171
        key, model = self._key_model_by_view.get(self._stack.currentWidget())
172
 
        if key in self._reopen_required_next_refresh:
 
172
        if reopen or key in self._reopen_required_next_refresh:
173
173
            self._reopen_required_next_refresh.discard(key)
174
174
            model.reopen_location()
175
175
            self._selector.update_current_label()