From 2eb3a335ce24637e18b38259b918f97aededfcb4 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sat, 7 Mar 2015 01:00:32 -0600 Subject: [PATCH] thunar-preferences.c lists PROP_MISC_FILE_SIZE_BINARY but thunar-list-model.c has PROP_FILE_SIZE_BINARY --- thunar/thunar-list-model.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/thunar/thunar-list-model.c b/thunar/thunar-list-model.c index a0eb7ec..2638653 100644 --- a/thunar/thunar-list-model.c +++ b/thunar/thunar-list-model.c @@ -50,7 +50,7 @@ enum PROP_FOLDERS_FIRST, PROP_NUM_FILES, PROP_SHOW_HIDDEN, - PROP_FILE_SIZE_BINARY, + PROP_MISC_FILE_SIZE_BINARY, N_PROPERTIES }; @@ -338,7 +338,7 @@ thunar_list_model_class_init (ThunarListModelClass *klass) * * Tells whether to format file size in binary. **/ - list_model_props[PROP_FILE_SIZE_BINARY] = + list_model_props[PROP_MISC_FILE_SIZE_BINARY] = g_param_spec_boolean ("file-size-binary", "file-size-binary", "file-size-binary", @@ -496,7 +496,7 @@ thunar_list_model_get_property (GObject *object, g_value_set_boolean (value, thunar_list_model_get_show_hidden (store)); break; - case PROP_FILE_SIZE_BINARY: + case PROP_MISC_FILE_SIZE_BINARY: g_value_set_boolean (value, thunar_list_model_get_file_size_binary (store)); break; @@ -538,7 +538,7 @@ thunar_list_model_set_property (GObject *object, thunar_list_model_set_show_hidden (store, g_value_get_boolean (value)); break; - case PROP_FILE_SIZE_BINARY: + case PROP_MISC_FILE_SIZE_BINARY: thunar_list_model_set_file_size_binary (store, g_value_get_boolean (value)); break; @@ -2035,7 +2035,7 @@ thunar_list_model_set_file_size_binary (ThunarListModel *store, thunar_list_model_sort (store); /* notify listeners */ - g_object_notify_by_pspec (G_OBJECT (store), list_model_props[PROP_FILE_SIZE_BINARY]); + g_object_notify_by_pspec (G_OBJECT (store), list_model_props[PROP_MISC_FILE_SIZE_BINARY]); } } -- 2.3.1