Bring system icon into XDG compliance

pull/2/head
Timothy Pearson 10 years ago
parent 0157291f5e
commit a8203cf740

@ -1,5 +1,5 @@
[Desktop Entry] [Desktop Entry]
Icon=system-log-out Icon=computer-log-out
Type=Application Type=Application
X-DocPath=kcontrol/kcmsmserver/index.html X-DocPath=kcontrol/kcmsmserver/index.html
Exec=tdecmshell kcmsmserver Exec=tdecmshell kcmsmserver

@ -144,6 +144,6 @@ GenericName[wa]=Plaeces do sistinme
GenericName[zh_CN]=系统定位 GenericName[zh_CN]=系统定位
GenericName[zh_TW]=系統位置 GenericName[zh_TW]=系統位置
URL=system:/ URL=system:/
Icon=system Icon=computer
Type=Link Type=Link
OnlyShowIn=TDE; OnlyShowIn=TDE;

@ -121,5 +121,5 @@ Comment[vi]=Thêm nút khoá màn hình và đăng xuất khỏi phiên làm vi
Comment[wa]=Radjout des botons po serer l' waitroûle a clé et dislodjî del session Comment[wa]=Radjout des botons po serer l' waitroûle a clé et dislodjî del session
Comment[zh_CN]=添加锁定屏幕和注销会话的按钮 Comment[zh_CN]=添加锁定屏幕和注销会话的按钮
Comment[zh_TW]=加入用來鎖定螢幕與登出作業階段的按鈕 Comment[zh_TW]=加入用來鎖定螢幕與登出作業階段的按鈕
Icon=system-log-out Icon=computer-log-out
X-TDE-Library=lockout_panelapplet X-TDE-Library=lockout_panelapplet

@ -126,6 +126,6 @@ Comment[vi]=Phát hiện và ngừng các tiến trình gây lãng phí bộ vi
Comment[wa]=Trove et arestêye les schetés processus k' eployèt trop di tins CPU Comment[wa]=Trove et arestêye les schetés processus k' eployèt trop di tins CPU
Comment[zh_CN]=检测并结束占用太多 CPU 时间的进程 Comment[zh_CN]=检测并结束占用太多 CPU 时间的进程
Comment[zh_TW]=偵測並終結浪費多數 CPU 時間的破損程序 Comment[zh_TW]=偵測並終結浪費多數 CPU 時間的破損程序
Icon=system-runprocesscatcher Icon=computer-runprocesscatcher
X-TDE-Library=naughty_panelapplet X-TDE-Library=naughty_panelapplet
X-TDE-UniqueApplet=true X-TDE-UniqueApplet=true

@ -153,6 +153,6 @@ Comment[xh]=I applet yeqela lenjongo ethile yendlela yetreyi yokusebenza
Comment[zh_CN]=系统托盘小程序 Comment[zh_CN]=系统托盘小程序
Comment[zh_TW]=系統匣 (system tray) 面板小程式 Comment[zh_TW]=系統匣 (system tray) 面板小程式
Comment[zu]=I-applet yewindi lemininingwane yetreyi lesistimu Comment[zu]=I-applet yewindi lemininingwane yetreyi lesistimu
Icon=systemtray Icon=computertray
X-TDE-Library=systemtray_panelapplet X-TDE-Library=systemtray_panelapplet
X-TDE-UniqueApplet=true X-TDE-UniqueApplet=true

@ -265,7 +265,7 @@ KMenu::KMenu()
if (KickerSettings::kickoffTabBarFormat() != KickerSettings::LabelOnly) { if (KickerSettings::kickoffTabBarFormat() != KickerSettings::LabelOnly) {
m_tabs[FavoriteTab]->setIconSet(BarIcon("bookmark", tab_icon_size)); m_tabs[FavoriteTab]->setIconSet(BarIcon("bookmark", tab_icon_size));
m_tabs[HistoryTab]->setIconSet(BarIcon("recently_used", tab_icon_size)); m_tabs[HistoryTab]->setIconSet(BarIcon("recently_used", tab_icon_size));
m_tabs[ComputerTab]->setIconSet(BarIcon("system", tab_icon_size)); m_tabs[ComputerTab]->setIconSet(BarIcon("computer", tab_icon_size));
m_tabs[ApplicationsTab]->setIconSet(BarIcon("player_playlist", tab_icon_size)); m_tabs[ApplicationsTab]->setIconSet(BarIcon("player_playlist", tab_icon_size));
m_tabs[LeaveTab]->setIconSet(BarIcon("leave", tab_icon_size)); m_tabs[LeaveTab]->setIconSet(BarIcon("leave", tab_icon_size));
} }

@ -122,6 +122,6 @@ Comment[vi]=Thực đơn chứa các liên kết hệ thống quan trọng
Comment[wa]=Dressêye des impôrtantès plaeces do sistinmes Comment[wa]=Dressêye des impôrtantès plaeces do sistinmes
Comment[zh_CN]=重要系统位置的菜单 Comment[zh_CN]=重要系统位置的菜单
Comment[zh_TW]=重要系統位置選單 Comment[zh_TW]=重要系統位置選單
Icon=system Icon=computer
X-TDE-Library=kickermenu_systemmenu X-TDE-Library=kickermenu_systemmenu

@ -101,7 +101,7 @@ TQString KonqAboutPageFactory::launch()
TDEIconLoader *iconloader = TDEGlobal::iconLoader(); TDEIconLoader *iconloader = TDEGlobal::iconLoader();
int iconSize = iconloader->currentSize(TDEIcon::Desktop); int iconSize = iconloader->currentSize(TDEIcon::Desktop);
TQString home_icon_path = iconloader->iconPath("kfm_home", TDEIcon::Desktop ); TQString home_icon_path = iconloader->iconPath("kfm_home", TDEIcon::Desktop );
TQString storage_icon_path = iconloader->iconPath("system", TDEIcon::Desktop ); TQString storage_icon_path = iconloader->iconPath("computer", TDEIcon::Desktop );
TQString remote_icon_path = iconloader->iconPath("network", TDEIcon::Desktop ); TQString remote_icon_path = iconloader->iconPath("network", TDEIcon::Desktop );
TQString wastebin_icon_path = iconloader->iconPath("trashcan_full", TDEIcon::Desktop ); TQString wastebin_icon_path = iconloader->iconPath("trashcan_full", TDEIcon::Desktop );
TQString applications_icon_path = iconloader->iconPath("kmenu", TDEIcon::Desktop ); TQString applications_icon_path = iconloader->iconPath("kmenu", TDEIcon::Desktop );

@ -3852,9 +3852,9 @@ void KonqMainWindow::initActions()
connect( m_paHome, TQT_SIGNAL( activated( TDEAction::ActivationReason, TQt::ButtonState) ), TQT_TQOBJECT(this), connect( m_paHome, TQT_SIGNAL( activated( TDEAction::ActivationReason, TQt::ButtonState) ), TQT_TQOBJECT(this),
TQT_SLOT( slotHome(TDEAction::ActivationReason, TQt::ButtonState) ) ); TQT_SLOT( slotHome(TDEAction::ActivationReason, TQt::ButtonState) ) );
(void) new TDEAction( i18n( "S&ystem" ), "system", 0, TQT_TQOBJECT(this), TQT_SLOT( slotGoSystem() ), actionCollection(), "go_system" ); (void) new TDEAction( i18n( "S&ystem" ), "computer", 0, TQT_TQOBJECT(this), TQT_SLOT( slotGoSystem() ), actionCollection(), "go_system" );
(void) new TDEAction( i18n( "App&lications" ), "kmenu", 0, TQT_TQOBJECT(this), TQT_SLOT( slotGoApplications() ), actionCollection(), "go_applications" ); (void) new TDEAction( i18n( "App&lications" ), "kmenu", 0, TQT_TQOBJECT(this), TQT_SLOT( slotGoApplications() ), actionCollection(), "go_applications" );
(void) new TDEAction( i18n( "&Storage Media" ), "system", 0, TQT_TQOBJECT(this), TQT_SLOT( slotGoMedia() ), actionCollection(), "go_media" ); (void) new TDEAction( i18n( "&Storage Media" ), "computer", 0, TQT_TQOBJECT(this), TQT_SLOT( slotGoMedia() ), actionCollection(), "go_media" );
(void) new TDEAction( i18n( "&Network Folders" ), "network", 0, TQT_TQOBJECT(this), TQT_SLOT( slotGoNetworkFolders() ), actionCollection(), "go_network_folders" ); (void) new TDEAction( i18n( "&Network Folders" ), "network", 0, TQT_TQOBJECT(this), TQT_SLOT( slotGoNetworkFolders() ), actionCollection(), "go_network_folders" );
(void) new TDEAction( i18n( "Sett&ings" ), "kcontrol", 0, TQT_TQOBJECT(this), TQT_SLOT( slotGoSettings() ), actionCollection(), "go_settings" ); (void) new TDEAction( i18n( "Sett&ings" ), "kcontrol", 0, TQT_TQOBJECT(this), TQT_SLOT( slotGoSettings() ), actionCollection(), "go_settings" );
//(void) new TDEAction( i18n( "Sidebar Configuration" ), 0, this, TQT_SLOT( slotGoDirTree() ), actionCollection(), "go_dirtree" ); //(void) new TDEAction( i18n( "Sidebar Configuration" ), 0, this, TQT_SLOT( slotGoDirTree() ), actionCollection(), "go_dirtree" );

@ -10,7 +10,7 @@ X-TDE-PluginInfo-Depends=
X-TDE-PluginInfo-License=GPL X-TDE-PluginInfo-License=GPL
X-TDE-PluginInfo-EnabledByDefault=true X-TDE-PluginInfo-EnabledByDefault=true
X-TDE-ParentApp=konqueror X-TDE-ParentApp=konqueror
Icon=system-run Icon=computer-run
Name=Shell Command Plugin Name=Shell Command Plugin
Name[af]=Opdrag tolk inprop module Name[af]=Opdrag tolk inprop module
Name[ar]=قابس أمر المحارة Name[ar]=قابس أمر المحارة

@ -1,7 +1,7 @@
[Desktop Entry] [Desktop Entry]
Type=Link Type=Link
URL=media:/ URL=media:/
Icon=system Icon=computer
Name=Storage Media Name=Storage Media
Name[af]=Stoor Media Name[af]=Stoor Media
Name[ar]=وسائط التخزين Name[ar]=وسائط التخزين

@ -1,7 +1,7 @@
[Desktop Entry] [Desktop Entry]
Type=Link Type=Link
URL=system:/ URL=system:/
Icon=system Icon=computer
Name=System Name=System
Name[af]=Stelsel Name[af]=Stelsel
Name[ar]=النظام Name[ar]=النظام

@ -1,5 +1,5 @@
[Desktop Entry] [Desktop Entry]
Icon=system-run Icon=computer-run
Type=Application Type=Application
Exec=tdecmshell kcmcgi Exec=tdecmshell kcmcgi
X-DocPath=kcontrol/kcmcgi/index.html X-DocPath=kcontrol/kcmcgi/index.html

@ -10,7 +10,7 @@ makedir=true
deleting=true deleting=true
linking=true linking=true
moving=true moving=true
Icon=system Icon=computer
maxInstances=4 maxInstances=4
X-DocPath=tdeioslave/media/index.html X-DocPath=tdeioslave/media/index.html
Class=:local Class=:local

@ -1,5 +1,5 @@
[Desktop Entry] [Desktop Entry]
Icon=system Icon=computer
Type=MimeType Type=MimeType
MimeType=media/builtin-mycomputer MimeType=media/builtin-mycomputer
Comment=My Computer Comment=My Computer

@ -1,7 +1,7 @@
[Desktop Entry] [Desktop Entry]
Type=Application Type=Application
X-DocPath=kcontrol/media/index.html X-DocPath=kcontrol/media/index.html
Icon=system Icon=computer
Exec=tdecmshell media Exec=tdecmshell media
X-TDE-Library=media X-TDE-Library=media
X-TDE-FactoryName=media X-TDE-FactoryName=media

@ -1,7 +1,7 @@
[Desktop Entry] [Desktop Entry]
Type=Link Type=Link
URL=media:/ URL=media:/
Icon=system Icon=computer
Name=Storage Media Name=Storage Media
Name[af]=Stoor Media Name[af]=Stoor Media
Name[ar]=وسائط التخزين Name[ar]=وسائط التخزين

@ -10,7 +10,7 @@ makedir=true
deleting=true deleting=true
linking=true linking=true
moving=true moving=true
Icon=system Icon=computer
maxInstances=4 maxInstances=4
X-DocPath=tdeioslave/system/index.html X-DocPath=tdeioslave/system/index.html
Class=:local Class=:local

@ -204,7 +204,7 @@ void SystemImpl::createTopLevelEntry(TDEIO::UDSEntry &entry) const
addAtom(entry, TDEIO::UDS_FILE_TYPE, S_IFDIR); addAtom(entry, TDEIO::UDS_FILE_TYPE, S_IFDIR);
addAtom(entry, TDEIO::UDS_ACCESS, 0555); addAtom(entry, TDEIO::UDS_ACCESS, 0555);
addAtom(entry, TDEIO::UDS_MIME_TYPE, 0, "inode/system_directory"); addAtom(entry, TDEIO::UDS_MIME_TYPE, 0, "inode/system_directory");
addAtom(entry, TDEIO::UDS_ICON_NAME, 0, "system"); addAtom(entry, TDEIO::UDS_ICON_NAME, 0, "computer");
} }
TQString SystemImpl::readPathINL(TQString filename) TQString SystemImpl::readPathINL(TQString filename)

Loading…
Cancel
Save