openvpn-gui/res
Selva Nair 9c82e666d8 Show a prompt during profile import using --import
The user is prompted with a message showing the config
name that will be imported. The user can accept or cancel
the operation.

If the user was already prompted for over-write permission
because a config with the same name exists, no further dialog
is shown.

Import using the menu (Import File...) is not affected.

Rationale:
We want to set "Import" as the default verb for the context
menu of .ovpn files. This will allow import of configs by
double-click. Also when .ovpn file is downloaded using a browser,
setting the default bowser action to "open" will result in an import.
In such cases a silent import action could be surprising, and a
prompt showing what is being imported could provide a better UX.

On the flip-side, the prompt/dialog will also be shown when import
is done from the context menu of .ovpn by "right click and
choose import" or when "openvpn-gui.exe --import foo"
or "openvpn-gui.exe --command import foo" is executed. As import
is an action that does not result in an immediately visible result
(unlike, say, edit or print), a prompt requiring user action is of
some value even in these cases. At worst it's a minor annoyance.

See also: https://github.com/OpenVPN/openvpn-build/pull/227
and discussions there-in

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2021-11-18 14:33:09 -05:00
..
connected.ico Add 24x24 and 20x20 versions of each icon. 2016-12-06 10:12:40 +00:00
connecting.ico Add 24x24 and 20x20 versions of each icon. 2016-12-06 10:12:40 +00:00
disconnected.ico Add 24x24 and 20x20 versions of each icon. 2016-12-06 10:12:40 +00:00
openvpn-gui-res-cs.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-de.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-dk.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-en.rc Show a prompt during profile import using --import 2021-11-18 14:33:09 -05:00
openvpn-gui-res-es.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-fa.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-fi.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-fr.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-it.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-jp.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-kr.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-nl.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-no.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-pl.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-pt.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-ru.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-se.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-tr.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-ua.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-zh-hans.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-zh-hant.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res.rc Enable all language resource files in MSVC build 2021-05-19 20:58:06 -04:00
openvpn-gui.ico update program graphics, thanks to Evgheni Dereveanchin 2014-01-16 18:28:45 +01:00
openvpn-gui.manifest Support per-monitor DPI scaling 2020-09-11 11:15:14 -04:00
reconnecting.ico Add 24x24 and 20x20 versions of each icon. 2016-12-06 10:12:40 +00:00