aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-04-03 21:32:02 +0800
committerChristian Persch <chpe@src.gnome.org>2006-04-03 21:32:02 +0800
commit6cfd668cf221fc1ad4ad13f170a0e61a0e9be7d4 (patch)
tree886ff20e432f2a74dacf021082b2df504c6dd430 /src
parentf4bb56614c249f8c0ccd02cffa0ad162bac4ed50 (diff)
downloadgsoc2013-epiphany-6cfd668cf221fc1ad4ad13f170a0e61a0e9be7d4.tar
gsoc2013-epiphany-6cfd668cf221fc1ad4ad13f170a0e61a0e9be7d4.tar.gz
gsoc2013-epiphany-6cfd668cf221fc1ad4ad13f170a0e61a0e9be7d4.tar.bz2
gsoc2013-epiphany-6cfd668cf221fc1ad4ad13f170a0e61a0e9be7d4.tar.lz
gsoc2013-epiphany-6cfd668cf221fc1ad4ad13f170a0e61a0e9be7d4.tar.xz
gsoc2013-epiphany-6cfd668cf221fc1ad4ad13f170a0e61a0e9be7d4.tar.zst
gsoc2013-epiphany-6cfd668cf221fc1ad4ad13f170a0e61a0e9be7d4.zip
Disable export when locked down. Bug #337028.
2006-04-03 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): Disable export when locked down. Bug #337028.
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 0886ee3ae..54c8ead29 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -69,6 +69,7 @@
#include "eel-gconf-extensions.h"
#include "ephy-debug.h"
#include "egg-toolbars-model.h"
+#include "ephy-prefs.h"
static const GtkTargetEntry topic_drag_dest_types [] =
{
@@ -1752,6 +1753,7 @@ ephy_bookmarks_editor_construct (EphyBookmarksEditor *editor)
EphyNode *node;
GtkUIManager *ui_merge;
GtkActionGroup *action_group;
+ GtkAction *action;
int col_id, url_col_id, title_col_id, details_value;
ephy_gui_ensure_window_group (GTK_WINDOW (editor));
@@ -1935,6 +1937,11 @@ ephy_bookmarks_editor_construct (EphyBookmarksEditor *editor)
130);
set_columns_visibility (editor, details_value);
+
+ /* Lockdown settings */
+ action = gtk_action_group_get_action (action_group, "Export");
+ gtk_action_set_sensitive (action,
+ eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_SAVE_TO_DISK) == FALSE);
}
void