changeset 68879:3249a3dd3284

* gtkutil.c (xg_tool_bar_detach_callback): Set show-arrow to the value of x-gtk-whole-detached-tool-bar.
author Jan Djärv <jan.h.d@swipnet.se>
date Tue, 14 Feb 2006 11:34:44 +0000
parents dfad304aed75
children f5fa98f7c3b7
files src/gtkutil.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkutil.c	Tue Feb 14 10:05:39 2006 +0000
+++ b/src/gtkutil.c	Tue Feb 14 11:34:44 2006 +0000
@@ -3314,6 +3314,10 @@
      gpointer client_data;
 {
   FRAME_PTR f = (FRAME_PTR) client_data;
+  extern int x_gtk_whole_detached_tool_bar;
+
+  g_object_set (G_OBJECT (w), "show-arrow", !x_gtk_whole_detached_tool_bar,
+		NULL);
 
   if (f)
     {
@@ -3344,6 +3348,7 @@
      gpointer client_data;
 {
   FRAME_PTR f = (FRAME_PTR) client_data;
+  g_object_set (G_OBJECT (w), "show-arrow", TRUE, NULL);
 
   if (f)
     {