[Xfce4-commits] [xfce/thunar] 03/03: Rename tsv_restore_selection to tsv_select_after_row_deleted

noreply at xfce.org noreply at xfce.org
Thu Apr 2 19:43:03 CEST 2015


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

hjudt pushed a commit to branch master
in repository xfce/thunar.

commit 46afcbe61214eace111d1997834e3d39a1c9d50f
Author: Harald Judt <h.judt at gmx.at>
Date:   Wed Apr 1 16:54:57 2015 +0200

    Rename tsv_restore_selection to tsv_select_after_row_deleted
    
    To avoid confusion with the many select functions rename this to
    thunar_standard_view_select_after_row_deleted, which is also the only
    scenario this is used in.
---
 thunar/thunar-standard-view.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/thunar/thunar-standard-view.c b/thunar/thunar-standard-view.c
index f980113..ce9d3d9 100644
--- a/thunar/thunar-standard-view.c
+++ b/thunar/thunar-standard-view.c
@@ -267,7 +267,7 @@ static void                 thunar_standard_view_row_changed                (Thu
                                                                              GtkTreePath              *path,
                                                                              GtkTreeIter              *iter,
                                                                              ThunarStandardView       *standard_view);
-static void                 thunar_standard_view_restore_selection          (ThunarListModel          *model,
+static void                 thunar_standard_view_select_after_row_deleted   (ThunarListModel          *model,
                                                                              GtkTreePath              *path,
                                                                              ThunarStandardView       *standard_view);
 static void                 thunar_standard_view_error                      (ThunarListModel          *model,
@@ -689,7 +689,7 @@ thunar_standard_view_init (ThunarStandardView *standard_view)
   standard_view->model = thunar_list_model_new ();
   g_signal_connect (G_OBJECT (standard_view->model), "row-deleted", G_CALLBACK (thunar_standard_view_row_deleted), standard_view);
   standard_view->priv->row_changed_id = g_signal_connect (G_OBJECT (standard_view->model), "row-changed", G_CALLBACK (thunar_standard_view_row_changed), standard_view);
-  g_signal_connect_after (G_OBJECT (standard_view->model), "row-deleted", G_CALLBACK (thunar_standard_view_restore_selection), standard_view);
+  g_signal_connect_after (G_OBJECT (standard_view->model), "row-deleted", G_CALLBACK (thunar_standard_view_select_after_row_deleted), standard_view);
   g_signal_connect (G_OBJECT (standard_view->model), "error", G_CALLBACK (thunar_standard_view_error), standard_view);
   exo_binding_new (G_OBJECT (standard_view->preferences), "misc-case-sensitive", G_OBJECT (standard_view->model), "case-sensitive");
   exo_binding_new (G_OBJECT (standard_view->preferences), "misc-date-style", G_OBJECT (standard_view->model), "date-style");
@@ -3696,9 +3696,9 @@ thunar_standard_view_row_changed (ThunarListModel    *model,
 
 
 static void
-thunar_standard_view_restore_selection (ThunarListModel    *model,
-                                        GtkTreePath        *path,
-                                        ThunarStandardView *standard_view)
+thunar_standard_view_select_after_row_deleted (ThunarListModel    *model,
+                                               GtkTreePath        *path,
+                                               ThunarStandardView *standard_view)
 {
   _thunar_return_if_fail (THUNAR_IS_LIST_MODEL (model));
   _thunar_return_if_fail (path != NULL);

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


More information about the Xfce4-commits mailing list