summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@gnome.org>2004-01-03 18:34:46 +0000
committerAnders Carlsson <andersca@src.gnome.org>2004-01-03 18:34:46 +0000
commit9ade106bfdb123a7b1f8f0cc6f0c21178d5c2b86 (patch)
tree829dc2bc399778ce97136b1f8364f474246a109b /components
parent84283670631f64d62bf21529cb4647d2c486f857 (diff)
downloadnautilus-9ade106bfdb123a7b1f8f0cc6f0c21178d5c2b86.tar.gz
Remove use of EelGenerousBin, we can use a GtkBox with only one child for
2004-01-03 Anders Carlsson <andersca@gnome.org> * components/adapter/nautilus-adapter.c: (nautilus_adapter_new): * src/nautilus-navigation-bar.c: * src/nautilus-navigation-bar.h: * src/nautilus-navigation-window.c: * src/nautilus-spatial-window.c: (nautilus_spatial_window_instance_init): * src/nautilus-view-frame.c: * src/nautilus-view-frame.h: * src/nautilus-window.c: Remove use of EelGenerousBin, we can use a GtkBox with only one child for that instead. * test/Makefile.am: Don't use Eel stuff that no-one else uses.
Diffstat (limited to 'components')
-rw-r--r--components/adapter/nautilus-adapter.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/components/adapter/nautilus-adapter.c b/components/adapter/nautilus-adapter.c
index 67502ee05..ba17057f2 100644
--- a/components/adapter/nautilus-adapter.c
+++ b/components/adapter/nautilus-adapter.c
@@ -33,10 +33,9 @@
#include "nautilus-adapter-load-strategy.h"
#include <bonobo/bonobo-control.h>
#include <bonobo/bonobo-item-container.h>
-#include <eel/eel-generous-bin.h>
#include <eel/eel-gtk-macros.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
-#include <gtk/gtksignal.h>
+#include <gtk/gtkhbox.h>
#include <libgnome/gnome-i18n.h>
#include <libgnomeui/gnome-stock-icons.h>
#include <libnautilus-adapter/nautilus-adapter-factory.h>
@@ -123,7 +122,7 @@ nautilus_adapter_new (Bonobo_Unknown component)
{
NautilusAdapter *adapter;
BonoboControl *control;
- GtkWidget *bin;
+ GtkWidget *box;
BonoboObject *zoomable;
/* FIXME bugzilla.gnome.org 44405: should be done with
@@ -133,9 +132,9 @@ nautilus_adapter_new (Bonobo_Unknown component)
adapter = NAUTILUS_ADAPTER (g_object_new (NAUTILUS_TYPE_ADAPTER, NULL));
/* Set up a few wrapper framework details */
- bin = gtk_widget_new (EEL_TYPE_GENEROUS_BIN, NULL);
- gtk_widget_show (bin);
- control = bonobo_control_new (bin);
+ box = gtk_hbox_new (FALSE, 0);
+ gtk_widget_show (box);
+ control = bonobo_control_new (box);
adapter->details->nautilus_view = nautilus_view_new_from_bonobo_control (control);
g_object_weak_ref (G_OBJECT (adapter->details->nautilus_view),
@@ -180,7 +179,7 @@ nautilus_adapter_new (Bonobo_Unknown component)
adapter, G_CONNECT_SWAPPED);
/* complete the embedding */
- gtk_container_add (GTK_CONTAINER (bin),
+ gtk_container_add (GTK_CONTAINER (box),
nautilus_adapter_embed_strategy_get_widget (adapter->details->embed_strategy));
/* hook up view signals. */