This will have it show the actual application name instead of the description. BUG: 358423 FIXED-IN: 5.11.0 CHANGELOG: Application launcher mouse action can now be configured to show application names instead of their description Differential Revision: https://phabricator.kde.org/D6441wilder-5.14
parent
c75e91f897
commit
bdaaaedbfb
6 changed files with 75 additions and 2 deletions
@ -1,12 +1,15 @@ |
|||||||
|
add_definitions(-DTRANSLATION_DOMAIN=\"plasma_containmentactions_applauncher\") |
||||||
|
|
||||||
set(applauncher_SRCS |
set(applauncher_SRCS |
||||||
launch.cpp |
launch.cpp |
||||||
) |
) |
||||||
|
ki18n_wrap_ui(applauncher_SRCS config.ui) |
||||||
|
|
||||||
add_library(plasma_containmentactions_applauncher MODULE ${applauncher_SRCS}) |
add_library(plasma_containmentactions_applauncher MODULE ${applauncher_SRCS}) |
||||||
|
|
||||||
kcoreaddons_desktop_to_json(plasma_containmentactions_applauncher plasma-containmentactions-applauncher.desktop) |
kcoreaddons_desktop_to_json(plasma_containmentactions_applauncher plasma-containmentactions-applauncher.desktop) |
||||||
|
|
||||||
target_link_libraries(plasma_containmentactions_applauncher KF5::Plasma KF5::KIOCore KF5::KIOWidgets) |
target_link_libraries(plasma_containmentactions_applauncher KF5::Plasma KF5::KIOCore KF5::KIOWidgets KF5::I18n) |
||||||
|
|
||||||
install(TARGETS plasma_containmentactions_applauncher DESTINATION ${KDE_INSTALL_PLUGINDIR}) |
install(TARGETS plasma_containmentactions_applauncher DESTINATION ${KDE_INSTALL_PLUGINDIR}) |
||||||
install(FILES plasma-containmentactions-applauncher.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) |
install(FILES plasma-containmentactions-applauncher.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) |
||||||
|
|||||||
@ -0,0 +1,2 @@ |
|||||||
|
#! /usr/bin/env bash |
||||||
|
$XGETTEXT *.cpp -o $podir/plasma_containmentactions_applauncher.pot |
||||||
@ -0,0 +1,25 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<ui version="4.0"> |
||||||
|
<class>Config</class> |
||||||
|
<widget class="QWidget" name="Config"> |
||||||
|
<property name="geometry"> |
||||||
|
<rect> |
||||||
|
<x>0</x> |
||||||
|
<y>0</y> |
||||||
|
<width>397</width> |
||||||
|
<height>123</height> |
||||||
|
</rect> |
||||||
|
</property> |
||||||
|
<layout class="QVBoxLayout" name="verticalLayout"> |
||||||
|
<item> |
||||||
|
<widget class="QCheckBox" name="showAppsByName"> |
||||||
|
<property name="text"> |
||||||
|
<string>Show applications by name</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
</layout> |
||||||
|
</widget> |
||||||
|
<resources/> |
||||||
|
<connections/> |
||||||
|
</ui> |
||||||
Loading…
Reference in new issue