From 51f38840038e8cbf8ca859d5b0cbfeb1e9b58639 Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Mon, 5 Apr 2010 17:59:13 +0400 Subject: [PATCH] Add FTP remove/append for CLDG --- .../30-gnome-always/.calculate_directory | 1 + .../30-gnome-always/.gconf/%gconf.xml | 0 .../30-gnome-always/.gconf/apps/%gconf.xml | 0 .../.gconf/apps/panel/%gconf.xml | 0 .../panel/100_top_objects_left/%gconf.xml | 0 .../100_top_objects_left/.calculate_directory | 2 ++ .../100_top_objects_left/103_ftp/%gconf.xml | 24 +++++++++++++++++++ .../103_ftp/%gconf.xml.remove | 1 + .../panel2.d/default/launchers/FTP.desktop | 10 ++++++++ .../default/launchers/FTP.desktop.remove | 2 ++ .../file:%2F%2F%2Fhome%2Fguest%2FDesktop.xml | 3 +++ .../x-nautilus-desktop:%2F%2F%2F.xml | 7 ++++++ 12 files changed, 50 insertions(+) create mode 100644 client-profiles/30-gnome-always/.calculate_directory create mode 100644 client-profiles/30-gnome-always/.gconf/%gconf.xml create mode 100644 client-profiles/30-gnome-always/.gconf/apps/%gconf.xml create mode 100644 client-profiles/30-gnome-always/.gconf/apps/panel/%gconf.xml create mode 100644 client-profiles/30-gnome-always/.gconf/apps/panel/100_top_objects_left/%gconf.xml create mode 100644 client-profiles/30-gnome-always/.gconf/apps/panel/100_top_objects_left/.calculate_directory create mode 100644 client-profiles/30-gnome-always/.gconf/apps/panel/100_top_objects_left/103_ftp/%gconf.xml create mode 100644 client-profiles/30-gnome-always/.gconf/apps/panel/100_top_objects_left/103_ftp/%gconf.xml.remove create mode 100644 client-profiles/30-gnome-always/.gnome2/panel2.d/default/launchers/FTP.desktop create mode 100644 client-profiles/30-gnome-always/.gnome2/panel2.d/default/launchers/FTP.desktop.remove create mode 100644 client-profiles/30-gnome-always/.nautilus/metafiles/file:%2F%2F%2Fhome%2Fguest%2FDesktop.xml create mode 100644 client-profiles/30-gnome-always/.nautilus/metafiles/x-nautilus-desktop:%2F%2F%2F.xml diff --git a/client-profiles/30-gnome-always/.calculate_directory b/client-profiles/30-gnome-always/.calculate_directory new file mode 100644 index 0000000..abd22c5 --- /dev/null +++ b/client-profiles/30-gnome-always/.calculate_directory @@ -0,0 +1 @@ +# Calculate ini(main.update)!=off&ini(update.gnome)!=off&pkg(gnome-base/libgnome)>=2.26&ini(domain)!=cl_remote_host diff --git a/client-profiles/30-gnome-always/.gconf/%gconf.xml b/client-profiles/30-gnome-always/.gconf/%gconf.xml new file mode 100644 index 0000000..e69de29 diff --git a/client-profiles/30-gnome-always/.gconf/apps/%gconf.xml b/client-profiles/30-gnome-always/.gconf/apps/%gconf.xml new file mode 100644 index 0000000..e69de29 diff --git a/client-profiles/30-gnome-always/.gconf/apps/panel/%gconf.xml b/client-profiles/30-gnome-always/.gconf/apps/panel/%gconf.xml new file mode 100644 index 0000000..e69de29 diff --git a/client-profiles/30-gnome-always/.gconf/apps/panel/100_top_objects_left/%gconf.xml b/client-profiles/30-gnome-always/.gconf/apps/panel/100_top_objects_left/%gconf.xml new file mode 100644 index 0000000..e69de29 diff --git a/client-profiles/30-gnome-always/.gconf/apps/panel/100_top_objects_left/.calculate_directory b/client-profiles/30-gnome-always/.gconf/apps/panel/100_top_objects_left/.calculate_directory new file mode 100644 index 0000000..5f5ba49 --- /dev/null +++ b/client-profiles/30-gnome-always/.gconf/apps/panel/100_top_objects_left/.calculate_directory @@ -0,0 +1,2 @@ +# Calculate name=objects + diff --git a/client-profiles/30-gnome-always/.gconf/apps/panel/100_top_objects_left/103_ftp/%gconf.xml b/client-profiles/30-gnome-always/.gconf/apps/panel/100_top_objects_left/103_ftp/%gconf.xml new file mode 100644 index 0000000..445d13c --- /dev/null +++ b/client-profiles/30-gnome-always/.gconf/apps/panel/100_top_objects_left/103_ftp/%gconf.xml @@ -0,0 +1,24 @@ +# Calculate format=xml_gconf cl_remote_host!=&cl_remote_ftp!= + + + + + + + + top_panel_screen0 + + + + + launcher-object + + + + + + + FTP.desktop + + + diff --git a/client-profiles/30-gnome-always/.gconf/apps/panel/100_top_objects_left/103_ftp/%gconf.xml.remove b/client-profiles/30-gnome-always/.gconf/apps/panel/100_top_objects_left/103_ftp/%gconf.xml.remove new file mode 100644 index 0000000..a90347d --- /dev/null +++ b/client-profiles/30-gnome-always/.gconf/apps/panel/100_top_objects_left/103_ftp/%gconf.xml.remove @@ -0,0 +1 @@ +# Calculate append=remove name=%gconf.xml cl_remote_host!=&cl_remote_ftp== diff --git a/client-profiles/30-gnome-always/.gnome2/panel2.d/default/launchers/FTP.desktop b/client-profiles/30-gnome-always/.gnome2/panel2.d/default/launchers/FTP.desktop new file mode 100644 index 0000000..20988f6 --- /dev/null +++ b/client-profiles/30-gnome-always/.gnome2/panel2.d/default/launchers/FTP.desktop @@ -0,0 +1,10 @@ +# Calculate format=samba cl_remote_host!=&cl_remote_ftp!= + +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Name=FTP +Comment=Browser FTP +Icon=update-manager +URL=file:///home/#-ur_login-#/FTP +Type=Link diff --git a/client-profiles/30-gnome-always/.gnome2/panel2.d/default/launchers/FTP.desktop.remove b/client-profiles/30-gnome-always/.gnome2/panel2.d/default/launchers/FTP.desktop.remove new file mode 100644 index 0000000..cb52cde --- /dev/null +++ b/client-profiles/30-gnome-always/.gnome2/panel2.d/default/launchers/FTP.desktop.remove @@ -0,0 +1,2 @@ +# Calculate append=remove name=FTP.desktop cl_remote_host!=&cl_remote_ftp== + diff --git a/client-profiles/30-gnome-always/.nautilus/metafiles/file:%2F%2F%2Fhome%2Fguest%2FDesktop.xml b/client-profiles/30-gnome-always/.nautilus/metafiles/file:%2F%2F%2Fhome%2Fguest%2FDesktop.xml new file mode 100644 index 0000000..57840f3 --- /dev/null +++ b/client-profiles/30-gnome-always/.nautilus/metafiles/file:%2F%2F%2Fhome%2Fguest%2FDesktop.xml @@ -0,0 +1,3 @@ +# Calculate os_root_type==livecd + + diff --git a/client-profiles/30-gnome-always/.nautilus/metafiles/x-nautilus-desktop:%2F%2F%2F.xml b/client-profiles/30-gnome-always/.nautilus/metafiles/x-nautilus-desktop:%2F%2F%2F.xml new file mode 100644 index 0000000..947f6f5 --- /dev/null +++ b/client-profiles/30-gnome-always/.nautilus/metafiles/x-nautilus-desktop:%2F%2F%2F.xml @@ -0,0 +1,7 @@ + +#?cl_remote_host==# + +#cl_remote_host# +#?cl_remote_host!=# + +#cl_remote_host#