Merge lp:~jbicha/unity-settings-daemon/fix-calculator-key into lp:unity-settings-daemon

Proposed by Jeremy Bícha
Status: Merged
Approved by: Marco Trevisan (Treviño)
Approved revision: 4163
Merged at revision: 4163
Proposed branch: lp:~jbicha/unity-settings-daemon/fix-calculator-key
Merge into: lp:unity-settings-daemon
Diff against target: 12 lines (+1/-1)
1 file modified
plugins/media-keys/gsd-media-keys-manager.c (+1/-1)
To merge this branch: bzr merge lp:~jbicha/unity-settings-daemon/fix-calculator-key
Reviewer Review Type Date Requested Status
Marco Trevisan (Treviño) Approve
Review via email: mp+322673@code.launchpad.net

Commit message

Fix calculator keyboard key by adapting to gnome-calculator 3.24 .desktop rename (LP: #1676431)

To post a comment you must log in.
Revision history for this message
Jeremy Bícha (jbicha) wrote :
Revision history for this message
Jeremy Bícha (jbicha) wrote :
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Tested with

  xdotool key XF86Calculator

This works properly. Approved, thanks.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/media-keys/gsd-media-keys-manager.c'
2--- plugins/media-keys/gsd-media-keys-manager.c 2016-05-20 17:01:02 +0000
3+++ plugins/media-keys/gsd-media-keys-manager.c 2017-04-18 12:03:24 +0000
4@@ -2573,7 +2573,7 @@
5 do_media_action (manager, timestamp);
6 break;
7 case CALCULATOR_KEY:
8- do_execute_desktop_or_desktop (manager, "gcalctool.desktop", "gnome-calculator.desktop", timestamp);
9+ do_execute_desktop_or_desktop (manager, "org.gnome.Calculator.desktop", "gnome-calculator.desktop", timestamp);
10 break;
11 case PLAY_KEY:
12 return do_multimedia_player_action (manager, NULL, "Play");

Subscribers

People subscribed via source and target branches