aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaXDG.cpp
Commit message (Collapse)AuthorAge
* Replace the libreoffice SVG icon skip with a generic rule that skips any SVG ↵Ken Moore2015-11-10
| | | | file which explicitly sets version 1.0 of the format. Only one other icon gets caught in this on my systems (ibus.svg), and that one always looked slightly off as well if I recall.
* Re-work how Lumina finds/loads icons from the current theme. This bypasses ↵Ken Moore2015-11-10
| | | | the QIcon::fromTheme() functionality completely, that way we get more detection/control over finding bad files and such (SVG files in particular).
* A couple changes to Lumina:Ken Moore2015-11-09
| | | | | | 1) Add 3 different "view modes" for applications in the start menu: Alphabetical (no categories), Partial Categories (same as before - still on list though), or Categories (need to click the category to go into it and see the applications).2) Fix the theming of partially checked checkboxes and groupboxes. 3) Force the desktop icons to have black text in the theme (no matter which color scheme is in use). 4) Adjust the outlining effects of the desktop icons to use a radial gradient now, so you get a smoother effect which does not steal eye focus as much on contrasting backgrounds.
* Make sure that the user's local icon heirarchy is added to the fallback icon ↵Ken Moore2015-10-07
| | | | search paths (needed for wine apps in particular - since they are installed as user).
* Another batch of small fixes:Ken Moore2015-10-07
| | | | | | | | 1) Add a new ResizeMenu() class to the LuminaUtils library - this class allows the resulting menu to be resizable by the user clicking on an edge and dragging. 2) In the systemstart panel plugin, reverse the location of the shutdown options on the leave page (put them at the bottom next to where the leave button is in the first place) 3) Setup the systemstart plugin to use the new ResizeMenu. It currently does not save the new size to be used for later sessions, but per-session resizing works fine. 4) Quick adjustment to the systemtray icon sizes 5) Quick fix to the detection of a desktop file removal.
* Fix an issues with possible seg-faults when saving a *.desktop structure to ↵Ken Moore2015-08-31
| | | | file.
* Make sure the *pointer* to the XDGDesktop structure is constant, not the ↵Ken Moore2015-08-31
| | | | structure itself.
* Move the LFileInfo class into libLumina/LuminaXDG - this is very useful for ↵Ken Moore2015-08-28
| | | | files that may/may not be XDG desktop files (prevent re-reading files by trying to juggle two different data structures).
* Add the XDG_DATA_* path support for relative application paths given in the ↵Ken Moore2015-08-19
| | | | mime database.
* Just a minor update to some debugging (when turned on) for checking icons ↵Ken Moore2015-07-24
| | | | within the current theme.
* Finish up the XDG "Actions" specification for *.desktop files, and integrate ↵Ken Moore2015-07-22
| | | | it into the AppMenu and UserButton. Also add a new flag to lumina-open so that we can specify which action to use when starting an app.
* Add support into libLumina for additional "Actions" listed in *.desktop files.Ken Moore2015-07-22
|
* Add a new option in luminaDesktop.conf for auto-generating desktop ↵Ken Moore2015-06-23
| | | | icons/launchers.
* Adjust/verify all the XDG routines which touch a file based on the desktop ↵Ken Moore2015-06-22
| | | | name to ensure that the proper case is used ("Lumina", or case-insensitive checks). The default apps file (lumina-mimeapps.list) is correct because the specs excplicitly state that it should be the lowercase version of the desktop name.
* Add a fix for loading icons for Wine applications.Ken Moore2015-05-20
|
* Finish cleaning up the new XDG autostart write-support and enable it in ↵Ken Moore2015-05-12
| | | | | | lumina-config. Now Lumina use the XDG spec entirely for auto-starting applications/utilities. NOTE: The conversion routine from the old->new autostart spec has not been implemented yet, so the old file will still be used for a short while (just not changeable through lumina-config).
* Large update to the XDG autostart spec - Add full write support in libLumina.Ken Moore2015-05-12
| | | | This still needs to be tested/integrated into lumina-config for full access.
* Have lumina assign an internal "non-mimetype" to files that do not have a ↵Ken Moore2015-05-12
| | | | | | match in the system mimetype database. This allows backend system to function normally on these types of files. Internal designation: "unknown/[lowercase extension or lowercase filename]"
* improve the decision regarding valid desktop files by check if Name and Type ↵wi2015-04-30
| | | | are well present.
* Don't add the "LUMINA" tag to the name of Lumina-specific applications.Ken Moore2015-04-15
|
* Add usage support for the XDG autostart specifications. This is currently on ↵Ken Moore2015-03-30
| | | | top of the older Lumina autostart specification, until I can get the writing support for the XDG spec in place as well - at which time I will convert any Lumina-spec entries to the XDG spec (for backwards compat).
* Make the XDG Exec= field code substitutions a bit more robust for missing ↵Ken Moore2015-03-12
| | | | | | fields in the *.desktop file. Also fix a bug in lumina-open where the field code substitutions were not happening for non-default applications.
* Tweak the fallback behavior of the %c field code replacement routine for a ↵Ken Moore2015-03-12
| | | | *.desktop Exec generation.
* Just a bit of cleanup in libLumina and adjust the deskopview plugin a bit ↵Ken Moore2015-03-11
| | | | for non-valid *.desktop files.
* Oops, apparently I forgot the line which copies a *.desktop "Path=" value ↵Ken Moore2015-03-04
| | | | into the data structure. lumina-open was already set to use the path properly if it exists, so no other changes to use this value necessary.
* Update how lumina-open detects applications which are registered on the ↵Ken Moore2015-02-27
| | | | system for a particular mimetype. Now it uses the manual method (checking each *.desktop file for that particular mimetype - since it has to load all of them anyway), as well as use the results of any matches in the <XDG_DATA_DIRS>/applications/mimeinfo.cache file.
* Make sure that the second round of mimetype filters is performed ↵Ken Moore2015-02-19
| | | | case-insensitive (case was already taken care of with the first filter).
* Clean up the XGD mime-types detection routine quite a but. Now it should be ↵Ken Moore2015-02-19
| | | | much more accurate about special extensions and faster lookups for pre-found mimetypes.
* Clean up a few things in Lumina:Ken Moore2015-02-17
| | | | | | | 1) When finding a file mimetype, try a case-insensitive filter if nothing came out of the case-sensitive search. 2) lumina-fm: when removing a slideshow file, try to automatically go to the next/previous picture instead of index=0; 3) Add a bunch more processEvents() calls to the lumina-fm file operations dialog. This should keep the UI's more responsive and update the visuals more often while running operations on large numbers of files. 4) lumina-fm: Fix another upper->lower case extension issue when checking if a file is supported by Qt's read/write operations.
* Commit a couple loose changes to libLuminaXDGKen Moore2015-01-16
|
* Be a little bit more careful about the handling of the "Exec=" field codes ↵Ken Moore2014-12-31
| | | | in *.desktop files. This seems to fix the occasional issue with KDE *.desktop shotcuts (okular in particular).
* Commit some more XLib->XCB conversions (everything for the task manager), ↵Ken Moore2014-12-30
| | | | and fix a stray seg fault in the XCB window class detection routine.
* Commit a checkpoint on the conversion of Lumina to Qt5.Ken Moore2014-12-18
| | | | It is functional at the moment, but still has a few rough edges with regards to the X11 background interface (due to the move from XLib to XCB in Qt5). This reulst in some of the window manager interactions not behaving properly (such as sticky status on panels).
* Finish up the new Mime type default app usage in lumina-config and ↵Ken Moore2014-11-17
| | | | lumina-open. The new buttons in lumina config set the backends fine, but the file manager/terminal options will not be respected yet until I update the menu plugins in lumina-desktop.
* Update the XDG MIME inplementation to support the draft standards for ↵Ken Moore2014-11-17
| | | | | | | | registering default application (Note: does not use the mime association routines, just defaults) Lumina-config will now use this backend system for default app registrations, but lumina-open does not use it yet. Also, the defaults tab in lumina-config is still not completely updated yet (resulting in some breakage or unusable buttons). DO NOT BUILD FROM THIS REVISION - Will be fixed very soon but needed a git snapshot
* Update the XDG categories that are supported, as well as the add a new ↵Ken Moore2014-11-14
| | | | "Wine" category for internal recognition/use (since the wine apps do not usually list a category in the *.desktop file).
* Merge branch 'master' of github.com:pcbsd/luminaKen Moore2014-09-16
|\
| * Updated fix to make sure first Exec entry in a .desktop file is taken.Jesse Smith2014-09-15
| | | | | | | | Fixes launching default apps on Linux.
| * Merge remote-tracking branch 'upstream/master'Jesse Smith2014-09-15
| |\
| * | Select the first exec entry from a .desktop file rather than the last.Jesse Smith2014-09-15
| | | | | | | | | | | | Fixes some launch problems on icons with multiple potential launch paths on Linux.
* | | Make sure to sort applications by name case-insensitively.Ken Moore2014-09-16
| |/ |/|
* | Fix a bug in the *.desktop parsing for luminaXDG. It was previously mixing ↵Ken Moore2014-09-15
|/ | | | the different "entries" in the file, and now it only uses the required "Desktop Entry" section.
* Move all the OS-specific path PREFIX settings into LuminaOS so that we don't ↵Ken Moore2014-09-12
| | | | have all the different defines all over the place.
* Update the *.desktop "Exec=" compliance to the standards as of 9/9/2014 in ↵Ken Moore2014-09-09
| | | | LuminaXDG
* Initial import of the lumina code from pcbsd git repoKris Moore2014-09-04
bgstack15