Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
squeekboard
Commits
9a6b3b3e
Commit
9a6b3b3e
authored
Feb 23, 2011
by
Daiki Ueno
Browse files
Update ServerContext#enabled before showing/hiding window.
parent
715c9ca0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server-context.c
View file @
9a6b3b3e
...
...
@@ -609,6 +609,7 @@ server_context_set_enabled (ServerContext *context, gboolean enabled)
if
(
context
->
enabled
==
enabled
)
return
;
context
->
enabled
=
enabled
;
if
(
enabled
)
{
error
=
NULL
;
g_dbus_connection_emit_signal
(
context
->
connection
,
...
...
@@ -637,7 +638,6 @@ server_context_set_enabled (ServerContext *context, gboolean enabled)
gtk_widget_hide
(
context
->
window
);
}
}
context
->
enabled
=
enabled
;
}
void
...
...
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