[Goodies-dev] [Bug 3263] New: xfce4-xkb-plugin ignores system-wide settings

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue May 22 11:04:31 CEST 2007


DO NOT REPLY TO THIS EMAIL.  Also, do not reply via email to the person
whose email is mentioned below.  To comment on this bug, please visit:
http://bugzilla.xfce.org/show_bug.cgi?id=3263

           Summary: xfce4-xkb-plugin ignores system-wide settings
           Product: Xfce Panel Plugins
           Version: unspecified
          Platform: PC (x86)
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: xkb
        AssignedTo: goodies-dev at xfce.org
        ReportedBy: szalai.andras at t-online.hu


- Try to create system-wide settings for xfce4-xkb-plugin. Under FreeBSD you
should create the file named
/usr/local/etc/xdg/xfce4/panel/xkb-plugin-<number>.rc.

- Make sure that your home directory doesn't contain personal xkb-plugin
settings (~/.config/xfce4/panel/xkb-plugin-<number>.rc) and the panel must
include the xkb-plugin (panels.xml).

- Then start up xfce, if you open xfce4-xkb-plugin settings, then the
system-wide settings are ignored.

- The problem: the settings are always read from the personal configuration
file (~/.config/xfce4/panel/xkb-plugin-<number>.rc).

- Possible fix (sorry for the cut & paste):

diff -ru xfce4-xkb-plugin-0.4.3.orig/panel-plugin/xfce4-xkb-plugin.c
xfce4-xkb-plugin-0.4.3.new/panel-plugin/xfce4-xkb-plugin.c
--- xfce4-xkb-plugin-0.4.3.orig/panel-plugin/xfce4-xkb-plugin.c Wed Jan 17
19:02:57 2007
+++ xfce4-xkb-plugin-0.4.3.new/panel-plugin/xfce4-xkb-plugin.c  Sun May 20
11:12:16 2007
@@ -299,7 +299,7 @@
   NetkScreen* netk_screen;

   xkb = g_new(t_xkb, 1);
-  filename = xfce_panel_plugin_save_location(plugin, TRUE);
+  filename = xfce_panel_plugin_lookup_rc_file(plugin);
   if ((!filename) || (!xkb_load_config(xkb, filename)))
   {
     xkb_load_default(xkb);

- This bug is probably affects all platforms not just FreeBSD.


-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Goodies-dev mailing list