[Xfce4-commits] [xfce/thunar] 01/01: Add property to enable/disable frames on thumbnails (Part II) (Bug #14433) - Fix GLib-GObject-CRITICAL at startup

noreply at xfce.org noreply at xfce.org
Wed Jul 11 21:25:25 CEST 2018


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

a   l   e   x       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 c27af662247e56d283c7a41190bec65faea05031
Author: Alexander Schwinn <acs82 at gmx.de>
Date:   Wed Jul 11 21:24:40 2018 +0200

    Add property to enable/disable frames on thumbnails (Part II)
    (Bug #14433) - Fix GLib-GObject-CRITICAL at startup
---
 thunar/thunar-standard-view.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/thunar/thunar-standard-view.c b/thunar/thunar-standard-view.c
index 8fb5e03..cd6924d 100644
--- a/thunar/thunar-standard-view.c
+++ b/thunar/thunar-standard-view.c
@@ -800,9 +800,6 @@ thunar_standard_view_constructor (GType                  type,
   exo_binding_new (G_OBJECT (standard_view->preferences), "misc-single-click", G_OBJECT (view), "single-click");
   exo_binding_new (G_OBJECT (standard_view->preferences), "misc-single-click-timeout", G_OBJECT (view), "single-click-timeout");
 
-  /* apply the thumbnail frame preferences */
-  exo_binding_new (G_OBJECT (standard_view->preferences), "misc-thumbnail-draw-frames", G_OBJECT (standard_view), "thumbnail-draw-frames");
-
   /* apply the default sort column and sort order */
   g_object_get (G_OBJECT (standard_view->preferences), "last-sort-column", &sort_column, "last-sort-order", &sort_order, NULL);
   gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (standard_view->model), sort_column, sort_order);
@@ -1098,6 +1095,10 @@ thunar_standard_view_realize (GtkWidget *widget)
                             "notify::thumbnail_mode",
                             G_CALLBACK (thunar_standard_view_thumbnail_mode_toggled),
                             standard_view);
+
+  /* apply the thumbnail frame preferences after icon_factory got initialized */
+  exo_binding_new (G_OBJECT (standard_view->preferences), "misc-thumbnail-draw-frames", G_OBJECT (standard_view), "thumbnail-draw-frames");
+
 }
 
 

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


More information about the Xfce4-commits mailing list