[Gtk-sharp-list] Gnome# Hello World - Revised
Rodrigo Moya
rodrigo@ximian.com
05 Feb 2003 23:57:35 +0100
On Wed, 2003-02-05 at 18:59, Charles Iliya Krempeaux wrote:
> Hello,
>
> OK, here's a revised version of it.
>
>
> class Hello
> {
> static void Main(string[] args)
> {
> Gnome.Program program =
> new Gnome.Program("Hello World", "1.0", Gnome.Modules.UI, args);
>
> Gnome.App app = new Gnome.App("Hello World", "Hello World");
> app.Show();
>
> Gtk.Application.Run();
> }
> }
>
> It uses the "Gnome.Program" thing to initialize things. Although, when
> I run this program, a dialog box pops up and says:
>
> An error occurred while loading or saving configuration
> information for Hello World. Some of your configuration
> settings may not work properly.
>
this happens to me sometimes when gconfd-1 (the config system of gnome
1.4) is running and you start a gnome2 app (your app is since it uses
GTK#), and that gnome2 app cannot contact the gconfd-2 server, which
can't be running at the same time as gconfd-1.
Just running 'killall -9 gconfd-1' and restarting your app should fix
it.
cheers
--
Rodrigo Moya <rodrigo@ximian.com>