Commit e0ba5677 authored by Loïc Minier's avatar Loïc Minier

* ./plugins/gtk/*.glade, ./plugins/gtk/*_interface.*: fix for interface

    autoshrink when toolbar text isn't displayed
parent 6d254dc9
...@@ -1002,7 +1002,6 @@ ...@@ -1002,7 +1002,6 @@
<class>GnomeAppBar</class> <class>GnomeAppBar</class>
<child_name>GnomeApp:appbar</child_name> <child_name>GnomeApp:appbar</child_name>
<name>appbar</name> <name>appbar</name>
<width>500</width>
<has_progress>False</has_progress> <has_progress>False</has_progress>
<has_status>True</has_status> <has_status>True</has_status>
<child> <child>
......
...@@ -714,7 +714,6 @@ create_intf_window (void) ...@@ -714,7 +714,6 @@ create_intf_window (void)
(GtkDestroyNotify) gtk_widget_unref); (GtkDestroyNotify) gtk_widget_unref);
gtk_widget_show (appbar); gtk_widget_show (appbar);
gnome_app_set_statusbar (GNOME_APP (intf_window), 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_connect (GTK_OBJECT (intf_window), "delete_event",
GTK_SIGNAL_FUNC (GtkWindowDelete), GTK_SIGNAL_FUNC (GtkWindowDelete),
......
...@@ -1006,7 +1006,6 @@ ...@@ -1006,7 +1006,6 @@
<widget> <widget>
<class>GtkStatusbar</class> <class>GtkStatusbar</class>
<name>intf_statusbar</name> <name>intf_statusbar</name>
<width>500</width>
<child> <child>
<padding>0</padding> <padding>0</padding>
<expand>False</expand> <expand>False</expand>
......
...@@ -788,7 +788,7 @@ create_intf_window (void) ...@@ -788,7 +788,7 @@ create_intf_window (void)
channel_label = gtk_label_new (_("Channel:")); channel_label = gtk_label_new (_("Channel:"));
gtk_widget_ref (channel_label); 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); (GtkDestroyNotify) gtk_widget_unref);
gtk_widget_show (channel_label); gtk_widget_show (channel_label);
gtk_box_pack_start (GTK_BOX (network_channel_box), channel_label, FALSE, FALSE, 5); gtk_box_pack_start (GTK_BOX (network_channel_box), channel_label, FALSE, FALSE, 5);
...@@ -815,7 +815,6 @@ create_intf_window (void) ...@@ -815,7 +815,6 @@ create_intf_window (void)
(GtkDestroyNotify) gtk_widget_unref); (GtkDestroyNotify) gtk_widget_unref);
gtk_widget_show (intf_statusbar); gtk_widget_show (intf_statusbar);
gtk_box_pack_start (GTK_BOX (window_vbox), intf_statusbar, FALSE, FALSE, 0); 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_connect (GTK_OBJECT (intf_window), "drag_data_received",
GTK_SIGNAL_FUNC (GtkWindowDrag), GTK_SIGNAL_FUNC (GtkWindowDrag),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment