Skip to content

Commit

Permalink
Add some tooltips and use "All actions" instead of "All GUI actions"
Browse files Browse the repository at this point in the history
Most users don't and shouldn't know what GUI means.
  • Loading branch information
kovidgoyal committed Jan 10, 2025
1 parent 6fbe3ee commit 7845999
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/calibre/gui2/actions/all_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
class AllGUIActions(InterfaceAction):

name = 'All GUI actions'
action_spec = (_('GUI actions'), 'wizard.png',
_("Show a menu of all available GUI and plugin actions.\nThis menu "
action_spec = (_('All actions'), 'wizard.png',
_("Show a menu of all available actions, including from third party plugins.\nThis menu "
"is not available when looking at books on a device"), None)

action_type = 'current'
Expand All @@ -34,7 +34,7 @@ def genesis(self):
menu=self.hidden_menu,
unique_name='Main window layout',
shortcut='Ctrl+F1',
text=_("Show a menu of all available GUI and plugin actions."),
text=_("Show a menu of all available actions."),
icon='wizard.png',
triggered=self.show_menu)

Expand Down
14 changes: 10 additions & 4 deletions src/calibre/gui2/preferences/look_feel.ui
Original file line number Diff line number Diff line change
Expand Up @@ -278,22 +278,28 @@
</widget>
</item>
<item row="10" column="1">
<widget class="QGroupBox">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Status bar buttons</string>
</property>
<layout class="QVBoxLayout">
<item>
<widget class="QCheckBox" name="opt_show_layout_buttons">
<property name="toolTip">
<string>Show individual buttons to control the layout of th einterface rather than a single button with a popup.</string>
</property>
<property name="text">
<string>Show &amp;layout buttons</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="opt_show_sb_all_actions_button">
<property name="toolTip">
<string>Show a button that gives quick access to all available actions with a single click.</string>
</property>
<property name="text">
<string>S&amp;how GUI actions button</string>
<string>S&amp;how actions button</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -1475,8 +1481,8 @@ also checked then only categories containing a matched item will be shown.&lt;/p
<item row="3" column="0">
<widget class="QCheckBox" name="opt_tag_browser_restore_tree_expansion">
<property name="toolTip">
<string>&lt;p&gt;Ensure the last "used" item in the Tag browser is visible when opening a library.
An item is "used" when it is expanded, collapsed, or clicked.&lt;/p&gt;</string>
<string>&lt;p&gt;Ensure the last &quot;used&quot; item in the Tag browser is visible when opening a library.
An item is &quot;used&quot; when it is expanded, collapsed, or clicked.&lt;/p&gt;</string>
</property>
<property name="text">
<string>Expand tr&amp;ee to show last used item</string>
Expand Down

0 comments on commit 7845999

Please sign in to comment.