Updating branch refs/heads/master to 07787a1b5265480671a78e69d0a6e5e1c917f4ae (commit) from 406b914642fa3ff3f571261e536b62ab33e7a7ab (commit)
commit 07787a1b5265480671a78e69d0a6e5e1c917f4ae Author: Nick Schermer <n...@xfce.org> Date: Wed Sep 26 20:37:43 2012 +0200 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. thunar/thunar-progress-dialog.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/thunar/thunar-progress-dialog.c b/thunar/thunar-progress-dialog.c index 473a8f9..00add6d 100644 --- a/thunar/thunar-progress-dialog.c +++ b/thunar/thunar-progress-dialog.c @@ -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); _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits