summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-10-08 13:42:12 +0200
committerStefano Karapetsas <[email protected]>2014-10-08 13:44:13 +0200
commit163f01a8b527c1ed801f68681fc7d82a54d42b1c (patch)
treea557ace94f7cbd31b4e7ac5dee082ca069bfc94e
parentefab79ffa4bddcf812d02c776c7fd3b8a2945d67 (diff)
downloadmate-settings-daemon-163f01a8b527c1ed801f68681fc7d82a54d42b1c.tar.bz2
mate-settings-daemon-163f01a8b527c1ed801f68681fc7d82a54d42b1c.tar.xz
media-keys: Use galculator first
-rw-r--r--plugins/media-keys/msd-media-keys-manager.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/media-keys/msd-media-keys-manager.c b/plugins/media-keys/msd-media-keys-manager.c
index ad7665d..cc819c5 100644
--- a/plugins/media-keys/msd-media-keys-manager.c
+++ b/plugins/media-keys/msd-media-keys-manager.c
@@ -999,7 +999,9 @@ do_action (MsdMediaKeysManager *manager,
do_media_action (manager);
break;
case CALCULATOR_KEY:
- if ((cmd = g_find_program_in_path ("mate-calc"))) {
+ 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);