display: Add panel-orientation-managed signal to CcDisplayConfig

So we can track changes on this property.
This commit is contained in:
Carlos Garnacho 2020-06-11 16:11:55 +02:00
parent b91a83c402
commit c89f5ca526
2 changed files with 48 additions and 10 deletions

View file

@ -486,6 +486,11 @@ cc_display_config_class_init (CcDisplayConfigClass *klass)
G_SIGNAL_RUN_LAST,
0, NULL, NULL, NULL,
G_TYPE_NONE, 0);
g_signal_new ("panel-orientation-managed",
CC_TYPE_DISPLAY_CONFIG,
G_SIGNAL_RUN_LAST,
0, NULL, NULL, NULL,
G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
gobject_class->constructed = cc_display_config_constructed;
gobject_class->finalize = cc_display_config_finalize;