summaryrefslogtreecommitdiff
path: root/shell/ev-window.c
AgeCommit message (Collapse)AuthorFilesLines
2023-10-01Remove compilation warnings and set 'always_show_image' Properties in the UI ↵zhuyaliang1-7/+0
file
2021-11-20Use a blank line at mostrbuj1-9/+0
2021-11-12Preserve compatibility with older GLib versionsValentin Villenave1-0/+13
This is a rather non-invasive change, that will be easy to remove whenever we go ahead and stop supporting older systems.
2021-07-10ev-window.c: only create a EvWebView if neededmbkma1-3/+10
A WebKit processes should only be created when the user actually requests to open a file type requiring WebKit to be processed.
2021-04-01ev-window: missing initializer for a field of ‘GtkActionEntry’rbuj1-6/+6
2021-02-10i18n: use g_dngettext instead of ngettextrbuj1-13/+18
2021-02-05build: Use PACKAGE_URL variablerbuj1-1/+1
2021-01-16Update copyright to 2021rbuj1-1/+1
2020-08-31ev-window: fix interval (guint milliseconds) in g_timeout_add_fullrbuj1-1/+1
2020-08-16Remove unused macrosPablo Barciela1-3/+0
2020-06-18Make synctex optionalOz Tiram1-0/+5
Not everyone who reads PDF's is necessarily a LaTeX user. These changes allow users to install atril without the huge bagage of tex-live on systems where synctex isn't provided as a stand alone library.
2020-04-21ev-window: expand the comment on about dialogrbuj1-5/+4
2020-04-14ev-window/epub-document: remove unused functionsPablo Barciela1-14/+0
Fixes the build warnings: ev-window.c:6379:1: warning: function 'menubar_deactivate_cb' is not needed and will not be emitted [-Wunneeded-internal-declaration] menubar_deactivate_cb (GtkWidget *menubar, ^ epub-document.c:946:1: warning: function 'check_add_page_numbers' is not needed and will not be emitted [-Wunneeded-internal-declaration] check_add_page_numbers(linknode *listdata, contentListNode *comparenode) ^
2020-02-24Use int64_t for g_date_time_to_unix even word size is 32-bit widerbuj1-1/+1
2020-01-31Fix year 2038 issue with signed 32-bit integersrbuj1-18/+20
GTime is defined to always be a signed 32-bit integer, it will overflow in the year 2038.
2020-01-10Update Copyright yearraveit651-1/+1
2019-11-11show SyncTeX version in about dialogPablo Barciela1-2/+2
2019-10-09Added accelerator 'o' for toggling Odd Pages Left.A. Palsson1-1/+1
Fixes https://github.com/mate-desktop/atril/issues/365
2019-09-10Added accelerator 't' for toggling visibility of the toolbar.A. Palsson1-1/+1
2019-09-06remove -Wunused-but-set-variable warningrbuj1-2/+1
ephy-zoom-control.c:274:20: warning: variable ‘tool_item_class’ set but not used [-Wunused-but-set-variable] 274 | GtkToolItemClass *tool_item_class; | ^~~~~~~~~~~~~~~ -- ev-window.c:1390:10: warning: variable ‘page’ set but not used [-Wunused-but-set-variable] 1390 | gint page, n_pages; | ^~~~
2019-08-19shell: Use monitor instead of screen to determine window sizeraveit651-5/+31
replace {Width/Height}OfScreen which works only with X11 inspired from: https://gitlab.gnome.org/GNOME/evince/commit/40aa446
2019-08-16ev-window: avoid 'g_type_class_add_private'Pablo Barciela1-7/+2
2019-08-10shell: fix get_monitor_dpi when widget’s window is not realizedrbuj1-3/+7
2019-08-10DPI: compute monitor resolution or get screen resolutionrbuj1-12/+12
2019-08-05prevent segfaults when no document loadedReuben Green1-29/+29
See the issue report for a description of the bug. The root cause is dereferencing of NULL pointers, specifically the priv->document member of EvWindow structures when no document is loaded. This commit adds checks for a NULL value of priv->document at all the points in the file shell/ev-window.c where this pointer was previously dereferenced without being checked. Fixes 357 (https://github.com/mate-desktop/atril/issues/357)
2019-07-31ev-window: suppress GtkAction warningsraveit651-4/+86
2019-07-01Remove trailing whitespacesLaurent Napias1-195/+195
2019-06-10Change url project's websiteLaurent Napias1-1/+1
2019-03-22Add documenters to translation resourcerbuj1-2/+2
2019-03-22Use program-name and title in gtk_show_about_dialog callrbuj1-1/+2
2019-03-22Update copyright in about dialogrbuj1-2/+2
2019-03-22Use g_strjoin to build license text in about dialogrbuj1-5/+4
2019-02-18Read authors (updated) from atril.about gresourcerbuj1-21/+28
2019-02-14Update Documentersrbuj1-1/+2
Update "Documented by" in About Atril dialog
2019-01-21shell: remove duplicate condition checkmonsta1-1/+0
2018-10-26shell: Save document to the same path it was opened fromGermán Poo-Caamaño1-11/+29
When annotating or filling a form in a document, this must be saved as a different document as atril does not overwrite documents. The user can expect to store the modified file in the same place than the original document, except when the document lives in a temporary directory (e.g. downloaded automatically with a web browser), in whose case it must fallback to the Documents directory (if set) or the the home directory. Previously, atril assumed the latest directory used, or the place where an image or attachment was stored last. Such behaviour is confusing because the latest place opened might have no relation with the document modified. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=767611 Adapted from https://gitlab.gnome.org/GNOME/evince/commit/319a6d49
2018-09-27moveable (older spelling) -> movablerbuj1-1/+1
2018-05-10shell: replace deprecated gtk_menu_popup functionraveit651-7/+4
2018-04-08disable StartPresentation action in fullscreen if document has no pagesmonsta1-0/+1
this also disables it when no document is loaded
2018-04-08disable ViewPresentation action if document has no pagesmonsta1-1/+1
follow-up to 9c08159f6ce959f1aa0fc87da265854e9672365e - this action should be disabled when e.g. a truncated pdf is loaded
2018-03-26Disable view presentation if there is no document.Lubos Koudelka1-0/+1
otherwise atril crashes https://bugzilla.gnome.org/show_bug.cgi?id=685591 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=b4bf316
2018-03-22Move custom css to a file compiled as a gresourceCarlos Garcia Campos1-1/+33
origin commit: https://git.gnome.org/browse/evince/commit/shell?h=gnome-3-6&id=65fa4ff
2018-03-22shell: Use GResource for data filesChristian Persch1-16/+8
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=ba06a5e
2018-03-22Use GtkOverlay to show the loading messageCarlos Garcia Campos1-6/+72
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. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=035c1cb
2018-03-21shell: Use GtkApplication to inhibit the screensaverChristian Persch1-4/+36
Remove TotemScrsaver copy, and use GtkApplication inhibition instead. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=612701f
2018-03-21shell: Port to GtkApplicationChristian Persch1-21/+5
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=b999bdd
2018-03-21shell: Use gdbus-codegen for the org.mate.atril.Window interfaceChristian Persch1-148/+54
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=5141dcb
2018-03-15shell: fix menu-accel for inverted colorsraveit651-1/+1
fixes conflict with zoom_in
2018-03-15shell: add keypad accels for zoom_resetraveit651-0/+2
2018-03-15Add zoom resetLars Mueller1-0/+27
origin commit: https://github.com/linuxmint/xreader/commit/43acb8f