summaryrefslogtreecommitdiff
path: root/font-viewer/font-model.h
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-01-08 19:22:47 +0100
committerraveit65 <[email protected]>2017-02-17 12:28:22 +0100
commite6e8ad42a6a217c7124a71e568a343087e26440f (patch)
tree602fbe2f9c923d835645f735f8a2443d469d4bef /font-viewer/font-model.h
parent37052d6d0b5d63e7be05237e79eea38a8cb564e5 (diff)
downloadmate-control-center-e6e8ad42a6a217c7124a71e568a343087e26440f.tar.bz2
mate-control-center-e6e8ad42a6a217c7124a71e568a343087e26440f.tar.xz
Fontviewer: font-model, use g_utf8_collation_key to sort the model
So that we get the right sort order according to the current locale. Store the collation key in the model to avoid a performance hit. Taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=d6a5278
Diffstat (limited to 'font-viewer/font-model.h')
-rw-r--r--font-viewer/font-model.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/font-viewer/font-model.h b/font-viewer/font-model.h
index 10d7f8b0..f4ae79aa 100644
--- a/font-viewer/font-model.h
+++ b/font-viewer/font-model.h
@@ -35,6 +35,7 @@ typedef enum {
COLUMN_POINTER,
COLUMN_PATH,
COLUMN_ICON,
+ COLUMN_COLLATION_KEY,
NUM_COLUMNS
} FontViewModelColumns;