We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3781c0b commit fd0baabCopy full SHA for fd0baab
meson.build
@@ -24,6 +24,7 @@ executable(
24
dependency('polkit-agent-1'),
25
dependency('polkit-gobject-1'),
26
dependency('pantheon-wayland-1'),
27
+ dependency('libcanberra'),
28
meson.get_compiler('vala').find_library('posix')
29
],
30
c_args: [
src/Agent.vala
@@ -35,6 +35,15 @@ namespace Ag {
35
dialog.done.connect (() => initiate_authentication.callback ());
36
37
dialog.present ();
38
+
39
+ Canberra.Context? ca_context = null;
40
+ Canberra.Context.create (out ca_context);
41
+ if (ca_context != null) {
42
+ ca_context.change_props (Canberra.PROP_CANBERRA_XDG_THEME_NAME, "elementary");
43
+ ca_context.open ();
44
+ ca_context.play (0, Canberra.PROP_EVENT_ID, "dialog-question");
45
+ }
46
47
yield;
48
49
dialog.destroy ();
0 commit comments