diff options
Diffstat (limited to 'src/phone.vala')
-rw-r--r-- | src/phone.vala | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/phone.vala b/src/phone.vala index 05e6b9d..8adc111 100644 --- a/src/phone.vala +++ b/src/phone.vala @@ -39,7 +39,8 @@ class Phone: Profile var section = new Menu (); section.append_item (create_enabled_menuitem ()); - section.append (_("Bluetooth settingsā¦"), "indicator.phone-show-settings::bluetooth"); + section.append (_("Bluetooth settingsā¦"), + "indicator.phone-show-settings::bluetooth"); menu.append_section (null, section); // know when to show the indicator & when to hide it @@ -66,7 +67,10 @@ class Phone: Profile Action create_settings_action () { var action = new SimpleAction ("phone-show-settings", VariantType.STRING); - action.activate.connect ((action, panel) => show_settings (panel.get_string())); + + action.activate.connect ((action, panel) + => show_settings (panel.get_string())); + return action; } } |