Skip to content

Commit

Permalink
removed idea
Browse files Browse the repository at this point in the history
  • Loading branch information
sprokkel78 committed Nov 27, 2024
2 parents cde10a8 + 178cc22 commit 8ce8008
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 126 deletions.
10 changes: 0 additions & 10 deletions .idea/gnordvpn.iml

This file was deleted.

89 changes: 0 additions & 89 deletions .idea/inspectionProfiles/Project_Default.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/inspectionProfiles/profiles_settings.xml

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ NOTES:
- Adding Private Network Addresses as a subnet to the allowlist is only possible
if LAN DISCOVERY is turned OFF.

- THe Post Quantum VPN option can only be used with the NORDLYNX technology and
requires a reconnection.

CONTROL KEYS
------------
Pressing CTRL-q will quit the application.
Expand All @@ -29,6 +32,7 @@ CHANGELOG
---------

# gnordvpn-sprokkel78 1.3.5
- added post quantum encryption to the settings.
- small adjustment to height of the textview.
- added an easter egg for window transparency.

Expand Down
27 changes: 27 additions & 0 deletions gnordvpn.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
combobox6a = Gtk.ComboBox()
combobox6b = Gtk.ComboBox()
combobox666b = Gtk.ComboBox()
combobox777b = Gtk.ComboBox()
combobox6c = Gtk.ComboBox()
entry_allow_net = Gtk.Entry()
entry_allow_port = Gtk.Entry()
Expand Down Expand Up @@ -464,6 +465,15 @@ def Tray_Changed(obj):
rcstat = status.wait()
combobox666b.set_active(0)

def PQ_Changed(obj):
item = combobox777b.get_model()[combobox777b.get_active()]
if item[0] != "Post Quantum":
status = subprocess.Popen("/usr/bin/nordvpn set post-quantum " + item[0], shell=True,
stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)
rcstat = status.wait()
combobox777b.set_active(0)


def TPL_Changed(obj):
if button_tpl.get_active() == 0:
label_tpl_status.set_text("Disabled")
Expand Down Expand Up @@ -2560,6 +2570,23 @@ def do_activate(self):
label666c = Gtk.Label()
box22b.pack_start(label666c, True, True, 0)

liststore777b = Gtk.ListStore(str)
liststore777b.append(['Post Quantum'])
liststore777b.append(['enable'])
liststore777b.append(['disable'])
cell777b = Gtk.CellRendererText()
global combobox777b
combobox777b.set_size_request(140, -1)
combobox777b.show()
combobox777b.set_name("cbbox")
combobox777b.pack_start(cell777b, True)
combobox777b.add_attribute(cell777b, 'text', 0)
combobox777b.set_model(liststore777b)
combobox777b.set_active(0)
combobox777b.connect("changed", PQ_Changed)
box22c.pack_start(combobox777b, False, False, 0)
label777c = Gtk.Label()
box22c.pack_start(label777c, True, True, 0)

box22d.pack_start(sep5, True, True, 0)

Expand Down

0 comments on commit 8ce8008

Please sign in to comment.