28-09-2024 #15
@ -4,75 +4,10 @@
|
||||
<option name="autoReloadType" value="SELECTIVE" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="940e1630-c825-4d4c-be80-bc11f543c122" name="Changes" comment="new format little fixes icons sort add policy add .desktop File install Part 2">
|
||||
<change afterPath="$PROJECT_DIR$/Wire-Py.desktop" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/install" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/org.wirepy.policy" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wirepy" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/128/wg_export.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/128/wg_import.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/128/wg_msg.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/128/wg_trash.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/128/wg_vpn-start.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/128/wg_vpn-stop.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/128/wg_vpn.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/256/wg_export.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/256/wg_import.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/32/wg_export.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/32/wg_import.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/32/wg_msg.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/32/wg_trash.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/32/wg_vpn-start.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/32/wg_vpn-stop.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/32/wg_vpn.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/48/error.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/48/wg_export.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/48/wg_import.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/48/wg_msg.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/48/wg_trash.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/48/wg_vpn-start.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/48/wg_vpn-stop.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/48/wg_vpn.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/64/wg_export.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/64/wg_import.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/64/wg_msg.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/64/wg_trash.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/64/wg_vpn-start.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/64/wg_vpn-stop.png" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/wp-icons/64/wg_vpn.png" afterDir="false" />
|
||||
<list default="true" id="940e1630-c825-4d4c-be80-bc11f543c122" name="Changes" comment="install fix for set dir right">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/warning_128.png" beforeDir="false" afterPath="$PROJECT_DIR$/wp-icons/128/error.png" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/warning_256.png" beforeDir="false" afterPath="$PROJECT_DIR$/wp-icons/256/error.png" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/warning_32.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/warning_64.png" beforeDir="false" afterPath="$PROJECT_DIR$/wp-icons/64/error.png" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wg-active.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wg-export-48.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wg-export.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wg-import-orig.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wg-import.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wg-info.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wg-stop.png" beforeDir="false" afterPath="$PROJECT_DIR$/wp-icons/256/wg_msg.png" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wg-trash-48.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wg-trash-64.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wg-trash-info.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wg-trash.png" beforeDir="false" afterPath="$PROJECT_DIR$/wp-icons/256/wg_trash.png" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wg-vpn-48.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wg-vpn-info.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wg-vpn-start-48.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wg-vpn-start.png" beforeDir="false" afterPath="$PROJECT_DIR$/wp-icons/256/wg_vpn-start.png" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wg-vpn-stop-48.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wg-vpn-stop.png" beforeDir="false" afterPath="$PROJECT_DIR$/wp-icons/256/wg_vpn-stop.png" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wg-vpn.png" beforeDir="false" afterPath="$PROJECT_DIR$/wp-icons/256/wg_vpn.png" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wire-switch-off-256.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wire-switch-off-48.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wire-switch-on-256.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons/wire-switch-on-48.png" beforeDir="false" afterPath="$PROJECT_DIR$/wp-icons/32/error.png" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/install.py" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/wg_main.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/start_wg.py" beforeDir="false" afterPath="$PROJECT_DIR$/start_wg.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/wg_func.py" beforeDir="false" afterPath="$PROJECT_DIR$/wg_func.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/wg_py" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/wg_start.service" beforeDir="false" afterPath="$PROJECT_DIR$/wg_start.service" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/org.wirepy.policy" beforeDir="false" afterPath="$PROJECT_DIR$/org.wirepy.policy" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/wg_main.py" beforeDir="false" afterPath="$PROJECT_DIR$/wg_main.py" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
@ -106,23 +41,23 @@
|
||||
<option name="hideEmptyMiddlePackages" value="true" />
|
||||
<option name="showLibraryContents" value="true" />
|
||||
</component>
|
||||
<component name="PropertiesComponent"><![CDATA[{
|
||||
"keyToString": {
|
||||
"ASKED_ADD_EXTERNAL_FILES": "true",
|
||||
"Python.INSTALL.executor": "Run",
|
||||
"Python.install.executor": "Run",
|
||||
"Python.main.executor": "Run",
|
||||
"Python.messagebox.executor": "Run",
|
||||
"Python.start_wg.executor": "Run",
|
||||
"Python.wg_func.executor": "Run",
|
||||
"Python.wg_main.executor": "Run",
|
||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||
"Shell Script.install.executor": "Run",
|
||||
"git-widget-placeholder": "main",
|
||||
"last_opened_file_path": "/home/punix/Pyapps/wire-py",
|
||||
"settings.editor.selected.configurable": "preferences.fileTypes"
|
||||
<component name="PropertiesComponent">{
|
||||
"keyToString": {
|
||||
"ASKED_ADD_EXTERNAL_FILES": "true",
|
||||
"Python.INSTALL.executor": "Run",
|
||||
"Python.install.executor": "Run",
|
||||
"Python.main.executor": "Run",
|
||||
"Python.messagebox.executor": "Run",
|
||||
"Python.start_wg.executor": "Run",
|
||||
"Python.wg_func.executor": "Run",
|
||||
"Python.wg_main.executor": "Run",
|
||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||
"Shell Script.install.executor": "Run",
|
||||
"git-widget-placeholder": "main",
|
||||
"last_opened_file_path": "/home/punix/Pyapps/wire-py",
|
||||
"settings.editor.selected.configurable": "preferences.fileTypes"
|
||||
}
|
||||
}]]></component>
|
||||
}</component>
|
||||
<component name="RecentsManager">
|
||||
<key name="CopyFile.RECENT_KEYS">
|
||||
<recent name="$PROJECT_DIR$" />
|
||||
@ -455,9 +390,20 @@
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1726599446538</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="33" />
|
||||
<task id="LOCAL-00033" summary="install fix for set dir right">
|
||||
<option name="closed" value="true" />
|
||||
<created>1726599588155</created>
|
||||
<option name="number" value="00033" />
|
||||
<option name="presentableId" value="LOCAL-00033" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1726599588155</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="34" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="UnknownFeatures">
|
||||
<option featureType="com.intellij.fileTypeFactory" implementationName="*.policy" />
|
||||
</component>
|
||||
<component name="Vcs.Log.Tabs.Properties">
|
||||
<option name="OPEN_GENERIC_TABS">
|
||||
<map>
|
||||
@ -493,7 +439,6 @@
|
||||
</component>
|
||||
<component name="VcsManagerConfiguration">
|
||||
<option name="ADD_EXTERNAL_FILES_SILENTLY" value="true" />
|
||||
<MESSAGE value="add Label Interface and Peer to new FrameWidget one and two. when import Tunnel then add to list works and remove of list when Tunnel delete.(with Label active on and off) add to class and methods open a avtive Tunnel when Wire-Py open, when import and start a Tunnel" />
|
||||
<MESSAGE value="add file dict_to_address for address a active Tunnel. Label green pack in Class. add Class to convert fileoutput as String to Dictionary" />
|
||||
<MESSAGE value="add Class StartStopBTN to wg_func.py" />
|
||||
<MESSAGE value="Set Style to Clam Improved layout of widgets" />
|
||||
@ -518,6 +463,7 @@
|
||||
<MESSAGE value="little fixes, add msg_window() function for Messagebox to show a tk.Toplevel() replace var = open() with: with open() as var: and remove by classes (tk.tk) and super()" />
|
||||
<MESSAGE value="in delete replace open with Path install fixes" />
|
||||
<MESSAGE value="new format little fixes icons sort add policy add .desktop File install Part 2" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="new format little fixes icons sort add policy add .desktop File install Part 2" />
|
||||
<MESSAGE value="install fix for set dir right" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="install fix for set dir right" />
|
||||
</component>
|
||||
</project>
|
@ -10,7 +10,7 @@
|
||||
<allow_inactive>auth_admin_keep</allow_inactive>
|
||||
<allow_active>yes</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/wire-py/main.py</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/wire-py/wg_main.py</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
</policyconfig>
|
||||
|
@ -159,13 +159,13 @@ class FrameWidgets(ttk.Frame):
|
||||
if select_tl == a_con:
|
||||
self.selected_option.set(0)
|
||||
self.autoconnect_var.set('no Autoconnect')
|
||||
self.wg_autostart.configure(state='disabled')
|
||||
Path.unlink(path_to_file)
|
||||
Path.unlink(Path('/etc/wire_py') / str(select_tl + '.conf'))
|
||||
# for disable checkbox when Listbox empty
|
||||
tl = ListTunnels.tl_list()
|
||||
if len(tl) == 0:
|
||||
self.wg_autostart.configure(state='disabled')
|
||||
Path.unlink(path_to_file)
|
||||
|
||||
if self.a != '' and self.a == select_tl:
|
||||
self.StrVar.set(value='')
|
||||
|
Loading…
Reference in New Issue
Block a user