mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-21 15:20:02 +01:00
reloaded : connect btn has defaut
* hit enter in both "hostname" / "portnum" to start connection
This commit is contained in:
@@ -7307,6 +7307,19 @@ void vj_gui_init(char *glade_file,
|
||||
}
|
||||
info = gui;
|
||||
|
||||
//set "connection" button has default in veejay connection dialog
|
||||
gtk_entry_set_activates_default(GTK_ENTRY(glade_xml_get_widget_( info->main_window,
|
||||
"entry_hostname" )),
|
||||
TRUE);
|
||||
gtk_entry_set_activates_default(GTK_ENTRY(glade_xml_get_widget_( info->main_window,
|
||||
"button_portnum" )),
|
||||
TRUE);
|
||||
GtkWidget *vj_button = glade_xml_get_widget_( info->main_window, "button_veejay" );
|
||||
gtk_widget_set_can_default(vj_button,TRUE);
|
||||
GtkWidget *connection_dial = glade_xml_get_widget_( info->main_window,
|
||||
"veejay_connection");
|
||||
gtk_window_set_default(GTK_WINDOW(connection_dial), vj_button);
|
||||
|
||||
glade_xml_signal_autoconnect( gui->main_window );
|
||||
GtkWidget *frame = glade_xml_get_widget_( info->main_window, "markerframe" );
|
||||
info->tl = timeline_new();
|
||||
|
||||
Reference in New Issue
Block a user