[maemo-commits] [maemo-commits] r9805 - in projects/haf/branches/hildon-libs/hildon-1: . examples

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Feb 12 13:39:55 EET 2007
Author: mdk
Date: 2007-02-12 13:39:53 +0200 (Mon, 12 Feb 2007)
New Revision: 9805

Modified:
   projects/haf/branches/hildon-libs/hildon-1/ChangeLog.2
   projects/haf/branches/hildon-libs/hildon-1/examples/hildon-window-example.c
Log:
Adding some title setting to check the program/window naming.


Modified: projects/haf/branches/hildon-libs/hildon-1/ChangeLog.2
===================================================================
--- projects/haf/branches/hildon-libs/hildon-1/ChangeLog.2	2007-02-12 11:05:56 UTC (rev 9804)
+++ projects/haf/branches/hildon-libs/hildon-1/ChangeLog.2	2007-02-12 11:39:53 UTC (rev 9805)
@@ -1,5 +1,10 @@
 2007-02-12  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
 
+	* examples/hildon-window-example.c: Adding some title setting to check
+	the program/window naming.
+
+2007-02-12  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
+
 	* doc/Makefile.am:
 	* doc/hildon-docs.sgml:
 	* doc/visual_index.xml: Adding the widgets-gallery chapter. Works now.

Modified: projects/haf/branches/hildon-libs/hildon-1/examples/hildon-window-example.c
===================================================================
--- projects/haf/branches/hildon-libs/hildon-1/examples/hildon-window-example.c	2007-02-12 11:05:56 UTC (rev 9804)
+++ projects/haf/branches/hildon-libs/hildon-1/examples/hildon-window-example.c	2007-02-12 11:39:53 UTC (rev 9805)
@@ -39,6 +39,9 @@
     GtkWidget *window = hildon_window_new ();
     hildon_program_add_window (program, HILDON_WINDOW (window));    
 
+    gtk_window_set_title (GTK_WINDOW (window), "world");
+    g_set_application_name ("hello");
+
     gtk_container_set_border_width (GTK_CONTAINER (window), 6);
     
     GtkWidget *label = GTK_WIDGET (gtk_label_new ("Hello world!"));


More information about the maemo-commits mailing list