Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gnome-music
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
96
Issues
96
List
Boards
Labels
Milestones
Merge Requests
24
Merge Requests
24
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
gnome-music
Commits
41b5941f
Commit
41b5941f
authored
Mar 03, 2014
by
Anton Belka
Committed by
Vadim Rutkovsky
Mar 03, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support different keyboard layouts in search on keypress function
https://bugzilla.gnome.org/show_bug.cgi?id=723942
parent
65af00d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
gnomemusic/window.py
gnomemusic/window.py
+3
-2
No files found.
gnomemusic/window.py
View file @
41b5941f
...
...
@@ -237,8 +237,9 @@ class Window(Gtk.ApplicationWindow):
self
.
toolbar
.
searchbar
.
show_bar
(
False
)
if
self
.
toolbar
.
_selectionMode
:
self
.
toolbar
.
set_selection_mode
(
False
)
elif
(
event
.
state
&
modifiers
)
==
0
and
\
event
.
keyval
in
range
(
33
,
126
)
and
\
elif
(
event
.
state
&
modifiers
)
==
Gdk
.
ModifierType
.
SHIFT_MASK
or
(
event
.
state
&
modifiers
)
==
0
and
\
GLib
.
unichar_isprint
(
chr
((
Gdk
.
keyval_to_unicode
(
event
.
keyval
))))
and
\
not
event
.
keyval
==
Gdk
.
KEY_space
and
\
not
self
.
toolbar
.
searchbar
.
get_reveal_child
():
self
.
toolbar
.
searchbar
.
show_bar
(
True
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment