No longer display the "Location" label in embedded mode

This commit is contained in:
Pierre Pronchery 2009-02-23 17:18:05 +00:00
parent b1abcf5d46
commit c5b24e9a71

View File

@ -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));