Store column positions again

This commit is contained in:
Simon Steinbeiss
2021-02-18 17:30:56 +01:00
parent 31feaf1d26
commit b376e3d1b0
2 changed files with 3 additions and 0 deletions

View File

@@ -196,6 +196,8 @@ xtm_settings_bind_xfconf (XtmSettings *settings, XfconfChannel *channel)
G_OBJECT (settings), "sort-column-id"); G_OBJECT (settings), "sort-column-id");
xfconf_g_property_bind (channel, SETTING_COLUMN_SORT_TYPE, G_TYPE_UINT, xfconf_g_property_bind (channel, SETTING_COLUMN_SORT_TYPE, G_TYPE_UINT,
G_OBJECT (settings), "sort-type"); G_OBJECT (settings), "sort-type");
xfconf_g_property_bind (channel, SETTING_COLUMN_POSITIONS, G_TYPE_STRING,
G_OBJECT (settings), "columns-positions");
} }
XtmSettings * XtmSettings *

View File

@@ -52,6 +52,7 @@
#define SETTING_COLUMN_PRIORITY "/columns/column-priority" #define SETTING_COLUMN_PRIORITY "/columns/column-priority"
#define SETTING_COLUMN_SORT_ID "/columns/sort-id" #define SETTING_COLUMN_SORT_ID "/columns/sort-id"
#define SETTING_COLUMN_SORT_TYPE "/columns/sort-type" #define SETTING_COLUMN_SORT_TYPE "/columns/sort-type"
#define SETTING_COLUMN_POSITIONS "/columns/positions"
#define XTM_TYPE_SETTINGS (xtm_settings_get_type ()) #define XTM_TYPE_SETTINGS (xtm_settings_get_type ())
#define XTM_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XTM_TYPE_SETTINGS, XtmSettings)) #define XTM_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XTM_TYPE_SETTINGS, XtmSettings))