display: Add some signals to the new configuration API
These will be useful to keep track of changes across different places in the new UI. https://bugzilla.gnome.org/show_bug.cgi?id=785949
This commit is contained in:
parent
9b0cf3391c
commit
7c89e30a47
3 changed files with 49 additions and 4 deletions
|
@ -82,6 +82,26 @@ cc_display_monitor_init (CcDisplayMonitor *self)
|
|||
static void
|
||||
cc_display_monitor_class_init (CcDisplayMonitorClass *klass)
|
||||
{
|
||||
g_signal_new ("rotation",
|
||||
CC_TYPE_DISPLAY_MONITOR,
|
||||
G_SIGNAL_RUN_LAST,
|
||||
0, NULL, NULL, NULL,
|
||||
G_TYPE_NONE, 0);
|
||||
g_signal_new ("mode",
|
||||
CC_TYPE_DISPLAY_MONITOR,
|
||||
G_SIGNAL_RUN_LAST,
|
||||
0, NULL, NULL, NULL,
|
||||
G_TYPE_NONE, 0);
|
||||
g_signal_new ("primary",
|
||||
CC_TYPE_DISPLAY_MONITOR,
|
||||
G_SIGNAL_RUN_LAST,
|
||||
0, NULL, NULL, NULL,
|
||||
G_TYPE_NONE, 0);
|
||||
g_signal_new ("active",
|
||||
CC_TYPE_DISPLAY_MONITOR,
|
||||
G_SIGNAL_RUN_LAST,
|
||||
0, NULL, NULL, NULL,
|
||||
G_TYPE_NONE, 0);
|
||||
}
|
||||
|
||||
const char *
|
||||
|
@ -237,6 +257,11 @@ cc_display_config_init (CcDisplayConfig *self)
|
|||
static void
|
||||
cc_display_config_class_init (CcDisplayConfigClass *klass)
|
||||
{
|
||||
g_signal_new ("primary",
|
||||
CC_TYPE_DISPLAY_CONFIG,
|
||||
G_SIGNAL_RUN_LAST,
|
||||
0, NULL, NULL, NULL,
|
||||
G_TYPE_NONE, 0);
|
||||
}
|
||||
|
||||
GList *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue