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:
Ivailo Monev 2023-08-18 05:11:16 +03:00
parent 64ca23ae57
commit f1f6ae7a3e
16 changed files with 16 additions and 19 deletions

View file

@ -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

View file

@ -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;

View file

@ -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]=خادم اختصارات كدي دي العمومية

View file

@ -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

View file

@ -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

View file

@ -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?

View file

@ -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

View file

@ -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;

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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;

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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