Skip to content
Snippets Groups Projects
Commit 07787a1b authored by Nick Schermer's avatar Nick Schermer
Browse files

Use the first job's icon-name for the dialog (bug #6808).

Changing icons is probably a bit strange and lets assume quite
often only a single job is running, this is better then the
default Thunar icon.
parent 406b9146
No related branches found
No related tags found
No related merge requests found
......@@ -339,7 +339,11 @@ thunar_progress_dialog_add_job (ThunarProgressDialog *dialog,
thunar_progress_view_set_title (THUNAR_PROGRESS_VIEW (view), title);
gtk_box_pack_start (GTK_BOX (dialog->content_box), view, FALSE, TRUE, 0);
gtk_widget_show (view);
/* use the first job's icon-name for the dialog */
if (dialog->views == NULL)
gtk_window_set_icon_name (GTK_WINDOW (dialog), icon_name);
/* add the view to the list of known views */
dialog->views = g_list_prepend (dialog->views, view);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment