+2006-12-13 [colin] 2.6.1cvs26
+
+ * src/main.c
+ * src/main.h
+ Add claws_is_starting()
+
2006-12-13 [mones] 2.6.1cvs25
* manual/es/advanced.xml
( cvs diff -u -r 1.115.2.116 -r 1.115.2.117 src/main.c; ) > 2.6.1cvs23.patchset
( cvs diff -u -r 1.1.2.42 -r 1.1.2.43 src/wizard.c; ) > 2.6.1cvs24.patchset
( cvs diff -u -r 1.1.2.8 -r 1.1.2.9 manual/es/advanced.xml; cvs diff -u -r 1.60.2.38 -r 1.60.2.39 po/es.po; ) > 2.6.1cvs25.patchset
+( cvs diff -u -r 1.115.2.117 -r 1.115.2.118 src/main.c; cvs diff -u -r 1.7.2.6 -r 1.7.2.7 src/main.h; ) > 2.6.1cvs26.patchset
MICRO_VERSION=1
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=25
+EXTRA_VERSION=26
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
}
#endif
+static gboolean sc_exiting = FALSE;
+static gboolean sc_starting = FALSE;
+
int main(int argc, char *argv[])
{
gchar *userrc;
gint num_folder_class = 0;
START_TIMING("startup");
+ sc_starting = TRUE;
+
if (!claws_init(&argc, &argv)) {
return 0;
}
}
prefs_destroy_cache();
+
+ sc_starting = FALSE;
END_TIMING();
+
gtk_main();
exit_claws(mainwin);
folder_item_free_cache(item, TRUE);
}
-static gboolean sc_exiting = FALSE;
-
static void exit_claws(MainWindow *mainwin)
{
gchar *filename;
return sc_exiting;
}
+gboolean claws_is_starting(void)
+{
+ return sc_starting;
+}
+
/*
* CLAWS: want this public so crash dialog can delete the
* lock file too
void app_will_exit (GtkWidget *widget, gpointer data);
gboolean clean_quit (gpointer data);
gboolean claws_is_exiting(void);
-
+gboolean claws_is_starting(void);
#endif /* __MAIN_H__ */