From: Wouter Bolsterlee Date: Thu, 24 Jan 2008 15:02:27 +0000 (+0000) Subject: Override PDF restrictions by default. Fixes bug #382700. X-Git-Tag: EVINCE_2_21_90~19 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=76063fdefe004fbe75b542ceefad3ff503e3e089;p=evince.git Override PDF restrictions by default. Fixes bug #382700. 2008-01-24 Wouter Bolsterlee * NEWS: * data/evince.schemas.in: * shell/ev-window.c: (ev_window_setup_action_sensitivity): Override PDF restrictions by default. Fixes bug #382700. svn path=/trunk/; revision=2851 --- diff --git a/ChangeLog b/ChangeLog index d257b6c2..c97fdb4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-01-24 Wouter Bolsterlee + + * NEWS: + * data/evince.schemas.in: + * shell/ev-window.c: (ev_window_setup_action_sensitivity): + + Override PDF restrictions by default. Fixes bug #382700. + 2008-01-24 Wouter Bolsterlee * NEWS: Updated for upcoming release diff --git a/NEWS b/NEWS index 880c67d1..c2ae1290 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,12 @@ IMPORTANT NOTICE: These release notes were updated by Wouter Bolsterlee on 20080124. This NEWS file should be updated again before a release (including the version number right above this message)! +Important notice for distributors: + + * This release overrides document permissions by default. See + http://bugzilla.gnome.org/show_bug.cgi?id=382700 for more information + about this. + New features and UI improvements: * Scroll pages in page entry with mouse wheel (#324122, David Turner) @@ -13,6 +19,7 @@ New features and UI improvements: * New plugin system for backends (#351348, Carlos Garcia Campos) * Allow saving images (#500209, Carl-Anton Ingmarsson, Nickolay V. Shmyrev) * Add support for page transitions (Carlos Garnacho) + * Override document restrictions by default (#382700, Wouter Bolsterlee) Bug fixes: @@ -22,7 +29,7 @@ Bug fixes: Carlos Garcia Campos) * Use libspectre, if available, for the ps backend. (#317106, #499787, #501235, #421879, #445797, #443859, #486547, #386005, #507705, Carlos Garcia Campos) - * Put RTL marker in recent file list (#509076, Djihed Afifi) + * Put RTL marker in recent file list (#509076, Djihed Afifi) * Put Nautilus extension in right place (#505359, Matthias Clasen, Brian Pepple, Damien Carbery, Wouter Bolsterlee) * Avoid filename quoting issues (#502500, Tom Parker) diff --git a/data/evince.schemas.in b/data/evince.schemas.in index 97d1976d..cbad4224 100644 --- a/data/evince.schemas.in +++ b/data/evince.schemas.in @@ -5,7 +5,7 @@ /apps/evince/override_restrictions evince bool - false + true Override document restrictions Override document restrictions, like restriction to copy or to print. diff --git a/shell/ev-window.c b/shell/ev-window.c index 79dff08b..2fbccd38 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -311,7 +311,7 @@ ev_window_setup_action_sensitivity (EvWindow *ev_window) gboolean ok_to_print = TRUE; gboolean ok_to_copy = TRUE; gboolean has_properties = TRUE; - gboolean override_restrictions = FALSE; + gboolean override_restrictions = TRUE; gboolean can_get_text = FALSE; gboolean has_pages = FALSE; gboolean can_find = FALSE;