gnome-hello r259 - in trunk: . src



Author: claudep
Date: Mon Jun  2 21:51:56 2008
New Revision: 259
URL: http://svn.gnome.org/viewvc/gnome-hello?rev=259&view=rev

Log:
2008-06-02  Claude Paroz  <claude 2xlibre net>

	* src/app.c: (hello_app_new): Make the toolbar appear.

Modified:
   trunk/ChangeLog
   trunk/src/app.c

Modified: trunk/src/app.c
==============================================================================
--- trunk/src/app.c	(original)
+++ trunk/src/app.c	Mon Jun  2 21:51:56 2008
@@ -39,6 +39,7 @@
   GtkWidget *button;
   GtkWidget *label;
   GtkWidget *menubar;
+  GtkWidget *toolbar;
   GtkUIManager *ui_manager;
   GtkAccelGroup *accel_group;
 
@@ -58,6 +59,8 @@
 
   menubar = gtk_ui_manager_get_widget (ui_manager, "/menubar");
   gtk_box_pack_start (GTK_BOX (vbox), menubar, FALSE, FALSE, 0);
+  toolbar = gtk_ui_manager_get_widget (ui_manager, "/toolbar");
+  gtk_box_pack_start (GTK_BOX (vbox), toolbar, FALSE, FALSE, 0);
 
   button = gtk_button_new ();
   gtk_container_set_border_width (GTK_CONTAINER (button), 10);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]