libegg r879 - in trunk: . libegg/toolpalette
- From: jap svn gnome org
- To: svn-commits-list gnome org
- Subject: libegg r879 - in trunk: . libegg/toolpalette
- Date: Sun, 1 Jun 2008 09:41:10 +0000 (UTC)
Author: jap
Date: Sun Jun 1 09:41:10 2008
New Revision: 879
URL: http://svn.gnome.org/viewvc/libegg?rev=879&view=rev
Log:
2008-06-01 Jan Arne Petersen <jpetersen openismus com>
* libegg/toolpalette/testtoolpalette.c (load_special_items): Add items
which use the new child properties to testtoolpalette.
Modified:
trunk/ChangeLog
trunk/libegg/toolpalette/testtoolpalette.c
Modified: trunk/libegg/toolpalette/testtoolpalette.c
==============================================================================
--- trunk/libegg/toolpalette/testtoolpalette.c (original)
+++ trunk/libegg/toolpalette/testtoolpalette.c Sun Jun 1 09:41:10 2008
@@ -440,6 +440,43 @@
group = egg_tool_item_group_new (_("Advanced Features"));
gtk_container_add (GTK_CONTAINER (palette), group);
+ item = gtk_tool_item_new ();
+ gtk_container_add (GTK_CONTAINER (item), gtk_entry_new ());
+ gtk_entry_set_text (GTK_ENTRY (gtk_bin_get_child (GTK_BIN (item))), "homogeneous=FALSE");
+ egg_tool_item_group_insert (EGG_TOOL_ITEM_GROUP (group), item, -1);
+ gtk_container_child_set (GTK_CONTAINER (group), GTK_WIDGET (item),
+ "homogeneous", FALSE,
+ NULL);
+
+ item = gtk_tool_item_new ();
+ gtk_container_add (GTK_CONTAINER (item), gtk_entry_new ());
+ gtk_entry_set_text (GTK_ENTRY (gtk_bin_get_child (GTK_BIN (item))), "homogeneous=FALSE, expand=TRUE");
+ egg_tool_item_group_insert (EGG_TOOL_ITEM_GROUP (group), item, -1);
+ gtk_container_child_set (GTK_CONTAINER (group), GTK_WIDGET (item),
+ "homogeneous", FALSE,
+ "expand", TRUE,
+ NULL);
+
+ item = gtk_tool_item_new ();
+ gtk_container_add (GTK_CONTAINER (item), gtk_entry_new ());
+ gtk_entry_set_text (GTK_ENTRY (gtk_bin_get_child (GTK_BIN (item))), "homogeneous=FALSE, expand=TRUE, fill=FALSE");
+ egg_tool_item_group_insert (EGG_TOOL_ITEM_GROUP (group), item, -1);
+ gtk_container_child_set (GTK_CONTAINER (group), GTK_WIDGET (item),
+ "homogeneous", FALSE,
+ "expand", TRUE,
+ "fill", FALSE,
+ NULL);
+
+ item = gtk_tool_item_new ();
+ gtk_container_add (GTK_CONTAINER (item), gtk_entry_new ());
+ gtk_entry_set_text (GTK_ENTRY (gtk_bin_get_child (GTK_BIN (item))), "homogeneous=FALSE, expand=TRUE, new-row=TRUE");
+ egg_tool_item_group_insert (EGG_TOOL_ITEM_GROUP (group), item, -1);
+ gtk_container_child_set (GTK_CONTAINER (group), GTK_WIDGET (item),
+ "homogeneous", FALSE,
+ "expand", TRUE,
+ "new-row", TRUE,
+ NULL);
+
item = gtk_tool_button_new_from_stock (GTK_STOCK_GO_UP);
gtk_tool_item_set_tooltip_text (item, "Show on vertical palettes only");
egg_tool_item_group_insert (EGG_TOOL_ITEM_GROUP (group), item, -1);
@@ -458,7 +495,10 @@
item = gtk_tool_button_new_from_stock (GTK_STOCK_FULLSCREEN);
gtk_tool_item_set_tooltip_text (item, "Expanded this item");
egg_tool_item_group_insert (EGG_TOOL_ITEM_GROUP (group), item, -1);
- gtk_tool_item_set_expand (item, TRUE);
+ gtk_container_child_set (GTK_CONTAINER (group), GTK_WIDGET (item),
+ "homogeneous", FALSE,
+ "expand", TRUE,
+ NULL);
item = gtk_tool_button_new_from_stock (GTK_STOCK_HELP);
gtk_tool_item_set_tooltip_text (item, "A regular item");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]