]> git.sesse.net Git - vlc/blobdiff - modules/gui/gtk2/gnome2.c
* disable equalizer commands in the extended GUI if the equalizer isn't
[vlc] / modules / gui / gtk2 / gnome2.c
index fde1b75244faea2cf271263c2012c61b066d7ca6..aae13b4b5e97a830fae1d8a80f7a35f0b59b8e58 100644 (file)
@@ -2,7 +2,7 @@
  * gnome2.c : GNOME 2 plugin for vlc
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: gnome2.c,v 1.2 2003/03/30 18:14:37 gbazin Exp $
+ * $Id$
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -52,6 +52,8 @@ static int  Manage       ( intf_thread_t * );
 vlc_module_begin();
     int i = getenv( "DISPLAY" ) == NULL ? 15 : 95;
     set_description( _("Gtk2 interface") );
+    set_category( CAT_INTERFACE );
+    set_subcategory( SUBCAT_INTERFACE_GENERAL );
     set_capability( "interface", i );
     set_callbacks( Open, Close );
     set_program( "gvlc" );
@@ -83,7 +85,8 @@ static int Open( vlc_object_t *p_this )
     }
 
 #ifdef NEED_GTK2_MAIN
-    p_intf->p_sys->p_gui_helper = module_Need( p_this, "gui-helper", "gnome2" );
+    p_intf->p_sys->p_gui_helper =
+        module_Need( p_this, "gui-helper", "gnome2", VLC_TRUE );
     if( p_intf->p_sys->p_gui_helper == NULL )
     {
         free( p_intf->p_sys );