[Xfce4-commits] <thunar:master> Use GtkTreeModel in renamer dialog.

Nick Schermer noreply at xfce.org
Sun Nov 4 11:16:01 CET 2012


Updating branch refs/heads/master
         to 44d5ab0bf8adb194c77eb4101c79c22fab0f9163 (commit)
       from 1ba522fd9a7defb174ed67b40d6d9ba838ba665c (commit)

commit 44d5ab0bf8adb194c77eb4101c79c22fab0f9163
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Nov 4 11:10:52 2012 +0100

    Use GtkTreeModel in renamer dialog.
    
    No use for the exo model here.

 thunar/thunar-renamer-dialog.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/thunar/thunar-renamer-dialog.c b/thunar/thunar-renamer-dialog.c
index 4a50ea4..4ca6d57 100644
--- a/thunar/thunar-renamer-dialog.c
+++ b/thunar/thunar-renamer-dialog.c
@@ -396,8 +396,7 @@ thunar_renamer_dialog_init (ThunarRenamerDialog *renamer_dialog)
   gtk_widget_show (swin);
 
   /* create the tree view */
-  renamer_dialog->tree_view = exo_tree_view_new ();
-  gtk_tree_view_set_model (GTK_TREE_VIEW (renamer_dialog->tree_view), GTK_TREE_MODEL (renamer_dialog->model));
+  renamer_dialog->tree_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (renamer_dialog->model));
   gtk_tree_view_set_search_column (GTK_TREE_VIEW (renamer_dialog->tree_view), THUNAR_RENAMER_MODEL_COLUMN_OLDNAME);
   gtk_tree_view_set_fixed_height_mode (GTK_TREE_VIEW (renamer_dialog->tree_view), TRUE);
   gtk_tree_view_set_enable_search (GTK_TREE_VIEW (renamer_dialog->tree_view), TRUE);


More information about the Xfce4-commits mailing list