summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-08 14:34:54 +0200
committerraveit65 <[email protected]>2016-07-08 14:34:54 +0200
commitbd7ef85ff8659ad06d2d6f9068be144ca031a16d (patch)
tree223f9390fc703de1b6f31568691f5729023d9b37 /plugins
parentae71607132a4b1ed2a185e75e4141484b2b4c4fc (diff)
downloadmate-settings-daemon-bd7ef85ff8659ad06d2d6f9068be144ca031a16d.tar.bz2
mate-settings-daemon-bd7ef85ff8659ad06d2d6f9068be144ca031a16d.tar.xz
media-keys: bring back support for mate-calc
Diffstat (limited to 'plugins')
-rw-r--r--plugins/media-keys/msd-media-keys-manager.c2
1 files changed, 2 insertions, 0 deletions
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);
}