Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Services/ShellKeyGrabber.vala
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @POPUP: allow action while a shell menu is open
*/
[Flags]
public enum ActionMode {
public enum Sound.ActionMode {
NONE = 0,
NORMAL = 1 << 0,
OVERVIEW = 1 << 1,
Expand All @@ -24,7 +24,7 @@ public enum ActionMode {
}

[Flags]
public enum Meta.KeyBindingFlags {
public enum Sound.Meta.KeyBindingFlags {
NONE = 0,
PER_WINDOW = 1 << 0,
BUILTIN = 1 << 1,
Expand All @@ -33,14 +33,14 @@ public enum Meta.KeyBindingFlags {
IGNORE_AUTOREPEAT = 1 << 4,
}

public struct Accelerator {
public struct Sound.Accelerator {
public string name;
public ActionMode mode_flags;
public Meta.KeyBindingFlags grab_flags;
}

[DBus (name = "org.gnome.Shell")]
public interface ShellKeyGrabber : GLib.Object {
public interface Sound.ShellKeyGrabber : GLib.Object {
public abstract signal void accelerator_activated (uint action, GLib.HashTable<string, GLib.Variant> parameters_dict);

public abstract uint grab_accelerator (string accelerator, ActionMode mode_flags, Meta.KeyBindingFlags grab_flags) throws GLib.DBusError, GLib.IOError;
Expand Down
Loading