]> git.sesse.net Git - vlc/blobdiff - plugins/gtk/gtk.c
* You can now set a maximum height for the configuration windows in the gtk
[vlc] / plugins / gtk / gtk.c
index e487dd4991732f81461fefc96e6ce3eefbbf1ef8..8b4920148cb51e93b43a7621a7fd7c1a166d0d64 100644 (file)
@@ -2,7 +2,7 @@
  * gtk.c : Gtk+ plugin for vlc
  *****************************************************************************
  * Copyright (C) 2000-2001 VideoLAN
- * $Id: gtk.c,v 1.17 2002/03/27 18:43:30 lool Exp $
+ * $Id: gtk.c,v 1.18 2002/03/31 22:35:44 gbazin Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -62,10 +62,19 @@ static gint GtkManage         ( gpointer p_data );
 /*****************************************************************************
  * Building configuration tree
  *****************************************************************************/
+#define TOOLTIPS_TEXT "hide tooltips"
+#define TOOLTIPS_LONGTEXT "Do not show tooltips for configuration options"
+
+#define PREFS_MAXH_TEXT "maximum height for the configuration windows"
+#define PREFS_MAXH_LONGTEXT "You can set the maximum height that the " \
+                            "configuration windows in the prefences menu " \
+                            "will take"
+
 MODULE_CONFIG_START
     ADD_CATEGORY_HINT( "Misc Options", NULL )
-    ADD_BOOL ( "gtk_hide_tooltips", NULL, "hide tooltips", "Do not show" \
-               " tooltips for configuration options" )
+    ADD_BOOL    ( "gtk_hide_tooltips", NULL, TOOLTIPS_TEXT, TOOLTIPS_LONGTEXT )
+    ADD_INTEGER ( "gtk_prefs_maxh", 480, NULL, PREFS_MAXH_TEXT,
+                  PREFS_MAXH_LONGTEXT )
 MODULE_CONFIG_STOP
 
 MODULE_INIT_START