Esempio n. 1
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();
 }
Esempio n. 2
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();
        }
Esempio n. 3
0
        public static void ShowAbout()
        {
            Gtk.AboutDialog about = new Gtk.AboutDialog();
            about.ProgramName  = "Docky";
            about.Version      = AssemblyInfo.DisplayVersion + "\n" + AssemblyInfo.VersionDetails;
            about.IconName     = "docky";
            about.LogoIconName = "docky";
            about.Website      = "https://launchpad.net/docky";
            about.WebsiteLabel = "Website";
            Gtk.AboutDialog.SetUrlHook((dialog, link) => DockServices.System.Open(link));
            about.Copyright = "Copyright \xa9 2009-2015 Docky Developers";
            about.Comments  = "Docky. Simply Powerful.";
            about.Authors   = new[] {
                "Jason Smith <*****@*****.**>",
                "Robert Dyer <*****@*****.**>",
                "Chris Szikszoy <*****@*****.**>",
                "Rico Tzschichholz <*****@*****.**>",
                "Seif Lotfy <*****@*****.**>",
                "Chris Halse Rogers <*****@*****.**>",
                "Alex Launi <*****@*****.**>",
                "Florian Dorn <*****@*****.**>",
            };
            about.Artists = new[] {
                "Daniel Foré <*****@*****.**>",
            };
            about.Documenters = new[] {
                "Sven Mauhar <*****@*****.**>",
                "Robert Dyer <*****@*****.**>",
                "Daniel Foré <*****@*****.**>",
                "Chris Szikszoy <*****@*****.**>",
                "Rico Tzschichholz <*****@*****.**>",
            };
            about.TranslatorCredits =
                "Asturian\n" +
                " Xuacu Saturio\n" +
                "\n" +

                "Basque\n" +
                " Ibai Oihanguren\n" +
                "\n" +

                "Bengali\n" +
                " Scio\n" +
                "\n" +

                "Brazilian Portuguese\n" +
                " André Gondim, Fabio S Monteiro, Flávio Etrusco, Glauco Vinicius\n" +
                " Lindeval, Thiago Bellini, Victor Mello\n" +
                "\n" +

                "Bulgarian\n" +
                " Boyan Sotirov, Krasimir Chonov\n" +
                "\n" +

                "Catalan\n" +
                " BadChoice, Siegfried Gevatter\n" +
                "\n" +

                "Chinese (Simplified)\n" +
                " Chen Tao, G.S.Alex, Xhacker Liu, fighterlyt, lhquark, skatiger, 冯超\n" +
                "\n" +

                "Croatian\n" +
                " Saša Teković, zekopeko\n" +
                "\n" +

                "English (United Kingdom)\n" +
                " Alex Denvir, Daniel Bell, David Wood, Joel Auterson, SteVe Cook\n" +
                "\n" +

                "Finnish\n" +
                " Jiri Grönroos\n" +
                "\n" +

                "French\n" +
                " Hugo M., Kévin Gomez, Pierre Slamich\n" +
                " Simon Richard, alienworkshop, maxime Cheval\n" +
                "\n" +

                "Galician\n" +
                " Francisco Diéguez, Indalecio Freiría Santos, Miguel Anxo Bouzada, NaNo\n" +
                "\n" +

                "German\n" +
                " Cephinux, Gabriel Shahzad, Jan-Christoph Borchardt, Mark Parigger\n" +
                " Martin Lettner, augias, fiction, pheder, tai\n" +
                "\n" +

                "Hebrew\n" +
                " Uri Shabtay\n" +
                "\n" +

                "Hindi\n" +
                " Bilal Akhtar\n" +
                "\n" +

                "Hungarian\n" +
                " Bognár András, Gabor Kelemen, Jezsoviczki Ádám, NewPlayer\n" +
                "\n" +

                "Icelandic\n" +
                " Baldur, Sveinn í Felli\n" +
                "\n" +

                "Indonesian\n" +
                " Andika Triwidada, Fakhrul Rijal\n" +
                "\n" +

                "Italian\n" +
                " Andrea Amoroso, Blaster, Ivan, MastroPino, Michele, Milo Casagrande, Quizzlo\n" +
                "\n" +

                "Japanese\n" +
                " kawaji\n" +
                "\n" +

                "Korean\n" +
                " Bugbear5, Cedna\n" +
                "\n" +

                "Polish\n" +
                " 313, Adrian Grzemski, EuGene, Rafał Szalecki, Stanisław Gackowski, bumper, emol007\n" +
                "\n" +

                "Romanian\n" +
                " Adi Roiban, George Dumitrescu\n" +
                "\n" +

                "Russian\n" +
                " Alexander Semyonov, Alexey Nedilko, Andrey Sitnik, Artem Yakimenko\n" +
                " Dmitriy Bobylev, Ivan, Phenomen, Sergey Demurin, Sergey Sedov\n" +
                " SochiX, Vladimir, legin, sX11\n" +
                "\n" +

                "Spanish\n" +
                " Alejandro Navarro, David, DiegoJ, Edgardo Fredz, FAMM, Fuerteventura\n" +
                " Gus, José A. Fuentes Santiago, Julián Alarcón, Malq, Martín V.\n" +
                " Omar Campagne, Ricardo Pérez López, Sebastián Porta, alvin23, augias, elXATU\n" +
                "\n" +

                "Swedish\n" +
                " Daniel Nylander, Rovanion, riiga\n" +
                "\n" +

                "Turkish\n" +
                " Yalçın Can, Yiğit Ateş\n" +
                "\n" +

                "Ukrainian\n" +
                " naker.ua\n";

            about.ShowAll();

            about.Response += delegate {
                about.Hide();
                about.Destroy();
            };
        }
Esempio n. 4
0
        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 ();
        }
Esempio n. 5
0
		public static void ShowAbout ()
		{
			Gtk.AboutDialog about = new Gtk.AboutDialog ();
			about.ProgramName = "Docky";
			about.Version = AssemblyInfo.DisplayVersion + "\n" + AssemblyInfo.VersionDetails;
			about.IconName = "docky";
			about.LogoIconName = "docky";
			about.Website = "https://launchpad.net/docky";
			about.WebsiteLabel = "Website";
			Gtk.AboutDialog.SetUrlHook ((dialog, link) => DockServices.System.Open (link));
			about.Copyright = "Copyright \xa9 2009-2012 Docky Developers";
			about.Comments = "Docky. Simply Powerful.";
			about.Authors = new[] {
				"Jason Smith <*****@*****.**>",
				"Robert Dyer <*****@*****.**>",
				"Chris Szikszoy <*****@*****.**>",
				"Rico Tzschichholz <*****@*****.**>",
				"Seif Lotfy <*****@*****.**>",
				"Chris Halse Rogers <*****@*****.**>",
				"Alex Launi <*****@*****.**>",
				"Florian Dorn <*****@*****.**>",
			};
			about.Artists = new[] { 
				"Daniel Foré <*****@*****.**>",
			};
			about.Documenters = new[] {
				"Sven Mauhar <*****@*****.**>",
				"Robert Dyer <*****@*****.**>",
				"Daniel Foré <*****@*****.**>",
				"Chris Szikszoy <*****@*****.**>",
				"Rico Tzschichholz <*****@*****.**>",
			};
			about.TranslatorCredits = 
				"Asturian\n" +
				" Xuacu Saturio\n" +
				"\n" +
				
				"Basque\n" +
				" Ibai Oihanguren\n" +
				"\n" +
				
				"Bengali\n" +
				" Scio\n" +
				"\n" +
				
				"Brazilian Portuguese\n" +
				" André Gondim, Fabio S Monteiro, Flávio Etrusco, Glauco Vinicius\n" +
				" Lindeval, Thiago Bellini, Victor Mello\n" +
				"\n" +
				
				"Bulgarian\n" +
				" Boyan Sotirov, Krasimir Chonov\n" +
				"\n" +
				
				"Catalan\n" +
				" BadChoice, Siegfried Gevatter\n" +
				"\n" +
				
				"Chinese (Simplified)\n" +
				" Chen Tao, G.S.Alex, Xhacker Liu, fighterlyt, lhquark, skatiger, 冯超\n" +
				"\n" +
				
				"Croatian\n" +
				" Saša Teković, zekopeko\n" +
				"\n" +
				
				"English (United Kingdom)\n" +
				" Alex Denvir, Daniel Bell, David Wood, Joel Auterson, SteVe Cook\n" +
				"\n" +
				
				"Finnish\n" +
				" Jiri Grönroos\n" +
				"\n" +
				
				"French\n" +
				" Hugo M., Kévin Gomez, Pierre Slamich\n" +
				" Simon Richard, alienworkshop, maxime Cheval\n" +
				"\n" +
				
				"Galician\n" +
				" Francisco Diéguez, Indalecio Freiría Santos, Miguel Anxo Bouzada, NaNo\n" +
				"\n" +
				
				"German\n" +
				" Cephinux, Gabriel Shahzad, Jan-Christoph Borchardt, Mark Parigger\n" + 
				" Martin Lettner, augias, fiction, pheder, tai\n" +
				"\n" +
				
				"Hebrew\n" +
				" Uri Shabtay\n" +
				"\n" +
				
				"Hindi\n" +
				" Bilal Akhtar\n" +
				"\n" +
				
				"Hungarian\n" +
				" Bognár András, Gabor Kelemen, Jezsoviczki Ádám, NewPlayer\n" +
				"\n" +
				
				"Icelandic\n" +
				" Baldur, Sveinn í Felli\n" +
				"\n" +
				
				"Indonesian\n" +
				" Andika Triwidada, Fakhrul Rijal\n" +
				"\n" +
				
				"Italian\n" +
				" Andrea Amoroso, Blaster, Ivan, MastroPino, Michele, Milo Casagrande, Quizzlo\n" +
				"\n" +
				
				"Japanese\n" +
				" kawaji\n" +
				"\n" +
				
				"Korean\n" +
				" Bugbear5, Cedna\n" +
				"\n" +
				
				"Polish\n" +
				" 313, Adrian Grzemski, EuGene, Rafał Szalecki, Stanisław Gackowski, bumper, emol007\n" +
				"\n" +
				
				"Romanian\n" +
				" Adi Roiban, George Dumitrescu\n" +
				"\n" +
				
				"Russian\n" +
				" Alexander Semyonov, Alexey Nedilko, Andrey Sitnik, Artem Yakimenko\n" +
				" Dmitriy Bobylev, Ivan, Phenomen, Sergey Demurin, Sergey Sedov\n" +
				" SochiX, Vladimir, legin, sX11\n" +
				"\n" +
				
				"Spanish\n" +
				" Alejandro Navarro, David, DiegoJ, Edgardo Fredz, FAMM, Fuerteventura\n" +
				" Gus, José A. Fuentes Santiago, Julián Alarcón, Malq, Martín V.\n" +
				" Omar Campagne, Ricardo Pérez López, Sebastián Porta, alvin23, augias, elXATU\n" +
				"\n" +
				
				"Swedish\n" +
				" Daniel Nylander, Rovanion, riiga\n" +
				"\n" +
				
				"Turkish\n" +
				" Yalçın Can, Yiğit Ateş\n" +
				"\n" +
				
				"Ukrainian\n" +
				" naker.ua\n";
			
			about.ShowAll ();
			
			about.Response += delegate {
				about.Hide ();
				about.Destroy ();
			};
			
		}
Esempio n. 6
0
 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();
 }
Esempio n. 7
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 ();
        }
Esempio n. 8
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();
        }
        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 ();
        }
Esempio n. 10
0
        void HandleAboutbuttonClicked(object sender, EventArgs e)
        {
            AboutDialog d = new AboutDialog();
            Assembly asm = Assembly.GetExecutingAssembly ();
            //d.Artists = new string [] {"Ronaldo Nascimento <*****@*****.**>"};
            d.Authors = new string [] {"Ronaldo Nascimento <*****@*****.**>"};
            d.Copyright = (asm.GetCustomAttributes (
                typeof (AssemblyCopyrightAttribute), false) [0]
                as AssemblyCopyrightAttribute).Copyright;
            d.Documenters = new string [] {"Ronaldo Nascimento <*****@*****.**>"};
            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/>.";
            d.ProgramName = (asm.GetCustomAttributes (
                typeof (AssemblyTitleAttribute), false) [0]
                as AssemblyTitleAttribute).Title;
            d.Title = "About Adeptus";
            d.Version = asm.GetName ().Version.ToString ();
            d.Website = "http://battle.sourceforge.net";
            d.WebsiteLabel = "http://battle.sourceforge.net";
            d.Response += delegate(object o, ResponseArgs args) {
                d.Hide();
            };
            d.Logo = Gdk.Pixbuf.LoadFromResource("Adeptus.Gui.adeptus.jpeg");
            d.Run();
        }