diff --git a/src/usr/local/bin/valf.py b/src/usr/local/bin/valf.py index 4d1a644..12c5892 100644 --- a/src/usr/local/bin/valf.py +++ b/src/usr/local/bin/valf.py @@ -1,3 +1,4 @@ +#/usr/bin/python3 import gi import os import getpass @@ -17,8 +18,8 @@ import paramiko from subprocess import run, PIPE import glob -from /usr/local/bin/file_transfer import onRowCollapsed,onRowExpanded,populateFileSystemTreeStore,on_tree_selection_changed -from /usr/local/bin/ssh_file_transfer import onRowCollapsed2,onRowExpanded2,populateFileSystemTreeStore2,on_tree_selection_changed2,ssh_connect +from file_transfer import onRowCollapsed,onRowExpanded,populateFileSystemTreeStore,on_tree_selection_changed +from ssh_file_transfer import onRowCollapsed2,onRowExpanded2,populateFileSystemTreeStore2,on_tree_selection_changed2,ssh_connect from gi.repository.GdkPixbuf import Pixbuf import pexpect import subprocess @@ -56,7 +57,7 @@ def main(self): self.add(table) self.listbox = Gtk.ListBox() # Bağlantıların listelendiği listbox tanımlanması self.listbox_add_items() - self.set_icon_from_file(os.getcwd() + '/usr/share/icons/Valf/icon.png') + self.set_icon_from_file('/usr/share/icons/Valf/icon.png') searchentry = Gtk.SearchEntry() # Searchbox tanımlanması searchentry.connect("activate",self.on_search_activated)