[Xfce4-commits] [xfce/thunar] 04/09: Copy Dialog: Increase icon size, use standard edit-copy icon

noreply at xfce.org noreply at xfce.org
Fri Sep 7 03:20:12 CEST 2018


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/thunar.

commit 40a9208e68ffa95ad32ff58d757e838fd2a62a4d
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sat Sep 1 22:50:55 2018 -0400

    Copy Dialog: Increase icon size, use standard edit-copy icon
---
 thunar/thunar-application.c     | 4 ++--
 thunar/thunar-progress-dialog.c | 4 ++--
 thunar/thunar-progress-view.c   | 3 ++-
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/thunar/thunar-application.c b/thunar/thunar-application.c
index 957c598..87d7ea6 100644
--- a/thunar/thunar-application.c
+++ b/thunar/thunar-application.c
@@ -1885,7 +1885,7 @@ thunar_application_copy_to (ThunarApplication *application,
   _thunar_return_if_fail (THUNAR_IS_APPLICATION (application));
 
   /* launch the operation */
-  thunar_application_launch (application, parent, "stock_folder-copy",
+  thunar_application_launch (application, parent, "edit-copy",
                              _("Copying files..."), thunar_io_jobs_copy_files,
                              source_file_list, target_file_list, new_files_closure);
 }
@@ -1926,7 +1926,7 @@ thunar_application_copy_into (ThunarApplication *application,
    g_free (display_name);
 
   /* collect the target files and launch the job */
-  thunar_application_collect_and_launch (application, parent, "stock_folder-copy",
+  thunar_application_collect_and_launch (application, parent, "edit-copy",
                                          title, thunar_io_jobs_copy_files,
                                          source_file_list, target_file,
                                          new_files_closure);
diff --git a/thunar/thunar-progress-dialog.c b/thunar/thunar-progress-dialog.c
index 673bc1a..7d227c2 100644
--- a/thunar/thunar-progress-dialog.c
+++ b/thunar/thunar-progress-dialog.c
@@ -111,7 +111,7 @@ thunar_progress_dialog_init (ThunarProgressDialog *dialog)
   gtk_widget_show (dialog->vbox);
 
   dialog->content_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
-  gtk_container_set_border_width (GTK_CONTAINER (dialog->content_box), 8);
+  gtk_container_set_border_width (GTK_CONTAINER (dialog->content_box), 12);
   gtk_container_add (GTK_CONTAINER (dialog->vbox), dialog->content_box);
   gtk_widget_show (dialog->content_box);
 }
@@ -157,7 +157,7 @@ thunar_progress_dialog_shown (ThunarProgressDialog *dialog)
   if (dialog->status_icon == NULL)
     {
 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
-      dialog->status_icon = gtk_status_icon_new_from_icon_name ("stock_folder-copy");
+      dialog->status_icon = gtk_status_icon_new_from_icon_name ("edit-copy");
 G_GNUC_END_IGNORE_DEPRECATIONS
 
       thunar_progress_dialog_update_status_icon (dialog);
diff --git a/thunar/thunar-progress-view.c b/thunar/thunar-progress-view.c
index e30fb68..59d4260 100644
--- a/thunar/thunar-progress-view.c
+++ b/thunar/thunar-progress-view.c
@@ -189,7 +189,8 @@ thunar_progress_view_init (ThunarProgressView *view)
   gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 0);
   gtk_widget_show (hbox);
 
-  image = g_object_new (GTK_TYPE_IMAGE, "icon-size", GTK_ICON_SIZE_BUTTON, NULL);
+  image = g_object_new (GTK_TYPE_IMAGE, "icon-size", GTK_ICON_SIZE_DND, NULL);
+  gtk_image_set_pixel_size (GTK_IMAGE(image), 32);
   gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, TRUE, 0);
   exo_binding_new (G_OBJECT (view), "icon-name", G_OBJECT (image), "icon-name");
   gtk_widget_show (image);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list