Skip to content
Snippets Groups Projects
  1. Oct 05, 2022
  2. Sep 06, 2022
  3. Sep 05, 2022
    • Simon Steinbeiß's avatar
      Add 'xfce_g_desktop_app_get_value' GIO extension · 1dfc50ae
      Simon Steinbeiß authored
      This GIO extension should make it easier to get values for an application
      from the corresponding desktop file (typically `G_KEY_FILE_DESKTOP_KEY_NAME`
      or `G_KEY_FILE_DESKTOP_KEY_ICON`).
      At its first try, `xfce_g_desktop_app_get_value` will look for
      `$application_name.desktop` and then return the respective key.
      If no such desktop file is found, it will leverage GIO's
      `g_desktop_app_info_search` to match a desktop file and then return
      the values from that.
      
      If no desktop file is found at all, the function returns `NULL`.
      
      This function can be used by Xfce applications to match application name
      and icon when only incomplete information is available.
      1dfc50ae
  4. Sep 04, 2022
  5. Aug 11, 2022
  6. Jul 25, 2022
  7. May 31, 2022
  8. May 13, 2022
  9. May 08, 2022
  10. May 02, 2022
  11. May 01, 2022
  12. Mar 31, 2022
  13. Mar 24, 2022
    • Gaël Bonithon's avatar
      Silence `-Wanalyzer-null-dereference` warnings · 0ec33ec5
      Gaël Bonithon authored
      If I'm not mistaken this check is not really necessary, i.e. these
      warnings are false positives. However, the code of `simple_parse_line()`
      is at least not clear enough to make this clear, so it's better to add
      it.
      0ec33ec5
  14. Mar 20, 2022
  15. Mar 16, 2022
  16. Mar 12, 2022
  17. Feb 24, 2022
  18. Feb 21, 2022
  19. Feb 18, 2022
  20. Jan 30, 2022
    • Jan Ziak's avatar
      Remove invalid custom ngettext() macro · e3a9b0d2
      Jan Ziak authored
      This patch removes all custom gettext macro definitions. There are multiple
      issues with these macros:
      
      - They are redundant: gettext functions are already declared in <libintl.h>
      - The implementations of the ngettext macros are invalid
      - If an Xfce GUI app or plugin accidentally uses any of the gettext macros
        defined in xfce-i18n.h, then it completely disables localication in the
        app or plugin
      
      The file <libintl.h> containing the declaration of gettext() has been
      included by both <gi18n.h> and <gi18n-lib.h> since year 2008 (at least).
      
      The removal also resolves the following warning messages:
      
      GISCAN Libxfce4util-1.0.gir
      xfce-i18n.h:61: Warning: Libxfce4util: symbol='gettext': Unknown namespace for symbol 'gettext'
      xfce-i18n.h:62: Warning: Libxfce4util: symbol='dgettext': Unknown namespace for symbol 'dgettext'
      xfce-i18n.h:63: Warning: Libxfce4util: symbol='dcgettext': Unknown namespace for symbol 'dcgettext'
      xfce-i18n.h:64: Warning: Libxfce4util: symbol='ngettext': Unknown namespace for symbol 'ngettext'
      xfce-i18n.h:65: Warning: Libxfce4util: symbol='dngettext': Unknown namespace for symbol 'dngettext'
      xfce-i18n.h:66: Warning: Libxfce4util: symbol='dcngettext': Unknown namespace for symbol 'dcngettext'
      
      Closes: #7
      e3a9b0d2
  21. Sep 21, 2021
  22. Aug 08, 2021
  23. Aug 01, 2021
  24. Jul 23, 2021
  25. Jul 18, 2021
  26. Jul 06, 2021
  27. Jun 26, 2021
  28. Jun 25, 2021
Loading