Make "visible" property per client instead of per context.

This commit is contained in:
Daiki Ueno
2012-04-24 18:38:32 +09:00
parent cee741eca0
commit f2a90935a3
7 changed files with 139 additions and 21 deletions

View File

@ -332,6 +332,9 @@ server_context_service_real_show_keyboard (EekboardContextService *_context)
update_widget (context);
g_assert (context->window);
gtk_widget_show_all (context->window);
EEKBOARD_CONTEXT_SERVICE_CLASS (server_context_service_parent_class)->
show_keyboard (_context);
}
static void
@ -341,6 +344,9 @@ server_context_service_real_hide_keyboard (EekboardContextService *_context)
if (context->window)
gtk_widget_hide (context->window);
EEKBOARD_CONTEXT_SERVICE_CLASS (server_context_service_parent_class)->
hide_keyboard (_context);
}
static void