diff options
Diffstat (limited to 'src/dialogs/storage.c')
-rw-r--r-- | src/dialogs/storage.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/dialogs/storage.c b/src/dialogs/storage.c index 614a46c..2bf1e2e 100644 --- a/src/dialogs/storage.c +++ b/src/dialogs/storage.c @@ -186,7 +186,6 @@ GtkWidget *create_storage_dialog(GLoadedBinary *binary, GtkWindow *parent) GtkWidget *content; /* Zone principale de la boîte */ GtkWidget *vbox; /* Support à construire #1 */ GtkWidget *frame; /* Support avec encadrement */ - GtkWidget *subalign; /* Disposition des options */ GtkWidget *hbox; /* Support à construire #2 */ GtkWidget *label; /* Etiquette d'indication */ GtkWidget *entry; /* Zone de saisie de texte */ @@ -217,12 +216,11 @@ GtkWidget *create_storage_dialog(GLoadedBinary *binary, GtkWindow *parent) /* Définition de l'identité de l'utilisateur */ - frame = qck_create_frame(_("<b>Identity</b>"), &subalign, 0, 0, 12, 0); - gtk_box_pack_start(GTK_BOX(vbox), frame, FALSE, TRUE, 0); - hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 4); gtk_widget_show(hbox); - gtk_container_add(GTK_CONTAINER(subalign), hbox); + + frame = qck_create_frame(_("<b>Identity</b>"), hbox, 0, 0, 12, 0); + gtk_box_pack_start(GTK_BOX(vbox), frame, FALSE, TRUE, 0); label = qck_create_label(NULL, NULL, _("Username: ")); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); @@ -232,12 +230,11 @@ GtkWidget *create_storage_dialog(GLoadedBinary *binary, GtkWindow *parent) /* Définition du serveur distant */ - frame = qck_create_frame(_("<b>Server to contact</b>"), &subalign, 0, 0, 12, 0); - gtk_box_pack_start(GTK_BOX(vbox), frame, FALSE, TRUE, 0); - subvbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_widget_show(subvbox); - gtk_container_add(GTK_CONTAINER(subalign), subvbox); + + frame = qck_create_frame(_("<b>Server to contact</b>"), subvbox, 0, 0, 12, 0); + gtk_box_pack_start(GTK_BOX(vbox), frame, FALSE, TRUE, 0); checkbutton = qck_create_check_button(G_OBJECT(result), "use_remote", _("Use a remote server:"), |