1
0
mirror of https://gitlab.gnome.org/GNOME/evince synced 2024-07-07 19:39:49 +00:00
Commit Graph

57 Commits

Author SHA1 Message Date
Christian Persch
bc595ce828 build: Fix dependency tracking
The executables must declare their dependency on
libevdocument/libevview, so that a rebuild works correctly.
2021-11-30 22:16:19 +00:00
Germán Poo-Caamaño
745364b03c build: Use devel icon for unstable version installed
* Help visually distinguish the development version from the
  stable one.
2021-06-23 20:38:33 +00:00
Chris Mayo
4a94fad803 previewer: Fix build regression when gtk_unix_print is disabled
Restore guard around ev_previewer_window_print because
that function requires GTKUNIXPRINT_ENABLED, without the
guard, makes the gtk_unix_print unusable.

In the commit 65bfd21c ("previewer: Use GtkHeaderBar in print preview"), the GTKUNIXPRINT_ENABLED preprocessor guard around
the usage of ev_previewer_window_print was lost.
2021-04-14 02:15:40 +00:00
Iñigo Martínez
b27189bb3c build: Remove autotools
To avoid the burden of maintaining multiple build systems, autotools
support has been removed.

GitLab CI configuration has also been updated to use meson.
2020-05-30 22:39:51 -04:00
Marek Kasik
91e0151346 libdocument: Get DPI from GdkMonitor
Compute DPI from data provided by GdkMonitor instead of
GdkScreen.
Try to obtain current GdkMonitor from GdkDisplay
using gdk_display_get_monitor_at_window(),
if that fails (the GtkWindow has not been realized yet)
then just get primary monitor or the first monitor (primary monitor
has not been set).
Use DPI 96 if everything fails.

Fixes #617
2019-11-23 18:46:47 +00:00
Germán Poo-Caamaño
da02030dde previewer: Modernize access to private members 2018-11-08 17:32:50 -03:00
Germán Poo-Caamaño
65bfd21cee previewer: Use GtkHeaderBar in print preview
* Makes the UI looks like the main application
* Replace and remove deprecated widgets

Addresses issues on #405
2018-11-08 17:32:50 -03:00
Germán Poo-Caamaño
12ffec45ea previewer: Fix default icon name 2018-11-08 11:34:45 -03:00
Iñigo Martínez
d69158ecf0 build: Port to Meson build system
Meson is a build system focused on speed and ease of use, which
helps speed up software development. This patch adds Meson support
alongside Autotools.
2018-09-24 10:28:33 +02:00
astian
4dbac319bc previewer: Disambiguate option description
https://bugzilla.gnome.org/show_bug.cgi?id=642190

Patch-by: F Wolff <friedel@translate.org.za>
2017-07-22 07:59:38 +02:00
Piotr Drąg
52f560582d Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html

https://bugzilla.gnome.org/show_bug.cgi?id=774005
2016-11-06 19:57:30 +01:00
Felipe Borges
71767dbf67 previewer: handle opening files from URI
https://bugzilla.gnome.org/show_bug.cgi?id=766531
2016-05-24 13:51:17 +02:00
Robert Roth
a671eb08a9 previewer: Enable/disable page navigation based on current page
https://bugzilla.gnome.org/show_bug.cgi?id=745840
2015-03-16 19:54:34 +01:00
Carlos Garcia Campos
5a88713d7a Fix make distcheck 2014-08-15 18:14:25 +02:00
Carlos Garcia Campos
21883321ea build: try to fix the build when srcdir != builddir 2014-08-04 14:27:17 +02:00
Carlos Garcia Campos
48110cb416 previewer: Add CSS file for EvView styling
EvView CSS used to be shared in adwaita theme, but now that adwaita has
been merged into GTK+ and app specific CSS has been removed, we need to
add the EvView CSS to all of its users.
2014-08-04 13:42:05 +02:00
Christian Persch
d4216cc576 build: Don't use INCLUDES
It's deprecated. Instead use *_CPPFLAGS.
2013-07-26 21:26:35 +02:00
Carlos Garcia Campos
1649067440 previewer: Remove scroll accelerators
They are handled by the EvView now.
2013-07-12 12:19:33 +02:00
Germán Poo-Caamaño
544d9b4a73 Add contextual information for translators. Fixes #693095 2013-02-28 10:38:54 -08:00
William Jon McCann
88d7a4aefa Rename Fit Page Width as Fit Width
https://bugzilla.gnome.org/show_bug.cgi?id=689468
2013-01-03 10:58:13 +01:00
William Jon McCann
ffd3853433 Rename Best Fit mode as Fit Page
https://bugzilla.gnome.org/show_bug.cgi?id=689468
2013-01-03 10:58:13 +01:00
Christian Persch
5373ec029e previewer: Port to GtkApplication 2012-10-01 14:37:04 +02:00
Carlos Garcia Campos
035c1cbd47 Use GtkOverlay to show the loading message
Remove the EvLoadingWindow from libview and move the implementation to
the shell using a EvLoadingMessage widget and GtkOverlay. EvView has now
a is-loading property that allows the users to implement their own
loading notification system. This fixes several realted to the loading
window.
2012-09-29 16:18:58 +02:00
Christian Persch
52714fde07 previewer: Don't dist generated files 2012-06-24 13:14:36 +02:00
Christian Persch
45be4867d8 previewer: Use GResource for data files 2012-06-24 11:54:24 +02:00
Christian Persch
a407989214 previewer: Remove glib < 2.32 compat code 2012-06-24 10:59:03 +02:00
Volker Sobek
fe888cb779 evince-previewer: Use primary-toolbar style class
Use GTK_STYLE_CLASS_PRIMARY_TOOLBAR for the toolbar in
evince-previewer.

https://bugzilla.gnome.org/show_bug.cgi?id=675310
2012-05-04 20:32:27 +02:00
Daniel Mustieles
df0bee7361 Removed deprecated GTK_POLICY_AUTOMATIC 2012-04-22 17:49:35 +02:00
Hib Eris
cfa0e003f6 Allow compiling with glib < 2.31.0 2011-12-14 19:57:27 +01:00
Carlos Garcia Campos
28cd78cfa7 Use gtk_box_new() instead of gtk_[hv]box_new() 2011-12-04 12:24:30 +01:00
Carlos Garcia Campos
bf90f90e0a Bump glib requirements to 2.31.0
And remove the use of deprecated glib symbols.
2011-11-20 17:05:09 +01:00
Carlos Garcia Campos
9ee4ac8558 Bump api and libtool versions and rename libview and libdocument libraries
See bug #626030
2010-08-19 10:27:14 +02:00
Hib Eris
c32bea667d [build] Rename DATADIR with EVINCEDATADIR
Defining DATADIR conflicts with win32 api (ObjIdl.h), so this define is
renamed to EVINCEDATADIR.
2010-07-26 15:34:18 +02:00
Hib Eris
bf0e0b42ce Remove some code duplication 2010-05-25 17:48:06 +02:00
Hib Eris
61c9b15fa5 [windows] Fix localization on Windows
Fixes bgo#610548
2010-05-25 14:23:03 +02:00
Marek Kasik
b016ef1e8b Convert relative path to absolute path for evince-previewer
Add ability to open documents specified by relative path in
evince-previewer.
2010-05-12 14:47:07 +02:00
Arun Persaud
19a00ed1cd Update FSF address everywhere.
updated where 'git grep Temple' showed an old address, not including po-files.

Fixes bug# 514607.

Signed-off-by: Arun Persaud <arun@nubati.net>
2010-04-05 11:24:46 +02:00
Diego Escalante Urrelo
615629a95b [previewer] Close with control + w
Fixes bug #612972.
2010-03-31 16:35:16 +02:00
Carlos Garcia Campos
4d91ce6a1f [previewer] Add some more keybindings 2010-03-31 16:18:18 +02:00
Carlos Garcia Campos
29e2d2c5e2 [previewer] Fix keybindings in previewer window
See bug #612972.
2010-03-31 16:17:02 +02:00
Carlos Garcia Campos
dfb1c0d617 [previewer] Use ev_document_misc_get_screen_dpi() 2010-02-21 12:37:02 +01:00
Hib Eris
9e435a09b6 [windows] Properly define the _WIN32_WINNT version 2009-12-29 17:35:59 +01:00
Carlos Garcia Campos
7d3a9e19b3 [previewer] Use model api instead of EvView to set continuous mode 2009-12-13 17:22:37 +01:00
Carlos Garcia Campos
597fcc060e [previewer] Remove debug message 2009-12-13 17:22:01 +01:00
Christian Persch
1bcbe16702 [build] Remove gitignore files from git
They're autogenerated now.
2009-10-25 20:57:24 +01:00
Christian Persch
f8a0165d07 [build] Include git.mk in all Makefiles 2009-10-22 11:53:07 +02:00
Christian Persch
05b38f9fa9 [build] Automatically keep .gitignore files updated
Import git.mk.
2009-10-22 00:36:20 +02:00
Carlos Garcia Campos
34148304a0 Remove EvPageCache and use EvDocumentModel instead
EvView is now another view for the common model EvDocumentModel. Now
it's possible to have several windows for the same document without the
symlink hack. Every window has its own model, while the document object
is shared.
2009-09-15 15:59:14 +02:00
Carlos Garcia Campos
8f8663bd65 Remove zoom-invalid signal from EvView
It was used by EvView when sizing mode was best-fit or fit-width to
request the window for its content size. This is not needed at all,
since we already call size_allocate on parent class. GtkScrolledWindow
takes into account the shadow type and scrollbars visibility in its
size_allocate method, so we can just take the allocation returned
to calculate the zoom in case of best-fit or fit-width.
2009-09-15 15:56:02 +02:00
Fridrich Strba
78ac55ced8 On Windows, when called from a console, get console output (works only
with Windows XP or higher. Windows 2000 will not have console output
but it will just work fine.)
2009-06-23 09:14:52 +02:00