Apply patch from Christian - Manny Calavera - Neumair <chris@gnome-de.org>
2003-07-18 Dennis Cranston <dennis_cranston at yahoo com> * gnome-ui-properties.c, gnome-ui-properties.glade: Apply patch from Christian - Manny Calavera - Neumair <chris@gnome-de.org> for ui-review bug # 99537.
This commit is contained in:
parent
5ead39304d
commit
ecf1151922
3 changed files with 18 additions and 11 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2003-07-18 Dennis Cranston <dennis_cranston at yahoo com>
|
||||||
|
|
||||||
|
* gnome-ui-properties.c, gnome-ui-properties.glade:
|
||||||
|
Apply patch from Christian - Manny Calavera - Neumair
|
||||||
|
<chris@gnome-de.org> for ui-review bug # 99537.
|
||||||
|
|
||||||
2003-07-11 Dennis Cranston <dennis_cranston at yahoo com>
|
2003-07-11 Dennis Cranston <dennis_cranston at yahoo com>
|
||||||
|
|
||||||
* gnome-ui-properties.glade: UI-Review fixes for bug
|
* gnome-ui-properties.glade: UI-Review fixes for bug
|
||||||
|
|
|
@ -98,28 +98,28 @@ show_handlebar (GladeXML *dialog, gboolean show)
|
||||||
{
|
{
|
||||||
GtkWidget *handlebox;
|
GtkWidget *handlebox;
|
||||||
GtkWidget *toolbar;
|
GtkWidget *toolbar;
|
||||||
GtkWidget *frame;
|
GtkWidget *align;
|
||||||
|
|
||||||
handlebox = WID ("toolbar_handlebox");
|
handlebox = WID ("toolbar_handlebox");
|
||||||
toolbar = WID ("toolbar_toolbar");
|
toolbar = WID ("toolbar_toolbar");
|
||||||
frame = WID ("toolbar_frame");
|
align = WID ("toolbar_align");
|
||||||
|
|
||||||
g_object_ref (handlebox);
|
g_object_ref (handlebox);
|
||||||
g_object_ref (toolbar);
|
g_object_ref (toolbar);
|
||||||
|
|
||||||
if (GTK_BIN (frame)->child)
|
if (GTK_BIN (align)->child)
|
||||||
gtk_container_remove (GTK_CONTAINER (frame), GTK_BIN (frame)->child);
|
gtk_container_remove (GTK_CONTAINER (align), GTK_BIN (align)->child);
|
||||||
if (GTK_BIN (handlebox)->child)
|
if (GTK_BIN (handlebox)->child)
|
||||||
gtk_container_remove (GTK_CONTAINER (handlebox), GTK_BIN (handlebox)->child);
|
gtk_container_remove (GTK_CONTAINER (handlebox), GTK_BIN (handlebox)->child);
|
||||||
if (show)
|
if (show)
|
||||||
{
|
{
|
||||||
gtk_container_add (GTK_CONTAINER (frame), handlebox);
|
gtk_container_add (GTK_CONTAINER (align), handlebox);
|
||||||
gtk_container_add (GTK_CONTAINER (handlebox), toolbar);
|
gtk_container_add (GTK_CONTAINER (handlebox), toolbar);
|
||||||
g_object_unref (handlebox);
|
g_object_unref (handlebox);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
gtk_container_add (GTK_CONTAINER (frame), toolbar);
|
gtk_container_add (GTK_CONTAINER (align), toolbar);
|
||||||
}
|
}
|
||||||
g_object_unref (toolbar);
|
g_object_unref (toolbar);
|
||||||
|
|
||||||
|
|
|
@ -546,16 +546,17 @@
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkFrame" id="toolbar_frame">
|
<widget class="GtkAlignment" id="toolbar_align">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="label_xalign">0</property>
|
<property name="xalign">0.5</property>
|
||||||
<property name="label_yalign">0.5</property>
|
<property name="yalign">0.5</property>
|
||||||
<property name="shadow_type">GTK_SHADOW_NONE</property>
|
<property name="xscale">1</property>
|
||||||
|
<property name="yscale">1</property>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkHandleBox" id="toolbar_handlebox">
|
<widget class="GtkHandleBox" id="toolbar_handlebox">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="shadow_type">GTK_SHADOW_IN</property>
|
<property name="shadow_type">GTK_SHADOW_OUT</property>
|
||||||
<property name="handle_position">GTK_POS_LEFT</property>
|
<property name="handle_position">GTK_POS_LEFT</property>
|
||||||
<property name="snap_edge">GTK_POS_TOP</property>
|
<property name="snap_edge">GTK_POS_TOP</property>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue