[gnome-software] Set category icons in the menu spec
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Set category icons in the menu spec
- Date: Thu, 7 Apr 2016 18:36:32 +0000 (UTC)
commit afd48220887e9b0d7a9452dab70dfc9d0222a9fd
Author: Joaquim Rocha <jrocha endlessm com>
Date: Thu Apr 7 19:12:49 2016 +0100
Set category icons in the menu spec
src/plugins/menu-spec-common.c | 354 ++++++++++++++++++++--------------------
src/plugins/menu-spec-common.h | 1 +
2 files changed, 178 insertions(+), 177 deletions(-)
---
diff --git a/src/plugins/menu-spec-common.c b/src/plugins/menu-spec-common.c
index c732baa..cbb57dc 100644
--- a/src/plugins/menu-spec-common.c
+++ b/src/plugins/menu-spec-common.c
@@ -27,194 +27,194 @@
static const MenuSpecData msdata[] = {
/* TRANSLATORS: this is the menu spec main category for Audio */
- { "Audio", N_("Audio") },
- { "Audio::AudioVideoEditing", NC_("Menu subcategory of Audio", "Editing") },
- { "Audio::Database", NC_("Menu subcategory of Audio", "Databases") },
- { "Audio::DiscBurning", NC_("Menu subcategory of Audio", "Disc Burning") },
- { "Audio::HamRadio", NC_("Menu subcategory of Audio", "Ham Radio") },
- { "Audio::Midi", NC_("Menu subcategory of Audio", "MIDI") },
- { "Audio::Mixer", NC_("Menu subcategory of Audio", "Mixer") },
- { "Audio::Music", NC_("Menu subcategory of Audio", "Music") },
- { "Audio::Player", NC_("Menu subcategory of Audio", "Players") },
- { "Audio::Recorder", NC_("Menu subcategory of Audio", "Recorders") },
- { "Audio::Sequencer", NC_("Menu subcategory of Audio", "Sequencers") },
- { "Audio::Tuner", NC_("Menu subcategory of Audio", "Tuners") },
+ { "Audio", "folder-music-symbolic", N_("Audio") },
+ { "Audio::AudioVideoEditing", NULL, NC_("Menu subcategory of Audio", "Editing") },
+ { "Audio::Database", NULL, NC_("Menu subcategory of Audio", "Databases") },
+ { "Audio::DiscBurning", NULL, NC_("Menu subcategory of Audio", "Disc Burning") },
+ { "Audio::HamRadio", NULL, NC_("Menu subcategory of Audio", "Ham Radio") },
+ { "Audio::Midi", NULL, NC_("Menu subcategory of Audio", "MIDI") },
+ { "Audio::Mixer", NULL, NC_("Menu subcategory of Audio", "Mixer") },
+ { "Audio::Music", NULL, NC_("Menu subcategory of Audio", "Music") },
+ { "Audio::Player", NULL, NC_("Menu subcategory of Audio", "Players") },
+ { "Audio::Recorder", NULL, NC_("Menu subcategory of Audio", "Recorders") },
+ { "Audio::Sequencer", NULL, NC_("Menu subcategory of Audio", "Sequencers") },
+ { "Audio::Tuner", NULL, NC_("Menu subcategory of Audio", "Tuners") },
/* TRANSLATORS: this is the menu spec main category for Development */
- { "Development", N_("Development Tools") },
- { "Development::Building", NC_("Menu subcategory of Development Tools", "Building") },
- { "Development::Database", NC_("Menu subcategory of Development Tools", "Databases") },
- { "Development::Debugger", NC_("Menu subcategory of Development Tools", "Debuggers") },
- { "Development::GUIDesigner", NC_("Menu subcategory of Development Tools", "GUI Designers")
},
- { "Development::IDE", NC_("Menu subcategory of Development Tools", "IDE") },
- { "Development::Profiling", NC_("Menu subcategory of Development Tools", "Profiling") },
- { "Development::ProjectManagement", NC_("Menu subcategory of Development Tools", "Project
Management") },
- { "Development::RevisionControl", NC_("Menu subcategory of Development Tools", "Revision
Control") },
- { "Development::Translation", NC_("Menu subcategory of Development Tools", "Translation") },
- { "Development::WebDevelopment", NC_("Menu subcategory of Development Tools", "Web
Development") },
+ { "Development", "applications-engineering-symbolic", N_("Development Tools")
},
+ { "Development::Building", NULL, NC_("Menu subcategory of Development Tools",
"Building") },
+ { "Development::Database", NULL, NC_("Menu subcategory of Development Tools",
"Databases") },
+ { "Development::Debugger", NULL, NC_("Menu subcategory of Development Tools",
"Debuggers") },
+ { "Development::GUIDesigner", NULL, NC_("Menu subcategory of Development Tools", "GUI
Designers") },
+ { "Development::IDE", NULL, NC_("Menu subcategory of Development Tools", "IDE") },
+ { "Development::Profiling", NULL, NC_("Menu subcategory of Development Tools",
"Profiling") },
+ { "Development::ProjectManagement", NULL, NC_("Menu subcategory of Development Tools", "Project
Management") },
+ { "Development::RevisionControl", NULL, NC_("Menu subcategory of Development Tools", "Revision
Control") },
+ { "Development::Translation", NULL, NC_("Menu subcategory of Development Tools",
"Translation") },
+ { "Development::WebDevelopment", NULL, NC_("Menu subcategory of Development Tools", "Web
Development") },
/* TRANSLATORS: this is the menu spec main category for Education */
- { "Education", N_("Education") },
- { "Education::Art", NC_("Menu subcategory of Education", "Art") },
- { "Education::ArtificialIntelligence", NC_("Menu subcategory of Education", "Artificial
Intelligence") },
- { "Education::Astronomy", NC_("Menu subcategory of Education", "Astronomy") },
- { "Education::Biology", NC_("Menu subcategory of Education", "Biology") },
- { "Education::Chemistry", NC_("Menu subcategory of Education", "Chemistry") },
- { "Education::ComputerScience", NC_("Menu subcategory of Education", "Computer Science") },
- { "Education::Construction", NC_("Menu subcategory of Education", "Construction") },
- { "Education::DataVisualization", NC_("Menu subcategory of Education", "Data Visualization") },
- { "Education::Economy", NC_("Menu subcategory of Education", "Economy") },
- { "Education::Electricity", NC_("Menu subcategory of Education", "Electricity") },
- { "Education::Electronics", NC_("Menu subcategory of Education", "Electronics") },
- { "Education::Engineering", NC_("Menu subcategory of Education", "Engineering") },
- { "Education::Geography", NC_("Menu subcategory of Education", "Geography") },
- { "Education::Geology", NC_("Menu subcategory of Education", "Geology") },
- { "Education::Geoscience", NC_("Menu subcategory of Education", "Geoscience") },
- { "Education::History", NC_("Menu subcategory of Education", "History") },
- { "Education::Humanities", NC_("Menu subcategory of Education", "Humanities") },
- { "Education::ImageProcessing", NC_("Menu subcategory of Education", "Image Processing") },
- { "Education::Languages", NC_("Menu subcategory of Education", "Languages") },
- { "Education::Literature", NC_("Menu subcategory of Education", "Literature") },
- { "Education::Maps", NC_("Menu subcategory of Education", "Maps") },
- { "Education::Math", NC_("Menu subcategory of Education", "Math") },
- { "Education::MedicalSoftware", NC_("Menu subcategory of Education", "Medical") },
- { "Education::Music", NC_("Menu subcategory of Education", "Music") },
- { "Education::NumericalAnalysis", NC_("Menu subcategory of Education", "Numerical Analysis") },
- { "Education::ParallelComputing", NC_("Menu subcategory of Education", "Parallel Computing") },
- { "Education::Physics", NC_("Menu subcategory of Education", "Physics") },
- { "Education::Robotics", NC_("Menu subcategory of Education", "Robotics") },
- { "Education::Spirituality", NC_("Menu subcategory of Education", "Spirituality") },
- { "Education::Sports", NC_("Menu subcategory of Education", "Sports") },
+ { "Education", "system-help-symbolic", N_("Education") },
+ { "Education::Art", NULL, NC_("Menu subcategory of Education", "Art") },
+ { "Education::ArtificialIntelligence", NULL, NC_("Menu subcategory of Education", "Artificial
Intelligence") },
+ { "Education::Astronomy", NULL, NC_("Menu subcategory of Education", "Astronomy") },
+ { "Education::Biology", NULL, NC_("Menu subcategory of Education", "Biology") },
+ { "Education::Chemistry", NULL, NC_("Menu subcategory of Education", "Chemistry") },
+ { "Education::ComputerScience", NULL, NC_("Menu subcategory of Education", "Computer
Science") },
+ { "Education::Construction", NULL, NC_("Menu subcategory of Education", "Construction") },
+ { "Education::DataVisualization", NULL, NC_("Menu subcategory of Education", "Data
Visualization") },
+ { "Education::Economy", NULL, NC_("Menu subcategory of Education", "Economy") },
+ { "Education::Electricity", NULL, NC_("Menu subcategory of Education", "Electricity") },
+ { "Education::Electronics", NULL, NC_("Menu subcategory of Education", "Electronics") },
+ { "Education::Engineering", NULL, NC_("Menu subcategory of Education", "Engineering") },
+ { "Education::Geography", NULL, NC_("Menu subcategory of Education", "Geography") },
+ { "Education::Geology", NULL, NC_("Menu subcategory of Education", "Geology") },
+ { "Education::Geoscience", NULL, NC_("Menu subcategory of Education", "Geoscience") },
+ { "Education::History", NULL, NC_("Menu subcategory of Education", "History") },
+ { "Education::Humanities", NULL, NC_("Menu subcategory of Education", "Humanities") },
+ { "Education::ImageProcessing", NULL, NC_("Menu subcategory of Education", "Image
Processing") },
+ { "Education::Languages", NULL, NC_("Menu subcategory of Education", "Languages") },
+ { "Education::Literature", NULL, NC_("Menu subcategory of Education", "Literature") },
+ { "Education::Maps", NULL, NC_("Menu subcategory of Education", "Maps") },
+ { "Education::Math", NULL, NC_("Menu subcategory of Education", "Math") },
+ { "Education::MedicalSoftware", NULL, NC_("Menu subcategory of Education", "Medical") },
+ { "Education::Music", NULL, NC_("Menu subcategory of Education", "Music") },
+ { "Education::NumericalAnalysis", NULL, NC_("Menu subcategory of Education", "Numerical
Analysis") },
+ { "Education::ParallelComputing", NULL, NC_("Menu subcategory of Education", "Parallel
Computing") },
+ { "Education::Physics", NULL, NC_("Menu subcategory of Education", "Physics") },
+ { "Education::Robotics", NULL, NC_("Menu subcategory of Education", "Robotics") },
+ { "Education::Spirituality", NULL, NC_("Menu subcategory of Education", "Spirituality") },
+ { "Education::Sports", NULL, NC_("Menu subcategory of Education", "Sports") },
/* TRANSLATORS: this is the menu spec main category for Games */
- { "Game", N_("Games") },
- { "Game::ActionGame", NC_("Menu subcategory of Games", "Action") },
- { "Game::AdventureGame", NC_("Menu subcategory of Games", "Adventure") },
- { "Game::ArcadeGame", NC_("Menu subcategory of Games", "Arcade") },
- { "Game::BlocksGame", NC_("Menu subcategory of Games", "Blocks") },
- { "Game::BoardGame", NC_("Menu subcategory of Games", "Board") },
- { "Game::CardGame", NC_("Menu subcategory of Games", "Card") },
- { "Game::Emulator", NC_("Menu subcategory of Games", "Emulators") },
- { "Game::KidsGame", NC_("Menu subcategory of Games", "Kids") },
- { "Game::LogicGame", NC_("Menu subcategory of Games", "Logic") },
- { "Game::RolePlaying", NC_("Menu subcategory of Games", "Role Playing") },
- { "Game::Shooter", NC_("Menu subcategory of Games", "Shooter") },
- { "Game::Simulation", NC_("Menu subcategory of Games", "Simulation") },
- { "Game::SportsGame", NC_("Menu subcategory of Games", "Sports") },
- { "Game::StrategyGame", NC_("Menu subcategory of Games", "Strategy") },
+ { "Game", "applications-games-symbolic", N_("Games") },
+ { "Game::ActionGame", NULL, NC_("Menu subcategory of Games", "Action") },
+ { "Game::AdventureGame", NULL, NC_("Menu subcategory of Games", "Adventure") },
+ { "Game::ArcadeGame", NULL, NC_("Menu subcategory of Games", "Arcade") },
+ { "Game::BlocksGame", NULL, NC_("Menu subcategory of Games", "Blocks") },
+ { "Game::BoardGame", NULL, NC_("Menu subcategory of Games", "Board") },
+ { "Game::CardGame", NULL, NC_("Menu subcategory of Games", "Card") },
+ { "Game::Emulator", NULL, NC_("Menu subcategory of Games", "Emulators") },
+ { "Game::KidsGame", NULL, NC_("Menu subcategory of Games", "Kids") },
+ { "Game::LogicGame", NULL, NC_("Menu subcategory of Games", "Logic") },
+ { "Game::RolePlaying", NULL, NC_("Menu subcategory of Games", "Role Playing") },
+ { "Game::Shooter", NULL, NC_("Menu subcategory of Games", "Shooter") },
+ { "Game::Simulation", NULL, NC_("Menu subcategory of Games", "Simulation") },
+ { "Game::SportsGame", NULL, NC_("Menu subcategory of Games", "Sports") },
+ { "Game::StrategyGame", NULL, NC_("Menu subcategory of Games", "Strategy") },
/* TRANSLATORS: this is the menu spec main category for Graphics */
- { "Graphics", N_("Graphics") },
- { "Graphics::2DGraphics", NC_("Menu subcategory of Graphics", "2D Graphics") },
- { "Graphics::3DGraphics", NC_("Menu subcategory of Graphics", "3D Graphics") },
- { "Graphics::OCR", NC_("Menu subcategory of Graphics", "OCR") },
- { "Graphics::Photography", NC_("Menu subcategory of Graphics", "Photography") },
- { "Graphics::Publishing", NC_("Menu subcategory of Graphics", "Publishing") },
- { "Graphics::RasterGraphics", NC_("Menu subcategory of Graphics", "Raster Graphics") },
- { "Graphics::Scanning", NC_("Menu subcategory of Graphics", "Scanning") },
- { "Graphics::VectorGraphics", NC_("Menu subcategory of Graphics", "Vector Graphics") },
- { "Graphics::Viewer", NC_("Menu subcategory of Graphics", "Viewer") },
+ { "Graphics", "applications-graphics-symbolic", N_("Graphics") },
+ { "Graphics::2DGraphics", NULL, NC_("Menu subcategory of Graphics", "2D Graphics") },
+ { "Graphics::3DGraphics", NULL, NC_("Menu subcategory of Graphics", "3D Graphics") },
+ { "Graphics::OCR", NULL, NC_("Menu subcategory of Graphics", "OCR") },
+ { "Graphics::Photography", NULL, NC_("Menu subcategory of Graphics", "Photography") },
+ { "Graphics::Publishing", NULL, NC_("Menu subcategory of Graphics", "Publishing") },
+ { "Graphics::RasterGraphics", NULL, NC_("Menu subcategory of Graphics", "Raster Graphics")
},
+ { "Graphics::Scanning", NULL, NC_("Menu subcategory of Graphics", "Scanning") },
+ { "Graphics::VectorGraphics", NULL, NC_("Menu subcategory of Graphics", "Vector Graphics")
},
+ { "Graphics::Viewer", NULL, NC_("Menu subcategory of Graphics", "Viewer") },
/* TRANSLATORS: this is the menu spec main category for Network */
- { "Network", N_("Internet") },
- { "Network::Chat", NC_("Menu subcategory of Internet", "Chat") },
- { "Network::Dialup", NC_("Menu subcategory of Internet", "Dialup") },
- { "Network::Email", NC_("Menu subcategory of Internet", "Email") },
- { "Network::Feed", NC_("Menu subcategory of Internet", "Feed") },
- { "Network::FileTransfer", NC_("Menu subcategory of Internet", "File Transfer") },
- { "Network::HamRadio", NC_("Menu subcategory of Internet", "Ham Radio") },
- { "Network::InstantMessaging", NC_("Menu subcategory of Internet", "Instant Messaging") },
- { "Network::IRCClient", NC_("Menu subcategory of Internet", "IRC Clients") },
- { "Network::Monitor", NC_("Menu subcategory of Internet", "Monitor") },
- { "Network::News", NC_("Menu subcategory of Internet", "News") },
- { "Network::P2P", NC_("Menu subcategory of Internet", "P2P") },
- { "Network::RemoteAccess", NC_("Menu subcategory of Internet", "Remote Access") },
- { "Network::Telephony", NC_("Menu subcategory of Internet", "Telephony") },
- { "Network::VideoConference", NC_("Menu subcategory of Internet", "Video Conference") },
- { "Network::WebBrowser", NC_("Menu subcategory of Internet", "Web Browser") },
- { "Network::WebDevelopment", NC_("Menu subcategory of Internet", "Web Development") },
+ { "Network", "network-wireless-symbolic", N_("Internet") },
+ { "Network::Chat", NULL, NC_("Menu subcategory of Internet", "Chat") },
+ { "Network::Dialup", NULL, NC_("Menu subcategory of Internet", "Dialup") },
+ { "Network::Email", NULL, NC_("Menu subcategory of Internet", "Email") },
+ { "Network::Feed", NULL, NC_("Menu subcategory of Internet", "Feed") },
+ { "Network::FileTransfer", NULL, NC_("Menu subcategory of Internet", "File Transfer") },
+ { "Network::HamRadio", NULL, NC_("Menu subcategory of Internet", "Ham Radio") },
+ { "Network::InstantMessaging", NULL, NC_("Menu subcategory of Internet", "Instant
Messaging") },
+ { "Network::IRCClient", NULL, NC_("Menu subcategory of Internet", "IRC Clients") },
+ { "Network::Monitor", NULL, NC_("Menu subcategory of Internet", "Monitor") },
+ { "Network::News", NULL, NC_("Menu subcategory of Internet", "News") },
+ { "Network::P2P", NULL, NC_("Menu subcategory of Internet", "P2P") },
+ { "Network::RemoteAccess", NULL, NC_("Menu subcategory of Internet", "Remote Access") },
+ { "Network::Telephony", NULL, NC_("Menu subcategory of Internet", "Telephony") },
+ { "Network::VideoConference", NULL, NC_("Menu subcategory of Internet", "Video Conference")
},
+ { "Network::WebBrowser", NULL, NC_("Menu subcategory of Internet", "Web Browser") },
+ { "Network::WebDevelopment", NULL, NC_("Menu subcategory of Internet", "Web Development")
},
/* TRANSLATORS: this is the menu spec main category for Office */
- { "Office", N_("Office") },
- { "Office::Calendar", NC_("Menu subcategory of Office", "Calendar") },
- { "Office::Chart", NC_("Menu subcategory of Office", "Chart") },
- { "Office::ContactManagement", NC_("Menu subcategory of Office", "Contact Management") },
- { "Office::Database", NC_("Menu subcategory of Office", "Database") },
- { "Office::Dictionary", NC_("Menu subcategory of Office", "Dictionary") },
- { "Office::Email", NC_("Menu subcategory of Office", "Email") },
- { "Office::Finance", NC_("Menu subcategory of Office", "Finance") },
- { "Office::FlowChart", NC_("Menu subcategory of Office", "Flow Chart") },
- { "Office::PDA", NC_("Menu subcategory of Office", "PDA") },
- { "Office::Photography", NC_("Menu subcategory of Office", "Photography") },
- { "Office::Presentation", NC_("Menu subcategory of Office", "Presentation") },
- { "Office::ProjectManagement", NC_("Menu subcategory of Office", "Project Management") },
- { "Office::Publishing", NC_("Menu subcategory of Office", "Publishing") },
- { "Office::Spreadsheet", NC_("Menu subcategory of Office", "Spreadsheet") },
- { "Office::Viewer", NC_("Menu subcategory of Office", "Viewer") },
- { "Office::WordProcessor", NC_("Menu subcategory of Office", "Word Processor") },
+ { "Office", "text-editor-symbolic", N_("Office") },
+ { "Office::Calendar", NULL, NC_("Menu subcategory of Office", "Calendar") },
+ { "Office::Chart", NULL, NC_("Menu subcategory of Office", "Chart") },
+ { "Office::ContactManagement", NULL, NC_("Menu subcategory of Office", "Contact Management")
},
+ { "Office::Database", NULL, NC_("Menu subcategory of Office", "Database") },
+ { "Office::Dictionary", NULL, NC_("Menu subcategory of Office", "Dictionary") },
+ { "Office::Email", NULL, NC_("Menu subcategory of Office", "Email") },
+ { "Office::Finance", NULL, NC_("Menu subcategory of Office", "Finance") },
+ { "Office::FlowChart", NULL, NC_("Menu subcategory of Office", "Flow Chart") },
+ { "Office::PDA", NULL, NC_("Menu subcategory of Office", "PDA") },
+ { "Office::Photography", NULL, NC_("Menu subcategory of Office", "Photography") },
+ { "Office::Presentation", NULL, NC_("Menu subcategory of Office", "Presentation") },
+ { "Office::ProjectManagement", NULL, NC_("Menu subcategory of Office", "Project Management")
},
+ { "Office::Publishing", NULL, NC_("Menu subcategory of Office", "Publishing") },
+ { "Office::Spreadsheet", NULL, NC_("Menu subcategory of Office", "Spreadsheet") },
+ { "Office::Viewer", NULL, NC_("Menu subcategory of Office", "Viewer") },
+ { "Office::WordProcessor", NULL, NC_("Menu subcategory of Office", "Word Processor") },
/* TRANSLATORS: this is the menu spec main category for Science */
- { "Science", N_("Science") },
- { "Science::Art", NC_("Menu subcategory of Science", "Art") },
- { "Science::ArtificialIntelligence", NC_("Menu subcategory of Science", "Artificial Intelligence")
},
- { "Science::Astronomy", NC_("Menu subcategory of Science", "Astronomy") },
- { "Science::Biology", NC_("Menu subcategory of Science", "Biology") },
- { "Science::Chemistry", NC_("Menu subcategory of Science", "Chemistry") },
- { "Science::ComputerScience", NC_("Menu subcategory of Science", "Computer Science") },
- { "Science::Construction", NC_("Menu subcategory of Science", "Construction") },
- { "Science::DataVisualization", NC_("Menu subcategory of Science", "Data Visualization") },
- { "Science::Economy", NC_("Menu subcategory of Science", "Economy") },
- { "Science::Electricity", NC_("Menu subcategory of Science", "Electricity") },
- { "Science::Electronics", NC_("Menu subcategory of Science", "Electronics") },
- { "Science::Engineering", NC_("Menu subcategory of Science", "Engineering") },
- { "Science::Geography", NC_("Menu subcategory of Science", "Geography") },
- { "Science::Geology", NC_("Menu subcategory of Science", "Geology") },
- { "Science::Geoscience", NC_("Menu subcategory of Science", "Geoscience") },
- { "Science::History", NC_("Menu subcategory of Science", "History") },
- { "Science::Humanities", NC_("Menu subcategory of Science", "Humanities") },
- { "Science::ImageProcessing", NC_("Menu subcategory of Science", "Image Processing") },
- { "Science::Languages", NC_("Menu subcategory of Science", "Languages") },
- { "Science::Literature", NC_("Menu subcategory of Science", "Literature") },
- { "Science::Maps", NC_("Menu subcategory of Science", "Maps") },
- { "Science::Math", NC_("Menu subcategory of Science", "Math") },
- { "Science::MedicalSoftware", NC_("Menu subcategory of Science", "Medical") },
- { "Science::NumericalAnalysis", NC_("Menu subcategory of Science", "Numerical Analysis") },
- { "Science::ParallelComputing", NC_("Menu subcategory of Science", "Parallel Computing") },
- { "Science::Physics", NC_("Menu subcategory of Science", "Physics") },
- { "Science::Robotics", NC_("Menu subcategory of Science", "Robotics") },
- { "Science::Spirituality", NC_("Menu subcategory of Science", "Spirituality") },
- { "Science::Sports", NC_("Menu subcategory of Science", "Sports") },
+ { "Science", "applications-science-symbolic", N_("Science") },
+ { "Science::Art", NULL, NC_("Menu subcategory of Science", "Art") },
+ { "Science::ArtificialIntelligence", NULL, NC_("Menu subcategory of Science", "Artificial
Intelligence") },
+ { "Science::Astronomy", NULL, NC_("Menu subcategory of Science", "Astronomy") },
+ { "Science::Biology", NULL, NC_("Menu subcategory of Science", "Biology") },
+ { "Science::Chemistry", NULL, NC_("Menu subcategory of Science", "Chemistry") },
+ { "Science::ComputerScience", NULL, NC_("Menu subcategory of Science", "Computer Science")
},
+ { "Science::Construction", NULL, NC_("Menu subcategory of Science", "Construction") },
+ { "Science::DataVisualization", NULL, NC_("Menu subcategory of Science", "Data
Visualization") },
+ { "Science::Economy", NULL, NC_("Menu subcategory of Science", "Economy") },
+ { "Science::Electricity", NULL, NC_("Menu subcategory of Science", "Electricity") },
+ { "Science::Electronics", NULL, NC_("Menu subcategory of Science", "Electronics") },
+ { "Science::Engineering", NULL, NC_("Menu subcategory of Science", "Engineering") },
+ { "Science::Geography", NULL, NC_("Menu subcategory of Science", "Geography") },
+ { "Science::Geology", NULL, NC_("Menu subcategory of Science", "Geology") },
+ { "Science::Geoscience", NULL, NC_("Menu subcategory of Science", "Geoscience") },
+ { "Science::History", NULL, NC_("Menu subcategory of Science", "History") },
+ { "Science::Humanities", NULL, NC_("Menu subcategory of Science", "Humanities") },
+ { "Science::ImageProcessing", NULL, NC_("Menu subcategory of Science", "Image Processing")
},
+ { "Science::Languages", NULL, NC_("Menu subcategory of Science", "Languages") },
+ { "Science::Literature", NULL, NC_("Menu subcategory of Science", "Literature") },
+ { "Science::Maps", NULL, NC_("Menu subcategory of Science", "Maps") },
+ { "Science::Math", NULL, NC_("Menu subcategory of Science", "Math") },
+ { "Science::MedicalSoftware", NULL, NC_("Menu subcategory of Science", "Medical") },
+ { "Science::NumericalAnalysis", NULL, NC_("Menu subcategory of Science", "Numerical
Analysis") },
+ { "Science::ParallelComputing", NULL, NC_("Menu subcategory of Science", "Parallel
Computing") },
+ { "Science::Physics", NULL, NC_("Menu subcategory of Science", "Physics") },
+ { "Science::Robotics", NULL, NC_("Menu subcategory of Science", "Robotics") },
+ { "Science::Spirituality", NULL, NC_("Menu subcategory of Science", "Spirituality") },
+ { "Science::Sports", NULL, NC_("Menu subcategory of Science", "Sports") },
/* TRANSLATORS: this is the menu spec main category for System */
- { "System", N_("System") },
- { "System::Emulator", NC_("Menu subcategory of System", "Emulator") },
- { "System::FileManager", NC_("Menu subcategory of System", "File Manager") },
- { "System::Filesystem", NC_("Menu subcategory of System", "File System") },
- { "System::FileTools", NC_("Menu subcategory of System", "File Tools") },
- { "System::Monitor", NC_("Menu subcategory of System", "Monitor") },
- { "System::Security", NC_("Menu subcategory of System", "Security") },
- { "System::TerminalEmulator", NC_("Menu subcategory of System", "Terminal Emulator") },
+ { "System", "applications-system-symbolic", N_("System") },
+ { "System::Emulator", NULL, NC_("Menu subcategory of System", "Emulator") },
+ { "System::FileManager", NULL, NC_("Menu subcategory of System", "File Manager") },
+ { "System::Filesystem", NULL, NC_("Menu subcategory of System", "File System") },
+ { "System::FileTools", NULL, NC_("Menu subcategory of System", "File Tools") },
+ { "System::Monitor", NULL, NC_("Menu subcategory of System", "Monitor") },
+ { "System::Security", NULL, NC_("Menu subcategory of System", "Security") },
+ { "System::TerminalEmulator", NULL, NC_("Menu subcategory of System", "Terminal Emulator")
},
/* TRANSLATORS: this is the menu spec main category for Utility */
- { "Utility", N_("Utilities") },
- { "Utility::Accessibility", NC_("Menu subcategory of Utilities", "Accessibility") },
- { "Utility::Archiving", NC_("Menu subcategory of Utilities", "Archiving") },
- { "Utility::Calculator", NC_("Menu subcategory of Utilities", "Calculator") },
- { "Utility::Clock", NC_("Menu subcategory of Utilities", "Clock") },
- { "Utility::Compression", NC_("Menu subcategory of Utilities", "Compression") },
- { "Utility::FileTools", NC_("Menu subcategory of Utilities", "File Tools") },
- { "Utility::Maps", NC_("Menu subcategory of Utilities", "Maps") },
- { "Utility::Spirituality", NC_("Menu subcategory of Utilities", "Spirituality") },
- { "Utility::TelephonyTools", NC_("Menu subcategory of Utilities", "Telephony Tools") },
- { "Utility::TextEditor", NC_("Menu subcategory of Utilities", "Text Editor") },
+ { "Utility", "applications-utilities-symbolic", N_("Utilities") },
+ { "Utility::Accessibility", NULL, NC_("Menu subcategory of Utilities", "Accessibility") },
+ { "Utility::Archiving", NULL, NC_("Menu subcategory of Utilities", "Archiving") },
+ { "Utility::Calculator", NULL, NC_("Menu subcategory of Utilities", "Calculator") },
+ { "Utility::Clock", NULL, NC_("Menu subcategory of Utilities", "Clock") },
+ { "Utility::Compression", NULL, NC_("Menu subcategory of Utilities", "Compression") },
+ { "Utility::FileTools", NULL, NC_("Menu subcategory of Utilities", "File Tools") },
+ { "Utility::Maps", NULL, NC_("Menu subcategory of Utilities", "Maps") },
+ { "Utility::Spirituality", NULL, NC_("Menu subcategory of Utilities", "Spirituality") },
+ { "Utility::TelephonyTools", NULL, NC_("Menu subcategory of Utilities", "Telephony Tools")
},
+ { "Utility::TextEditor", NULL, NC_("Menu subcategory of Utilities", "Text Editor") },
/* TRANSLATORS: this is the menu spec main category for Video */
- { "Video", N_("Video") },
- { "Video::AudioVideoEditing", NC_("Menu subcategory of Video", "Editing") },
- { "Video::Database", NC_("Menu subcategory of Video", "Database") },
- { "Video::DiscBurning", NC_("Menu subcategory of Video", "Disc Burning") },
- { "Video::Player", NC_("Menu subcategory of Video", "Players") },
- { "Video::Recorder", NC_("Menu subcategory of Video", "Recorders") },
- { "Video::TV", NC_("Menu subcategory of Video", "TV") },
+ { "Video", "folder-videos-symbolic", N_("Video") },
+ { "Video::AudioVideoEditing", NULL, NC_("Menu subcategory of Video", "Editing") },
+ { "Video::Database", NULL, NC_("Menu subcategory of Video", "Database") },
+ { "Video::DiscBurning", NULL, NC_("Menu subcategory of Video", "Disc Burning") },
+ { "Video::Player", NULL, NC_("Menu subcategory of Video", "Players") },
+ { "Video::Recorder", NULL, NC_("Menu subcategory of Video", "Recorders") },
+ { "Video::TV", NULL, NC_("Menu subcategory of Video", "TV") },
/* TRANSLATORS: this is the main category for Add-ons */
- { "Addons", N_("Add-ons") },
- { "Addons::Fonts", NC_("Menu subcategory of Add-ons", "Fonts") },
- { "Addons::Codecs", NC_("Menu subcategory of Add-ons", "Codecs") },
- { "Addons::InputSources", NC_("Menu subcategory of Add-ons", "Input Sources") },
- { "Addons::LanguagePacks", NC_("Menu subcategory of Add-ons", "Language Packs") },
- { "Addons::ShellExtensions", NC_("Menu subcategory of Add-ons", "Shell Extensions") },
- { "Addons::Localization", NC_("Menu subcategory of Add-ons", "Localization") },
- { NULL, NULL }
+ { "Addons", "list-add-symbolic", N_("Add-ons") },
+ { "Addons::Fonts", NULL, NC_("Menu subcategory of Add-ons", "Fonts") },
+ { "Addons::Codecs", NULL, NC_("Menu subcategory of Add-ons", "Codecs") },
+ { "Addons::InputSources", NULL, NC_("Menu subcategory of Add-ons", "Input Sources") },
+ { "Addons::LanguagePacks", NULL, NC_("Menu subcategory of Add-ons", "Language Packs") },
+ { "Addons::ShellExtensions", NULL, NC_("Menu subcategory of Add-ons", "Shell Extensions")
},
+ { "Addons::Localization", NULL, NC_("Menu subcategory of Add-ons", "Localization") },
+ { NULL, NULL, NULL }
};
/**
diff --git a/src/plugins/menu-spec-common.h b/src/plugins/menu-spec-common.h
index 0d98308..a05a127 100644
--- a/src/plugins/menu-spec-common.h
+++ b/src/plugins/menu-spec-common.h
@@ -29,6 +29,7 @@ G_BEGIN_DECLS
typedef struct {
const gchar *path;
+ const gchar *icon;
const gchar *text;
} MenuSpecData;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]