If you are using GitLab outside of the ILL, then you will need to use HTTPS and not SSH for clone/push/pull operations. SSH will work normally if you are using the VPN.

Commit f7bdce1f authored by eric pellegrini's avatar eric pellegrini

Added system option for displaying file filter widget on MacOS

parent 5059a1e2
Pipeline #4235 passed with stages
in 16 minutes and 47 seconds
......@@ -2,11 +2,17 @@ import glob
import os
import platform
import wx
from MDANSE import PLATFORM
from MDANSE.Externals.pubsub import pub as PUBLISHER
# Hack for the (in)famous "(python:865): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent."
if platform.dist()[0].lower() == "ubuntu":
os.environ["UBUNTU_MENUPROXY"] = "0"
if PLATFORM.name == "macos":
wx.SystemOptions.SetOption("osx.openfiledialog.always-show-types","1")
from MDANSE import REGISTRY
from MDANSE.GUI.Plugins.DataPlugin import DataPlugin
......@@ -38,4 +44,4 @@ for data in REGISTRY["input_data"].values():
"label" : " ".join("".split("_")).capitalize(),
"ancestor" : ['empty_data']}
kls = type("%sPlugin" % data.__name__, (DataPlugin,), attrs)
REGISTRY[data._type] = kls
\ No newline at end of file
REGISTRY[data._type] = kls
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment