diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-04-07 20:02:33 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-04-07 20:02:33 +0200 |
commit | 13deff0676e5cd1a9585bacdec3b42753e69403a (patch) | |
tree | a0fb9b8e6556a69d8313d59c930e7c6c93927147 /plugins | |
parent | b23a226ecaff0f59eb87678c1b9b692b0b0ddc5b (diff) |
moved eq widget to appropriate place
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/gtkui/deadbeef.glade | 17 | ||||
-rw-r--r-- | plugins/gtkui/eq.c | 2 | ||||
-rw-r--r-- | plugins/gtkui/interface.c | 6 |
3 files changed, 24 insertions, 1 deletions
diff --git a/plugins/gtkui/deadbeef.glade b/plugins/gtkui/deadbeef.glade index 3606c124..202ee691 100644 --- a/plugins/gtkui/deadbeef.glade +++ b/plugins/gtkui/deadbeef.glade @@ -882,6 +882,23 @@ </child> <child> + <widget class="GtkVBox" id="plugins_bottom_vbox"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">0</property> + + <child> + <placeholder/> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + + <child> <widget class="GtkStatusbar" id="statusbar"> <property name="visible">True</property> <property name="has_resize_grip">True</property> diff --git a/plugins/gtkui/eq.c b/plugins/gtkui/eq.c index 18875588..e9f8ffb3 100644 --- a/plugins/gtkui/eq.c +++ b/plugins/gtkui/eq.c @@ -85,7 +85,7 @@ eq_window_show (void) { gtk_widget_show (eqwin); - GtkWidget *cont = lookup_widget (mainwin, "vbox1"); + GtkWidget *cont = lookup_widget (mainwin, "plugins_bottom_vbox"); gtk_box_pack_start (GTK_BOX (cont), eqwin, FALSE, FALSE, 0); } gtk_widget_show (eqwin); diff --git a/plugins/gtkui/interface.c b/plugins/gtkui/interface.c index b195f329..9dc8ebeb 100644 --- a/plugins/gtkui/interface.c +++ b/plugins/gtkui/interface.c @@ -118,6 +118,7 @@ create_mainwin (void) GtkWidget *tabstrip; GtkWidget *frame1; GtkWidget *playlist; + GtkWidget *plugins_bottom_vbox; GtkWidget *statusbar; GtkAccelGroup *accel_group; @@ -546,6 +547,10 @@ create_mainwin (void) GTK_WIDGET_UNSET_FLAGS (playlist, GTK_CAN_FOCUS); GTK_WIDGET_UNSET_FLAGS (playlist, GTK_CAN_DEFAULT); + plugins_bottom_vbox = gtk_vbox_new (FALSE, 0); + gtk_widget_show (plugins_bottom_vbox); + gtk_box_pack_start (GTK_BOX (vbox1), plugins_bottom_vbox, FALSE, FALSE, 0); + statusbar = gtk_statusbar_new (); gtk_widget_show (statusbar); gtk_box_pack_start (GTK_BOX (vbox1), statusbar, FALSE, FALSE, 0); @@ -792,6 +797,7 @@ create_mainwin (void) GLADE_HOOKUP_OBJECT (mainwin, tabstrip, "tabstrip"); GLADE_HOOKUP_OBJECT (mainwin, frame1, "frame1"); GLADE_HOOKUP_OBJECT (mainwin, playlist, "playlist"); + GLADE_HOOKUP_OBJECT (mainwin, plugins_bottom_vbox, "plugins_bottom_vbox"); GLADE_HOOKUP_OBJECT (mainwin, statusbar, "statusbar"); gtk_window_add_accel_group (GTK_WINDOW (mainwin), accel_group); |