[gnome-menus] [python] Fix accidental swap between display_name and generic_name
- From: Vincent Untz <vuntz src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-menus] [python] Fix accidental swap between display_name and generic_name
- Date: Mon, 7 Sep 2009 21:21:02 +0000 (UTC)
commit 4b007ffddf4cfd58d508a8c24d49ca8724753bb0
Author: Vincent Untz <vuntz gnome org>
Date: Mon Sep 7 23:19:49 2009 +0200
[python] Fix accidental swap between display_name and generic_name
python/gmenu.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python/gmenu.c b/python/gmenu.c
index a69fdc0..8f3d7e6 100644
--- a/python/gmenu.c
+++ b/python/gmenu.c
@@ -912,11 +912,11 @@ pygmenu_tree_entry_getattro (PyGMenuTreeEntry *self,
}
else if (!strcmp (attr, "generic_name"))
{
- return pygmenu_tree_entry_get_display_name ((PyObject *) self, NULL);
+ return pygmenu_tree_entry_get_generic_name ((PyObject *) self, NULL);
}
else if (!strcmp (attr, "display_name"))
{
- return pygmenu_tree_entry_get_generic_name ((PyObject *) self, NULL);
+ return pygmenu_tree_entry_get_display_name ((PyObject *) self, NULL);
}
else if (!strcmp (attr, "comment"))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]