* ./plugins/gtk/*.glade, ./plugins/gtk/*_interface.*: fix for interface
authorLoïc Minier <lool@videolan.org>
Sat, 4 May 2002 03:32:28 +0000 (03:32 +0000)
committerLoïc Minier <lool@videolan.org>
Sat, 4 May 2002 03:32:28 +0000 (03:32 +0000)
    autoshrink when toolbar text isn't displayed

plugins/gtk/gnome.glade
plugins/gtk/gnome_interface.c
plugins/gtk/gtk.glade
plugins/gtk/gtk_interface.c

index 50248db..c9c5a81 100644 (file)
     <class>GnomeAppBar</class>
     <child_name>GnomeApp:appbar</child_name>
     <name>appbar</name>
-    <width>500</width>
     <has_progress>False</has_progress>
     <has_status>True</has_status>
     <child>
index b6db598..aff6393 100644 (file)
@@ -714,7 +714,6 @@ create_intf_window (void)
                             (GtkDestroyNotify) gtk_widget_unref);
   gtk_widget_show (appbar);
   gnome_app_set_statusbar (GNOME_APP (intf_window), appbar);
-  gtk_widget_set_usize (appbar, 500, -2);
 
   gtk_signal_connect (GTK_OBJECT (intf_window), "delete_event",
                       GTK_SIGNAL_FUNC (GtkWindowDelete),
index 10f8ed8..2f72a26 100644 (file)
     <widget>
       <class>GtkStatusbar</class>
       <name>intf_statusbar</name>
-      <width>500</width>
       <child>
        <padding>0</padding>
        <expand>False</expand>
index 8d845d4..4286e5f 100644 (file)
@@ -788,7 +788,7 @@ create_intf_window (void)
 
   channel_label = gtk_label_new (_("Channel:"));
   gtk_widget_ref (channel_label);
-  gtk_object_set_data_full (GTK_OBJECT (intf_window), "channel-label", channel_label,
+  gtk_object_set_data_full (GTK_OBJECT (intf_window), "channel_label", channel_label,
                             (GtkDestroyNotify) gtk_widget_unref);
   gtk_widget_show (channel_label);
   gtk_box_pack_start (GTK_BOX (network_channel_box), channel_label, FALSE, FALSE, 5);
@@ -815,7 +815,6 @@ create_intf_window (void)
                             (GtkDestroyNotify) gtk_widget_unref);
   gtk_widget_show (intf_statusbar);
   gtk_box_pack_start (GTK_BOX (window_vbox), intf_statusbar, FALSE, FALSE, 0);
-  gtk_widget_set_usize (intf_statusbar, 500, -2);
 
   gtk_signal_connect (GTK_OBJECT (intf_window), "drag_data_received",
                       GTK_SIGNAL_FUNC (GtkWindowDrag),