From bd7ef85ff8659ad06d2d6f9068be144ca031a16d Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 8 Jul 2016 14:34:54 +0200 Subject: media-keys: bring back support for mate-calc --- plugins/media-keys/msd-media-keys-manager.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins') diff --git a/plugins/media-keys/msd-media-keys-manager.c b/plugins/media-keys/msd-media-keys-manager.c index 4d4997c..7526a89 100644 --- a/plugins/media-keys/msd-media-keys-manager.c +++ b/plugins/media-keys/msd-media-keys-manager.c @@ -1003,6 +1003,8 @@ do_action (MsdMediaKeysManager *manager, case CALCULATOR_KEY: if ((cmd = g_find_program_in_path ("galculator"))) { execute (manager, "galculator", FALSE, FALSE); + } else if ((cmd = g_find_program_in_path ("mate-calc"))) { + execute (manager, "mate-calc", FALSE, FALSE); } else { execute (manager, "gnome-calculator", FALSE, FALSE); } -- cgit v1.2.1