generic: preperations for kdelibs changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-08-19 19:47:34 +03:00
parent 1091d4d98c
commit f00420a34a
17 changed files with 6 additions and 32 deletions

View file

@ -126,6 +126,4 @@ X-DocPath=kate/index.html
Type=Application Type=Application
Terminal=false Terminal=false
InitialPreference=9 InitialPreference=9
X-DBUS-StartupType=Multi
X-DBUS-ServiceName=org.kde.kate
Categories=Qt;KDE;Utility;TextEditor; Categories=Qt;KDE;Utility;TextEditor;

View file

@ -92,7 +92,7 @@ Name[zh_CN]=KDE 辅助工具
Name[zh_TW]=KDE Name[zh_TW]=KDE
Exec=kaccess Exec=kaccess
Icon=preferences-desktop-accessibility Icon=preferences-desktop-accessibility
X-DBUS-StartupType=None StartupNotify=false
X-KDE-Library=kcm_access X-KDE-Library=kcm_access
X-KDE-ParentApp=kcontrol X-KDE-ParentApp=kcontrol
X-DocPath=kcontrol/kcmaccess/index.html X-DocPath=kcontrol/kcmaccess/index.html

View file

@ -4,8 +4,7 @@ Icon=preferences-desktop-user-password
Type=Application Type=Application
Categories=Qt;KDE;Settings; Categories=Qt;KDE;Settings;
NoDisplay=true NoDisplay=true
X-DBUS-ServiceName=org.kde.kdepasswd StartupNotify=true
X-DBUS-StartupType=Unique
Name=Change Password Name=Change Password
Name[af]=Verander Wagwoord Name[af]=Verander Wagwoord
Name[ar]=غيّر كلمة السر Name[ar]=غيّر كلمة السر

View file

@ -3,8 +3,6 @@ Type=Service
Icon=preferences-desktop-keyboard Icon=preferences-desktop-keyboard
Exec=kglobalaccel Exec=kglobalaccel
X-KDE-autostart-phase=1 X-KDE-autostart-phase=1
X-DBUS-ServiceName=org.kde.kglobalaccel
X-DBUS-StartupType=Unique
X-KDE-ServiceTypes= X-KDE-ServiceTypes=
StartupNotify=false StartupNotify=false

View file

@ -188,6 +188,4 @@ GenericName[x-test]=xxInfo Centerxx
GenericName[zh_CN]= GenericName[zh_CN]=
GenericName[zh_TW]= GenericName[zh_TW]=
X-DBUS-ServiceName=org.kde.kinfocenter
X-DBUS-StartupType=Multi
Categories=Qt;KDE;System; Categories=Qt;KDE;System;

View file

@ -182,10 +182,7 @@ Icon=klipper
Type=Application Type=Application
X-DocPath=klipper/index.html X-DocPath=klipper/index.html
Terminal=false Terminal=false
StartupNotify=false StartupNotify=true
X-DBUS-ServiceName=org.kde.klipper
X-DBUS-StartupType=Unique
X-KDE-UniqueApplet=true
X-KDE-autostart-condition=klipperrc:General:AutoStart:true X-KDE-autostart-condition=klipperrc:General:AutoStart:true
OnlyShowIn=KDE; OnlyShowIn=KDE;
Categories=Qt;KDE;Utility;X-KDE-Utilities-Desktop; Categories=Qt;KDE;Utility;X-KDE-Utilities-Desktop;

View file

@ -385,7 +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"));
_launchCB->setChecked(df->desktopGroup().readEntry("StartupNotify", true)); _launchCB->setChecked(df->desktopGroup().readEntry("StartupNotify", false));
_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

@ -98,7 +98,5 @@ Name[x-test]=xxMenu Editorxx
Name[zh_CN]= Name[zh_CN]=
Name[zh_TW]= Name[zh_TW]=
X-DBUS-ServiceName=org.kde.kmenuedit
X-DBUS-StartupType=Unique
Categories=Qt;KDE;Settings; Categories=Qt;KDE;Settings;
NoDisplay=true NoDisplay=true

View file

@ -174,7 +174,5 @@ Comment[x-test]=xxKDE Notification Daemonxx
Comment[zh_CN]=KDE Comment[zh_CN]=KDE
Comment[zh_TW]=KDE Notification Comment[zh_TW]=KDE Notification
Icon=preferences-desktop-notification Icon=preferences-desktop-notification
X-DBUS-ServiceName=org.kde.knotify
X-DBUS-StartupType=Unique
StartupNotify=false StartupNotify=false
X-KDE-MediaPlayer=knotify X-KDE-MediaPlayer=knotify

View file

@ -7,8 +7,6 @@ Terminal=false
Categories=Qt;KDE;System;TerminalEmulator; Categories=Qt;KDE;System;TerminalEmulator;
Actions=NewWindow; Actions=NewWindow;
X-DocPath=konsole/index.html X-DocPath=konsole/index.html
X-DBUS-ServiceName=org.kde.konsole
X-DBUS-StartupType=Multi
StartupNotify=true StartupNotify=true
Name=Konsole Name=Konsole

View file

@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
Exec=krunner Exec=krunner
X-DBUS-StartupType=none StartupNotify=false
Name=Command Runner Name=Command Runner
Name[ar]=منفّذ الأوامر Name[ar]=منفّذ الأوامر
Name[ast]=Execución d'órdenes Name[ast]=Execución d'órdenes

View file

@ -536,7 +536,7 @@ int main( int argc, char** argv )
options.add("+[worksheet]", ki18n( "Optional worksheet files to load" )); options.add("+[worksheet]", ki18n( "Optional worksheet files to load" ));
KCmdLineArgs::addCmdLineOptions( options ); KCmdLineArgs::addCmdLineOptions( options );
// initialize KDE application // initialize KDE application
KApplication *app = new KApplication; KApplication *app = new KApplication();
KSGRD::SensorMgr = new KSGRD::SensorManager(); KSGRD::SensorMgr = new KSGRD::SensorManager();
KSGRD::Style = new KSGRD::StyleEngine(); KSGRD::Style = new KSGRD::StyleEngine();

View file

@ -174,6 +174,4 @@ MimeType=application/x-ksysguard;
X-DocPath=ksysguard/index.html X-DocPath=ksysguard/index.html
Terminal=false Terminal=false
StartupNotify=true StartupNotify=true
X-DBUS-ServiceName=org.kde.ksysguard
X-DBUS-StartupType=Multi
Categories=Qt;KDE;System; Categories=Qt;KDE;System;

View file

@ -165,7 +165,5 @@ Comment[x-test]=xxKDE's Progress Info UI serverxx
Comment[zh_CN]=KDE Comment[zh_CN]=KDE
Comment[zh_TW]=KDE Comment[zh_TW]=KDE
X-KDE-ServiceTypes= X-KDE-ServiceTypes=
X-DBUS-ServiceName=org.kde.kuiserver
# It is a server # It is a server
X-DBUS-StartupType=Unique
StartupNotify=false StartupNotify=false

View file

@ -1,7 +1,5 @@
[Desktop Entry] [Desktop Entry]
Exec=plasma-desktop Exec=plasma-desktop
X-DBUS-ServiceName=org.kde.plasma-desktop
X-DBUS-StartupType=multi
Name=Plasma Desktop Workspace Name=Plasma Desktop Workspace
Name[ar]=مساحة عمل بلازما Name[ar]=مساحة عمل بلازما
Name[ast]=Espaciu de trabayu del escritoriu Plasma Name[ast]=Espaciu de trabayu del escritoriu Plasma

View file

@ -109,6 +109,4 @@ Name[x-test]=xxKDE System Settingsxx
Name[zh_CN]=KDE Name[zh_CN]=KDE
Name[zh_TW]=KDE Name[zh_TW]=KDE
X-DBUS-ServiceName=org.kde.systemsettings
X-DBUS-StartupType=Unique
Categories=Qt;KDE;Settings; Categories=Qt;KDE;Settings;

View file

@ -174,6 +174,4 @@ Name[x-test]=xxSystem Settingsxx
Name[zh_CN]= Name[zh_CN]=
Name[zh_TW]= Name[zh_TW]=
X-DBUS-ServiceName=org.kde.systemsettings
X-DBUS-StartupType=Unique
Categories=Qt;KDE;Settings; Categories=Qt;KDE;Settings;