Initial settings dialog shown on settings-tool-button click

Not yet finished, it includes control for some check buttons currently.
This commit is contained in:
Mike Massonnet
2010-08-08 14:12:49 +02:00
parent 4fc28e6b8b
commit f546aa846b
6 changed files with 594 additions and 8 deletions

View File

@@ -35,6 +35,9 @@ enum
PROP_MORE_PRECISION,
PROP_FULL_COMMAND_LINE,
PROP_SHOW_STATUS_ICON,
PROP_SEND_QUIET_SIGNALS,
PROP_MONITOR_PAINT_BOX,
PROP_TOOLBAR_STYLE,
PROP_REFRESH_RATE,
PROP_COLUMNS_POSITIONS,
PROP_COLUMN_UID,
@@ -88,6 +91,12 @@ xtm_settings_class_init (XtmSettingsClass *klass)
g_param_spec_boolean ("full-command-line", "FullCommandLine", "Full command line", FALSE, G_PARAM_READWRITE));
g_object_class_install_property (class, PROP_SHOW_STATUS_ICON,
g_param_spec_boolean ("show-status-icon", "ShowStatusIcon", "Show/hide the status icon", TRUE, G_PARAM_READWRITE));
g_object_class_install_property (class, PROP_SEND_QUIET_SIGNALS,
g_param_spec_boolean ("send-quiet-signals", "SendQuietSignals", "Send quiet signals", FALSE, G_PARAM_READWRITE));
g_object_class_install_property (class, PROP_MONITOR_PAINT_BOX,
g_param_spec_boolean ("monitor-paint-box", "MonitorPaintBox", "Paint box around monitor", TRUE, G_PARAM_READWRITE));
//g_object_class_install_property (class, PROP_TOOLBAR_STYLE,
// g_param_spec_... ("toolbar-style", "ToolbarStyle", "Toolbar style", ...));
g_object_class_install_property (class, PROP_REFRESH_RATE,
g_param_spec_uint ("refresh-rate", "RefreshRate", "Refresh rate in milliseconds", 0, G_MAXUINT, 750, G_PARAM_READWRITE));
g_object_class_install_property (class, PROP_COLUMNS_POSITIONS,