[maemo-commits] [maemo-commits] r12130 - projects/haf/trunk/hildon-plugins-settings/src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Jun 6 16:39:23 EEST 2007
- Previous message: [maemo-commits] r12129 - in projects/haf/trunk/hildon-plugins-settings: . src
- Next message: [maemo-commits] r12131 - projects/haf/trunk/hail/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: moimart Date: 2007-06-06 16:39:22 +0300 (Wed, 06 Jun 2007) New Revision: 12130 Added: projects/haf/trunk/hildon-plugins-settings/src/hildon-plugin-settings-main.c Log: * Forgot to commit file Added: projects/haf/trunk/hildon-plugins-settings/src/hildon-plugin-settings-main.c =================================================================== --- projects/haf/trunk/hildon-plugins-settings/src/hildon-plugin-settings-main.c 2007-06-06 13:14:46 UTC (rev 12129) +++ projects/haf/trunk/hildon-plugins-settings/src/hildon-plugin-settings-main.c 2007-06-06 13:39:22 UTC (rev 12130) @@ -0,0 +1,51 @@ +/* + * This file is part of maemo-af-desktop + * + * Copyright (C) 2007 Nokia Corporation. + * + * Author: Moises Martinez <moises.martinez at nokia.com> + * Contact: Karoliina Salminen <karoliina.t.salminen at nokia.com> + * + * This library 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 2.1 of + * the License, or (at your option) any later version. + * + * This library 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 library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + * 02110-1301 USA + * + */ + +#include <gtk/gtkmain.h> +#include "hildon-plugin-settings-dialog.h" + +int +main (int argc, char **argv) +{ + GtkWidget *dialog; + + gtk_init (&argc, &argv); + + dialog = GTK_WIDGET (g_object_new (HILDON_PLUGIN_TYPE_SETTINGS_DIALOG, + "window-type", HILDON_PLUGIN_SETTINGS_DIALOG_TYPE_WINDOW, + "hide-home", FALSE, + NULL)); + + gtk_widget_show (dialog); + + gtk_dialog_run (GTK_DIALOG (dialog)); + + gtk_main (); + + gtk_widget_destroy (dialog); + + return 0; +} +
- Previous message: [maemo-commits] r12129 - in projects/haf/trunk/hildon-plugins-settings: . src
- Next message: [maemo-commits] r12131 - projects/haf/trunk/hail/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]