use the `network' stock icon in the "closing connections" dialog

This commit is contained in:
Charles Kerr 2007-11-29 04:48:27 +00:00
parent 944e042889
commit 5e4304f207
1 changed files with 4 additions and 0 deletions

View File

@ -447,6 +447,7 @@ static void
wannaquit( void * vdata )
{
GtkWidget * w;
GtkWidget * i;
struct cbdata * cbdata = vdata;
/* stop the update timer */
@ -460,6 +461,9 @@ wannaquit( void * vdata )
GTK_MESSAGE_INFO,
GTK_BUTTONS_NONE,
_("Closing Connections" ) );
i = gtk_image_new_from_stock( GTK_STOCK_NETWORK, GTK_ICON_SIZE_DIALOG );
gtk_widget_show( i );
gtk_message_dialog_set_image( GTK_MESSAGE_DIALOG(w), i );
gtk_message_dialog_format_secondary_text( GTK_MESSAGE_DIALOG(w),
_("Sending upload/download totals to tracker..." ) );
gtk_container_foreach( GTK_CONTAINER(GTK_DIALOG(w)->vbox), deselectLabels, NULL );