forked from osmocom/wireshark
If the user has G_LOG_LEVEL_INFO enabled, provide startup progress messages.
svn path=/trunk/; revision=23606
This commit is contained in:
parent
dd0a4750b0
commit
9e16f1313c
|
@ -38,6 +38,7 @@
|
|||
#include "file_dlg.h"
|
||||
#include "compat_macros.h"
|
||||
#include "globals.h"
|
||||
#include "log.h"
|
||||
#if GTK_MAJOR_VERSION >= 2 || GTK_MINOR_VERSION >= 3
|
||||
#include "text_page.h"
|
||||
#endif
|
||||
|
@ -222,6 +223,7 @@ splash_update(register_action_e action, const char *message, gpointer client_dat
|
|||
break;
|
||||
}
|
||||
splash_update_label(win, action_msg);
|
||||
g_log(LOG_DOMAIN_MAIN, G_LOG_LEVEL_INFO, action_msg);
|
||||
last_action = action;
|
||||
}
|
||||
|
||||
|
|
|
@ -3093,6 +3093,8 @@ main(int argc, char *argv[])
|
|||
/* register our pid if we are being run from a U3 device */
|
||||
u3_register_pid();
|
||||
|
||||
g_log(LOG_DOMAIN_MAIN, G_LOG_LEVEL_INFO, "Wireshark is up and ready to go");
|
||||
|
||||
/* we'll enter the GTK loop now and hand the control over to GTK ... */
|
||||
gtk_main();
|
||||
/* ... back from GTK, we're going down now! */
|
||||
|
|
Loading…
Reference in New Issue