Commit Graph

11 Commits

Author SHA1 Message Date
Abdo Roig-Maranges
ad4f5f5f79 fix rectangles subindex. Need page not 0
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-17 16:35:56 +01:00
Sebastian Ramacher
5a992d2d46 Make page an integer where possible
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-17 16:31:01 +01:00
Sebastian Ramacher
bfb3acc1b1 Fix the page number once while parsing the synctex output
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-17 16:21:44 +01:00
Abdo Roig-Maranges
2778868599 fix page range check
In those cases, page is in the range [1...N], both ends included.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-17 15:39:24 +01:00
Sebastian Ramacher
0e733af2a5 Fix some bugs in the D-Bus and synctex code
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-15 20:59:18 +01:00
Sebastian Ramacher
51267cdae0 Jump to the first rectangle 2014-01-15 20:38:42 +01:00
Sebastian Ramacher
5a9f53b2b7 Add a header for D-Bus interface definitions
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-15 17:55:54 +01:00
Sebastian Ramacher
5021767a18 Split of guess_content_type
… and use it everywhere we want to get the content type of a file.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-14 18:01:34 +01:00
Sebastian Ramacher
74fd28b4b2 Send rectangles not on the main page too
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-14 16:15:34 +01:00
Sebastian Ramacher
7e6112d883 Use the appropriate constant
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-12 23:29:33 +01:00
Sebastian Ramacher
8b701f609c Finish renaming
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-12 22:23:29 +01:00