Correct use of gtk_widget_set_size_request() - Alex
authorterminatorX <>
Sun, 17 Aug 2003 21:35:14 +0000 (21:35 +0000)
committerterminatorX <>
Sun, 17 Aug 2003 21:35:14 +0000 (21:35 +0000)
src/tX_dialog.cc
src/tX_vttgui.cc

index 5a370894633c274190dc834636da1a5287324ef3..b9b547de4aabffb9e3e73bd6ddf36af1158258b3 100644 (file)
@@ -684,6 +684,7 @@ void show_about(int nag)
                " endian.");
        
                gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
+               gtk_widget_set_size_request(label, 640, -1);
                gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_CENTER);
                add_about_wid_fix(label);
 
index 1cad9d93c65d1185a251e2172ef4cbf59a21958d..d6c916f6ad57fcd54e237d81a700224f02e51a2d 100644 (file)
@@ -889,8 +889,8 @@ void build_vtt_gui(vtt_class *vtt)
        gtk_entry_set_text(GTK_ENTRY(g->name), vtt->name);
        p->add_client_widget(g->name);
        gui_set_tooltip(g->name, "Enter the turntable's name here.");
-       gtk_widget_set_size_request(g->name, 40, g->name->requisition.height);
-       
+       gtk_widget_set_size_request(g->name, 40, -1);
+
        g->del=gtk_button_new_with_label("Delete");
        gui_set_tooltip(g->del, "Click here to annihilate this turntable. All events recorded for this turntable will be erased, too.");
        p->add_client_widget(g->del);
@@ -1087,7 +1087,7 @@ void build_vtt_gui(vtt_class *vtt)
        
        g->adjust_dialog=NULL;
        
-       gui_set_name(vtt, vtt->name);
+       gui_set_name(vtt, vtt->name);   
 }
 
 void fx_up(GtkWidget *wid, vtt_fx *effect)