Results 1 to 7 of 7

Thread: gsettings and/or gconf

  1. #1
    Join Date
    Aug 2006
    Beans
    12

    gsettings or gconf for lucid/maverick compatibility

    Hello.
    I have been writing an application for a few months and have used gconf for my first release. I know that maverick is using dconf and gsettings and that gnome recommends migrating to gsettings. The problem is that I want my application to run on both, maverick and lucid. Is there a seamless way (for the user) to use gsettings in lucid (something I, as a developer could do)? If possible, I would like to avoid having to code something like that:
    Code:
    #ifdef HAS_GSETTINGS
      g_settings_get...()
    #else
      g_conf_get...()
    #endif
    Thank you for your help.
    Last edited by tonemgub; March 2nd, 2011 at 11:39 AM.

  2. #2
    Join Date
    Aug 2006
    Beans
    12

    Re: gsettings and/or gconf

    I have done some more research and found out that there exists a temporary solution namely creating a file .convert in /usr/share/GConf/gsettings/. However, this approach requires gconf 2.31.1 and as lucid uses an earlier version, I don't think this approach would work.

  3. #3
    Join Date
    Aug 2006
    Beans
    12

    Re: gsettings and/or gconf

    Anybody?!?

  4. #4
    Join Date
    Aug 2006
    Beans
    12

    Re: gsettings and/or gconf

    bump

  5. #5
    Join Date
    Aug 2006
    Beans
    12

    Re: gsettings and/or gconf

    Am I in the wrong thread?

  6. #6
    Join Date
    Mar 2006
    Location
    Canada
    Beans
    1,313
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Lightbulb Re: gsettings and/or gconf

    I've found Ubuntu Forums is lacking when it comes to technical talk. I would post this question on Ask Ubuntu or post this question to the Ubuntu or GNOME mailing lists.

  7. #7

    Re: gsettings and/or gconf

    Quote Originally Posted by altonbr View Post
    I've found Ubuntu Forums is lacking when it comes to technical talk. I would post this question on Ask Ubuntu or post this question to the Ubuntu or GNOME mailing lists.
    +5 for askubuntu.com

    That's where the real "under the hood" folks hang out.
    Windows assumes the user is an idiot.
    Linux demands proof.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •