summaryrefslogtreecommitdiffstats
path: root/x11/gnome-menus3/files/patch-simple-editor_GMenuSimpleEditor_menutreemodel.py
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnome-menus3/files/patch-simple-editor_GMenuSimpleEditor_menutreemodel.py')
-rw-r--r--x11/gnome-menus3/files/patch-simple-editor_GMenuSimpleEditor_menutreemodel.py15
1 files changed, 3 insertions, 12 deletions
diff --git a/x11/gnome-menus3/files/patch-simple-editor_GMenuSimpleEditor_menutreemodel.py b/x11/gnome-menus3/files/patch-simple-editor_GMenuSimpleEditor_menutreemodel.py
index b134a5817..d57d4f523 100644
--- a/x11/gnome-menus3/files/patch-simple-editor_GMenuSimpleEditor_menutreemodel.py
+++ b/x11/gnome-menus3/files/patch-simple-editor_GMenuSimpleEditor_menutreemodel.py
@@ -1,6 +1,6 @@
---- simple-editor/GMenuSimpleEditor/menutreemodel.py.orig Mon Apr 11 05:36:04 2005
-+++ simple-editor/GMenuSimpleEditor/menutreemodel.py Tue Sep 6 11:04:46 2005
-@@ -29,7 +29,7 @@
+--- simple-editor/GMenuSimpleEditor/menutreemodel.py.orig 2011-08-16 14:04:56.000000000 +0200
++++ simple-editor/GMenuSimpleEditor/menutreemodel.py 2011-09-17 13:01:18.000000000 +0200
+@@ -29,7 +29,7 @@ def lookup_system_menu_file (menu_file):
if os.environ.has_key ("XDG_CONFIG_DIRS"):
conf_dirs = os.environ["XDG_CONFIG_DIRS"]
if not conf_dirs:
@@ -9,12 +9,3 @@
for conf_dir in conf_dirs.split (":"):
menu_file_path = os.path.join (conf_dir, "menus", menu_file)
-@@ -51,7 +51,7 @@
- if os.environ.has_key ("XDG_DATA_DIRS"):
- data_dirs = os.environ["XDG_DATA_DIRS"]
- if not data_dirs:
-- data_dirs = "/usr/local/share/:/usr/share/"
-+ data_dirs = "%%LOCALBASE%%/share/"
-
- for data_dir in data_dirs.split (":"):
- retval = load_icon_from_path (os.path.join (data_dir, "pixmaps", icon_value))