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:
Nedko Arnaudov 2010-10-24 00:06:14 +03:00
parent 03ad8a4cc0
commit cd4e3385d0
1 changed files with 0 additions and 6 deletions

View File

@ -34,10 +34,6 @@ static void on_path_button_clicked(void)
GtkWidget * dialog; GtkWidget * dialog;
GtkResponseType response; GtkResponseType response;
static bool runing;
if(runing) return;
runing = true;
dialog = get_gtk_builder_widget("project_save_as_dir_sel_dialog"); dialog = get_gtk_builder_widget("project_save_as_dir_sel_dialog");
gtk_widget_show(dialog); gtk_widget_show(dialog);
@ -50,8 +46,6 @@ static void on_path_button_clicked(void)
path, path,
gtk_file_chooser_get_filename( GTK_FILE_CHOOSER(dialog)) ); gtk_file_chooser_get_filename( GTK_FILE_CHOOSER(dialog)) );
} }
runing = false;
} }
void ladish_run_save_project_dialog(ladish_room_proxy_handle room) void ladish_run_save_project_dialog(ladish_room_proxy_handle room)