Store sort-column-id and sort-type (Fixes #36)
This commit is contained in:
@@ -191,6 +191,11 @@ xtm_settings_bind_xfconf (XtmSettings *settings, XfconfChannel *channel)
|
|||||||
G_OBJECT (settings), "column-cpu");
|
G_OBJECT (settings), "column-cpu");
|
||||||
xfconf_g_property_bind (channel, SETTING_COLUMN_PRIORITY, G_TYPE_BOOLEAN,
|
xfconf_g_property_bind (channel, SETTING_COLUMN_PRIORITY, G_TYPE_BOOLEAN,
|
||||||
G_OBJECT (settings), "column-priority");
|
G_OBJECT (settings), "column-priority");
|
||||||
|
|
||||||
|
xfconf_g_property_bind (channel, SETTING_COLUMN_SORT_ID, G_TYPE_UINT,
|
||||||
|
G_OBJECT (settings), "sort-column-id");
|
||||||
|
xfconf_g_property_bind (channel, SETTING_COLUMN_SORT_TYPE, G_TYPE_UINT,
|
||||||
|
G_OBJECT (settings), "sort-type");
|
||||||
}
|
}
|
||||||
|
|
||||||
XtmSettings *
|
XtmSettings *
|
||||||
|
|||||||
@@ -50,6 +50,8 @@
|
|||||||
#define SETTING_COLUMN_UID "/columns/column-uid"
|
#define SETTING_COLUMN_UID "/columns/column-uid"
|
||||||
#define SETTING_COLUMN_CPU "/columns/column-cpu"
|
#define SETTING_COLUMN_CPU "/columns/column-cpu"
|
||||||
#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_TYPE "/columns/sort-type"
|
||||||
|
|
||||||
#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))
|
||||||
|
|||||||
Reference in New Issue
Block a user