diff options
author | Ray Strode <rstrode@redhat.com> | 2006-11-07 16:18:07 +0000 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2006-11-07 16:18:07 +0000 |
commit | 0d12a284aa29366c367ae9f7baea154b0350b177 (patch) | |
tree | fdb2cd6d6f8fc78d68639d76b681e1d7d5606a49 | |
parent | a594d4d44a10cec75bbc298303490e1bb51827b8 (diff) |
update categories to match the latest version of the desktop menu
2006-11-07 Ray Strode <rstrode@redhat.com>
* src/validate.c: update categories
to match the latest version of the desktop menu
specification, and reorder to make it easier to resync
in the future. Patch from
Ville Skyttä <ville.skytta@iki.fi> (red hat bug 212705)
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/validate.c | 54 |
2 files changed, 39 insertions, 23 deletions
@@ -1,5 +1,13 @@ 2006-11-07 Ray Strode <rstrode@redhat.com> + * src/validate.c: update categories + to match the latest version of the desktop menu + specification, and reorder to make it easier to resync + in the future. Patch from + Ville Skyttä <ville.skytta@iki.fi> (red hat bug 212705) + +2006-11-07 Ray Strode <rstrode@redhat.com> + * misc/desktop-entry-mode.el: apply fixes from Ville Skyttä <ville.skytta@iki.fi> to match the latest version of the spec diff --git a/src/validate.c b/src/validate.c index 1945999..b1c3a5e 100644 --- a/src/validate.c +++ b/src/validate.c @@ -148,30 +148,38 @@ validate_strings (const char *value, const char *key, const char *locale, const static void validate_categories (const char *value, const char *key, const char *locale, const char *filename, GnomeDesktopFile *df) { - /* Category list from Desktop Menu Specification version 1.0-draft4 */ + /* Category list from Desktop Menu Specification version 1.0 */ const char *categories_keys[] = { - "Core", "Development", "Building", "Debugger", "IDE", "GUIDesigner", - "Profiling", "RevisionControl", "Translation", "Office", "Calendar", - "ContactManagement", "Database", "Dictionary", "Chart", "Email", - "Finance", "FlowChart", "PDA", "ProjectManagement", "Presentation", - "Spreadsheet", "WordProcessor", "Graphics", "2DGraphics", "VectorGraphics", - "RasterGraphics", "3DGraphics", "Scanning", "OCR", "Photography", - "Viewer", "Settings", "DesktopSettings", "HardwareSettings", - "PackageManager", "Network", "Dialup", "InstantMessaging", "IRCClient", - "FileTransfer", "HamRadio", "News", "P2P", "RemoteAccess", "Telephony", - "WebBrowser", "WebDevelopment", "AudioVideo", "Audio", "Midi", "Mixer", - "Sequencer", "Tuner", "Video", "TV", "AudioVideoEditing", "Player", - "Recorder", "DiscBurning", "Game", "ActionGame", "AdventureGame", - "ArcadeGame", "BoardGame", "BlocksGame", "CardGame", "KidsGame", - "LogicGame", "RolePlaying", "Simulation", "SportsGame", "StrategyGame", - "Education", "Art", "Construction", "Music", "Languages", "Science", - "Astronomy", "Biology", "Chemistry", "Geology", "Math", "MedicalSoftware", - "Physics", "Teaching", "Amusement", "Applet", "Archiving", "Electronics", - "Emulator", "Engineering", "FileManager", "Shell", "Screensaver", - "TerminalEmulator", "TrayIcon", "System", "Filesystem", "Monitor", - "Security", "Utility", "Accessibility", "Calculator", "Clock", - "TextEditor", "KDE", "GNOME", "GTK", "Qt", "Motif", "Java", - "ConsoleOnly", NULL + + /* Main categories */ + "AudioVideo", "Audio", "Video", "Development", "Education", "Game", + "Graphics", "Network", "Office", "Settings", "System", "Utility", + + /* Additional categories */ + "Building", "Debugger", "IDE", "GUIDesigner", "Profiling", + "RevisionControl", "Translation", "Calendar", "ContactManagement", + "Database", "Dictionary", "Chart", "Email", "Finance", "FlowChart", "PDA", + "ProjectManagement", "Presentation", "Spreadsheet", "WordProcessor", + "2DGraphics", "VectorGraphics", "RasterGraphics", "3DGraphics", + "Scanning", "OCR", "Photography", "Viewer", "DesktopSettings", + "HardwareSettings", "PackageManager", "Dialup", "InstantMessaging", + "IRCClient", "FileTransfer", "HamRadio", "News", "P2P", "RemoteAccess", + "Telephony", "WebBrowser", "WebDevelopment", "Midi", "Mixer", "Sequencer", + "Tuner", "TV", "AudioVideoEditing", "Player", "Recorder", "DiscBurning", + "ActionGame", "AdventureGame", "ArcadeGame", "BoardGame", "BlocksGame", + "CardGame", "KidsGame", "LogicGame", "RolePlaying", "Simulation", + "SportsGame", "StrategyGame", "Art", "Construction", "Music", "Languages", + "Science", "Astronomy", "Biology", "Chemistry", "Geology", "Math", + "MedicalSoftware", "Physics", "Amusement", "Archiving", "Electronics", + "Emulator", "Engineering", "FileManager", "TerminalEmulator", + "Filesystem", "Monitor", "Security", "Accessibility", "Calculator", + "Clock", "TextEditor", "Core", "KDE", "GNOME", "GTK", "Qt", "Motif", + "Java", "ConsoleOnly", + + /* Reserved categories */ + "Screensaver", "TrayIcon", "Applet", "Shell", + + NULL }; char **vals; int i; |