* gnome.c : Gnome plugin for vlc
*****************************************************************************
* Copyright (C) 2000 VideoLAN
- * $Id: gnome.c,v 1.14 2002/03/25 20:37:00 lool Exp $
+ * $Id: gnome.c,v 1.15 2002/03/27 18:43:30 lool Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
* Building configuration tree
*****************************************************************************/
MODULE_CONFIG_START
+ ADD_CATEGORY_HINT( "Misc Options", NULL )
+ ADD_BOOL ( "gnome_hide_tooltips", NULL, "hide tooltips", "Do not show" \
+ " tooltips for configuration options" )
MODULE_CONFIG_STOP
MODULE_INIT_START
p_intf->p_sys->p_jump = NULL;
p_intf->p_sys->p_tooltips = gtk_tooltips_new();
+ /* Hide tooltips if the option is set */
+ if( config_GetIntVariable( "gnome_hide_tooltips" ) )
+ gtk_tooltips_disable( p_intf->p_sys->p_tooltips );
+
/* Store p_intf to keep an eye on it */
gtk_object_set_data( GTK_OBJECT(p_intf->p_sys->p_window),
"p_intf", p_intf );
* gtk.c : Gtk+ plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
- * $Id: gtk.c,v 1.16 2002/03/25 20:37:00 lool Exp $
+ * $Id: gtk.c,v 1.17 2002/03/27 18:43:30 lool Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
* Building configuration tree
*****************************************************************************/
MODULE_CONFIG_START
+ ADD_CATEGORY_HINT( "Misc Options", NULL )
+ ADD_BOOL ( "gtk_hide_tooltips", NULL, "hide tooltips", "Do not show" \
+ " tooltips for configuration options" )
MODULE_CONFIG_STOP
MODULE_INIT_START
p_intf->p_sys->p_network = NULL;
p_intf->p_sys->p_jump = NULL;
+ /* Hide tooltips if the option is set */
+ if( config_GetIntVariable( "gtk_hide_tooltips" ) )
+ gtk_tooltips_disable( p_intf->p_sys->p_tooltips );
+
/* Store p_intf to keep an eye on it */
gtk_object_set_data( GTK_OBJECT(p_intf->p_sys->p_window),
"p_intf", p_intf );