bgo#608537 - Make the file chooser's sort arrows consistent with the HIG

... Although I think the HIG gets things backwards anyway.
Signed-off-by: 's avatarFederico Mena Quintero <federico@novell.com>
parent 46031962
......@@ -6119,7 +6119,7 @@ size_sort_func (GtkTreeModel *model,
size_a = g_value_get_int64 (_gtk_file_system_model_get_value (fs_model, a, MODEL_COL_SIZE));
size_b = g_value_get_int64 (_gtk_file_system_model_get_value (fs_model, b, MODEL_COL_SIZE));
return size_a > size_b ? -1 : (size_a == size_b ? 0 : 1);
return size_a < size_b ? -1 : (size_a == size_b ? 0 : 1);
}
}
......@@ -6138,7 +6138,7 @@ mtime_sort_func (GtkTreeModel *model,
ta = g_value_get_long (_gtk_file_system_model_get_value (fs_model, a, MODEL_COL_MTIME));
tb = g_value_get_long (_gtk_file_system_model_get_value (fs_model, b, MODEL_COL_MTIME));
return ta > tb ? -1 : (ta == tb ? 0 : 1);
return ta < tb ? -1 : (ta == tb ? 0 : 1);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment