diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-08-23 14:25:42 +0000 |
---|---|---|
committer | Tarmac <> | 2013-08-23 14:25:42 +0000 |
commit | 43c384d32471b1d8ce96e40e5c6b3ed262c12d0f (patch) | |
tree | d5bce1d749ba12df7f220a3bb641cda4e844df30 /src | |
parent | 2ee6f894cff259e4b77bc117623ead05b7740169 (diff) | |
parent | 076c482fb033472145454deedfc21e97dc7412d7 (diff) | |
download | ayatana-indicator-bluetooth-43c384d32471b1d8ce96e40e5c6b3ed262c12d0f.tar.gz ayatana-indicator-bluetooth-43c384d32471b1d8ce96e40e5c6b3ed262c12d0f.tar.bz2 ayatana-indicator-bluetooth-43c384d32471b1d8ce96e40e5c6b3ed262c12d0f.zip |
Don't use deprecated GSimpleActionGroup APIs.
Approved by Ted Gould, PS Jenkins bot.
Diffstat (limited to 'src')
-rw-r--r-- | src/desktop.vala | 4 | ||||
-rw-r--r-- | src/phone.vala | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/desktop.vala b/src/desktop.vala index 4a10db8..17d7cb6 100644 --- a/src/desktop.vala +++ b/src/desktop.vala @@ -59,7 +59,7 @@ class Desktop: Profile actions += create_send_file_action (); actions += create_show_settings_action (); foreach (var a in actions) - action_group.insert (a); + action_group.add_action (a); build_menu (); @@ -112,7 +112,7 @@ class Desktop: Profile => bluetooth.set_device_connected (id, a.get_state().get_boolean())); connect_actions.insert (device.id, a); - action_group.insert (a); + action_group.add_action (a); } else { diff --git a/src/phone.vala b/src/phone.vala index 43ca554..e90cd66 100644 --- a/src/phone.vala +++ b/src/phone.vala @@ -35,7 +35,7 @@ class Phone: Profile actions += create_enabled_action (bluetooth); actions += create_settings_action (); foreach (var a in actions) - action_group.insert (a); + action_group.add_action (a); var section = new Menu (); section.append_item (create_enabled_menuitem ()); |