Home | History | Annotate | Download | only in Lib

Lines Matching refs:new

58 def open(url, new=0, autoraise=True):
61 if browser.open(url, new, autoraise):
92 # now attempt to clone to fit the new name:
147 def open(self, url, new=0, autoraise=True):
171 def open(self, url, new=0, autoraise=True):
188 def open(self, url, new=0, autoraise=True):
241 # remote invocation has (hopefully) started a new instance.
259 def open(self, url, new=0, autoraise=True):
260 if new == 0:
262 elif new == 1:
264 elif new == 2:
270 raise Error("Bad 'new' parameter to open(); " +
271 "expected 0, 1, or 2, got %s" % new)
290 remote_action_newwin = ",new-window"
291 remote_action_newtab = ",new-tab"
312 remote_action_newwin = "--new-window"
324 remote_action_newwin = "--new-window"
334 remote_action_newwin = ",new-window"
335 remote_action_newtab = ",new-tab"
350 def open(self, url, new=0, autoraise=True):
351 # XXX Currently I know no way to prevent KFM from opening a new win.
352 if new == 2:
438 def open(self, url, new=0, autoraise=True):
439 if new:
540 def open(self, url, new=0, autoraise=True):
583 def open(self, url, new=0, autoraise=True):
589 # new must be 0 or 1
590 new = int(bool(new))
600 # that support it. 0 == new window; -1 == existing
601 toWindow = "toWindow %d" % (new - 1)
620 def open(self, url, new=0, autoraise=True):
682 -n: open new window
683 -t: open new tab""" % sys.argv[0]