[gnome-panel] Revert "Don't show edit menus item if locked down"
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] Revert "Don't show edit menus item if locked down"
- Date: Tue, 22 Feb 2011 22:19:16 +0000 (UTC)
commit 0dc83b3e3341d845cec1bfd8875a09c7b5d9e3e1
Author: Vincent Untz <vuntz gnome org>
Date: Tue Feb 22 22:46:58 2011 +0100
Revert "Don't show edit menus item if locked down"
This reverts commit 69c8ba71ada41087cac54b27ac2a7faba3fe73dd.
This is broken; I'll redo it properly to handle gconf changes.
gnome-panel/panel-menu-bar.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gnome-panel/panel-menu-bar.c b/gnome-panel/panel-menu-bar.c
index 4f42593..b4fe130 100644
--- a/gnome-panel/panel-menu-bar.c
+++ b/gnome-panel/panel-menu-bar.c
@@ -313,9 +313,8 @@ panel_menu_bar_load (PanelWidget *panel,
return;
}
- if (!panel_lockdown_get_locked_down ()
- && (panel_is_program_in_path ("alacarte") ||
- panel_is_program_in_path ("gmenu-simple-editor"))) {
+ if (panel_is_program_in_path ("alacarte") ||
+ panel_is_program_in_path ("gmenu-simple-editor")) {
panel_applet_add_callback (menubar->priv->info,
"edit",
NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]