gladish: remove forcing of dialog modality in C code
The dialog seems to be modal anyway. If needed, modality can be forced in the xml
This commit is contained in:
parent
03ad8a4cc0
commit
cd4e3385d0
|
@ -34,10 +34,6 @@ static void on_path_button_clicked(void)
|
|||
GtkWidget * dialog;
|
||||
GtkResponseType response;
|
||||
|
||||
static bool runing;
|
||||
if(runing) return;
|
||||
runing = true;
|
||||
|
||||
dialog = get_gtk_builder_widget("project_save_as_dir_sel_dialog");
|
||||
|
||||
gtk_widget_show(dialog);
|
||||
|
@ -50,8 +46,6 @@ static void on_path_button_clicked(void)
|
|||
path,
|
||||
gtk_file_chooser_get_filename( GTK_FILE_CHOOSER(dialog)) );
|
||||
}
|
||||
|
||||
runing = false;
|
||||
}
|
||||
|
||||
void ladish_run_save_project_dialog(ladish_room_proxy_handle room)
|
||||
|
|
Loading…
Reference in New Issue