Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Mar 2011 12:10:33 +0100
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        George Liaskos <geo.liaskos@gmail.com>
Cc:        ports@FreeBSD.org
Subject:   Re: Update xfce4-xkb-plugin to 0.5.3.3
Message-ID:  <20110310121033.2d5a5190.ehaupt@FreeBSD.org>
In-Reply-To: <AANLkTinotNJfWYjMipLUF-S9NSBxphGoVHhQuUj3iHB9@mail.gmail.com>
References:  <AANLkTinotNJfWYjMipLUF-S9NSBxphGoVHhQuUj3iHB9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
George Liaskos <geo.liaskos@gmail.com> wrote:
> The latest version has a GUI option to set the shortcut for switching
> between keyboard layouts. Handy for newcomers.
> It has an added dependency to librsvg2 because the country flags are
> in svg format now, the following patch takes care of the compilation
> errors.
> 
> --- xkb-config.c.orig	2011-03-06 04:02:24.000000000 +0200
> +++ xkb-config.c	2011-03-06 04:09:26.000000000 +0200
> @@ -150,7 +150,7 @@
>      config->application_map = g_hash_table_new (g_direct_hash, NULL);
> 
>      registry = xkl_config_registry_get_instance (config->engine);
> -    xkl_config_registry_load (registry);
> +    xkl_config_registry_load (registry, FALSE);
> 
>      config_item = xkl_config_item_new ();
> 
> @@ -214,7 +214,8 @@
> 
>      gdk_window_remove_filter (NULL, (GdkFilterFunc) handle_xevent,
> NULL);
> 
> -    xkl_engine_stop_listen (config->engine);
> +    xkl_engine_stop_listen (config->engine,
> +      XKLL_MANAGE_LAYOUTS | XKLL_MANAGE_WINDOW_STATES);
>  }
> 
>  gint
> @@ -547,7 +548,7 @@
>      if (!config) return NULL;
> 
>      registry = xkl_config_registry_get_instance (config->engine);
> -    xkl_config_registry_load (registry);
> +    xkl_config_registry_load (registry, FALSE);
> 
>      return registry;
>  }
> 
> Regards

Hi George, thanks for the update. Could you please create a PR so that
it doesn't get lost?

Emanuel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110310121033.2d5a5190.ehaupt>