diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-12-21 13:30:37 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-12-21 13:34:00 +0900 |
commit | 0ce0e633795a5f5b0ff33987d936dfb4384f4dfa (patch) | |
tree | ef277e5769950a47037273d486c1005bfdd2074d /src | |
parent | f4c021c84691fba7c3ff8dc04e2bd49919ee3936 (diff) | |
download | glade-0ce0e633795a5f5b0ff33987d936dfb4384f4dfa.tar.gz |
Added loading objects dialog with progress and cancel.
* src/main.c: Display window before loading command line specified projects.
* gladeui/glade-project.[ch]: Added dialog that pops up when about to load
a large project with glade_project_push_project() to push the progress and
glade_project_load_cancelled() to check and abort while loading the project.
* gladeui/glade-widget.c, gladeui/glade-widget-adaptor.c: Push progress and
abort loading when project indicates the user cancelled the load.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -161,7 +161,8 @@ main (int argc, char *argv[]) if (without_devhelp == FALSE) glade_window_check_devhelp (window); - + + gtk_widget_show (GTK_WIDGET (window)); /* load files specified on commandline */ if (files != NULL) @@ -181,8 +182,6 @@ main (int argc, char *argv[]) if (glade_app_get_project () == NULL) glade_window_new_project (window); - gtk_widget_show (GTK_WIDGET (window)); - gtk_main (); return 0; |