summaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)AuthorFilesLines
2019-08-16ev-history: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-08-16ev-sidebar-layers: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-08-16eggfindbar: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-08-16ev-sidebar-links: avoid 'g_type_class_add_private'Pablo Barciela1-7/+2
2019-08-16ev-sidebar-thumbnails: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-08-16ev-sidebar: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-08-16ev-sidebar-attachments: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-08-16ev-sidebar-annotations: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-08-16ev-progress-message-area: avoid 'g_type_class_add_private'Pablo Barciela1-7/+2
2019-08-16ev-password-view: avoid 'g_type_class_add_private'Pablo Barciela1-7/+2
2019-08-16ev-window: avoid 'g_type_class_add_private'Pablo Barciela1-7/+2
2019-08-16ev-navigation-action: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-08-16ev-file-monitor: avoid 'g_type_class_add_private'Pablo Barciela1-7/+2
2019-08-16ev-message-area: 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-31sidebar-bookmarks: suppress GtkAction warningsraveit651-0/+2
2019-07-31ev-window: suppress GtkAction warningsraveit651-4/+86
2019-07-31ev-open-recent-action: suppress GtkAction warningsraveit651-0/+4
2019-07-31ev-navigation-action: suppress GtkAction warningsraveit651-0/+10
2019-07-31ev-bookmark-action: suppress GtkAction warningsraveit651-0/+4
2019-07-01Remove trailing whitespacesLaurent Napias33-396/+396
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 gresourcerbuj4-21/+32
2019-02-14Update Documentersrbuj1-1/+2
Update "Documented by" in About Atril dialog
2019-01-21message-area: set a11y object name from actual icon namemonsta1-5/+2
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-10-25Reduce the chattiness of atril daemonGiovanni Campagna1-12/+13
Use g_debug instead of g_printerr for debug warnings that happen during normal operation. This way messages are suppressed, unless the G_MESSAGES_DEBUG variable is set, and we avoid filling everyone's journal with repetitive debugging info. https://bugzilla.gnome.org/show_bug.cgi?id=723972 origin commit: https://gitlab.gnome.org/GNOME/evince/commit/707725e fixes https://github.com/mate-desktop/atril/issues/315
2018-09-27moveable (older spelling) -> movablerbuj1-1/+1
2018-05-14ev-sidebar-bookmarks: use NULL instead of uninitialized variablemonsta1-2/+1
follow-up to be5fadcdce164bf7b4cde5487dd0c8837a7efb9d
2018-05-10navigation-action-widget: replace deprecated gtk_menu_popup functionraveit651-53/+2
2018-05-10shell: replace deprecated gtk_menu_popup functionraveit651-7/+4
2018-05-10ev-sidebar-links: replace deprecated gtk_menu_popup functionraveit653-97/+3
2018-05-10ev-sidebar-bookmarks: replace deprecated gtk_menu_popup functionraveit651-6/+2
2018-05-10ev-sidebar: replace deprecated gtk_menu_popup functionraveit651-30/+10
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-04-05view: Fix page background rendering while loadingCarlos Garcia Campos1-0/+6
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=38528f9
2018-04-05view: Use a rendered frame instead of custom borderWilliam Jon McCann1-0/+18
So it can be styled with CSS. https://bugzilla.gnome.org/show_bug.cgi?id=653294 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=7a6b53a https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=4657961
2018-04-04ev-loading-message: Remove unused variablesCarlos Garcia Campos1-4/+1
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=3fd4162
2018-03-26shell: Don't dist generated filesChristian Persch1-2/+1
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-22libview: use css to draw the background of presentationsraveit651-0/+16
With the recent changes in gtk+, widgets have to draw themselves, causing the current use of gdk_window_set_background_rgba to fail. https://bugzilla.gnome.org/show_bug.cgi?id=765557 view: Redraw ev-view-presentation when setting normal and black mode. The black and normal mode are the same from the CSS point of view. The difference is that in the draw function the page is not drawn in black mode. Hence, we need to explicitly queue a redraw in these cases. Since setting the white mode add a CSS class, this queues the redraw for us. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=772390. origin commits: https://git.gnome.org/browse/evince/commit/?id=2b352b3 https://git.gnome.org/browse/evince/commit/?id=b3f49f4 Fixes https://github.com/mate-desktop/atril/issues/232
2018-03-22Move custom css to a file compiled as a gresourceCarlos Garcia Campos4-1/+38
origin commit: https://git.gnome.org/browse/evince/commit/shell?h=gnome-3-6&id=65fa4ff