summaryrefslogtreecommitdiff
path: root/recipes/e17/places
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-04-02 08:37:11 +0200
committerKoen Kooi <koen@openembedded.org>2009-04-02 08:37:11 +0200
commitb6f983eff85d91dd1015170d7d338c07e22701ef (patch)
treea93d7ed0310c398932f68918257720fae392b48d /recipes/e17/places
parent27d8a050c81bba4b42d496572c64b9cb6a43fec6 (diff)
places: add patch to fix API change introduced by SRCREV bump
Diffstat (limited to 'recipes/e17/places')
-rw-r--r--recipes/e17/places/fix-api.diff53
1 files changed, 53 insertions, 0 deletions
diff --git a/recipes/e17/places/fix-api.diff b/recipes/e17/places/fix-api.diff
new file mode 100644
index 0000000000..ef09d2598d
--- /dev/null
+++ b/recipes/e17/places/fix-api.diff
@@ -0,0 +1,53 @@
+Index: trunk/E-MODULES-EXTRA/places/src/e_mod_places.c
+===================================================================
+--- trunk/E-MODULES-EXTRA/places/src/e_mod_places.c (revision 39774)
++++ trunk/E-MODULES-EXTRA/places/src/e_mod_places.c (revision 39830)
+@@ -371,5 +371,5 @@
+ e_menu_item_label_set(mi, alias ? alias :
+ ecore_file_file_get(uri->path));
+- e_util_menu_item_icon_theme_set(mi, "folder");
++ e_util_menu_item_theme_icon_set(mi, "folder");
+ e_menu_item_callback_set(mi, _places_run_fm, strdup(uri->path)); //TODO free somewhere
+ }
+@@ -398,5 +398,5 @@
+ mi = e_menu_item_new(em);
+ e_menu_item_label_set(mi, D_("Home"));
+- e_util_menu_item_icon_theme_set(mi, "user-home");
++ e_util_menu_item_theme_icon_set(mi, "user-home");
+ e_menu_item_callback_set(mi, _places_run_fm, (char*)e_user_homedir_get());
+ }
+@@ -407,5 +407,5 @@
+ mi = e_menu_item_new(em);
+ e_menu_item_label_set(mi, D_("Desktop"));
+- e_util_menu_item_icon_theme_set(mi, "user-desktop");
++ e_util_menu_item_theme_icon_set(mi, "user-desktop");
+ snprintf(buf, sizeof(buf), "%s/Desktop", (char*)e_user_homedir_get());
+ e_menu_item_callback_set(mi, _places_run_fm, strdup(buf)); //TODO free somewhere
+@@ -417,5 +417,5 @@
+ mi = e_menu_item_new(em);
+ e_menu_item_label_set(mi, D_("Trash"));
+- e_util_menu_item_icon_theme_set(mi, "folder");
++ e_util_menu_item_theme_icon_set(mi, "folder");
+ e_menu_item_callback_set(mi, _places_run_fm, "trash:///");
+ }
+@@ -426,5 +426,5 @@
+ mi = e_menu_item_new(em);
+ e_menu_item_label_set(mi, D_("Filesystem"));
+- e_util_menu_item_icon_theme_set(mi, "drive-harddisk");
++ e_util_menu_item_theme_icon_set(mi, "drive-harddisk");
+ e_menu_item_callback_set(mi, _places_run_fm, "/");
+ }
+@@ -435,5 +435,5 @@
+ mi = e_menu_item_new(em);
+ e_menu_item_label_set(mi, D_("Temp"));
+- e_util_menu_item_icon_theme_set(mi, "user-temp");
++ e_util_menu_item_theme_icon_set(mi, "user-temp");
+ e_menu_item_callback_set(mi, _places_run_fm, "/tmp");
+ }
+@@ -498,5 +498,5 @@
+ mi = e_menu_item_new(em);
+ e_menu_item_label_set(mi, D_("Places"));
+- e_util_menu_item_icon_theme_set(mi, "system-file-manager");
++ e_util_menu_item_theme_icon_set(mi, "system-file-manager");
+
+ m = e_menu_new();