Commit Graph

2108 Commits

Author SHA1 Message Date
Sebastian Ramacher
0890d1bb19 Use symbolic constant 2016-12-04 12:10:29 +01:00
Felix Kaiser
49e96c68e5 Make clicking a page set the current page number
This allows fast visual navigation through the 'd'ouble page
shortcut in combination with a high pages-per-row setting.

Resolves #635
2016-12-03 19:08:16 +01:00
Felix Kaiser
2371550807 Make page mode toggling predictable
Previously, toggling page mode would jump to near page, but usually
not the one your were looking at before.
2016-12-03 19:08:16 +01:00
Sebastian Ramacher
6aa5420f37 Simplify
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-11-07 23:10:18 +01:00
Sebastian Ramacher
4341a09473 Use constant instead of magic value
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-11-07 22:56:26 +01:00
Sebastian Ramacher
79a5d1fa68 Use constant instead of magic value
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-11-07 22:54:33 +01:00
Sebastian Ramacher
40d032b034 Update check for context menu creation
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-11-07 22:48:41 +01:00
Sebastian Ramacher
2948580edd Fix deprecation warning
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-11-07 22:45:09 +01:00
Sebastian Ramacher
9bc80b7733 Update handling of event == NULL
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-11-07 22:39:44 +01:00
Sebastian Ramacher
e087fa6634 Sort for reproducability
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-11-07 21:49:25 +01:00
Sebastian Ramacher
5026cbb9e3 Debug output 2016-11-06 23:39:27 +01:00
Sebastian Ramacher
527e260957 CS 2016-11-06 23:39:18 +01:00
Sebastian Ramacher
9b5dceac17 Debug output for sc_zoom
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-11-06 18:40:55 +01:00
Sebastian Ramacher
bcdc7aba05 Check adjust mode argument
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-11-06 18:23:25 +01:00
Sebastian Ramacher
10641d688d CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-11-04 19:37:13 +01:00
Sebastian Ramacher
32607326a9 Fix more callback return types
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-10-25 21:04:30 +02:00
Sebastian Ramacher
9ee80714d4 Fix return type of callbacks
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-10-25 20:59:33 +02:00
Sebastian Ramacher
be717529c2 Remove function pointer casts
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-10-25 13:37:51 +02:00
Sebastian Ramacher
10f8f89726 Merge branch 'typo' of https://github.com/munyari/zathura into develop 2016-09-21 16:53:54 +02:00
Panashe M. Fundira
5202554f7e
Fix typo in zathurarc man page 2016-09-21 10:33:25 -04:00
Sebastian Ramacher
945929ce5f Remove redundant check 2016-08-02 11:36:46 +02:00
Sebastian Ramacher
d913eda04a Simplify
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-06-24 19:46:09 +02:00
Sebastian Ramacher
cbfcd8a1b4 Remove unnecessary code
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-06-24 19:17:18 +02:00
Sebastian Ramacher
97cbbe7c06 More debug output
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-06-24 19:14:39 +02:00
Sebastian Ramacher
b85e8c389f Add debug output
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-06-24 19:06:04 +02:00
Sebastian Ramacher
b93ebeb327 Merge branch 'develop' of git.pwmt.org:pwmt/zathura into develop 2016-05-31 23:34:33 +02:00
Sebastian Ramacher
c9672357d2 Include girara/session.h so that Window is available in any case 2016-05-29 12:05:21 +02:00
Sebastian Ramacher
0069ef2860 Simplify check
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-05-01 18:26:29 +02:00
Sebastian Ramacher
67d1131bbb Fix infinite loop on NULL
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-04-29 20:48:49 +02:00
Sebastian Ramacher
2805cf1f2c Use g_get_current_dir instead
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-04-29 19:25:29 +02:00
Sebastian Ramacher
d3612f3c9b Remove useless g_strdup
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-04-29 18:57:35 +02:00
Sebastian Ramacher
25b276246b More debug output
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-04-29 18:15:49 +02:00
Sebastian Ramacher
19429574f4 CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-04-29 18:14:59 +02:00
Sebastian Ramacher
c7236aa8da Debug output for file completion
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-04-29 13:38:19 +02:00
Sebastian Ramacher
019416f943 Print debug output on invalid filemonitor type 2016-04-24 18:49:37 +02:00
Sebastian Ramacher
09c7f540ab Refactor file monitor and add option to reload on SIGHUP
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-04-24 18:26:54 +02:00
Sebastian Ramacher
d428ba3c77 Fix a macro 2016-04-24 17:43:12 +02:00
Sebastian Ramacher
e70316b236 CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-04-23 23:59:06 +02:00
Sebastian Ramacher
7717d7691e Fix typo 2016-04-23 23:58:50 +02:00
Sebastian Ramacher
dd56318bac Fix a typo
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-04-19 09:09:42 +02:00
Moritz Lipp
28f1733c81 Merge tag '0.3.6' into develop
Version 0.3.6
2016-04-18 22:38:59 +02:00
Moritz Lipp
cd711c9839 Merge branch 'release/0.3.6' 2016-04-18 22:38:51 +02:00
Moritz Lipp
eb5f486419 Version 0.3.6 2016-04-18 22:38:46 +02:00
Sebastian Ramacher
7cd25a2588 Update strings
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-04-18 21:11:27 +02:00
Sebastian Ramacher
f28d913ff9 Update string 2016-04-18 21:08:14 +02:00
Sebastian Ramacher
1ca81adcfe Update PO files 2016-04-18 21:04:59 +02:00
Sebastian Ramacher
0e095c1a24 Use the last value for all unspecified pages per row
This change ensures that configs with "first-page-column=2" before 0.3.4 will
upgrade more sanely.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-04-03 20:38:51 +02:00
Sebastian Ramacher
4696e10cd8 Some clean up
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-04-01 17:19:39 +02:00
Moritz Lipp
3bc1d819a4 Assign document object iff pages exist
Only saves the document object iff the opened document contains pages. In
addition a check is implemented such that the nrow calculation does not crash.
2016-03-09 16:21:48 +01:00
Moritz Lipp
7e84b67259 Update .gitignore file 2016-03-08 15:50:41 +01:00