Beispiel #1
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();
        }
Beispiel #2
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 ();
        }