After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 590670 - Export gmenu_tree_entry_get_untranslated_name, and _generic_name
Export gmenu_tree_entry_get_untranslated_name, and _generic_name
Status: RESOLVED FIXED
Product: gnome-menus
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-menus dummy account
gnome-menus dummy account
Depends on:
Blocks: 501087
 
 
Reported: 2009-08-03 18:41 UTC by Colin Walters
Modified: 2009-09-07 17:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Export gmenu_tree_entry_get_untranslated_name, and _generic_name (6.13 KB, patch)
2009-08-03 18:42 UTC, Colin Walters
none Details | Review

Description Colin Walters 2009-08-03 18:41:47 UTC
For the change to use Name + GenericName in the panel, we want
to be able to access the untranslated strings to do comparisons
on them.
Comment 1 Colin Walters 2009-08-03 18:42:00 UTC
Created attachment 139810 [details] [review]
Export gmenu_tree_entry_get_untranslated_name, and _generic_name
Comment 2 Vincent Untz 2009-08-10 09:48:30 UTC
Are there any other use cases? If not, I think I'd prefer to put the logic in gnome-menus instead of gnome-panel, and have gmenu_tree_entry_get_display_name(), or gmenu_tree_entry_get_display_name_one_line() (if you want it to be explicit that it's for displaying the name on one single line)
Comment 3 Vincent Untz 2009-09-07 17:23:12 UTC
I've added gmenu_tree_entry_get_display_name() that uses X-GNOME-FullName.