Skip to content
This repository has been archived by the owner on Sep 20, 2020. It is now read-only.

Commit

Permalink
setup: add images to tutorial pages
Browse files Browse the repository at this point in the history
  • Loading branch information
hbons committed Sep 14, 2011
1 parent d4f294a commit 360dc1a
Show file tree
Hide file tree
Showing 201 changed files with 10,002 additions and 51 deletions.
Empty file modified AUTHORS 100644 → 100755
Empty file.
Empty file modified LICENSE 100644 → 100755
Empty file.
Empty file modified Makefile.am 100644 → 100755
Empty file.
Empty file modified NEWS 100644 → 100755
Empty file.
Empty file modified README 100644 → 100755
Empty file.
Empty file modified SparkleLib/AssemblyInfo.cs.in 100644 → 100755
Empty file.
Empty file modified SparkleLib/Defines.cs.in 100644 → 100755
Empty file.
Empty file modified SparkleLib/Git/SparkleFetcherGit.cs 100644 → 100755
Empty file.
Empty file modified SparkleLib/Git/SparkleRepoGit.cs 100644 → 100755
Empty file.
Empty file modified SparkleLib/Hg/SparkleFetcherHg.cs 100644 → 100755
Empty file.
Empty file modified SparkleLib/Hg/SparkleRepoHg.cs 100644 → 100755
Empty file.
Empty file modified SparkleLib/Makefile.am 100644 → 100755
Empty file.
Empty file modified SparkleLib/Scp/SparkleFetcherScp.cs 100644 → 100755
Empty file.
Empty file modified SparkleLib/Scp/SparkleRepoScp.cs 100644 → 100755
Empty file.
Empty file modified SparkleLib/SparkleBackend.cs 100644 → 100755
Empty file.
Empty file modified SparkleLib/SparkleChangeSet.cs 100644 → 100755
Empty file.
Empty file modified SparkleLib/SparkleConfig.cs 100644 → 100755
Empty file.
Empty file modified SparkleLib/SparkleFetcherBase.cs 100644 → 100755
Empty file.
Empty file modified SparkleLib/SparkleHelpers.cs 100644 → 100755
Empty file.
Empty file modified SparkleLib/SparkleLib.csproj 100644 → 100755
Empty file.
Empty file modified SparkleLib/SparkleLib.sln 100644 → 100755
Empty file.
Empty file modified SparkleLib/SparkleListenerBase.cs 100644 → 100755
Empty file.
Empty file modified SparkleLib/SparkleListenerIrc.cs 100644 → 100755
Empty file.
Empty file modified SparkleLib/SparkleListenerTcp.cs 100644 → 100755
Empty file.
Empty file modified SparkleLib/SparkleOptions.cs 100644 → 100755
Empty file.
Empty file modified SparkleLib/SparkleRepoBase.cs 100644 → 100755
Empty file.
Empty file modified SparkleLib/SparkleWatcher.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/Mac/AppDelegate.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/Mac/Growl.framework/Versions/A/Headers/Growl.h 100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified SparkleShare/Mac/Growl.plist 100644 → 100755
Empty file.
Empty file modified SparkleShare/Mac/Info.plist 100644 → 100755
Empty file.
Empty file modified SparkleShare/Mac/MainMenu.xib 100644 → 100755
Empty file.
Empty file modified SparkleShare/Mac/MainMenu.xib.designer.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/Mac/Makefile.am 100644 → 100755
Empty file.
Empty file modified SparkleShare/Mac/SparkleAbout.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/Mac/SparkleAlert.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/Mac/SparkleBadger.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/Mac/SparkleBubbles.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/Mac/SparkleEventLog.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/Mac/SparkleMacController.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/Mac/SparkleMacWatcher.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/Mac/SparkleSetup.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/Mac/SparkleSetupWindow.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/Mac/SparkleShare.csproj 100644 → 100755
Empty file.
Empty file modified SparkleShare/Mac/SparkleShare.sln 100644 → 100755
Empty file.
Empty file modified SparkleShare/Mac/SparkleStatusIcon.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/Mac/SparkleUI.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/Makefile.am 100644 → 100755
Empty file.
Empty file modified SparkleShare/Nautilus/Makefile.am 100644 → 100755
Empty file.
Empty file modified SparkleShare/Nautilus/sparkleshare-nautilus-extension.py.in 100644 → 100755
Empty file.
Empty file modified SparkleShare/Program.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/SparkleAbout.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/SparkleAboutController.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/SparkleBubbles.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/SparkleBubblesController.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/SparkleController.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/SparkleEntry.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/SparkleEventLog.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/SparkleEventLogController.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/SparkleExtensions.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/SparkleLinController.cs 100644 → 100755
Empty file.
87 changes: 45 additions & 42 deletions SparkleShare/SparkleSetup.cs 100644 → 100755
Expand Up @@ -121,7 +121,7 @@ public SparkleSetup () : base ()
Header = _("Where is your remote folder?");

Table = new Table (6, 2, false) {
RowSpacing = 12
RowSpacing = 0
};

HBox layout_server = new HBox (true, 0);
Expand Down Expand Up @@ -172,11 +172,7 @@ public SparkleSetup () : base ()
Table.Attach (layout_server, 0, 2, 1, 2);

// Github radiobutton
string github_text = "<b>" + "Github" + "</b>\n" +
"<span fgcolor='" + SecondaryTextColor + "' size='small'>" +
_("Free hosting for Free and Open Source Software projects.") +
_("Also has paid accounts for extra private space and bandwidth.") +
"</span>";
string github_text = "<b>" + "Github" + "</b>";

RadioButton radio_button_github = new RadioButton (radio_button, github_text);
(radio_button_github.Child as Label).UseMarkup = true;
Expand All @@ -189,11 +185,7 @@ public SparkleSetup () : base ()


// Gitorious radiobutton
string gitorious_text = "<b>" + _("Gitorious") + "</b>\n" +
"<span fgcolor='" + SecondaryTextColor + "' size='small'>" +
_("Completely Free as in Freedom infrastructure.") +
_("Free accounts for Free and Open Source projects.") +
"</span>";
string gitorious_text = "<b>" + _("Gitorious") + "</b>";

RadioButton radio_button_gitorious = new RadioButton (radio_button, gitorious_text);
(radio_button_gitorious.Child as Label).UseMarkup = true;
Expand All @@ -206,11 +198,7 @@ public SparkleSetup () : base ()


// GNOME radiobutton
string gnome_text = "<b>" + _("The GNOME Project") + "</b>\n"+
"<span fgcolor='" + SecondaryTextColor + "' size='small'>" +
_("GNOME is an easy to understand interface to your computer.") +
_("Select this option if you’re a developer or designer working on GNOME.") +
"</span>";
string gnome_text = "<b>" + _("The GNOME Project") + "</b>";

RadioButton radio_button_gnome = new RadioButton (radio_button, gnome_text);
(radio_button_gnome.Child as Label).UseMarkup = true;
Expand Down Expand Up @@ -253,7 +241,10 @@ public SparkleSetup () : base ()
layout_folder.PackStart (FolderEntry, true, true, 0);

Table.Attach (layout_folder, 0, 2, 5, 6);
Add (Table);

VBox box = new VBox (false, 0);
box.PackStart (Table, false, false, 0);
Add (box);

// Cancel button
Button cancel_button = new Button (_("Cancel"));
Expand Down Expand Up @@ -433,74 +424,84 @@ public SparkleSetup () : base ()

switch (Controller.TutorialPageNumber) {
case 1: {
Header = _("What's next?");
Description = _(@"SparkleShare creates a special folder on your computer
that will keep track of your projects.");
Header = _("What's happening next?");
Description = _("SparkleShare creates a special folder in your personal folder " +
"that will keep track of your projects.");

Button skip_tutorial_button = new Button (_("Skip Tutorial"));
skip_tutorial_button.Clicked += delegate {
// Controller.TutorialSkipped ();
Controller.TutorialSkipped ();
};

Button continue_button = new Button (_("Continue"));
continue_button.Clicked += delegate {
Controller.TutorialPageCompleted ();
};

// Add (null); TODO image Controller.TutorialPageNumber
Image slide = SparkleUIHelpers.GetImage ("tutorial-slide-1.png");

Add (slide);

AddButton (skip_tutorial_button);
AddButton (continue_button);

break;
}

case 2: {
Header = _("Adding files");
Description = _(@"All files added to your project folders are synced with the host
automatically, as well as with all of your collaborators.");
Header = _("Sharing files with others");
Description = _("All files added to your project folders are synced with the host " +
"automatically, as well as with your collaborators.");

Button continue_button = new Button (_("Continue"));
continue_button.Clicked += delegate {
Controller.TutorialPageCompleted ();
};

// Add (null); TODO image Controller.TutorialPageNumber
Image slide = SparkleUIHelpers.GetImage ("tutorial-slide-2.png");

Add (slide);
AddButton (continue_button);

break;
}

case 3: {
Header = _("The status icon");
Description = _(@"All files added to your project folders are synced with the host
automatically, as well as with all of your collaborators.");
Header = _("The status icon is here to help");
Description = _("It shows the syncing process status, " +
"and contains links to your projects and the event log.");

Button continue_button = new Button (_("Continue"));
continue_button.Clicked += delegate {
Controller.TutorialPageCompleted ();
};

// Add (null); TODO image Controller.TutorialPageNumber
Image slide = SparkleUIHelpers.GetImage ("tutorial-slide-3.png");

Add (slide);
AddButton (continue_button);

break;
}

case 4: {
Header = _("Adding Projects");
Description = _(@"Whenever you see this button on a website, just click it,
and the project will be immediately added to SparkleShare:");
Header = _("Adding projects to SparkleShare");
Description = _("Just click this button when you see it on the web, and " +
"the project will be automatically added:");

Button continue_button = new Button (_("Continue"));
continue_button.Clicked += delegate {
Controller.TutorialPageCompleted ();
};

Label label = new Label (_("…or select <b>‘Add Project…’</b> from the status icon menu " +
"to add one by hand.")) {
Wrap = true,
Xalign = 0,
UseMarkup = true
};

Label label = new Label (_(@"…or click the status icon and select Add Project…
to manually add a project."));
// Add (null); TODO image Controller.TutorialPageNumber

Image slide = SparkleUIHelpers.GetImage ("tutorial-slide-4.png");

Button add_project_button = new Button (_("Add Project…"));
add_project_button.Clicked += delegate {
Expand All @@ -512,23 +513,25 @@ public SparkleSetup () : base ()
Close ();
};


VBox box = new VBox (false, 0);
box.Add (slide);
box.Add (label);

Add (box);

AddButton (add_project_button);
AddButton (finish_button);

break;
}
}





break;
}
}

ShowAll ();

});
};
}
Expand Down
3 changes: 2 additions & 1 deletion SparkleShare/SparkleSetupController.cs 100644 → 100755
Expand Up @@ -94,8 +94,9 @@ public SparkleSetupController ()

public void ShowAddPage ()
{
this.tutorial_page_number = 1;
if (ChangePageEvent != null)
ChangePageEvent (PageType.Add);
ChangePageEvent (PageType.Tutorial);
}


Expand Down
12 changes: 4 additions & 8 deletions SparkleShare/SparkleSetupWindow.cs 100644 → 100755
Expand Up @@ -74,14 +74,10 @@ public SparkleSetupWindow () : base ("")
Gdk.Color.Parse ("#000", ref bg_color);
box.ModifyBg (StateType.Normal, bg_color);

string image_path = SparkleHelpers.CombineMore (Defines.DATAROOTDIR, "sparkleshare",
"pixmaps", "side-splash.png");
Image side_splash = SparkleUIHelpers.GetImage ("side-splash.png");
side_splash.Yalign = 1;

Image side_splash = new Image (image_path) {
Yalign = 1
};

box.Add (side_splash);
box.Add (side_splash);

HBox.PackStart (box, false, false, 0);
HBox.PackStart (VBox, true, true, 0);
Expand Down Expand Up @@ -126,7 +122,7 @@ public void AddButton (Button button)
layout_vertical.PackStart (description, false, false, 21);

if (widget != null)
layout_vertical.PackStart (widget, true, true, 21);
layout_vertical.PackStart (widget, true, true, 0);

Wrapper.PackStart (layout_vertical, true, true, 0);
ShowAll ();
Expand Down
Empty file modified SparkleShare/SparkleShare.csproj 100644 → 100755
Empty file.
Empty file modified SparkleShare/SparkleShare.sln 100644 → 100755
Empty file.
Empty file modified SparkleShare/SparkleSpinner.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/SparkleStatusIcon.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/SparkleStatusIconController.cs 100644 → 100755
Empty file.
Empty file modified SparkleShare/SparkleUI.cs 100644 → 100755
Empty file.
9 changes: 9 additions & 0 deletions SparkleShare/SparkleUIHelpers.cs 100644 → 100755
Expand Up @@ -61,6 +61,15 @@ public static Gdk.Pixbuf GetIcon (string name, int size)
}


public static Image GetImage (string name)
{
string image_path = SparkleHelpers.CombineMore (Defines.DATAROOTDIR, "sparkleshare",
"pixmaps", name);

return new Image (image_path);
}


// Converts a Gdk RGB color to a hex value.
// Example: from "rgb:0,0,0" to "#000000"
public static string GdkColorToHex (Gdk.Color color)
Expand Down
Empty file modified SparkleShare/sparkleshare.desktop 100644 → 100755
Empty file.
Empty file modified SparkleShare/sparkleshare.in 100644 → 100755
Empty file.
Empty file modified build/Makefile.am 100644 → 100755
Empty file.
Empty file modified build/build.environment.mk 100644 → 100755
Empty file.
Empty file modified build/build.mk 100644 → 100755
Empty file.
Empty file modified build/build.rules.mk 100644 → 100755
Empty file.
Empty file modified build/m4/Makefile.am 100644 → 100755
Empty file.
Empty file modified build/m4/shamrock/expansions.m4 100644 → 100755
Empty file.
Empty file modified build/m4/shamrock/gnome-doc.m4 100644 → 100755
Empty file.
Empty file modified build/m4/shamrock/i18n.m4 100644 → 100755
Empty file.
Empty file modified build/m4/shamrock/mono.m4 100644 → 100755
Empty file.
Empty file modified build/m4/shamrock/monodoc.m4 100644 → 100755
Empty file.
Empty file modified build/m4/shamrock/nunit.m4 100644 → 100755
Empty file.
Empty file modified build/m4/shamrock/programs.m4 100644 → 100755
Empty file.
Empty file modified build/m4/shamrock/util.m4 100644 → 100755
Empty file.
Empty file modified build/m4/shave/shave-libtool.in 100644 → 100755
Empty file.
Empty file modified build/m4/shave/shave.in 100644 → 100755
Empty file.
Empty file modified build/m4/shave/shave.m4 100644 → 100755
Empty file.
Empty file modified build/m4/sparkleshare/gtk-sharp.m4 100644 → 100755
Empty file.
Empty file modified build/m4/sparkleshare/nautilus-python.m4 100644 → 100755
Empty file.
Empty file modified build/m4/sparkleshare/notify-sharp.m4 100644 → 100755
Empty file.
Empty file modified build/m4/sparkleshare/smartirc4net.m4 100644 → 100755
Empty file.
Empty file modified configure.ac 100644 → 100755
Empty file.
4 changes: 4 additions & 0 deletions data/Makefile.am 100644 → 100755
Expand Up @@ -4,6 +4,10 @@ SUBDIRS = \

dist_pixmaps_DATA = \
side-splash.png \
tutorial-slide-1.png \
tutorial-slide-2.png \
tutorial-slide-3.png \
tutorial-slide-4.png \
about.png

pixmapsdir = $(pkgdatadir)/pixmaps/
Expand Down
Empty file modified data/about.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/avatar-default.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/html/Makefile.am 100644 → 100755
Empty file.
Empty file modified data/html/day-entry.html 100644 → 100755
Empty file.
Empty file modified data/html/event-entry.html 100644 → 100755
Empty file.
Empty file modified data/html/event-log.html 100644 → 100755
Empty file.
Empty file modified data/html/jquery.js 100644 → 100755
Empty file.
Empty file modified data/icons/Makefile.am 100644 → 100755
Empty file.
Empty file modified data/icons/avatar-default-16.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/avatar-default-22.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/avatar-default-24.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/avatar-default-32.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/avatar-default-48.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/dialog-error-16.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/dialog-error-24.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/document-added-12.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/document-deleted-12.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/document-edited-12.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/document-moved-12.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/error-active.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/error.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/folder-sparkleshare-16.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/folder-sparkleshare-22.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/folder-sparkleshare-24.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/folder-sparkleshare-256.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/folder-sparkleshare-32.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/folder-sparkleshare-48.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/idle0-active.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/idle0.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/idle1-active.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/idle1.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/idle2-active.png 100644 → 100755
Empty file modified data/icons/idle2.png 100644 → 100755
Empty file modified data/icons/idle3-active.png 100644 → 100755
Empty file modified data/icons/idle3.png 100644 → 100755
Empty file modified data/icons/idle4-active.png 100644 → 100755
Empty file modified data/icons/idle4.png 100644 → 100755
Empty file modified data/icons/list-point-16.png 100644 → 100755
Empty file modified data/icons/process-syncing-sparkleshare-24.png 100644 → 100755
Empty file modified data/icons/process-syncing-sparkleshare-i-24.png 100644 → 100755
Empty file modified data/icons/process-syncing-sparkleshare-ii-24.png 100644 → 100755
Empty file modified data/icons/process-syncing-sparkleshare-iii-24.png 100644 → 100755
Empty file modified data/icons/process-syncing-sparkleshare-iiii-24.png 100644 → 100755
Empty file modified data/icons/process-syncing-sparkleshare-iiiii-24.png 100644 → 100755
Empty file modified data/icons/process-working-22.png 100644 → 100755
Empty file modified data/icons/sparkleshare-syncing-error-24.png 100644 → 100755
Empty file modified data/icons/sparkleshare-windows-status.png 100644 → 100755
Empty file modified data/side-splash.png 100644 → 100755
Empty file modified data/sparkleshare-mac.icns 100644 → 100755
Empty file.
Empty file modified data/sparkleshare-osx-start 100644 → 100755
Empty file.
Empty file modified data/sparkleshare.icns 100644 → 100755
Empty file.
Empty file modified data/src/about-dialog.svg 100644 → 100755
Empty file modified data/src/actions.svg 100644 → 100755
Empty file modified data/src/side-splash.svg 100644 → 100755
Empty file modified data/src/sparkleshare-gnome.svg 100644 → 100755
Empty file modified data/src/sparkleshare-mac.svg 100644 → 100755
Empty file modified data/src/sparkleshare-mist.svg 100644 → 100755

0 comments on commit 360dc1a

Please sign in to comment.