private void About(object obj, EventArgs args) { Gdk.Pixbuf logo = WidgetFu.LoadThemeIcon("system-search", 48); string[] people = new string[] { "Anna Dirks <*****@*****.**>", "Dan Winship <*****@*****.**>", "D Bera <*****@*****.**>", "Fredrik Hedberg <*****@*****.**>", "Joe Shaw <*****@*****.**>", "Jakub Steiner <*****@*****.**>", "Lukas Lipka <*****@*****.**>", }; string translators = Catalog.GetString("translator-credits"); if (translators == "translator-credits") // not translated { translators = null; } #pragma warning disable 612 // don't warn that Gnome.About is deprecated Gnome.About about = new Gnome.About("Beagle Search", Beagle.Util.ExternalStringsHack.Version, VersionFu.DefaultCopyright, null, people, null, null, logo); about.Run(); about.Dispose(); #pragma warning restore 612 }
protected virtual void OnAbout(object o, EventArgs args) { #pragma warning disable 612 // don't warn that Gnome.About is deprecated. Gnome.About about = new Gnome.About("Contact Viewer", ExternalStringsHack.Version, "Copyright (C) 2006 Pierre \u00D6stlund", null, new string [] { "Pierre \u00D6stlund" }, null, null, Beagle.Images.GetPixbuf("system-search.png")); about.Run(); about.Dispose(); #pragma warning restore 612 }
protected virtual void OnAbout (object o, EventArgs args) { #pragma warning disable 612 // don't warn that Gnome.About is deprecated. Gnome.About about = new Gnome.About ("Contact Viewer", ExternalStringsHack.Version, "Copyright (C) 2006 Pierre \u00D6stlund", null, new string [] { "Pierre \u00D6stlund" }, null, null, Beagle.Images.GetPixbuf ("system-search.png")); about.Run (); about.Dispose (); #pragma warning restore 612 }
private void About (object obj, EventArgs args) { Gdk.Pixbuf logo = WidgetFu.LoadThemeIcon ("system-search", 48); string[] people = new string[] { "Anna Dirks <*****@*****.**>", "Dan Winship <*****@*****.**>", "D Bera <*****@*****.**>", "Fredrik Hedberg <*****@*****.**>", "Joe Shaw <*****@*****.**>", "Jakub Steiner <*****@*****.**>", "Lukas Lipka <*****@*****.**>", }; string translators = Catalog.GetString ("translator-credits"); if (translators == "translator-credits") // not translated translators = null; #pragma warning disable 612 // don't warn that Gnome.About is deprecated Gnome.About about = new Gnome.About ("Beagle Search", Beagle.Util.ExternalStringsHack.Version, VersionFu.DefaultCopyright, null, people, null, null, logo); about.Run (); about.Dispose (); #pragma warning restore 612 }