diff --git a/Gui test/h2inc_gtk.py b/Gui test/h2inc_gtk.py index ee497e5..1e8f1d6 100755 --- a/Gui test/h2inc_gtk.py +++ b/Gui test/h2inc_gtk.py @@ -42,6 +42,7 @@ class H2INC: self.obj("window").set_wmclass("h2inc_gtk","h2inc_gtk") self.obj("window").show_all() self.obj("source_entry").set_text(defsrc) + self.obj("destination_entry").set_text(defdest) self.obj("default_dir_checkbutton").set_active(False) self.obj("include_checkbutton").set_active(True) @@ -150,11 +151,11 @@ class H2INC: global destdir global incinc if self.obj("include_checkbutton").get_active() == True: - incinc = '/include' + incinc = 'ยจ~/include' destdir = destdir+incinc if self.obj("include_checkbutton").get_active() == False: incinc = '' - destdir = destdir.replace('/include', '') + destdir = destdir.replace('~/include', '') self.obj("destination_entry").set_text(destdir) print(destdir)