Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions data/desktop.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
</ul>
</description>
<issues>
<issue url="https://github.com/elementary/settings-desktop/issues/112">Remove "Show applications menu" top right hotcorner</issue>
<issue url="https://github.com/elementary/settings-desktop/issues/431">Crash when entering custom command for hot corner</issue>
<issue url="https://github.com/elementary/settings-desktop/issues/432">The Multitasking window closes when typing or pasting commands into the input field</issue>
</issues>
Expand Down
10 changes: 9 additions & 1 deletion src/Views/Multitasking.vala
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,22 @@ public class PantheonShell.Multitasking : Switchboard.SettingsPage {
label.add_css_class ("hotcorner");
label.add_css_class (position);

var text_direction = get_default_direction ();

var combo = new Gtk.ComboBoxText () {
hexpand = true,
valign = Gtk.Align.END
};
combo.append ("none", _("Do nothing"));
combo.append ("show-workspace-view", _("Multitasking View"));
combo.append ("maximize-current", _("Maximize current window"));
combo.append ("open-launcher", _("Show Applications Menu"));
// Only show Applications Menu hotcorner for the same panel corner
if (
position == "topleft" && text_direction == LTR ||
position == "topright" && text_direction == RTL
) {
combo.append ("open-launcher", _("Show Applications Menu"));
}
combo.append ("window-overview-all", _("Show all windows"));
combo.append ("switch-to-workspace-previous", _("Switch to previous workspace"));
combo.append ("switch-to-workspace-next", _("Switch to next workspace"));
Expand Down