View | Details | Raw Unified | Return to bug 213790
Collapse All | Expand All

(-)/usr/ports/security/secpanel/files/patch-bin_secpanel (+47 lines)
Line 0 Link Here
1
--- bin/secpanel	2010-02-19 15:44:06.000000000 +0300
2
+++ bin/secpanel	2015-01-23 07:10:17.000000000 +0300
3
@@ -29,7 +29,7 @@
4
 
5
 set spversion 0.6.0
6
 
7
-set libdir "[file dirname [info script]]/../lib/secpanel"
8
+set libdir "/usr/local/share/secpanel"
9
 # set libdir "$env(HOME)/secpanel_devel/secpanel-0x/lib"
10
 set sshdir "$env(HOME)/.ssh"
11
 
12
@@ -142,7 +142,7 @@
13
     global configs
14
     foreach {bintag binprog} \
15
 	{sshbin ssh keygenbin ssh-keygen agentbin ssh-agent \
16
-	     addbin ssh-add askpassbin ssh-askpass scpbin scp sftpbin Filezilla termver Xterm browserbin firefox \
17
+	     addbin ssh-add askpassbin ssh-askpass scpbin scp sftpbin Filezilla Thunar termver Xterm browserbin firefox \
18
 	     } {
19
 		 if {! [info exists configs($bintag)]} {
20
 		     set configs($bintag) $binprog
21
@@ -1142,6 +1142,9 @@
22
 		    "Filezilla" {
23
 			set runstring "filezilla -l interactive "
24
 		    }
25
+		    "Thunar" {
26
+			set runstring "thunar "
27
+		    }
28
 		    "GNOME-Nautilus" {
29
 			set runstring "nautilus "
30
 		    }
31
@@ -2439,6 +2442,7 @@
32
     foreach {sftptag sftpprog} {
33
 	"KDE-Konqueror" konqueror
34
 	"GNOME-Nautilus" nautilus
35
+	"Thunar" thunar
36
 	"Filezilla" filezilla
37
     } {
38
 	if {! [catch {exec which "$sftpprog"}]} {
39
@@ -2498,7 +2502,7 @@
40
 	.mc1 add command -label "Multi Xterm (not found)" -command "multiconnect multixterm" -state "disabled"
41
     }
42
 
43
-    if {[catch {exec which "filezilla"}] && [catch {exec which "nautilus"}] && [catch {exec which "konqueror"}]
44
+    if {[catch {exec which "filezilla"}] && [catch {exec which "thunar"}] && [catch {exec which "nautilus"}] && [catch {exec which "konqueror"}]
45
 } {
46
 	.top17.fra46.fra26.fra29.fra36.but34 configure -state "disabled"
47
     }
(-)/usr/ports/security/secpanel/files/patch-lib_secpanel_termdefs.txt (+11 lines)
Line 0 Link Here
1
--- lib/secpanel/termdefs.txt	2010-02-19 13:50:57.000000000 +0300
2
+++ lib/secpanel/termdefs.txt	2015-01-23 06:44:44.000000000 +0300
3
@@ -56,7 +56,7 @@
4
 set termtype(XFCE-Terminal_quotepar) ""
5
 set termtype(XFCE-Terminal_iconpar) ""
6
 set termtype(XFCE-Terminal_execpar) "-x"
7
-set termtype(XFCE-Terminal_path) "Terminal"
8
+set termtype(XFCE-Terminal_path) "xfce4-terminal"
9
 
10
 set termtype(Putty's-Terminal_titlepar) "-title"
11
 set termtype(Putty's-Terminal_quotepar) ""

Return to bug 213790