From: Jan Djärv Date: Tue, 14 Feb 2006 11:34:44 +0000 (+0000) Subject: * gtkutil.c (xg_tool_bar_detach_callback): Set show-arrow to the X-Git-Tag: emacs-pretest-22.0.90~4146 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0f340cab5f8ee965bf36d63b9e9ae4a1af491420;p=emacs.git * gtkutil.c (xg_tool_bar_detach_callback): Set show-arrow to the value of x-gtk-whole-detached-tool-bar. --- diff --git a/src/gtkutil.c b/src/gtkutil.c index a59fa18821c..35fb9ce328c 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -3314,6 +3314,10 @@ xg_tool_bar_detach_callback (wbox, w, client_data) 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 @@ xg_tool_bar_attach_callback (wbox, w, client_data) gpointer client_data; { FRAME_PTR f = (FRAME_PTR) client_data; + g_object_set (G_OBJECT (w), "show-arrow", TRUE, NULL); if (f) {