From c5b24e9a71d8e504742f392393e10fb0b797b395 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Mon, 23 Feb 2009 17:18:05 +0000 Subject: [PATCH] No longer display the "Location" label in embedded mode --- src/surfer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/surfer.c b/src/surfer.c index 0d9aa15..7e4797d 100644 --- a/src/surfer.c +++ b/src/surfer.c @@ -177,10 +177,12 @@ Surfer * surfer_new(char const * url) gtk_box_pack_start(GTK_BOX(vbox), toolbar, FALSE, FALSE, 0); /* toolbar */ toolbar = gtk_toolbar_new(); +#ifndef FOR_EMBEDDED toolitem = gtk_tool_item_new(); widget = gtk_label_new(" Location: "); gtk_container_add(GTK_CONTAINER(toolitem), widget); gtk_toolbar_insert(GTK_TOOLBAR(toolbar), toolitem, -1); +#endif toolitem = gtk_tool_item_new(); surfer->tb_path = gtk_combo_box_entry_new_text(); widget = gtk_bin_get_child(GTK_BIN(surfer->tb_path));