Exemple #1
0
        static void About(object o, EventArgs args)
        {
            Gtk.AboutDialog acerca = new Gtk.AboutDialog();
            acerca.Name         = "CSGBE";
            acerca.Version      = "0.1";
            acerca.Website      = "http://www.denibol.com/proyectos/csgbe/";
            acerca.WebsiteLabel = "http://www.denibol.com";
            acerca.Comments     = "C# GameBoy Emulator";
            acerca.Copyright    = "Copyright (C) 2006 Victor Garcia";
            acerca.License      = @"Copyright (C) 2006 Victor Garcia <*****@*****.**>
			
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
                        
This program is distributed in the hope that it will be useful, 
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
GNU Library General Public License for more details.
                        
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.";
            acerca.Run();
        }
Exemple #2
0
        public void OnAboutClicked(object o, EventArgs args)
        {
            TreeModel model;
            TreeIter  iter;

            if (pluginTreeView.Selection.GetSelected(out model, out iter))
            {
                string     name = (string)pluginStore.GetValue(iter, 1);
                ViewPlugin vp   = Global.Plugins.GetViewPlugin(name, conn.Settings.Name);

                if (vp != null)
                {
                    Gtk.AboutDialog ab = new Gtk.AboutDialog();
                    ab.Authors     = vp.Authors;
                    ab.Comments    = vp.Description;
                    ab.Copyright   = vp.Copyright;
                    ab.ProgramName = vp.Name;
                    ab.Version     = vp.Version;
                    ab.Icon        = vp.Icon;

                    ab.Run();
                    ab.Destroy();
                }
            }
        }
Exemple #3
0
    protected void OnAbout(object o, EventArgs e)
    {
//		string[] authors = new string[]{
//			"<autors?>",
//		};

        Gtk.AboutDialog dialog = new Gtk.AboutDialog();
//		dialog.Icon = <icon>;
        dialog.ProgramName = "SuperTux Tiler";
        dialog.Version     = "0.0.3";
        dialog.Comments    = "A tileset editor for SuperTux 0.1.x";
//		dialog.Authors = authors;
        dialog.Copyright = "Copyright (c) 2006 SuperTux Devel Team";
        dialog.License   =
            "This program is free software; you can redistribute it and/or modify" + Environment.NewLine +
            "it under the terms of the GNU General Public License as published by" + Environment.NewLine +
            "the Free Software Foundation; either version 2 of the License, or" + Environment.NewLine +
            "(at your option) any later version." + Environment.NewLine +
            Environment.NewLine +
            "This program is distributed in the hope that it will be useful," + Environment.NewLine +
            "but WITHOUT ANY WARRANTY; without even the implied warranty of" + Environment.NewLine +
            "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the" + Environment.NewLine +
            "GNU General Public License for more details." + Environment.NewLine +
            Environment.NewLine +
            "You should have received a copy of the GNU General Public License" + Environment.NewLine +
            "along with this program; if not, write to the Free Software Foundation, Inc.," + Environment.NewLine +
            "59 Temple Place, Suite 330, Boston, MA 02111-1307 USA" + Environment.NewLine;
        dialog.Website      = "http://supertux.lethargik.org/";
        dialog.WebsiteLabel = "SuperTux on the Web";
        dialog.Run();
        dialog.Destroy();
    }
Exemple #4
0
        private void OnAbout(object sender, EventArgs args)
        {
            string [] authors = new string [] {
                "Calvin Gaisford <*****@*****.**>",
                "Scott Reeves <*****@*****.**>"
            };

            /* string [] documenters = new string [] {
             *   "Calvin Gaisford <*****@*****.**>"
             * };
             *
             *           string translators = Services.PlatformService.GetString ("translator-credits");
             * if (translators == "translator-credits")
             *   translators = null;
             */

            Gtk.AboutDialog about = new Gtk.AboutDialog();
            about.Name      = "Giver";
            about.Version   = Defines.Version;
            about.Logo      = Utilities.GetIcon("giver-48", 48);
            about.Copyright =
                Services.PlatformService.GetString("Copyright \xa9 2007 Novell, Inc.");
            about.Comments     = Services.PlatformService.GetString("Easy File Sharing");
            about.Website      = "http://idea.opensuse.org/content/ideas/easy-file-sharing";
            about.WebsiteLabel = Services.PlatformService.GetString("Homepage");
            about.Authors      = authors;
            //about.Documenters = documenters;
            //about.TranslatorCredits = translators;
            about.IconName = "giver";
            about.Run();
            about.Destroy();
        }
Exemple #5
0
		private void Activated (object sender, EventArgs e)
		{
			AboutDialog dlg = new AboutDialog ();

			try {
				dlg.Run ();
			} finally {
				dlg.Destroy ();
			}
		}
Exemple #6
0
        protected virtual void OnAboutActivated(object sender, System.EventArgs e)
        {
            AboutDialog ad = new AboutDialog();
            ad.Authors = new string[] { "Jérémie \"Garuma\" Laval" };
            ad.Copyright = "Copyright (c) 2007-2009 Jérémie Laval <*****@*****.**>";
            ad.License = "See the COPYING file";
            ad.Version = "0.6";

            ad.Run();
            ad.Destroy();
        }
Exemple #7
0
 protected void OnAboutActionActivated(object sender, EventArgs e)
 {
     Gtk.AboutDialog about = new Gtk.AboutDialog
     {
         ProgramName = "Your Music",
         Version     = "0.1",
         Copyright   = "(c) Dunkelwind"
     };
     about.Run();
     about.Destroy();
 }
		void OnAboutActivated(object sender, EventArgs args)
		{
			AboutDialog about = new AboutDialog();
			about.ProgramName = "Hype Machine Downloader GTK";
			about.Version = "0.1";
			about.Copyright = "(c) Jonathan Amend, Tony Belanger";
			about.Comments = @"Hype Machine Downloader is a simple application to download songs from the HypeMachine website.";
			about.Website = "https://github.com/tsbelanger/HypeMachineDownloader-GTK";
			about.Run();
			about.Destroy();
		}
Exemple #9
0
 void About(object obj, EventArgs e)
 {
     Gtk.AboutDialog about = new Gtk.AboutDialog();
     about.Name      = AppName;
     about.Version   = AppVersion;
     about.Comments  = AppComments;
     about.Authors   = AppAuthors;
     about.Copyright = AppCopyright;
     about.Website   = "http://mono-project.com/Stetic";
     about.Run();
 }
Exemple #10
0
		private void HandleAboutActivated (object sender, EventArgs e)
		{
			AboutDialog about = new AboutDialog {
				ProgramName = AppInfos.AppName,
				Version = AppInfos.Version, 
				Website = AppInfos.WebSite, 
				Comments = AppInfos.Comments
			};

			about.Run ();
			about.Destroy ();
		}
Exemple #11
0
 protected void OnAProposDeActionActivated(object sender, EventArgs e)
 {
     Gtk.AboutDialog about = new Gtk.AboutDialog();
     about.ProgramName = "EntretienAuto";
     about.Version     = "1.0";
     about.Copyright   = "(c) S.DI MERCURIO";
     about.Comments    = @"EntretienAuto est un outil pour gerer l'entretien de sa voiture";
     about.Website     = "http://www.zetcode.com";
     about.Logo        = new Gdk.Pixbuf("voiture.png");
     about.Run();
     about.Destroy();
 }
Exemple #12
0
 private void OnHelpAbout(object o, EventArgs args)
 {
     Gtk.AboutDialog aboutDialog;
     aboutDialog              = new Gtk.AboutDialog();
     aboutDialog.Name         = "GMan";
     aboutDialog.Version      = "0.1";
     aboutDialog.Copyright    = "\u00a9 2007 Elliott Hughes";
     aboutDialog.Comments     = "Documentation viewer for programmers.";
     aboutDialog.Authors      = new string[] { "Elliott Hughes <*****@*****.**>" };
     aboutDialog.Logo         = new Gdk.Pixbuf("/home/elliotth/Projects/evergreen/lib/evergreen-32.png");
     aboutDialog.TransientFor = window;
     aboutDialog.Run();
     aboutDialog.Destroy();
 }
Exemple #13
0
        public AboutDialog()
        {
            Gtk.AboutDialog ab = new Gtk.AboutDialog();
            ab.Authors           = _author;
            ab.Comments          = _desc;
            ab.Copyright         = _copy;
            ab.Documenters       = _docs;
            ab.ProgramName       = Defines.PACKAGE;
            ab.TranslatorCredits = _translators;
            ab.Version           = Defines.VERSION;
            ab.Icon = Global.latIcon;

            ab.Run();
            ab.Destroy();
        }
Exemple #14
0
        public AboutDialog()
        {
            Gtk.AboutDialog ab = new Gtk.AboutDialog ();
            ab.Authors = _author;
            ab.Comments = _desc;
            ab.Copyright = _copy;
            ab.Documenters = _docs;
            ab.ProgramName = Defines.PACKAGE;
            ab.TranslatorCredits = _translators;
            ab.Version = Defines.VERSION;
            ab.Icon = Global.latIcon;

            ab.Run ();
            ab.Destroy ();
        }
Exemple #15
0
        void AddHelpActions(ActionGroup actionGroup)
        {
            var help = new Gtk.Action ("help", Catalog.GetString ("_Help"));
            actionGroup.Add (help);

            var about = new Gtk.Action ("about", null, null, Gtk.Stock.About);
            about.Activated += delegate {
                var dialog = new AboutDialog ();
                dialog.Authors = new string[] { "Christian Hergert" };
                dialog.License = Util.ReadResource ("Resources.license.txt");
                dialog.Copyright = "Copyright © 2008 Christian Hergert";
                dialog.Run ();
                dialog.Destroy ();
            };
            actionGroup.Add (about);
        }
Exemple #16
0
        void HandleAbout_toolbuttonhandleClicked(object sender, EventArgs e)
        {
            Gtk.AboutDialog ad = new Gtk.AboutDialog();
            ad.SetPosition(Gtk.WindowPosition.CenterOnParent);
            Assembly asm = Assembly.GetExecutingAssembly();

            ad.ProgramName = (asm.GetCustomAttributes(typeof(AssemblyTitleAttribute), false)[0] as AssemblyTitleAttribute).Title;
            ad.Version     = asm.GetName().Version.ToString();
            ad.Comments    = (asm.GetCustomAttributes(typeof(AssemblyDescriptionAttribute), false)[0] as AssemblyDescriptionAttribute).Description;
            ad.Copyright   = (asm.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false)[0] as AssemblyCopyrightAttribute).Copyright;
            ad.Authors     = new string[] { "Ronaldo Nascimento <*****@*****.**" };
            ad.License     = "GPL 3";
            ad.Logo        = Battle.Gui.MediaManager.GetPixbufFromBaseFile("BLLogo-small.jpg");
            ad.Website     = "http://battle.sourceforge.net";

            ad.Run();
            ad.Destroy();
        }
Exemple #17
0
 public static void AboutProgramDialog(object sender, EventArgs e)
 {
     string text = "Vše vzniklo jako ročníkový projekt na MFF UK v roce 2011.\n"+
             "Implementačním jazykem je C#, grafickou knihovnou GTK#";
     Gtk.AboutDialog aboutWin = new Gtk.AboutDialog();
     aboutWin.Copyright = "GPL";
     aboutWin.Documenters = new string[] {"Ondřej Profant"};
     aboutWin.ProgramName = "gScrabble";
     aboutWin.Authors = new string[] {"Ondřej Profant"};
     aboutWin.Artists = new string[] {"Ondřej Profant", "Lada Švadlenková"};
     aboutWin.Website = "https://github.com/Kedrigern/scrabble";
     aboutWin.Title = "O programu gScrabble";
     aboutWin.WebsiteLabel = "Projekt na GitHubu";
     aboutWin.WrapLicense = true;
     aboutWin.Logo = Scrabble.Game.InitialConfig.icon;
     aboutWin.Comments = text;
     aboutWin.Run();
     aboutWin.Hide();
     aboutWin.Destroy();
 }
Exemple #18
0
        public static void AboutProgramDialog(object sender, EventArgs e)
        {
            string text = "Vše vzniklo jako ročníkový projekt na MFF UK v roce 2011.\n" +
                          "Implementačním jazykem je C#, grafickou knihovnou GTK#";

            Gtk.AboutDialog aboutWin = new Gtk.AboutDialog();
            aboutWin.Copyright    = "GPL";
            aboutWin.Documenters  = new string[] { "Ondřej Profant" };
            aboutWin.ProgramName  = "gScrabble";
            aboutWin.Authors      = new string[] { "Ondřej Profant" };
            aboutWin.Artists      = new string[] { "Ondřej Profant", "Lada Švadlenková" };
            aboutWin.Website      = "https://github.com/Kedrigern/scrabble";
            aboutWin.Title        = "O programu gScrabble";
            aboutWin.WebsiteLabel = "Projekt na GitHubu";
            aboutWin.WrapLicense  = true;
            aboutWin.Logo         = Scrabble.Game.InitialConfig.icon;
            aboutWin.Comments     = text;
            aboutWin.Run();
            aboutWin.Hide();
            aboutWin.Destroy();
        }
Exemple #19
0
        private void OnAbout(object sender, EventArgs args)
        {
            string [] authors = new string [] {
                "Boyd Timothy <*****@*****.**>",
                "Calvin Gaisford <*****@*****.**>",
                "Sandy Armstrong <*****@*****.**>",
                "Brian G. Merrell <*****@*****.**>"
            };

            /* string [] documenters = new string [] {
             * "Calvin Gaisford <*****@*****.**>"
             * };
             */

            string translators = Catalog.GetString("translator-credits");

            if (translators == "translator-credits")
            {
                translators = null;
            }

            Gtk.AboutDialog about = new Gtk.AboutDialog();
            about.Name      = "Tasque";
            about.Version   = Defines.Version;
            about.Logo      = Utilities.GetIcon("tasque-48", 48);
            about.Copyright =
                Catalog.GetString("Copyright \xa9 2008 Novell, Inc.");
            about.Comments     = Catalog.GetString("A Useful Task List");
            about.Website      = "http://live.gnome.org/Tasque";
            about.WebsiteLabel = Catalog.GetString("Tasque Project Homepage");
            about.Authors      = authors;
            //about.Documenters = documenters;
            about.TranslatorCredits = translators;
            about.IconName          = "tasque";
            about.SetSizeRequest(300, 300);
            about.Run();
            about.Destroy();
        }
Exemple #20
0
    protected void OnAbout(object o, EventArgs e)
    {
        string[] authors = new string[] {
            "Matthias \"MatzeB\" Braun",
            "",
            "Wolfgang Becker",
            "Christoph Sommer",
            "Arvid Norlander",
        };

        Gtk.AboutDialog dialog = new Gtk.AboutDialog();
        dialog.Icon        = EditorStock.WindowIcon;
        dialog.ProgramName = "SuperTux Editor";
        dialog.Version     = Constants.PACKAGE_VERSION;
        dialog.Comments    = "A level and worldmap editor for SuperTux 0.3.x";
        dialog.Authors     = authors;
        dialog.Copyright   = "Copyright (c) 2006-2013 SuperTux Devel Team";
        dialog.License     =
            "This program is free software; you can redistribute it and/or modify" + Environment.NewLine +
            "it under the terms of the GNU General Public License as published by" + Environment.NewLine +
            "the Free Software Foundation; either version 3 of the License, or" + Environment.NewLine +
            "(at your option) any later version." + Environment.NewLine +
            Environment.NewLine +
            "This program is distributed in the hope that it will be useful," + Environment.NewLine +
            "but WITHOUT ANY WARRANTY; without even the implied warranty of" + Environment.NewLine +
            "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the" + Environment.NewLine +
            "GNU General Public License for more details." + Environment.NewLine +
            Environment.NewLine +
            "You should have received a copy of the GNU General Public License" + Environment.NewLine +
            "along with this program; if not, write to the Free Software Foundation, Inc.," + Environment.NewLine +
            "59 Temple Place, Suite 330, Boston, MA 02111-1307 USA" + Environment.NewLine;
        dialog.Website      = "http://supertux.lethargik.org/";
        dialog.WebsiteLabel = "SuperTux on the Web";
        dialog.Run();
        dialog.Destroy();
    }
Exemple #21
0
 private void OnHelpAbout(object o, EventArgs args)
 {
     Gtk.AboutDialog aboutDialog;
     aboutDialog = new Gtk.AboutDialog();
     aboutDialog.Name = "GMan";
     aboutDialog.Version = "0.1";
     aboutDialog.Copyright = "\u00a9 2007 Elliott Hughes";
     aboutDialog.Comments = "Documentation viewer for programmers.";
     aboutDialog.Authors = new string[] { "Elliott Hughes <*****@*****.**>" };
     aboutDialog.Logo = new Gdk.Pixbuf("/home/elliotth/Projects/evergreen/lib/evergreen-32.png");
     aboutDialog.TransientFor = window;
     aboutDialog.Run();
     aboutDialog.Destroy();
 }
Exemple #22
0
        static void About(object o, EventArgs args)
        {
            Gtk.AboutDialog acerca = new Gtk.AboutDialog();
            acerca.Name = "CSGBE";
            acerca.Version = "0.1";
            acerca.Website = "http://www.denibol.com/proyectos/csgbe/";
            acerca.WebsiteLabel = "http://www.denibol.com";
            acerca.Comments = "C# GameBoy Emulator";
            acerca.Copyright = "Copyright (C) 2006 Victor Garcia";
            acerca.License = @"Copyright (C) 2006 Victor Garcia <*****@*****.**>

            This program is free software; you can redistribute it and/or modify
            it under the terms of the GNU General Public License as published by
            the Free Software Foundation; either version 2 of the License, or
            (at your option) any later version.

            This program is distributed in the hope that it will be useful,
            but WITHOUT ANY WARRANTY; without even the implied warranty of
            MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
            GNU Library General Public License for more details.

            You should have received a copy of the GNU General Public License
            along with this program; if not, write to the Free Software
            Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.";
            acerca.Run();
        }
    protected virtual void OnAboutActionActivated(object sender, System.EventArgs e)
    {
        AboutDialog about = new Gtk.AboutDialog();

        about.Version = "0.6";
        about.License =  Catalog.GetString("Licensed under the terms of GPLv3");
        about.License += "\nhttp://www.gnu.org/licenses/gpl-3.0.html";

        about.Copyright += Catalog.GetString("(c) 2009 by Couturier contributors");
        about.Copyright += "\n";
        about.Copyright += Catalog.GetString("(c) 1999-2009 by itextsharp.sourceforge.net");

        about.TranslatorCredits += "Charalampos Emmanouilidis <*****@*****.**>\n";
        about.TranslatorCredits += "Emmanuel <*****@*****.**>\n";
        about.TranslatorCredits += "Kleomenis Katevas <*****@*****.**>\n";

        about.Artists = new String[] { "Charalampos Emmanouilidis <*****@*****.**>" };
        about.Authors = new String[] { "Charalampos Emmanouilidis <*****@*****.**>" };
        about.Website = "http://sites.google.com/site/couturierapp/";

        about.Run();
        about.Destroy();
    }
Exemple #24
0
        private void OnAbout(object sender, EventArgs args)
        {
            string [] authors = new string [] {
                "Boyd Timothy <*****@*****.**>",
                "Calvin Gaisford <*****@*****.**>",
                "Sandy Armstrong <*****@*****.**>",
                "Brian G. Merrell <*****@*****.**>"
            };

            /* string [] documenters = new string [] {
               "Calvin Gaisford <*****@*****.**>"
               };
               */

            string translators = Catalog.GetString ("translator-credits");
            if (translators == "translator-credits")
                translators = null;

            Gtk.AboutDialog about = new Gtk.AboutDialog ();
            about.Name = "Tasque";
            about.Version = Defines.Version;
            about.Logo = Utilities.GetIcon("tasque-48", 48);
            about.Copyright =
                Catalog.GetString ("Copyright \xa9 2008 Novell, Inc.");
            about.Comments = Catalog.GetString ("A Useful Task List");
            about.Website = "http://live.gnome.org/Tasque";
            about.WebsiteLabel = Catalog.GetString("Tasque Project Homepage");
            about.Authors = authors;
            //about.Documenters = documenters;
            about.TranslatorCredits = translators;
            about.IconName = "tasque";
            about.SetSizeRequest(300, 300);
            about.Run ();
            about.Destroy ();
        }
 protected virtual void OnAboutClick(object sender, System.EventArgs e)
 {
     AboutDialog dialog = new AboutDialog ();
     dialog.ProgramName = "Open Cache Manager";
     dialog.Icon = this.Icon;
     dialog.Version = OCMApp.GetOCMVersion();
     dialog.Logo =  new Gdk.Pixbuf ("./icons/scalable/OCMLogo.svg", 96, 96);
     dialog.Website = "http://opencachemanage.sourceforge.net/";
     dialog.Copyright = "Copyright Kyle Campbell (c) 2010-2011";
     System.IO.StreamReader reader = new System.IO.StreamReader(new System.IO.FileStream("licence/Licence.txt",System.IO.FileMode.Open,System.IO.FileAccess.Read));
     dialog.License = reader.ReadToEnd();
     reader.Close();
     dialog.Authors = new String[] { "Kyle Campbell,Florian Plähn - Programming", "Madelayne DeGrâce - Icons",
         "Harrie Klomp - Dutch Translation" , "Thor Dekov Buur - Danish Translation",
         "Michael Massoth/Florian Plähn/Maik Bischoff - German Translation",
         "Josef Kulhánek - Czech Translation","Vicen - Spanish Translation",
         "Per Holmberg - Swedish Translation"};
     dialog.Run ();
     dialog.Hide();
 }
Exemple #26
0
        void OnAbout(object sender, EventArgs args)
        {
            var authors = Defines.Authors;
            var translators = Catalog.GetString ("translator-credits");
            if (translators == "translator-credits")
                translators = null;

            var about = new AboutDialog ();
            about.ProgramName = "Tasque";
            about.Version = Defines.Version;
            about.Logo = Utilities.GetIcon("tasque", 48);
            about.Copyright = Defines.CopyrightInfo;
            about.Comments = Catalog.GetString ("A Useful Task List");
            about.Website = Defines.Website;
            about.WebsiteLabel = Catalog.GetString("Tasque Project Homepage");
            about.Authors = authors;
            about.TranslatorCredits = translators;
            about.License = Defines.License;
            about.IconName = "tasque";
            about.Run ();
            about.Destroy ();
        }
Exemple #27
0
        protected void on_about_toolbutton_clicked(object sender, EventArgs e)
        {
            Assembly assembly = Assembly.GetExecutingAssembly ();
            string[] me = new string[] {"Ronaldo Nascimento <*****@*****.**>"};
            AboutDialog d = new AboutDialog ();
            d.SkipTaskbarHint = true;
            d.Artists = me;
            d.Authors = me;
            object[] comments = assembly.GetCustomAttributes (typeof (AssemblyDescriptionAttribute), false);
            d.Comments = ((AssemblyDescriptionAttribute)comments[0]).Description;
            object[] copyright = assembly.GetCustomAttributes (typeof(AssemblyCopyrightAttribute), false);
            d.Copyright = ((AssemblyCopyrightAttribute)copyright[0]).Copyright;
            d.Documenters = me;
            d.Icon = Gdk.Pixbuf.LoadFromResource ("WebShell.Media.wsh.png");
            d.Logo = Gdk.Pixbuf.LoadFromResource ("WebShell.Media.wsh.png");
            d.License = @"This program is free software: you can redistribute it and/or modify
            it under the terms of the GNU Lesser General Public License as published by
            the Free Software Foundation, either version 3 of the License, or
            (at your option) any later version.

            This program is distributed in the hope that it will be useful,
            but WITHOUT ANY WARRANTY; without even the implied warranty of
            MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
            GNU Lesser General Public License for more details.

            You should have received a copy of the GNU Lesser General Public License
            along with this program.  If not, see <http://www.gnu.org/licenses/>.";
            object[] programname = assembly.GetCustomAttributes (typeof (AssemblyTitleAttribute), false);
            d.ProgramName = ((AssemblyTitleAttribute)programname[0]).Title;
            d.Title = d.ProgramName;
            //d.TranslatorCredits = me[0];
            d.Version = string.Format ("{0}.{1}.{2}.{3}", assembly.GetName ().Version.Major, assembly.GetName ().Version.Minor,
                                       assembly.GetName ().Version.Revision, assembly.GetName ().Version.Build);
            d.Website = "http://battle.sourceforge.net";
            d.WebsiteLabel = d.Website;
            d.Run ();
            d.Hide ();
            d.Destroy ();
        }
    protected void OnAbout(object o, EventArgs e)
    {
        string[] authors = new string[]{
            "Matthias \"MatzeB\" Braun",
            "",
            "Wolfgang Becker",
            "Christoph Sommer",
            "Arvid Norlander",
        };

        Gtk.AboutDialog dialog = new Gtk.AboutDialog();
        dialog.Icon = EditorStock.WindowIcon;
        dialog.ProgramName = "SuperTux Editor";
        dialog.Version = Constants.PACKAGE_VERSION;
        dialog.Comments = "A level and worldmap editor for SuperTux 0.3.x";
        dialog.Authors = authors;
        dialog.Copyright = "Copyright (c) 2006-2013 SuperTux Devel Team";
        dialog.License =
            "This program is free software; you can redistribute it and/or modify" + Environment.NewLine +
            "it under the terms of the GNU General Public License as published by" + Environment.NewLine +
            "the Free Software Foundation; either version 3 of the License, or" + Environment.NewLine +
            "(at your option) any later version." + Environment.NewLine +
            Environment.NewLine +
            "This program is distributed in the hope that it will be useful," + Environment.NewLine +
            "but WITHOUT ANY WARRANTY; without even the implied warranty of" + Environment.NewLine +
            "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the" + Environment.NewLine +
            "GNU General Public License for more details." + Environment.NewLine +
            Environment.NewLine +
            "You should have received a copy of the GNU General Public License" + Environment.NewLine +
            "along with this program; if not, write to the Free Software Foundation, Inc.," + Environment.NewLine +
            "59 Temple Place, Suite 330, Boston, MA 02111-1307 USA" + Environment.NewLine;
        dialog.Website = "http://supertux.lethargik.org/";
        dialog.WebsiteLabel = "SuperTux on the Web";
        dialog.Run();
        dialog.Destroy();
    }
		// Help Menu
		
		protected virtual void OnAboutActivated (object sender, System.EventArgs e)
		{
			using (AboutDialog about = new AboutDialog ()) {
				// get information from the main assembly
				Assembly a = Assembly.GetExecutingAssembly ();

				object[] attr = a.GetCustomAttributes (typeof (AssemblyCopyrightAttribute), false);
				if (attr.Length > 0)
					about.Copyright = ((AssemblyCopyrightAttribute) attr [0]).Copyright;

				attr = a.GetCustomAttributes (typeof (AssemblyProductAttribute), false);
				if (attr.Length > 0)
					about.Name = ((AssemblyProductAttribute) attr [0]).Product;
					
				about.Version = a.GetName ().Version.ToString ();
				
				attr = a.GetCustomAttributes (typeof (AssemblyDescriptionAttribute), false);
				if (attr.Length > 0)
					about.Comments = ((AssemblyDescriptionAttribute) attr [0]).Description;
					
				// some static stuff
				about.Website = "http://www.mono-project.com/monoxide";
				about.Authors = new string [1] { 
					"Sebastien Pouliot  <*****@*****.**>"
				};
				
				// read license from resources
				using (Stream s = a.GetManifestResourceStream ("MIT.X11")) {
					using (StreamReader sr = new StreamReader (s)) {
						about.License = sr.ReadToEnd ();
					}
				}
				
				// add logo (from resources) to about box
/*				using (Gdk.Pixbuf logo = new Gdk.Pixbuf (null, "logo.png")) {
					about.Logo = logo;
					about.Run ();
				}*/
				about.Run ();
			}
		}
Exemple #30
0
    protected void OnAbout(object o, EventArgs e) {
//		string[] authors = new string[]{
//			"<autors?>",
//		};

		Gtk.AboutDialog dialog = new Gtk.AboutDialog();
//		dialog.Icon = <icon>;
		dialog.ProgramName = "SuperTux Tiler";
		dialog.Version = "0.0.3";
		dialog.Comments = "A tileset editor for SuperTux 0.1.x";
//		dialog.Authors = authors;
		dialog.Copyright = "Copyright (c) 2006 SuperTux Devel Team";
		dialog.License =
			"This program is free software; you can redistribute it and/or modify" + Environment.NewLine +
			"it under the terms of the GNU General Public License as published by" + Environment.NewLine +
			"the Free Software Foundation; either version 2 of the License, or" + Environment.NewLine +
			"(at your option) any later version." + Environment.NewLine +
			Environment.NewLine +
			"This program is distributed in the hope that it will be useful," + Environment.NewLine +
			"but WITHOUT ANY WARRANTY; without even the implied warranty of" + Environment.NewLine +
			"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the" + Environment.NewLine +
			"GNU General Public License for more details." + Environment.NewLine +
			Environment.NewLine +
			"You should have received a copy of the GNU General Public License" + Environment.NewLine +
			"along with this program; if not, write to the Free Software Foundation, Inc.," + Environment.NewLine +
			"59 Temple Place, Suite 330, Boston, MA 02111-1307 USA" + Environment.NewLine;
		dialog.Website = "http://supertux.lethargik.org/";
		dialog.WebsiteLabel = "SuperTux on the Web";
		dialog.Run();
		dialog.Destroy();
    }
Exemple #31
0
        protected void OnAboutActionActivated(object sender, System.EventArgs e)
        {
            Assembly assembly = Assembly.GetExecutingAssembly();
            AboutDialog aboutDlg = new AboutDialog();
            aboutDlg.ParentWindow = this.GdkWindow;
            aboutDlg.SetPosition(Gtk.WindowPosition.Center);

            aboutDlg.Title = "About MultiMC";

            aboutDlg.ProgramName =
                AppUtils.GetAssemblyAttr<AssemblyTitleAttribute>(assembly).Title;

            aboutDlg.Version = AppUtils.GetVersion().ToString();

            aboutDlg.Comments =
                AppUtils.GetAssemblyAttr<AssemblyDescriptionAttribute>(assembly).Description;

            aboutDlg.Copyright =
                AppUtils.GetAssemblyAttr<AssemblyCopyrightAttribute>(assembly).Copyright;

            aboutDlg.License = Resources.License;

            aboutDlg.Logo = Pixbuf.LoadFromResource("MultiMC.AboutLogo.png");

            aboutDlg.Website = "http://forkk.net/MultiMC";
            aboutDlg.WebsiteLabel = aboutDlg.Website;

            aboutDlg.Authors = new string[]
            {
                "Andrew Okin <*****@*****.**>",
                "ShaRose"
            };

            aboutDlg.Response += (sender2, e2) => aboutDlg.Destroy();

            aboutDlg.Run();
        }
Exemple #32
0
        public void OnAttrAboutClicked(object o, EventArgs args)
        {
            TreeModel model;
            TreeIter iter;

            if (attrViewPluginTreeView.Selection.GetSelected (out model, out iter)) {

                string name = (string) attrPluginStore.GetValue (iter, 1);
                AttributeViewPlugin vp = Global.Plugins.FindAttributeView (name);

                if (vp != null) {
                    Gtk.AboutDialog ab = new Gtk.AboutDialog ();
                    ab.Authors = vp.Authors;
                    ab.Comments = vp.Description;
                    ab.Copyright = vp.Copyright;
                    ab.ProgramName = vp.Name;
                    ab.Version = vp.Version;

                    ab.Run ();
                    ab.Destroy ();
                }
            }
        }
        public static void ShowAboutDialog(Gtk.Window win)
        {
            AboutDialog ad = new AboutDialog ();

            ad.ProgramName = "CsBoard";
            ad.Authors = new string[]
            {
            "Nickolay V. Shmyrev <*****@*****.**>",
                    "Ravi Kiran U V S <*****@*****.**>"};
            ad.TranslatorCredits =
                Catalog.GetString ("translator_credits");
            ad.Documenters = new string[]
            {
            "Nickolay V. Shmyrev <*****@*****.**>"};
            ad.Logo =
                new Gdk.Pixbuf (Config.prefix +
                        "/share/pixmaps/csboard.png");
            ad.Website = "http://csboard.berlios.de";

            ad.TransientFor = win;

            ad.Run ();
            ad.Hide ();
            ad.Dispose ();
        }
Exemple #34
0
        void OnAbout (object o, EventArgs args)
        {
            Gtk.AboutDialog.SetUrlHook ((dlg, link) => { System.Diagnostics.Process.Start (link); });

            var dialog = new Gtk.AboutDialog () {
                ProgramName = "PDF Mod",
                Version = Core.Defines.VERSION,
                Website = WIKI_URL,
                WebsiteLabel = Catalog.GetString ("Visit Website"),
                Authors = new string [] {
                    Catalog.GetString ("Primary Development:"),
                    "\tGabriel Burt",
                    "",
                    Catalog.GetString ("Contributors:"),
                    "\tSandy Armstrong",
                    "\tAaron Bockover",
                    "\tOlivier Le Thanh Duong",
                    "\tJulien Rebetez",
                    "\tIgor Vatavuk",
                    "\tBertrand Lorentz",
                    "\tMichael McKinley",
                    "\tŁukasz Jernaś",
                    "\tRomain Tartière",
                    "\tRobert Dyer",
                    "\tAndreu Correa Casablanca",
                    "\tChow Loong Jin",
                    "\tRobson Roberto Souza Peixoto",
                    "\tThomas Klausner"
                },
                Documenters = new string [] { "Gabriel Burt" },
                Artists = new string [] { "Kalle Persson" },
                Copyright = String.Format (
                    // Translators: {0} and {1} are the years the copyright assertion covers; put into
                    // variables so you don't have to re-translate this every year
                    Catalog.GetString ("Copyright {0} Novell Inc.\nCopyright {1} Other PDF Mod Contributors"),
                    "2009-2011", "2009-2011"
                ),
                TranslatorCredits = Catalog.GetString ("translator-credits")
            };

            try {
                dialog.Logo = Gtk.IconTheme.Default.LoadIcon ("pdfmod", 256, 0);
            } catch {}

            string [] license_paths = new string [] {
                Core.Defines.PREFIX + "/share/doc/packages/pdfmod/COPYING",
                "/usr/local/share/doc/packages/pdfmod/COPYING",
                "COPYING",
                "../COPYING"
            };

            foreach (var path in license_paths) {
                try {
                    dialog.License = System.IO.File.ReadAllText (path);
                    break;
                } catch {}
            }

            dialog.Run ();
            dialog.Destroy ();
        }
        public void on_about_activate(System.Object b, EventArgs e)
        {
            AboutDialog ad = new AboutDialog ();

                        ad.Name = "CsBoard";
                        ad.Authors = new string [] {"Nickolay V. Shmyrev <*****@*****.**>","Ravi Kiran U V S <*****@*****.**>"};
                        ad.TranslatorCredits = Catalog.GetString("translator_credits");
                        ad.Documenters = new string [] {"Nickolay V. Shmyrev <*****@*****.**>"};
                        ad.Logo = new Gdk.Pixbuf(Config.prefix + "/share/pixmaps/csboard.png");
                        ad.Website = "http://csboard.berlios.de";

                        ad.TransientFor = csboardWindow;

                        ad.Run ();
                        ad.Hide ();
                        ad.Dispose ();
        }
Exemple #36
0
        void OnAbout(object o, EventArgs args)
        {
            Gtk.AboutDialog.SetUrlHook((dlg, link) => { System.Diagnostics.Process.Start(link); });

            var dialog = new Gtk.AboutDialog()
            {
                ProgramName  = "PDF Mod",
                Version      = Core.Defines.VERSION,
                Website      = WIKI_URL,
                WebsiteLabel = Catalog.GetString("Visit Website"),
                Authors      = new string [] {
                    Catalog.GetString("Primary Development:"),
                    "\tGabriel Burt",
                    "",
                    Catalog.GetString("Contributors:"),
                    "\tSandy Armstrong",
                    "\tAaron Bockover",
                    "\tOlivier Le Thanh Duong",
                    "\tJulien Rebetez",
                    "\tIgor Vatavuk",
                    "\tBertrand Lorentz",
                    "\tMichael McKinley",
                    "\tŁukasz Jernaś",
                    "\tRomain Tartière",
                    "\tRobert Dyer",
                    "\tAndreu Correa Casablanca",
                    "\tChow Loong Jin",
                    "\tRobson Roberto Souza Peixoto",
                    "\tThomas Klausner"
                },
                Documenters = new string [] { "Gabriel Burt" },
                Artists     = new string [] { "Kalle Persson" },
                Copyright   = String.Format(
                    // Translators: {0} and {1} are the years the copyright assertion covers; put into
                    // variables so you don't have to re-translate this every year
                    Catalog.GetString("Copyright {0} Novell Inc.\nCopyright {1} Other PDF Mod Contributors"),
                    "2009-2011", "2009-2011"
                    ),
                TranslatorCredits = Catalog.GetString("translator-credits")
            };

            try {
                dialog.Logo = Gtk.IconTheme.Default.LoadIcon("pdfmod", 256, 0);
            } catch {}

            string [] license_paths = new string [] {
                Core.Defines.PREFIX + "/share/doc/packages/pdfmod/COPYING",
                "/usr/local/share/doc/packages/pdfmod/COPYING",
                "COPYING",
                "../COPYING"
            };

            foreach (var path in license_paths)
            {
                try {
                    dialog.License = System.IO.File.ReadAllText(path);
                    break;
                } catch {}
            }

            dialog.Run();
            dialog.Destroy();
        }
Exemple #37
0
        // Toolbar About
        static void OnToolbarAbout_Clicked(object obj, EventArgs args)
        {
            AboutDialog dialog = new AboutDialog ();

            string [] authors = new string [] { "Jamie Cerretelli <*****@*****.**>" };

            string license = @"Copyright (C) 2012 Jamie Cerretelli <*****@*****.**>
            Usage of the works is permitted provided that this instrument is retained with the works,
            so that any entity that uses the works is notified of this instrument.
            DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.";

            dialog.ProgramName = (self.GetCustomAttributes (typeof(AssemblyTitleAttribute), false)[0] as AssemblyTitleAttribute).Title;
            dialog.Version = self.GetName ().Version.ToString ();
            dialog.Copyright = (self.GetCustomAttributes (typeof (AssemblyCopyrightAttribute), false) [0]	as AssemblyCopyrightAttribute).Copyright;
            dialog.License = license;
            dialog.Authors = authors;
            dialog.Logo = icon;
            dialog.Run();

            dialog.Destroy ();
        }
Exemple #38
0
        public static void RunAboutDialog()
        {
            AboutDialog dialog = new AboutDialog ();

            Assembly assembly = Assembly.GetCallingAssembly ();
            object[] att = assembly.GetCustomAttributes (typeof(AssemblyTitleAttribute), false);
            AssemblyEditionAttribute editionAtt = assembly.GetCustomAttributes (typeof(AssemblyEditionAttribute), false).OfType<AssemblyEditionAttribute> ().FirstOrDefault ();

            dialog.ProgramName = ((AssemblyTitleAttribute)att [0]).Title;

            dialog.Version = StringWorks.VersionToShortString (assembly.GetName ().Version)
                + (editionAtt != null && editionAtt.Edition != "gpl" ? String.Format ("({0})", editionAtt.Edition) : String.Empty);

            att = assembly.GetCustomAttributes (typeof(AssemblyLogoIconAttribute), false);
            if (att.Length > 0) {
                dialog.Logo = new Gdk.Pixbuf (assembly, ((AssemblyLogoIconAttribute)att [0]).ResourceName); //Gdk.Pixbuf.LoadFromResource();
            }

            att = assembly.GetCustomAttributes (typeof(AssemblyDescriptionAttribute), false);

            string comments = String.Empty;

            object[] betaAtt = assembly.GetCustomAttributes (typeof(AssemblyBetaBuildAttribute), false);
            if(betaAtt.Length > 0)
            {
                var buildDate = System.IO.File.GetLastWriteTime(assembly.Location);
                comments += String.Format ("Бета редакция от {0:g}\n", buildDate);
            }

            comments += ((AssemblyDescriptionAttribute)att [0]).Description;

            att = assembly.GetCustomAttributes (typeof(AssemblySupportAttribute), false);
            if (att.Length > 0) {
                AssemblySupportAttribute sup = (AssemblySupportAttribute)att [0];
                if (sup.ShowTechnologyUsed)
                    comments += String.Format ("\nРазработана на MonoDevelop с использованием открытых технологий Mono, GTK#, Nlog{0}.", sup.TechnologyUsed != "" ? ", " + sup.TechnologyUsed : "");
                if (sup.SupportInfo != "")
                    comments += sup.SupportInfo;
                else
                    comments += "\nТелефон тех. поддержки +7(812)309-80-89";
            }
            dialog.Comments = comments;

            att = assembly.GetCustomAttributes (typeof(AssemblyCopyrightAttribute), false);

            dialog.Copyright = ((AssemblyCopyrightAttribute)att [0]).Copyright;

            att = assembly.GetCustomAttributes (typeof(AssemblyAuthorAttribute), false);

            List<string> authors = new List<string> ();
            foreach (AssemblyAuthorAttribute author in att) {
                authors.Add (author.Name);
            }
            authors.Reverse ();
            dialog.Authors = authors.ToArray ();

            att = assembly.GetCustomAttributes (typeof(AssemblyAppWebsiteAttribute), false);

            if (att.Length > 0)
                dialog.Website = ((AssemblyAppWebsiteAttribute)att [0]).Link;

            dialog.Run ();
            dialog.Destroy ();
        }
Exemple #39
0
        /// <summary>
        /// Shows the about dialog.
        /// </summary>
        /// <param name='ProgramVersion'>
        /// Program version.
        /// </param>
        /// <param name='wind'>
        /// The Parent windows
        /// </param>
        public static void showAboutDialog(Version ProgramVersion, Gdk.Window wind)
        {
            try {

                AboutDialog about = new AboutDialog ();
                about.ProgramName = g_programName;
                about.ParentWindow = wind;
                about.Comments = Catalog.GetString ("Erstellen und Testen Sie schnell und einfach reguläre Ausdrücke mit der verbesserten Version von Phrasis.Studio");
                about.Version = ProgramVersion.ToString ();//.Replace (".0", "");
                about.Logo = new Gdk.Pixbuf (new cPathEnvironment ().const_program_image, 128, 128, true);
                about.Icon = new Gdk.Pixbuf (new cPathEnvironment ().const_program_image, 64, 64, true);
                about.Title = Catalog.GetString ("Info über das Programm");
                about.Website = "https://github.com/squarerootfury/terminus-project";
                about.License = System.IO.File.ReadAllText (new cPathEnvironment ().const_program_license, System.Text.Encoding.UTF8);
                about.WrapLicense = true;
                about.Copyright += Catalog.GetString ("\nCopyright 2012 (c) Terminus Entwickler");
                about.SetPosition (WindowPosition.Center);
                /*about.Authors = new string[] {"Terminus - Team:\n","\"Fury\""};
                about.Artists = new string[] {"Anwendungsicon:\n","\"anonymous\""};
                about.Documenters = new string[] {"Anwendungsdokumentation:\n","ups keiner :)"};
                */
                about.Run ();
                about.Destroy ();
            } catch (Exception ex) {
                MessageBox.Show (ex.Message, cTerminus.g_programName, ButtonsType.Close, MessageType.Error);
            }
        }
Exemple #40
0
        static void OnAboutDialogActivated(object sender, EventArgs e)
        {
            Console.WriteLine("main: about form invoked");
            aboutDialog = new AboutDialog();

            aboutDialog.ProgramName = AppInfo.sProgramName;
            aboutDialog.Version = AppInfo.sVersion + " alpha";
            aboutDialog.Comments = AppInfo.sComments;
            aboutDialog.WrapLicense = true;
            aboutDialog.License = AppInfo.sLicense;
            //aboutDialog.Authors = new string[] { "António Maria Torre do Valle" };
            //aboutDialog.Logo = TODO: Add PixClip logo in about dialog.
            AboutDialog.SetUrlHook(delegate(Gtk.AboutDialog dialog, string link) {
                Gnome.Url.Show(link);
            });
            aboutDialog.Website = AppInfo.sWebsite;
            aboutDialog.Copyright = AppInfo.sCopyright;
            aboutDialog.Response += OnAboutDialogClose;

            aboutDialog.Run();
        }
Exemple #41
0
        public void OnAbout(object o, EventArgs args)
        {
            AboutDialog dialog = new AboutDialog ();

            dialog.ProgramName = CAPTION;

            dialog.Authors = new string[] { "Zoltan Varga ([email protected])" };

            dialog.Copyright = "Copyright © 2008 Novell, Inc. and Others";
            dialog.Comments = "A Coverage Analysis program for MONO.";

            dialog.Run ();
            dialog.Destroy ();
        }
Exemple #42
0
        protected void OnButtonAboutClicked(object sender, EventArgs e)
        {
            var about = new AboutDialog();
            about.ProgramName = Catalog.GetString("Emblems");
            about.Authors = new string [] { Catalog.GetString("Roman M. Yagodin <*****@*****.**>") };
            about.TranslatorCredits = Catalog.GetString("English, Russian") + " - " + Catalog.GetString("Roman M. Yagodin <*****@*****.**>");
            about.WebsiteLabel = "github.com/roman-yagodin/r7-emblems";
            about.Website = "https://github.com/roman-yagodin/r7-emblems";
            about.Copyright = "2012-2013 " + Catalog.GetString("Roman M. Yagodin <*****@*****.**>");

            // FIXME: If icon was not found, causes dialog to crash
            about.Logo = IconTheme.Default.LoadIcon("emblem-favorite", 48, 0);
            about.Run ();
            about.Destroy ();
        }
Exemple #43
0
        // Help -> About
        void OnHelpAbout(object sender, EventArgs args)
        {
            var dlg = new AboutDialog();

            dlg.Title = "Olishell";
            dlg.ProgramName = "Olishell";
            dlg.WrapLicense = true;
            dlg.Copyright = "Copyright (C) 2012 Olimex Ltd";
            dlg.License =
            "This program is free software; you can redistribute it " +
            "and/or modify it under the terms of the GNU General " +
            "Public License as published by the Free Software " +
            "Foundation; either version 2 of the License, or (at " +
            "your option) any later version.";

            dlg.Run();
            dlg.Hide();
        }
Exemple #44
0
        // }}}
        // MainWindow::onMenuItemAboutActivate() {{{
        /// <summary>Show the about dialog.</summary>
        /// <param name="sender">The object who call the method</param>
        /// <param name="args">arguments of the event</param>
        /// <returns>void</returns>
        public void onMenuItemAboutActivate(object sender, EventArgs args)
        {
            Gtk.AboutDialog dialog = new Gtk.AboutDialog();

            dialog.Authors = new String[]
                {this.pref.appAuthor + " " + this.pref.appContact};
            dialog.ProgramName = this.pref.appName;
            dialog.Version = this.pref.appVersion;
            dialog.Comments = this.pref.appDescription;
            dialog.License = this.pref.appLicense + "\n\n" +
                this.pref.appCopyright + "\n\n" + this.pref.appLicenseDetail;
            dialog.Copyright = this.pref.appCopyright;

            dialog.Run ();
        }