Merge lp:~lexsurkov/pantheon-calculator/Bug_1409485 into lp:~elementary-apps/pantheon-calculator/trunk

Proposed by lexsurkov
Status: Superseded
Proposed branch: lp:~lexsurkov/pantheon-calculator/Bug_1409485
Merge into: lp:~elementary-apps/pantheon-calculator/trunk
Diff against target: 22 lines (+12/-0)
1 file modified
src/MainWindow.vala (+12/-0)
To merge this branch: bzr merge lp:~lexsurkov/pantheon-calculator/Bug_1409485
Reviewer Review Type Date Requested Status
kay van der Zander (community) Needs Fixing
xapantu Pending
Review via email: mp+271177@code.launchpad.net

This proposal supersedes a proposal from 2015-09-01.

This proposal has been superseded by a proposal from 2015-09-17.

Commit message

Fixed Bug_1409485

Description of the change

Fixed Bug_1409485

To post a comment you must log in.
Revision history for this message
xapantu (xapantu) wrote : Posted in a previous version of this proposal

It looks like you forgot to commit your changes, this branch is the same as the trunk.

review: Needs Information
Revision history for this message
xapantu (xapantu) wrote : Posted in a previous version of this proposal

Hum, listening to the event signal directly is not needed. Maybe you can just move your code to the key_pressed method?

review: Needs Fixing
Revision history for this message
lexsurkov (lexsurkov) wrote : Posted in a previous version of this proposal

Thank you, hastened to, not tested in the method key_pressed. In the future, I will carefully)))
Now I corrected.
.

> 15.09.2015, 2:18:25 пользователь xapantu (<email address hidden>) написал:
>
> Review: Needs Fixing
>
> Hum, listening to the event signal directly is not needed. Maybe you can just move your code to the key_pressed method?
> --
> https://code.launchpad.net/~lexsurkov/pantheon-calculator/Bug_1409485/+merge/269764
> You are the owner of lp:~lexsurkov/pantheon-calculator/Bug_1409485.
>
>

Revision history for this message
kay van der Zander (kay20) wrote :

the targeted bug is still not fixed in this branch.

http://imgur.com/H84xfbB you see there is still possible to get the wrong representation of multiply and devide.

http://imgur.com/YHRZjaw the red keys give the wrong representation the green keys work.

review: Needs Fixing
160. By lexsurkov

Fixed inconsistent GUI and keyboard input

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/MainWindow.vala'
2--- src/MainWindow.vala 2015-07-29 21:49:18 +0000
3+++ src/MainWindow.vala 2015-09-17 16:21:57 +0000
4@@ -414,6 +414,18 @@
5 case Gdk.Key.Escape:
6 button_del_clicked ();
7 break;
8+ case Gdk.Key.KP_Divide:
9+ key.keyval = Gdk.Key.division;
10+ break;
11+ case Gdk.Key.slash:
12+ key.keyval = Gdk.Key.division;
13+ break;
14+ case Gdk.Key.KP_Multiply:
15+ key.keyval = Gdk.Key.multiply;
16+ break;
17+ case Gdk.Key.asterisk:
18+ key.keyval = Gdk.Key.multiply;
19+ break;
20 }
21
22 return false;

Subscribers

People subscribed via source and target branches

to all changes: