Commit Graph

112 Commits

Author SHA1 Message Date
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
Sebastian Ramacher
1e18d7f3ea display page in index 2011-09-29 17:28:09 +02:00
Moritz Lipp
a94cc260a2 Implemented cb_index_row_activated 2011-09-29 17:06:51 +02:00
Pavel Borzenkov
2b4f5d1823 Use girara's focus_inputbar function
zathura's focus_inputbar function is a duplicate of girara's one.
This patch removes it.

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-09-21 09:18:27 +02:00
Moritz Lipp
a6268788c0 Resolve warnings caused by -Wextra 2011-09-21 00:46:03 +02:00
Pavel Borzenkov
48448c6507 Hide notification area in sc_focus_inputbar
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-09-02 16:46:55 +02:00
Sebastian Ramacher
87aa9b9a46 implement :write and :write! 2011-09-01 11:51:49 +02:00
Moritz Lipp
48c2d01bef Use giraras toggle functions 2011-06-23 14:31:41 +02:00
Moritz Lipp
3c9e1f6e55 Use gtk_widget_get_visible instead of deprecated macro 2011-05-27 12:42:37 +02:00
Moritz Lipp
17b4972683 Update modes 2011-05-07 22:00:52 +02:00
Moritz Lipp
00589a7295 Implemented recoloring 2011-04-30 13:27:27 +02:00
Moritz Lipp
8de7969b2d Drop sc_change_buffer 2011-04-27 20:41:02 +02:00
Moritz Lipp
40ae60ea42 Updated page_set function 2011-04-27 20:32:57 +02:00
Moritz Lipp
4a8f4df2db Updated commands/render/shortcuts/utils for zathura object 2011-04-18 18:29:50 +02:00
Moritz Lipp
9026f92469 Updated shortcuts.c 2011-04-18 17:55:50 +02:00
Moritz Lipp
dd97387715 Began to implement dual/multiple view 2011-03-18 18:40:20 +01:00
Moritz Lipp
d56b79b3c0 Little fix in sc_toggle_index 2011-03-06 15:21:38 +01:00
Moritz Lipp
1fbe59aabf Implemented sc_rotate 2011-03-06 14:49:44 +01:00
Moritz Lipp
31027cbaad Began to implement the index view 2011-02-10 11:33:28 +08:00
Moritz Lipp
c41f945994 Implemented toggle inputbar/statusbar 2011-02-10 10:10:58 +08:00
Moritz Lipp
9c27ab49e8 Implemented sc_toggle_fullscreen 2011-02-10 10:06:13 +08:00
Moritz Lipp
dbb304af35 Experimental implementation of sc_zoom 2011-02-10 04:28:36 +08:00
Moritz Lipp
498a1c31e4 Experimental implementation of sc_goto 2011-02-10 00:12:09 +08:00
Moritz Lipp
a97cda9176 Update shortcuts function to girara interface 2011-02-09 23:53:18 +08:00
Moritz Lipp
5e7a774101 Updated coding standard 2011-02-09 19:44:48 +08:00
Moritz Lipp
93e2edf4c9 sc_scroll 2011-01-24 19:54:20 +08:00
Moritz Lipp
890d6b3299 Update coding standard 2010-12-26 01:12:20 +01:00
Moritz Lipp
3d027dd773 Set page 2010-12-12 22:04:42 +01:00
Moritz Lipp
6d5ac53aa3 Document structure 2010-11-17 22:51:15 +01:00
Moritz Lipp
ade141aadc Update buffer in the statusbar 2010-11-13 12:40:48 +01:00
Moritz Lipp
9348a128ff Add default shortcuts 2010-11-13 10:05:28 +01:00
Moritz Lipp
98d42ed3ce Begin to test config structure 2010-11-12 13:48:18 +01:00
Moritz Lipp
6046fc71fb Include guards and shortcut definitions 2010-11-10 20:47:53 +01:00
Moritz Lipp
38ec3eea66 New file structure 2010-11-10 19:18:01 +01:00