mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
be5dd81544
commit
f331b805a6
@ -82,7 +82,7 @@ def get_sourceforge_data():
|
|||||||
return {'username':'kovidgoyal', 'project':'calibre'}
|
return {'username':'kovidgoyal', 'project':'calibre'}
|
||||||
|
|
||||||
def send_data(loc):
|
def send_data(loc):
|
||||||
subprocess.check_call(['rsync', '-r', '-z', '-h', '--progress', '-e', 'ssh -x',
|
subprocess.check_call(['rsync', '--delete', '-r', '-z', '-h', '--progress', '-e', 'ssh -x',
|
||||||
loc+'/', '%s@%s:%s'%(STAGING_USER, STAGING_HOST, STAGING_DIR)])
|
loc+'/', '%s@%s:%s'%(STAGING_USER, STAGING_HOST, STAGING_DIR)])
|
||||||
|
|
||||||
def gc_cmdline(ver, gdata):
|
def gc_cmdline(ver, gdata):
|
||||||
|
@ -393,7 +393,7 @@ class CanonicalFragmentIdentifier
|
|||||||
py = ((y + cwin.scrollY - target.offsetTop)*100)/target.offsetHeight
|
py = ((y + cwin.scrollY - target.offsetTop)*100)/target.offsetHeight
|
||||||
tail = "#{ tail }@#{ fstr px },#{ fstr py }"
|
tail = "#{ tail }@#{ fstr px },#{ fstr py }"
|
||||||
else if name != 'audio'
|
else if name != 'audio'
|
||||||
# Get the test offset
|
# Get the text offset
|
||||||
# We use a custom function instead of caretRangeFromPoint as
|
# We use a custom function instead of caretRangeFromPoint as
|
||||||
# caretRangeFromPoint does weird things when the point falls in the
|
# caretRangeFromPoint does weird things when the point falls in the
|
||||||
# padding of the element
|
# padding of the element
|
||||||
|
Loading…
x
Reference in New Issue
Block a user