]> git.eshelyaron.com Git - emacs.git/commitdiff
* xfns.c (syms_of_xfns): New variable: x-gtk-whole-detached-tool-bar.
authorJan Djärv <jan.h.d@swipnet.se>
Tue, 14 Feb 2006 11:35:00 +0000 (11:35 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Tue, 14 Feb 2006 11:35:00 +0000 (11:35 +0000)
src/xfns.c

index 10996f8fbbde32b7f7c9d93f9b98a8c014573b97..e2449a8f3c0c4a06c32010e0fc56c4d21265f70b 100644 (file)
@@ -158,6 +158,10 @@ int x_use_old_gtk_file_dialog;
 
 int x_gtk_show_hidden_files;
 
+/* If non-zero, don't collapse to tool bar when it is detached.  */
+
+int x_gtk_whole_detached_tool_bar;
+
 /* The background and shape of the mouse pointer, and shape when not
    over text or in the modeline.  */
 
@@ -5806,6 +5810,12 @@ Note that this is just the default, there is a toggle button on the file
 chooser to show or not show hidden files on a case by case basis.  */);
   x_gtk_show_hidden_files = 0;
 
+  DEFVAR_BOOL ("x-gtk-whole-detached-tool-bar", &x_gtk_whole_detached_tool_bar,
+    doc: /* *If non-nil, a detached tool bar is shown in full.
+The default is to just show an arrow and pressing on that arrow shows
+the tool bar buttons.  */);
+  x_gtk_whole_detached_tool_bar = 0;
+
   Fprovide (intern ("x"), Qnil);
 
 #ifdef USE_X_TOOLKIT