Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
libhandy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alexander Mikhaylenko
libhandy
Commits
8affcf9d
Commit
8affcf9d
authored
Feb 01, 2018
by
Guido Gunther
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't wait for timeout to expire if button has only a single symbol
parent
9804ec63
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/hdy-dialer-cycle-button.c
src/hdy-dialer-cycle-button.c
+1
-1
src/hdy-dialer.c
src/hdy-dialer.c
+1
-1
No files found.
src/hdy-dialer-cycle-button.c
View file @
8affcf9d
...
...
@@ -79,7 +79,7 @@ button_clicked_cb(HdyDialerCycleButton *self, GdkEventButton *event)
g_return_val_if_fail
(
HDY_IS_DIALER_CYCLE_BUTTON
(
self
),
FALSE
);
/* Only cycle if we have more than one symbol */
if
(
!
strlen
(
hdy_dialer_button_get_letters
(
HDY_DIALER_BUTTON
(
self
)))
)
if
(
strlen
(
hdy_dialer_button_get_letters
(
HDY_DIALER_BUTTON
(
self
)))
<
2
)
return
FALSE
;
if
(
hdy_dialer_cycle_button_is_cycling
(
self
))
{
...
...
src/hdy-dialer.c
View file @
8affcf9d
...
...
@@ -87,7 +87,7 @@ hdy_cycle_button_clicked (HdyDialer *self, HdyDialerCycleButton *btn)
if
(
priv
->
cycle_btn
!=
btn
)
{
stop_cycle_mode
(
self
);
priv
->
cycle_btn
=
btn
;
}
else
if
(
priv
->
number
->
len
)
{
}
else
if
(
priv
->
number
->
len
&&
hdy_dialer_cycle_button_is_cycling
(
btn
)
)
{
hdy_string_utf8_truncate
(
priv
->
number
,
hdy_string_utf8_len
(
priv
->
number
)
-
1
);
}
...
...
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