Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <forenjunkie@chello.at>2017-11-18 15:42:53 +0300
committerPhilipp Hörist <forenjunkie@chello.at>2017-11-18 15:42:53 +0300
commit4195e7c366fba3f455a2ac7ba95fa406bfff4e89 (patch)
tree0911758cb41b5bf14132660f203fbf45f715fff2
parent83a558ef9087edac255da0c8f67bc65768f44d8b (diff)
[httpupload] Fix config dialog
-rw-r--r--httpupload/config_dialog.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/httpupload/config_dialog.py b/httpupload/config_dialog.py
index bb80c40..23b0318 100644
--- a/httpupload/config_dialog.py
+++ b/httpupload/config_dialog.py
@@ -17,8 +17,6 @@
# You should have received a copy of the GNU General Public License
# along with Gajim. If not, see <http://www.gnu.org/licenses/>.
-from enum import IntEnum, unique
-
from gi.repository import Gtk
from gajim.options_dialog import OptionsDialog
@@ -30,7 +28,7 @@ class HTTPUploadConfigDialog(OptionsDialog):
self.plugin = plugin
options = [
Option(OptionKind.SWITCH, _('Enable HTTPS Verification'),
- OptionType.BOOL, self.plugin.config['verify'],
+ OptionType.VALUE, self.plugin.config['verify'],
callback=self.on_option, data='verify'),
]