Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <dnschneid> amin`: if you add a line to the later part of WindowController.on_present in kupfer/ui/browser.py (around line 2190), you might be able to make it enable text mode whenever you pop open kupfer
- <dnschneid> sec
- <amin`> dnschneid, whaww! thanks
- <amin`> waiting!
- <dnschneid> try adding
- <dnschneid> self.interface.toggle_text_mode(True)
- <dnschneid> but no guarantees :)
- <dnschneid> okay, you'll want to put it at the very end of the function
- <dnschneid> note that it does make you lose your place (normally you can show and hide kupfer without changing the pane selections
- <dnschneid> )
- <amin`> dnschneid, thanks i'll check it now
- <dnschneid> don't forget to quit and reopen kupfer once you've made the change :)
- <amin`> okie dokie
- LINE : 2143
- display = gtk.gdk.display_get_default().get_name()
- if (self._should_recenter_window() or
- not self.is_current_display(display)):
- self._center_window(display)
- self.window.stick()
- self.window.present_with_time(timestamp)
- self.window.window.focus(timestamp=timestamp)
- self.interface.toggle_text_mode(True)
- self.interface.focus()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement