diff options
Diffstat (limited to 'src/gui/tb')
-rw-r--r-- | src/gui/tb/portions.c | 7 | ||||
-rw-r--r-- | src/gui/tb/source.c | 7 |
2 files changed, 2 insertions, 12 deletions
diff --git a/src/gui/tb/portions.c b/src/gui/tb/portions.c index 3d30a9e..7e9cb6c 100644 --- a/src/gui/tb/portions.c +++ b/src/gui/tb/portions.c @@ -118,7 +118,6 @@ static void g_portions_tbitem_class_init(GPortionsTbItemClass *klass) static void g_portions_tbitem_init(GPortionsTbItem *item) { GtkWidget *widget; /* Composant principal */ - GtkWidget *handlebox; /* Support relocalisable */ GtkWidget *strip; /* Bande pour binaire */ widget = GTK_WIDGET(gtk_tool_item_new()); @@ -127,13 +126,9 @@ static void g_portions_tbitem_init(GPortionsTbItem *item) G_EDITOR_ITEM(item)->widget = widget; - handlebox = gtk_handle_box_new(); - gtk_widget_show(handlebox); - gtk_container_add(GTK_CONTAINER(widget), handlebox); - strip = gtk_binary_strip_new(); gtk_widget_show(strip); - gtk_container_add(GTK_CONTAINER(handlebox), strip); + gtk_container_add(GTK_CONTAINER(widget), strip); g_object_set_data(G_OBJECT(widget), "strip", strip); diff --git a/src/gui/tb/source.c b/src/gui/tb/source.c index 9f041a1..61ad242 100644 --- a/src/gui/tb/source.c +++ b/src/gui/tb/source.c @@ -124,7 +124,6 @@ static void g_source_tbitem_class_init(GSourceTbItemClass *klass) static void g_source_tbitem_init(GSourceTbItem *item) { GtkWidget *widget; /* Composant principal */ - GtkWidget *handlebox; /* Support relocalisable */ GtkWidget *hbox; /* Support interne */ GtkWidget *label; /* Etiquette d'introduction */ GtkWidget *comboboxentry; /* Liste de fichiers */ @@ -134,13 +133,9 @@ static void g_source_tbitem_init(GSourceTbItem *item) G_EDITOR_ITEM(item)->widget = widget; - handlebox = gtk_handle_box_new(); - gtk_widget_show(handlebox); - gtk_container_add(GTK_CONTAINER(widget), handlebox); - hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8); gtk_widget_show(hbox); - gtk_container_add(GTK_CONTAINER(handlebox), hbox); + gtk_container_add(GTK_CONTAINER(widget), hbox); label = qck_create_label(G_OBJECT(widget), "label", _(" Source: ")); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); |