[education/rkward] rkward/windows: Relabel "Help on RKWard" action to reflect that the entry page is now the dashboard, too.
Thomas Friedrichsmeier
null at kde.org
Sun Jun 19 13:42:46 BST 2022
Git commit 37e97a81a333d1f8781145eaf7145080d9a0be90 by Thomas Friedrichsmeier.
Committed on 19/06/2022 at 12:41.
Pushed by tfry into branch 'master'.
Relabel "Help on RKWard" action to reflect that the entry page is now the dashboard, too.
Also place an additional link to this in "Windows"
M +2 -2 rkward/windows/rktoplevelwindowgui.cpp
M +2 -1 rkward/windows/rktoplevelwindowgui.rc
https://invent.kde.org/education/rkward/commit/37e97a81a333d1f8781145eaf7145080d9a0be90
diff --git a/rkward/windows/rktoplevelwindowgui.cpp b/rkward/windows/rktoplevelwindowgui.cpp
index 69810d5d..0be526c4 100644
--- a/rkward/windows/rktoplevelwindowgui.cpp
+++ b/rkward/windows/rktoplevelwindowgui.cpp
@@ -58,7 +58,7 @@ RKTopLevelWindowGUI::RKTopLevelWindowGUI(KXmlGuiWindow *for_window) : QObject(fo
QAction *show_help_search = actionCollection ()->addAction ("show_help_search", this, SLOT(showHelpSearch()));
show_help_search->setText (i18n ("Search R Help"));
QAction *show_rkward_help = actionCollection ()->addAction (KStandardAction::HelpContents, "rkward_help", this, SLOT (showRKWardHelp()));
- show_rkward_help->setText (i18n ("Help on RKWard"));
+ show_rkward_help->setText(i18n("RKWard Dashboard and Help"));
actionCollection()->addAction(KStandardAction::AboutApp, "about_app", this, SLOT(showAboutApplication()));
actionCollection()->addAction(KStandardAction::WhatsThis, "whats_this", this, SLOT(startWhatsThis()));
@@ -67,7 +67,7 @@ RKTopLevelWindowGUI::RKTopLevelWindowGUI(KXmlGuiWindow *for_window) : QObject(fo
help_invoke_r_help->setWhatsThis(i18n ("Shows the R help index"));
show_help_search->setWhatsThis(i18n ("Shows/raises the R Help Search window"));
- show_rkward_help->setWhatsThis(i18n ("Show help on RKWard"));
+ show_rkward_help->setWhatsThis(i18n("Show the RKWard dashboard with links to important settings and documentation"));
// window menu
// NOTE: enabling / disabling the prev/next actions is not a good idea. It will cause the script windows to "accept" their shortcuts, when disabled
diff --git a/rkward/windows/rktoplevelwindowgui.rc b/rkward/windows/rktoplevelwindowgui.rc
index bf0f48af..472e4a84 100644
--- a/rkward/windows/rktoplevelwindowgui.rc
+++ b/rkward/windows/rktoplevelwindowgui.rc
@@ -1,10 +1,11 @@
<!DOCTYPE kpartgui>
-<kpartgui name="rkward_toplevel" version="722">
+<kpartgui name="rkward_toplevel" version="741">
<MenuBar>
<Merge/>
<Menu name="window"><text>&Window</text>
<Merge/>
<Action name="output_show"/>
+ <Action name="rkward_help"/>
<Separator/>
<Menu name="window_activate"><text>&Activate</text>
<Action name="prev_window"/>
More information about the rkward-tracker
mailing list