Skip to content

Commit 5b55a31

Browse files
authored
Merge pull request darktable-org#470 from wpferguson/windows_executuable_manager_fix
executable_manager - fix position not visible on windows
2 parents c3ce8d5 + 3e03261 commit 5b55a31

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tools/executable_manager.lua

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,19 @@ local function update_combobox_choices(combobox, choice_table, selected)
107107
end
108108

109109
local function install_module()
110+
local panel = "DT_UI_CONTAINER_PANEL_LEFT_BOTTOM"
111+
local panel_pos = 600
112+
if dt.configuration.running_os == "windows" then
113+
panel = "DT_UI_CONTAINER_PANEL_LEFT_CENTER"
114+
panel_pos = 100
115+
end
110116
if not exec_man.module_installed then
111117
dt.register_lib(
112118
"executable_manager", -- Module name
113119
"executable manager", -- Visible name
114120
true, -- expandable
115121
false, -- resetable
116-
{[dt.gui.views.lighttable] = {"DT_UI_CONTAINER_PANEL_LEFT_BOTTOM", 600}}, -- containers
122+
{[dt.gui.views.lighttable] = {panel, panel_pos}}, -- containers
117123
dt.new_widget("box") -- widget
118124
{
119125
orientation = "vertical",

0 commit comments

Comments
 (0)