scripts: rewrite policy-device-profile and m-default-profile into a set of hooks
... excluding the persistent profile functionality for now (I am not convinced)
This commit is contained in:

committed by
Julian Bouzas

parent
e1a8c3459a
commit
f99c3005f2
@@ -132,7 +132,8 @@ get_object_type (gpointer obj, WpProperties **properties)
|
||||
static gint
|
||||
get_default_event_priority (const gchar *event_type)
|
||||
{
|
||||
if (!g_strcmp0 (event_type, "find-target-si-and-link"))
|
||||
if (!g_strcmp0 (event_type, "find-target-si-and-link") ||
|
||||
!g_strcmp0 (event_type, "select-profile"))
|
||||
return 500;
|
||||
else if (!g_strcmp0 (event_type, "rescan-session"))
|
||||
return -500;
|
||||
|
Reference in New Issue
Block a user