mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
generic: replace X-KDE-StartupNotify with StartupNotify
X-KDE-StartupNotify is for compatibility and used as fallback (in case StartupNotify is not set) Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
64ca23ae57
commit
f1f6ae7a3e
16 changed files with 16 additions and 19 deletions
|
@ -119,7 +119,7 @@ Name[zh_CN]=Kate
|
||||||
Name[zh_TW]=Kate
|
Name[zh_TW]=Kate
|
||||||
MimeType=text/plain;
|
MimeType=text/plain;
|
||||||
Exec=kate --icon '%i' --caption '%c' -b %U
|
Exec=kate --icon '%i' --caption '%c' -b %U
|
||||||
X-KDE-StartupNotify=true
|
StartupNotify=true
|
||||||
X-KDE-HasTempFileOption=true
|
X-KDE-HasTempFileOption=true
|
||||||
Icon=kate
|
Icon=kate
|
||||||
X-DocPath=kate/index.html
|
X-DocPath=kate/index.html
|
||||||
|
|
|
@ -94,6 +94,6 @@ Name[wa]=Trover des fitchîs/ridants
|
||||||
Name[x-test]=xxFind Files/Foldersxx
|
Name[x-test]=xxFind Files/Foldersxx
|
||||||
Name[zh_CN]=查找文件/文件夹
|
Name[zh_CN]=查找文件/文件夹
|
||||||
Name[zh_TW]=尋找檔案/資料夾
|
Name[zh_TW]=尋找檔案/資料夾
|
||||||
X-KDE-StartupNotify=true
|
StartupNotify=true
|
||||||
OnlyShowIn=KDE;
|
OnlyShowIn=KDE;
|
||||||
Categories=Qt;KDE;Core;
|
Categories=Qt;KDE;Core;
|
||||||
|
|
|
@ -6,7 +6,7 @@ X-KDE-autostart-phase=1
|
||||||
X-DBUS-ServiceName=org.kde.kglobalaccel
|
X-DBUS-ServiceName=org.kde.kglobalaccel
|
||||||
X-DBUS-StartupType=Unique
|
X-DBUS-StartupType=Unique
|
||||||
X-KDE-ServiceTypes=
|
X-KDE-ServiceTypes=
|
||||||
X-KDE-StartupNotify=false
|
StartupNotify=false
|
||||||
|
|
||||||
Name=KDED Global Shortcuts Server
|
Name=KDED Global Shortcuts Server
|
||||||
Name[ar]=خادم اختصارات كدي دي العمومية
|
Name[ar]=خادم اختصارات كدي دي العمومية
|
||||||
|
|
|
@ -3,7 +3,7 @@ Exec=kinfocenter --icon '%i' --caption '%c'
|
||||||
Icon=hwinfo
|
Icon=hwinfo
|
||||||
Type=Application
|
Type=Application
|
||||||
X-DocPath=kinfocenter/index.html
|
X-DocPath=kinfocenter/index.html
|
||||||
X-KDE-StartupNotify=true
|
StartupNotify=true
|
||||||
OnlyShowIn=KDE;
|
OnlyShowIn=KDE;
|
||||||
|
|
||||||
Name=KInfoCenter
|
Name=KInfoCenter
|
||||||
|
|
|
@ -182,7 +182,7 @@ Icon=klipper
|
||||||
Type=Application
|
Type=Application
|
||||||
X-DocPath=klipper/index.html
|
X-DocPath=klipper/index.html
|
||||||
Terminal=false
|
Terminal=false
|
||||||
X-KDE-StartupNotify=false
|
StartupNotify=false
|
||||||
X-DBUS-ServiceName=org.kde.klipper
|
X-DBUS-ServiceName=org.kde.klipper
|
||||||
X-DBUS-StartupType=Unique
|
X-DBUS-StartupType=Unique
|
||||||
X-KDE-UniqueApplet=true
|
X-KDE-UniqueApplet=true
|
||||||
|
|
|
@ -385,10 +385,7 @@ void BasicTab::setEntryInfo(MenuEntryInfo *entryInfo)
|
||||||
_termOptEdit->setText(df->desktopGroup().readEntry("TerminalOptions"));
|
_termOptEdit->setText(df->desktopGroup().readEntry("TerminalOptions"));
|
||||||
_uidEdit->setText(df->desktopGroup().readEntry("X-KDE-Username"));
|
_uidEdit->setText(df->desktopGroup().readEntry("X-KDE-Username"));
|
||||||
|
|
||||||
if( df->desktopGroup().hasKey( "StartupNotify" ))
|
_launchCB->setChecked(df->desktopGroup().readEntry("StartupNotify", true));
|
||||||
_launchCB->setChecked(df->desktopGroup().readEntry("StartupNotify", true));
|
|
||||||
else // backwards comp.
|
|
||||||
_launchCB->setChecked(df->desktopGroup().readEntry("X-KDE-StartupNotify", true));
|
|
||||||
|
|
||||||
_onlyShowInKdeCB->setChecked( df->desktopGroup().readXdgListEntry("OnlyShowIn").contains( "KDE" ) ); // or maybe enable only if it contains nothing but KDE?
|
_onlyShowInKdeCB->setChecked( df->desktopGroup().readXdgListEntry("OnlyShowIn").contains( "KDE" ) ); // or maybe enable only if it contains nothing but KDE?
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ Exec=kmenuedit --icon '%i' --caption '%c'
|
||||||
Icon=kmenuedit
|
Icon=kmenuedit
|
||||||
X-DocPath=kmenuedit/index.html
|
X-DocPath=kmenuedit/index.html
|
||||||
Type=Application
|
Type=Application
|
||||||
X-KDE-StartupNotify=true
|
StartupNotify=true
|
||||||
OnlyShowIn=KDE;
|
OnlyShowIn=KDE;
|
||||||
|
|
||||||
Name=Menu Editor
|
Name=Menu Editor
|
||||||
|
|
|
@ -182,7 +182,7 @@ InitialPreference=6
|
||||||
Icon=knetattach
|
Icon=knetattach
|
||||||
Type=Application
|
Type=Application
|
||||||
Terminal=false
|
Terminal=false
|
||||||
X-KDE-StartupNotify=true
|
StartupNotify=true
|
||||||
Categories=Qt;KDE;Network;RemoteAccess;
|
Categories=Qt;KDE;Network;RemoteAccess;
|
||||||
X-DocPath=knetattach/index.html
|
X-DocPath=knetattach/index.html
|
||||||
OnlyShowIn=KDE;
|
OnlyShowIn=KDE;
|
||||||
|
|
|
@ -176,5 +176,5 @@ Comment[zh_TW]=KDE Notification 伺服程式
|
||||||
Icon=preferences-desktop-notification
|
Icon=preferences-desktop-notification
|
||||||
X-DBUS-ServiceName=org.kde.knotify
|
X-DBUS-ServiceName=org.kde.knotify
|
||||||
X-DBUS-StartupType=Unique
|
X-DBUS-StartupType=Unique
|
||||||
X-KDE-StartupNotify=false
|
StartupNotify=false
|
||||||
X-KDE-MediaPlayer=knotify
|
X-KDE-MediaPlayer=knotify
|
||||||
|
|
|
@ -9,7 +9,7 @@ Actions=NewWindow;
|
||||||
X-DocPath=konsole/index.html
|
X-DocPath=konsole/index.html
|
||||||
X-DBUS-ServiceName=org.kde.konsole
|
X-DBUS-ServiceName=org.kde.konsole
|
||||||
X-DBUS-StartupType=Multi
|
X-DBUS-StartupType=Multi
|
||||||
X-KDE-StartupNotify=true
|
StartupNotify=true
|
||||||
|
|
||||||
Name=Konsole
|
Name=Konsole
|
||||||
Name[af]=Konsole
|
Name[af]=Konsole
|
||||||
|
|
|
@ -81,6 +81,6 @@ Name[x-test]=xxCommand Runnerxx
|
||||||
Name[zh_CN]=命令运行器
|
Name[zh_CN]=命令运行器
|
||||||
Name[zh_TW]=命令執行者
|
Name[zh_TW]=命令執行者
|
||||||
Type=Service
|
Type=Service
|
||||||
X-KDE-StartupNotify=false
|
StartupNotify=false
|
||||||
OnlyShowIn=KDE;
|
OnlyShowIn=KDE;
|
||||||
X-KDE-autostart-phase=1
|
X-KDE-autostart-phase=1
|
||||||
|
|
|
@ -173,7 +173,7 @@ Type=Application
|
||||||
MimeType=application/x-ksysguard;
|
MimeType=application/x-ksysguard;
|
||||||
X-DocPath=ksysguard/index.html
|
X-DocPath=ksysguard/index.html
|
||||||
Terminal=false
|
Terminal=false
|
||||||
X-KDE-StartupNotify=true
|
StartupNotify=true
|
||||||
X-DBUS-ServiceName=org.kde.ksysguard
|
X-DBUS-ServiceName=org.kde.ksysguard
|
||||||
X-DBUS-StartupType=Multi
|
X-DBUS-StartupType=Multi
|
||||||
Categories=Qt;KDE;System;
|
Categories=Qt;KDE;System;
|
||||||
|
|
|
@ -168,4 +168,4 @@ X-KDE-ServiceTypes=
|
||||||
X-DBUS-ServiceName=org.kde.kuiserver
|
X-DBUS-ServiceName=org.kde.kuiserver
|
||||||
# It is a server
|
# It is a server
|
||||||
X-DBUS-StartupType=Unique
|
X-DBUS-StartupType=Unique
|
||||||
X-KDE-StartupNotify=false
|
StartupNotify=false
|
||||||
|
|
|
@ -73,7 +73,7 @@ Name[x-test]=xxPlasma Desktop Workspacexx
|
||||||
Name[zh_CN]=Plasma 桌面工作空间
|
Name[zh_CN]=Plasma 桌面工作空间
|
||||||
Name[zh_TW]=Plasma 桌面工作空間
|
Name[zh_TW]=Plasma 桌面工作空間
|
||||||
Type=Service
|
Type=Service
|
||||||
X-KDE-StartupNotify=false
|
StartupNotify=false
|
||||||
OnlyShowIn=KDE;
|
OnlyShowIn=KDE;
|
||||||
X-KDE-autostart-phase=0
|
X-KDE-autostart-phase=0
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
Exec=systemsettings --icon '%i' --caption '%c'
|
Exec=systemsettings --icon '%i' --caption '%c'
|
||||||
Icon=preferences-system
|
Icon=preferences-system
|
||||||
Type=Application
|
Type=Application
|
||||||
X-KDE-StartupNotify=true
|
StartupNotify=true
|
||||||
NotShowIn=KDE;
|
NotShowIn=KDE;
|
||||||
|
|
||||||
GenericName=KDE System Settings
|
GenericName=KDE System Settings
|
||||||
|
|
|
@ -3,7 +3,7 @@ Exec=systemsettings --icon '%i' --caption '%c'
|
||||||
Icon=preferences-system
|
Icon=preferences-system
|
||||||
Type=Application
|
Type=Application
|
||||||
X-DocPath=systemsettings/index.html
|
X-DocPath=systemsettings/index.html
|
||||||
X-KDE-StartupNotify=true
|
StartupNotify=true
|
||||||
OnlyShowIn=KDE;
|
OnlyShowIn=KDE;
|
||||||
|
|
||||||
GenericName=System Settings
|
GenericName=System Settings
|
||||||
|
|
Loading…
Add table
Reference in a new issue