Commit Graph

83 Commits

Author SHA1 Message Date
Sebastian Ramacher
fea48f3438 Merge branch 'develop' of pwmt.org:zathura into develop 2012-02-08 21:37:08 +01:00
Sebastian Ramacher
c6403ec097 wrap gtk_adjustment_set_value 2012-02-08 21:34:53 +01:00
Moritz Lipp
5c93ebcb8c Add numeric prefix to sc_zoom
One can zoom to a specific zoom value (between 10% and 1000%) by passing a
number before the = sign

Fixes: #105
2012-02-08 21:02:07 +01:00
Moritz Lipp
9d87451389 Update sc_follow 2012-02-08 00:19:35 +01:00
Moritz Lipp
c6d06f7c87 Merge branch 'develop' of pwmt.org:zathura into develop 2012-02-07 21:13:41 +01:00
Moritz Lipp
626fd50e32 Introduced zathura_plugin_error_t 2012-02-07 21:10:59 +01:00
Sebastian Ramacher
4e6d73a912 Merge branch 'develop' of pwmt.org:zathura into develop 2012-02-07 20:29:33 +01:00
Sebastian Ramacher
dd73d0e39d jump to search results 2012-02-07 20:29:29 +01:00
Moritz Lipp
c42a72f996 Remove debug statement 2012-02-07 19:48:38 +01:00
Moritz Lipp
d8473e6cdc Call girara_sc_abort in sc_abort 2012-02-07 19:36:49 +01:00
Sebastian Ramacher
d2fa39884b Merge branch 'develop' of pwmt.org:zathura into develop 2012-02-07 19:15:05 +01:00
Sebastian Ramacher
b60804ef78 implement search forward and backward 2012-02-07 19:15:01 +01:00
Moritz Lipp
90f6f5dd6e Mouse scroll events 2012-02-07 18:34:39 +01:00
Moritz Lipp
21a65cbe34 Rename PageViewWidget to PageWidget 2012-02-07 18:30:46 +01:00
Moritz Lipp
0b88e118a5 Evaluate sc_follow input correctly 2012-02-07 18:00:47 +01:00
Sebastian Ramacher
65f41bb440 Merge branch 'develop' of pwmt.org:zathura into develop 2012-02-07 17:32:11 +01:00
Sebastian Ramacher
460b517998 drop unnecessary calls 2012-02-07 17:32:03 +01:00
Moritz Lipp
3547f80af9 Follow links with sc_follow 2012-02-07 17:31:47 +01:00
Moritz Lipp
d3967d9bde Save links in page_view_widget 2012-02-07 16:39:02 +01:00
Moritz Lipp
ab03d2dd0b Merge branch 'develop' of pwmt.org:zathura into develop 2012-02-07 16:30:55 +01:00
Moritz Lipp
0363495151 Implemented sc_mouse_scroll 2012-02-07 15:13:36 +01:00
Sebastian Ramacher
c2b9d22ad1 don't search on hidden pages 2012-02-07 15:05:22 +01:00
Sebastian Ramacher
57291989c5 calculate visible pages and update current page number 2012-02-07 14:56:58 +01:00
Sebastian Ramacher
81bec2e528 draw highlights in the page view widget 2012-02-05 22:55:30 +01:00
Sebastian Ramacher
62708d3d44 fix some mem leaks in sc_follow 2012-02-05 21:17:59 +01:00
Sebastian Ramacher
083a40f447 adopt to changes from girara 2012-02-03 22:15:29 +01:00
Sebastian Ramacher
5fc885a66c Reset zoom level after quiting fullscreen. 2012-02-01 18:00:34 +01:00
Sebastian Ramacher
7c2d6718f0 return values from girara_settings_get have to be g_freed 2012-01-31 19:19:10 +01:00
Moritz Lipp
226dfae14c Update shortcuts 2012-01-24 01:34:09 +01:00
Moritz Lipp
3311038681 Begin to draw sc_follow results 2012-01-19 00:49:08 +01:00
Sebastian Ramacher
c75eaf4c43 center the pages (Closes: #85, #87) 2012-01-13 17:39:46 +01:00
Moritz Lipp
6d1240d796 Evaluate number of calls in sc_navigate 2012-01-11 16:38:50 +01:00
Sebastian Ramacher
fa6bc5a2e8 set default values before loading the first config file 2011-12-11 00:19:46 +01:00
Sebastian Ramacher
31563e6fa6 need to use g_free here 2011-11-25 11:44:03 +01:00
Moritz Lipp
ab60625531 Update sc_toggle_fullscreen 2011-10-26 20:46:59 +02:00
Sebastian Ramacher
911d84c908 update includes due to girara restructuring 2011-10-23 17:01:15 +02:00
Sebastian Ramacher
cd842a8f48 Don't break backwards compatibility of the settings names 2011-10-21 15:37:59 +02:00
Sebastian Ramacher
d31a350f23 readd scroll-step 2011-10-21 15:34:06 +02:00
Sebastian Ramacher
7a5dd056fd g_free return values of girara_setting_get 2011-10-21 15:32:50 +02:00
Pavel Borzenkov
721d566881 Fix warnings reported by Clang Analyzer
Clang Analyzer reports:

shortcuts.c:238:11: warning: Value stored to 'new_value' during its initialization is never read
  gdouble new_value   = value;
          ^             ~~~~~

completion.c:163:50: warning: Null pointer passed as an argument to a 'nonnull' parameter
    if (input_length <= strlen(bookmark->id) && !strncmp(input, bookmark->id, input_length)) {
                                                 ^       ~~~~~

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-10-19 09:44:51 +02:00
Sebastian Ramacher
370aa11c4b call gtk_main_quit in cb_destroy 2011-10-16 20:59:25 +02:00
Moritz Lipp
908e06de16 Fix sc_goto 2011-10-13 12:15:21 +02:00
Moritz Lipp
9f1a3c6c62 Some style updates 2011-10-12 16:18:40 +02:00
Sebastian Ramacher
bbb08b17be g_object_ref the print settings (as seen in the GTK+ documentation) 2011-10-10 19:58:48 +02:00
Sebastian Ramacher
2c5eb04f4f Merge branch 'develop' of pwmt.org:zathura into develop 2011-10-03 17:13:40 +02:00
Sebastian Ramacher
4239d9652f just do nothing if no document is open 2011-10-03 17:13:33 +02:00
Moritz Lipp
8b762ddcb3 Implemented sc_reload 2011-10-01 17:47:51 +02:00
Moritz Lipp
9d13c75153 Fit page to width / bestfit 2011-10-01 09:40:44 +02:00
Moritz Lipp
05311ca020 Implemented sc_navigate_index 2011-09-29 18:17:03 +02:00
Sebastian Ramacher
a8389ad2b1 align page number to the right 2011-09-29 17:35:00 +02:00