Commit 7608bd61 authored by Ole Aamot's avatar Ole Aamot

Fix label bug

parent 6db55f8f
......@@ -70,7 +70,7 @@ static void gb_assistant_close (GtkAssistant *assistant, gpointer data)
fprintf(fp, " <song>%s</song>\n", gtk_entry_get_text (GTK_ENTRY (song_entry)));
fprintf(fp, " <instrument>%s</instrument>\n", gtk_entry_get_text (GTK_ENTRY (instrument_entry)));
fprintf(fp, " <line>%s</line>\n", gtk_entry_get_text (GTK_ENTRY (line_entry)));
fprintf(fp, " <label>%s</label>\n", gtk_entry_get_text (GTK_ENTRY (recording_entry)));
fprintf(fp, " <label>%s</label>\n", gtk_entry_get_text (GTK_ENTRY (label_entry)));
fprintf(fp, "</gingerblue>\n");
fclose(fp);
}
......@@ -149,9 +149,9 @@ int main (int argc, char **argv) {
page[5].widget = gtk_box_new (FALSE, 5);
label_label = gtk_label_new ("Label:");
label_entry = gtk_entry_new ();
gtk_entry_set_text (GTK_ENTRY (recording_entry), "GNOME");
gtk_box_pack_start (GTK_BOX (page[5].widget), recording_label, FALSE, FALSE, 5);
gtk_box_pack_start (GTK_BOX (page[5].widget), recording_entry, FALSE, FALSE, 5);
gtk_entry_set_text (GTK_ENTRY (label_entry), "GNOME");
gtk_box_pack_start (GTK_BOX (page[5].widget), label_label, FALSE, FALSE, 5);
gtk_box_pack_start (GTK_BOX (page[5].widget), label_entry, FALSE, FALSE, 5);
recording_label = gtk_button_new_with_label ("Record");
page[6].widget = gtk_button_new_with_label ("Record"); gtk_box_pack_start (GTK_BOX (page[6].widget), recording_label, FALSE, FALSE, 5);
for (i = 0; i < 7; i++) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment