[libgnomekbd] added gkbd_configuration_lock_group
- From: Sergey V. Udaltsov <svu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnomekbd] added gkbd_configuration_lock_group
- Date: Tue, 4 Jan 2011 20:18:19 +0000 (UTC)
commit af4bcf10046ac1a8b37a9471b8b11fd7afaf334c
Author: Sergey V. Udaltsov <svu gnome org>
Date: Tue Jan 4 20:17:38 2011 +0000
added gkbd_configuration_lock_group
For completeness of API - to be called from js
libgnomekbd/gkbd-configuration.c | 7 +++++++
libgnomekbd/gkbd-configuration.h | 16 +++++++++++++---
2 files changed, 20 insertions(+), 3 deletions(-)
---
diff --git a/libgnomekbd/gkbd-configuration.c b/libgnomekbd/gkbd-configuration.c
index fe67562..4971887 100644
--- a/libgnomekbd/gkbd-configuration.c
+++ b/libgnomekbd/gkbd-configuration.c
@@ -445,6 +445,13 @@ gkbd_configuration_lock_next_group (GkbdConfiguration * configuration)
gkbd_desktop_config_lock_next_group (&configuration->priv->cfg);
}
+void
+gkbd_configuration_lock_group (GkbdConfiguration * configuration, guint group)
+{
+ xkl_engine_lock_group (configuration->priv->engine, group);
+}
+
+
/**
* gkbd_configuration_get_indicator_config:
* Returns: (transfer none): indicator config
diff --git a/libgnomekbd/gkbd-configuration.h b/libgnomekbd/gkbd-configuration.h
index ababc93..3dc8ab5 100644
--- a/libgnomekbd/gkbd-configuration.h
+++ b/libgnomekbd/gkbd-configuration.h
@@ -60,23 +60,33 @@ extern XklEngine *gkbd_configuration_get_xkl_engine (GkbdConfiguration *
extern gchar **gkbd_configuration_get_group_names (GkbdConfiguration *
configuration);
+
extern gchar **gkbd_configuration_get_short_group_names (GkbdConfiguration
* configuration);
-extern gchar *gkbd_configuration_get_image_filename (GkbdConfiguration *
- configuration,
- guint group);
+*extern gchar *gkbd_configuration_get_image_filename (GkbdConfiguration *
+ configuration,
+ guint group);
+
extern gchar *gkbd_configuration_get_current_tooltip (GkbdConfiguration *
configuration);
+
extern gboolean gkbd_configuration_if_flags_shown (GkbdConfiguration *
configuration);
+
extern gchar *gkbd_configuration_extract_layout_name (GkbdConfiguration *
configuration,
int group);
+
extern void gkbd_configuration_lock_next_group (GkbdConfiguration *
configuration);
+
+extern void gkbd_configuration_lock_group (GkbdConfiguration *
+ configuration, guint group);
+
extern GkbdIndicatorConfig
* gkbd_configuration_get_indicator_config (GkbdConfiguration *
configuration);
+
extern GkbdKeyboardConfig
* gkbd_configuration_get_keyboard_config (GkbdConfiguration *
configuration);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]