From cd4e3385d0e7a688e15f6fcca405c171dc4d8199 Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Sun, 24 Oct 2010 00:06:14 +0300 Subject: [PATCH] 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 --- gui/save_project_dialog.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gui/save_project_dialog.c b/gui/save_project_dialog.c index 05c2e22e..6c548509 100644 --- a/gui/save_project_dialog.c +++ b/gui/save_project_dialog.c @@ -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)