From 5f937ca0636e400c015c8713c785c45d2df8a00c Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Tue, 19 Jun 2012 15:11:08 +0100 Subject: [PATCH] mac Move assets to UI folder --- SparkleShare/Linux/SparkleSetup.cs | 4 +- SparkleShare/Mac/Info.plist | 2 +- .../Pixmaps/process-syncing-error-active.png | Bin .../Mac/Pixmaps/process-syncing-error.png | Bin .../Mac/Pixmaps/process-syncing-i-active.png | Bin .../Mac/Pixmaps/process-syncing-i.png | Bin .../Mac/Pixmaps/process-syncing-ii-active.png | Bin .../Mac/Pixmaps/process-syncing-ii.png | Bin .../Pixmaps/process-syncing-iii-active.png | Bin .../Mac/Pixmaps/process-syncing-iii.png | Bin .../Pixmaps/process-syncing-iiii-active.png | Bin .../Mac/Pixmaps/process-syncing-iiii.png | Bin .../Pixmaps/process-syncing-iiiii-active.png | Bin .../Mac/Pixmaps/process-syncing-iiiii.png | Bin .../Mac/Pixmaps/sparkleshare-app.icns | Bin .../Mac/Pixmaps/sparkleshare-folder.icns | Bin .../Mac/Pixmaps/tutorial-slide-1.png | Bin .../Mac/Pixmaps/tutorial-slide-2.png | Bin .../Mac/Pixmaps/tutorial-slide-3.png | Bin SparkleShare/Mac/SparkleSetup.cs | 10 +-- SparkleShare/Mac/SparkleShare.csproj | 71 ++++++++---------- SparkleShare/Mac/SparkleStatusIcon.cs | 26 +++---- SparkleShare/Mac/SparkleUI.cs | 2 +- .../Pixmaps/Sources}/about-dialog.svg | 0 .../Pixmaps/Sources}/actions.svg | 0 .../Pixmaps/Sources}/add-project-dialog.svg | 0 .../Pixmaps/Sources}/avatars.svg | 0 .../Pixmaps/Sources}/side-splash.svg | 0 .../Pixmaps/Sources}/sparkleshare-android.svg | 0 .../Pixmaps/Sources}/sparkleshare-gnome.svg | 0 .../Pixmaps/Sources}/sparkleshare-mac.svg | 0 .../Pixmaps/Sources}/sparkleshare-mist.svg | 0 .../Pixmaps/Sources}/sparkleshare-windows.svg | 0 .../Pixmaps/Sources}/ssnet.svg | 0 .../Pixmaps/Sources}/tutorial.svg | 0 SparkleShare/SparkleControllerBase.cs | 2 +- SparkleShare/Windows/SparkleSetup.cs | 4 +- data/git-hooks/post-update | 40 ---------- 38 files changed, 53 insertions(+), 108 deletions(-) rename data/icons/sparkleshare-syncing-error-mac-active.png => SparkleShare/Mac/Pixmaps/process-syncing-error-active.png (100%) rename data/icons/sparkleshare-syncing-error-mac.png => SparkleShare/Mac/Pixmaps/process-syncing-error.png (100%) rename data/icons/process-syncing-sparkleshare-mac-i-active.png => SparkleShare/Mac/Pixmaps/process-syncing-i-active.png (100%) rename data/icons/process-syncing-sparkleshare-mac-i.png => SparkleShare/Mac/Pixmaps/process-syncing-i.png (100%) rename data/icons/process-syncing-sparkleshare-mac-ii-active.png => SparkleShare/Mac/Pixmaps/process-syncing-ii-active.png (100%) rename data/icons/process-syncing-sparkleshare-mac-ii.png => SparkleShare/Mac/Pixmaps/process-syncing-ii.png (100%) rename data/icons/process-syncing-sparkleshare-mac-iii-active.png => SparkleShare/Mac/Pixmaps/process-syncing-iii-active.png (100%) rename data/icons/process-syncing-sparkleshare-mac-iii.png => SparkleShare/Mac/Pixmaps/process-syncing-iii.png (100%) rename data/icons/process-syncing-sparkleshare-mac-iiii-active.png => SparkleShare/Mac/Pixmaps/process-syncing-iiii-active.png (100%) rename data/icons/process-syncing-sparkleshare-mac-iiii.png => SparkleShare/Mac/Pixmaps/process-syncing-iiii.png (100%) rename data/icons/process-syncing-sparkleshare-mac-iiiii-active.png => SparkleShare/Mac/Pixmaps/process-syncing-iiiii-active.png (100%) rename data/icons/process-syncing-sparkleshare-mac-iiiii.png => SparkleShare/Mac/Pixmaps/process-syncing-iiiii.png (100%) rename data/sparkleshare.icns => SparkleShare/Mac/Pixmaps/sparkleshare-app.icns (100%) rename data/sparkleshare-mac.icns => SparkleShare/Mac/Pixmaps/sparkleshare-folder.icns (100%) rename data/tutorial-slide-1-mac.png => SparkleShare/Mac/Pixmaps/tutorial-slide-1.png (100%) rename data/tutorial-slide-2-mac.png => SparkleShare/Mac/Pixmaps/tutorial-slide-2.png (100%) rename data/tutorial-slide-3-mac.png => SparkleShare/Mac/Pixmaps/tutorial-slide-3.png (100%) rename {data/src => SparkleShare/Pixmaps/Sources}/about-dialog.svg (100%) rename {data/src => SparkleShare/Pixmaps/Sources}/actions.svg (100%) rename {data/src => SparkleShare/Pixmaps/Sources}/add-project-dialog.svg (100%) rename {data/src => SparkleShare/Pixmaps/Sources}/avatars.svg (100%) rename {data/src => SparkleShare/Pixmaps/Sources}/side-splash.svg (100%) rename {data/src => SparkleShare/Pixmaps/Sources}/sparkleshare-android.svg (100%) rename {data/src => SparkleShare/Pixmaps/Sources}/sparkleshare-gnome.svg (100%) rename {data/src => SparkleShare/Pixmaps/Sources}/sparkleshare-mac.svg (100%) rename {data/src => SparkleShare/Pixmaps/Sources}/sparkleshare-mist.svg (100%) rename {data/src => SparkleShare/Pixmaps/Sources}/sparkleshare-windows.svg (100%) rename {data/src => SparkleShare/Pixmaps/Sources}/ssnet.svg (100%) rename {data/src => SparkleShare/Pixmaps/Sources}/tutorial.svg (100%) delete mode 100755 data/git-hooks/post-update diff --git a/SparkleShare/Linux/SparkleSetup.cs b/SparkleShare/Linux/SparkleSetup.cs index eb256b81..d8f61581 100755 --- a/SparkleShare/Linux/SparkleSetup.cs +++ b/SparkleShare/Linux/SparkleSetup.cs @@ -64,9 +64,7 @@ namespace SparkleShare { case PageType.Setup: { Header = _("Welcome to SparkleShare!"); - Description = "Before we get started, what's your name and email? " + - "Don't worry, this information will only be visible to team members."; - + Description = "First off, what's your name and email?\nThis information is only visible to team members."; Table table = new Table (2, 3, true) { RowSpacing = 6, diff --git a/SparkleShare/Mac/Info.plist b/SparkleShare/Mac/Info.plist index 4867455e..998e6b71 100755 --- a/SparkleShare/Mac/Info.plist +++ b/SparkleShare/Mac/Info.plist @@ -3,7 +3,7 @@ CFBundleIconFile - sparkleshare + sparkleshare-app CFBundleIdentifier org.sparkleshare.sparkleshare CFBundleName diff --git a/data/icons/sparkleshare-syncing-error-mac-active.png b/SparkleShare/Mac/Pixmaps/process-syncing-error-active.png similarity index 100% rename from data/icons/sparkleshare-syncing-error-mac-active.png rename to SparkleShare/Mac/Pixmaps/process-syncing-error-active.png diff --git a/data/icons/sparkleshare-syncing-error-mac.png b/SparkleShare/Mac/Pixmaps/process-syncing-error.png similarity index 100% rename from data/icons/sparkleshare-syncing-error-mac.png rename to SparkleShare/Mac/Pixmaps/process-syncing-error.png diff --git a/data/icons/process-syncing-sparkleshare-mac-i-active.png b/SparkleShare/Mac/Pixmaps/process-syncing-i-active.png similarity index 100% rename from data/icons/process-syncing-sparkleshare-mac-i-active.png rename to SparkleShare/Mac/Pixmaps/process-syncing-i-active.png diff --git a/data/icons/process-syncing-sparkleshare-mac-i.png b/SparkleShare/Mac/Pixmaps/process-syncing-i.png similarity index 100% rename from data/icons/process-syncing-sparkleshare-mac-i.png rename to SparkleShare/Mac/Pixmaps/process-syncing-i.png diff --git a/data/icons/process-syncing-sparkleshare-mac-ii-active.png b/SparkleShare/Mac/Pixmaps/process-syncing-ii-active.png similarity index 100% rename from data/icons/process-syncing-sparkleshare-mac-ii-active.png rename to SparkleShare/Mac/Pixmaps/process-syncing-ii-active.png diff --git a/data/icons/process-syncing-sparkleshare-mac-ii.png b/SparkleShare/Mac/Pixmaps/process-syncing-ii.png similarity index 100% rename from data/icons/process-syncing-sparkleshare-mac-ii.png rename to SparkleShare/Mac/Pixmaps/process-syncing-ii.png diff --git a/data/icons/process-syncing-sparkleshare-mac-iii-active.png b/SparkleShare/Mac/Pixmaps/process-syncing-iii-active.png similarity index 100% rename from data/icons/process-syncing-sparkleshare-mac-iii-active.png rename to SparkleShare/Mac/Pixmaps/process-syncing-iii-active.png diff --git a/data/icons/process-syncing-sparkleshare-mac-iii.png b/SparkleShare/Mac/Pixmaps/process-syncing-iii.png similarity index 100% rename from data/icons/process-syncing-sparkleshare-mac-iii.png rename to SparkleShare/Mac/Pixmaps/process-syncing-iii.png diff --git a/data/icons/process-syncing-sparkleshare-mac-iiii-active.png b/SparkleShare/Mac/Pixmaps/process-syncing-iiii-active.png similarity index 100% rename from data/icons/process-syncing-sparkleshare-mac-iiii-active.png rename to SparkleShare/Mac/Pixmaps/process-syncing-iiii-active.png diff --git a/data/icons/process-syncing-sparkleshare-mac-iiii.png b/SparkleShare/Mac/Pixmaps/process-syncing-iiii.png similarity index 100% rename from data/icons/process-syncing-sparkleshare-mac-iiii.png rename to SparkleShare/Mac/Pixmaps/process-syncing-iiii.png diff --git a/data/icons/process-syncing-sparkleshare-mac-iiiii-active.png b/SparkleShare/Mac/Pixmaps/process-syncing-iiiii-active.png similarity index 100% rename from data/icons/process-syncing-sparkleshare-mac-iiiii-active.png rename to SparkleShare/Mac/Pixmaps/process-syncing-iiiii-active.png diff --git a/data/icons/process-syncing-sparkleshare-mac-iiiii.png b/SparkleShare/Mac/Pixmaps/process-syncing-iiiii.png similarity index 100% rename from data/icons/process-syncing-sparkleshare-mac-iiiii.png rename to SparkleShare/Mac/Pixmaps/process-syncing-iiiii.png diff --git a/data/sparkleshare.icns b/SparkleShare/Mac/Pixmaps/sparkleshare-app.icns similarity index 100% rename from data/sparkleshare.icns rename to SparkleShare/Mac/Pixmaps/sparkleshare-app.icns diff --git a/data/sparkleshare-mac.icns b/SparkleShare/Mac/Pixmaps/sparkleshare-folder.icns similarity index 100% rename from data/sparkleshare-mac.icns rename to SparkleShare/Mac/Pixmaps/sparkleshare-folder.icns diff --git a/data/tutorial-slide-1-mac.png b/SparkleShare/Mac/Pixmaps/tutorial-slide-1.png similarity index 100% rename from data/tutorial-slide-1-mac.png rename to SparkleShare/Mac/Pixmaps/tutorial-slide-1.png diff --git a/data/tutorial-slide-2-mac.png b/SparkleShare/Mac/Pixmaps/tutorial-slide-2.png similarity index 100% rename from data/tutorial-slide-2-mac.png rename to SparkleShare/Mac/Pixmaps/tutorial-slide-2.png diff --git a/data/tutorial-slide-3-mac.png b/SparkleShare/Mac/Pixmaps/tutorial-slide-3.png similarity index 100% rename from data/tutorial-slide-3-mac.png rename to SparkleShare/Mac/Pixmaps/tutorial-slide-3.png diff --git a/SparkleShare/Mac/SparkleSetup.cs b/SparkleShare/Mac/SparkleSetup.cs index 93ebf6ca..2ba9dd39 100755 --- a/SparkleShare/Mac/SparkleSetup.cs +++ b/SparkleShare/Mac/SparkleSetup.cs @@ -92,9 +92,7 @@ namespace SparkleShare { case PageType.Setup: { Header = "Welcome to SparkleShare!"; - Description = "Before we get started, what's your name and email?\n" + - "Don't worry, this information will only be visible to team members."; - + Description = "First off, what's your name and email?\nThis information is only visible to team members."; FullNameLabel = new NSTextField () { Alignment = NSTextAlignment.Right, @@ -906,7 +904,7 @@ namespace SparkleShare { }; string slide_image_path = Path.Combine (NSBundle.MainBundle.ResourcePath, - "Pixmaps", "tutorial-slide-1-mac.png"); + "Pixmaps", "tutorial-slide-1.png"); SlideImage = new NSImage (slide_image_path) { Size = new SizeF (350, 200) @@ -938,7 +936,7 @@ namespace SparkleShare { }; string slide_image_path = Path.Combine (NSBundle.MainBundle.ResourcePath, - "Pixmaps", "tutorial-slide-2-mac.png"); + "Pixmaps", "tutorial-slide-2.png"); SlideImage = new NSImage (slide_image_path) { Size = new SizeF (350, 200) @@ -969,7 +967,7 @@ namespace SparkleShare { }; string slide_image_path = Path.Combine (NSBundle.MainBundle.ResourcePath, - "Pixmaps", "tutorial-slide-3-mac.png"); + "Pixmaps", "tutorial-slide-3.png"); SlideImage = new NSImage (slide_image_path) { Size = new SizeF (350, 200) diff --git a/SparkleShare/Mac/SparkleShare.csproj b/SparkleShare/Mac/SparkleShare.csproj index 8ca05569..6d379fd2 100644 --- a/SparkleShare/Mac/SparkleShare.csproj +++ b/SparkleShare/Mac/SparkleShare.csproj @@ -120,48 +120,48 @@ Pixmaps\side-splash.png - - sparkleshare-mac.icns + + sparkleshare-folder.icns - - sparkleshare.icns + + sparkleshare-app.icns - - Pixmaps\process-syncing-sparkleshare-mac-i-active.png + + Pixmaps\process-syncing-i-active.png - - Pixmaps\process-syncing-sparkleshare-mac-i.png + + Pixmaps\process-syncing-i.png - - Pixmaps\process-syncing-sparkleshare-mac-ii-active.png + + Pixmaps\process-syncing-ii-active.png - - Pixmaps\process-syncing-sparkleshare-mac-ii.png + + Pixmaps\process-syncing-ii.png - - Pixmaps\process-syncing-sparkleshare-mac-iii-active.png + + Pixmaps\process-syncing-iii-active.png - - Pixmaps\process-syncing-sparkleshare-mac-iii.png + + Pixmaps\process-syncing-iii.png - - Pixmaps\process-syncing-sparkleshare-mac-iiii-active.png + + Pixmaps\process-syncing-iiii-active.png - - Pixmaps\process-syncing-sparkleshare-mac-iiii.png + + Pixmaps\process-syncing-iiii.png - - Pixmaps\process-syncing-sparkleshare-mac-iiiii-active.png + + Pixmaps\process-syncing-iiiii-active.png - - Pixmaps\process-syncing-sparkleshare-mac-iiiii.png + + Pixmaps\process-syncing-iiiii.png - - Pixmaps\sparkleshare-syncing-error-mac.png + + Pixmaps\process-syncing-error.png - - Pixmaps\sparkleshare-syncing-error-mac-active.png + + Pixmaps\process-syncing-error-active.png Pixmaps\document-added-12.png @@ -256,22 +256,13 @@ HTML\jquery.js - + Pixmaps\tutorial-slide-1.png - - Pixmaps\tutorial-slide-1-mac.png - - - Pixmaps\tutorial-slide-2-mac.png - - - Pixmaps\tutorial-slide-3-mac.png - - + Pixmaps\tutorial-slide-2.png - + Pixmaps\tutorial-slide-3.png diff --git a/SparkleShare/Mac/SparkleStatusIcon.cs b/SparkleShare/Mac/SparkleStatusIcon.cs index 831867e5..a39f1c9f 100755 --- a/SparkleShare/Mac/SparkleStatusIcon.cs +++ b/SparkleShare/Mac/SparkleStatusIcon.cs @@ -83,7 +83,7 @@ namespace SparkleShare { this.folder_image = NSImage.ImageNamed ("NSFolder"); this.caution_image = NSImage.ImageNamed ("NSCaution"); - this.sparkleshare_image = NSImage.ImageNamed ("sparkleshare-mac"); + this.sparkleshare_image = NSImage.ImageNamed ("sparkleshare-folder"); CreateMenu (); } @@ -330,34 +330,34 @@ namespace SparkleShare { { this.animation_frames = new NSImage [] { new NSImage (Path.Combine (NSBundle.MainBundle.ResourcePath, - "Pixmaps", "process-syncing-sparkleshare-mac-i.png")), + "Pixmaps", "process-syncing-i.png")), new NSImage (Path.Combine (NSBundle.MainBundle.ResourcePath, - "Pixmaps", "process-syncing-sparkleshare-mac-ii.png")), + "Pixmaps", "process-syncing-ii.png")), new NSImage (Path.Combine (NSBundle.MainBundle.ResourcePath, - "Pixmaps", "process-syncing-sparkleshare-mac-iii.png")), + "Pixmaps", "process-syncing-iii.png")), new NSImage (Path.Combine (NSBundle.MainBundle.ResourcePath, - "Pixmaps", "process-syncing-sparkleshare-mac-iiii.png")), + "Pixmaps", "process-syncing-iiii.png")), new NSImage (Path.Combine (NSBundle.MainBundle.ResourcePath, - "Pixmaps", "process-syncing-sparkleshare-mac-iiiii.png")) + "Pixmaps", "process-syncing-iiiii.png")) }; this.animation_frames_active = new NSImage [] { new NSImage (Path.Combine (NSBundle.MainBundle.ResourcePath, - "Pixmaps", "process-syncing-sparkleshare-mac-i-active.png")), + "Pixmaps", "process-syncing-i-active.png")), new NSImage (Path.Combine (NSBundle.MainBundle.ResourcePath, - "Pixmaps", "process-syncing-sparkleshare-mac-ii-active.png")), + "Pixmaps", "process-syncing-ii-active.png")), new NSImage (Path.Combine (NSBundle.MainBundle.ResourcePath, - "Pixmaps", "process-syncing-sparkleshare-mac-iii-active.png")), + "Pixmaps", "process-syncing-iii-active.png")), new NSImage (Path.Combine (NSBundle.MainBundle.ResourcePath, - "Pixmaps", "process-syncing-sparkleshare-mac-iiii-active.png")), + "Pixmaps", "process-syncing-iiii-active.png")), new NSImage (Path.Combine (NSBundle.MainBundle.ResourcePath, - "Pixmaps", "process-syncing-sparkleshare-mac-iiiii-active.png")) + "Pixmaps", "process-syncing-iiiii-active.png")) }; this.error_image = new NSImage (NSBundle.MainBundle.ResourcePath + - "/Pixmaps/sparkleshare-syncing-error-mac.png"); + "/Pixmaps/process-syncing-error.png"); this.error_image_active = new NSImage (NSBundle.MainBundle.ResourcePath + - "/Pixmaps/sparkleshare-syncing-error-mac-active.png"); + "/Pixmaps/process-syncing-error-active.png"); } } diff --git a/SparkleShare/Mac/SparkleUI.cs b/SparkleShare/Mac/SparkleUI.cs index d594bf45..d703b2b4 100755 --- a/SparkleShare/Mac/SparkleUI.cs +++ b/SparkleShare/Mac/SparkleUI.cs @@ -53,7 +53,7 @@ namespace SparkleShare { GrowlApplicationBridge.Delegate = new SparkleGrowlDelegate (); NSApplication.SharedApplication.ApplicationIconImage = - NSImage.ImageNamed ("sparkleshare.icns"); + NSImage.ImageNamed ("sparkleshare-app.icns"); SetFolderIcon (); diff --git a/data/src/about-dialog.svg b/SparkleShare/Pixmaps/Sources/about-dialog.svg similarity index 100% rename from data/src/about-dialog.svg rename to SparkleShare/Pixmaps/Sources/about-dialog.svg diff --git a/data/src/actions.svg b/SparkleShare/Pixmaps/Sources/actions.svg similarity index 100% rename from data/src/actions.svg rename to SparkleShare/Pixmaps/Sources/actions.svg diff --git a/data/src/add-project-dialog.svg b/SparkleShare/Pixmaps/Sources/add-project-dialog.svg similarity index 100% rename from data/src/add-project-dialog.svg rename to SparkleShare/Pixmaps/Sources/add-project-dialog.svg diff --git a/data/src/avatars.svg b/SparkleShare/Pixmaps/Sources/avatars.svg similarity index 100% rename from data/src/avatars.svg rename to SparkleShare/Pixmaps/Sources/avatars.svg diff --git a/data/src/side-splash.svg b/SparkleShare/Pixmaps/Sources/side-splash.svg similarity index 100% rename from data/src/side-splash.svg rename to SparkleShare/Pixmaps/Sources/side-splash.svg diff --git a/data/src/sparkleshare-android.svg b/SparkleShare/Pixmaps/Sources/sparkleshare-android.svg similarity index 100% rename from data/src/sparkleshare-android.svg rename to SparkleShare/Pixmaps/Sources/sparkleshare-android.svg diff --git a/data/src/sparkleshare-gnome.svg b/SparkleShare/Pixmaps/Sources/sparkleshare-gnome.svg similarity index 100% rename from data/src/sparkleshare-gnome.svg rename to SparkleShare/Pixmaps/Sources/sparkleshare-gnome.svg diff --git a/data/src/sparkleshare-mac.svg b/SparkleShare/Pixmaps/Sources/sparkleshare-mac.svg similarity index 100% rename from data/src/sparkleshare-mac.svg rename to SparkleShare/Pixmaps/Sources/sparkleshare-mac.svg diff --git a/data/src/sparkleshare-mist.svg b/SparkleShare/Pixmaps/Sources/sparkleshare-mist.svg similarity index 100% rename from data/src/sparkleshare-mist.svg rename to SparkleShare/Pixmaps/Sources/sparkleshare-mist.svg diff --git a/data/src/sparkleshare-windows.svg b/SparkleShare/Pixmaps/Sources/sparkleshare-windows.svg similarity index 100% rename from data/src/sparkleshare-windows.svg rename to SparkleShare/Pixmaps/Sources/sparkleshare-windows.svg diff --git a/data/src/ssnet.svg b/SparkleShare/Pixmaps/Sources/ssnet.svg similarity index 100% rename from data/src/ssnet.svg rename to SparkleShare/Pixmaps/Sources/ssnet.svg diff --git a/data/src/tutorial.svg b/SparkleShare/Pixmaps/Sources/tutorial.svg similarity index 100% rename from data/src/tutorial.svg rename to SparkleShare/Pixmaps/Sources/tutorial.svg diff --git a/SparkleShare/SparkleControllerBase.cs b/SparkleShare/SparkleControllerBase.cs index ba6316ad..3a17c6cc 100644 --- a/SparkleShare/SparkleControllerBase.cs +++ b/SparkleShare/SparkleControllerBase.cs @@ -274,7 +274,7 @@ namespace SparkleShare { public void UIHasLoaded () { - if (FirstRun) + if (!FirstRun) ShowSetupWindow (PageType.Setup); else new Thread (new ThreadStart (PopulateRepositories)).Start (); diff --git a/SparkleShare/Windows/SparkleSetup.cs b/SparkleShare/Windows/SparkleSetup.cs index f405dc4e..5fcead35 100644 --- a/SparkleShare/Windows/SparkleSetup.cs +++ b/SparkleShare/Windows/SparkleSetup.cs @@ -64,9 +64,7 @@ namespace SparkleShare { switch (type) { case PageType.Setup: { Header = "Welcome to SparkleShare!"; - Description = "Before we get started, what's your name and email?\n" + - "Don't worry, this information will only be visible to team members."; - + Description = "First off, what's your name and email?\nThis information is only visible to team members."; TextBlock name_label = new TextBlock () { Text = "Full Name:", diff --git a/data/git-hooks/post-update b/data/git-hooks/post-update deleted file mode 100755 index 4e7217d1..00000000 --- a/data/git-hooks/post-update +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh - -# -# This Git hook sends update message to a notification server, so -# that manual git pushes to a repository also will be noticed by -# SparkleShare clients. -# -# For information on running your own notification service: -# https://github.com/travisghansen/fanout -# -# -# For use with Gitolite: -# -# Copy this file to .gitolite/hooks/common/post-update. -# Run "gl-setup" again. -# -# -# For use with standard Git repositories: -# -# Copy this file to .git/hooks/post-update in -# the remote repository -# -# -# Make sure to "chmod -x" this hook after the file has been copied -# - -# Change these if you run your own service somewhere -SERVER="notifications.sparkleshare.org" -PORT="80" - -# Don't edit below this line -exec > /dev/null 2>&1 - -CHANNEL=$(git rev-list --reverse HEAD | head -n 1) -MESSAGE=$(git rev-list HEAD | head -n 1) - -DATA="announce ${CHANNEL} ${MESSAGE}" -echo "${DATA}\n" | socat - TCP-CONNECT:${SERVER}:${PORT} & - -exit 0