summaryrefslogtreecommitdiff
path: root/plugins/media-keys/msd-media-keys-manager.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-07-08 15:07:52 +0300
committermonsta <[email protected]>2016-07-08 15:07:52 +0300
commitae71607132a4b1ed2a185e75e4141484b2b4c4fc (patch)
tree99ffe01f7d7b019b827bbbe2c56dd0d745440d03 /plugins/media-keys/msd-media-keys-manager.c
parenta2bc1dfc42fda72cc8ceb04ce9b6c90f715166cc (diff)
downloadmate-settings-daemon-ae71607132a4b1ed2a185e75e4141484b2b4c4fc.tar.bz2
mate-settings-daemon-ae71607132a4b1ed2a185e75e4141484b2b4c4fc.tar.xz
media-keys: support gnome-calculator, drop support for mate-calc
- gcalctool is known as gnome-calculator these days - mate-calc is obsolete since 1.10
Diffstat (limited to 'plugins/media-keys/msd-media-keys-manager.c')
-rw-r--r--plugins/media-keys/msd-media-keys-manager.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/media-keys/msd-media-keys-manager.c b/plugins/media-keys/msd-media-keys-manager.c
index c6236c8..4d4997c 100644
--- a/plugins/media-keys/msd-media-keys-manager.c
+++ b/plugins/media-keys/msd-media-keys-manager.c
@@ -1003,10 +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, "gcalctool", FALSE, FALSE);
+ execute (manager, "gnome-calculator", FALSE, FALSE);
}
g_free (cmd);