summaryrefslogtreecommitdiffstats
path: root/kcontrol
Commit message (Collapse)AuthorAgeFilesLines
* Kxkb: Improve layout switchingMavridis Philippe2023-03-243-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) New layout switching approach The new approach is based on the "grp" options group of Xkb and so enables us to use predefined X11 layout (group) switching hotkeys like "Caps Lock" or "Shift+Alt" (you can see the full list in the Options tab). The added bonus to this is that we conform to the Xkb setting. The code lets Xkb handle the keyboard layout switching hotkey(s) and is similar to the one that is used in kkbswitch, monitoring for an Xkb group (layout) change event. This solution required me to remove some hacky and obsolete code which was there to support really old pre-XFree-4.2 era systems and included the "include groups" hack. This means that the "Enable latin layout" checkbox is now gone and setxkbmap is only called when the keyboard layouts and/or options are modified, and not for every layout change. 2) Common layout switching hotkeys combobox A combobox was added to the first page of the Keyboard Layouts KCM module. It provides to the users a quick way to set a layout switching key combination. It also controls the "grp" group in the Xkb tab. A special note about this combobox is that, even if Append Mode was selected in the Xkb Options tab, this hotkey will overwrite previous hotkey options. This means that all grp: options will be forced removed before applying the option from the combobox (in contrast to specifying options via the Xkb Options tab, which, in Append Mode, will not get overwritten until next login). Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* hwmanager: use alphabetically sorted menus in tdehwdevicetray.Michele Calgaro2023-03-131-21/+37
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* hwmanager: tdehwdevicetray now uses the same names used in Konqueror and ↵Michele Calgaro2023-03-112-52/+66
| | | | | | KDesktop for the storage drives. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* hwmanager: avoid unnecessary update of device names on status change. This ↵Michele Calgaro2023-02-172-24/+18
| | | | | | relates to issue TDE/tde#110. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* hwmanager: Do not open a popup window when clicking on a notification,Slávek Banko2023-02-161-0/+7
| | | | if automatic opening of popup windows is enabled.
* hwmanager: add LMB menu based on storage devices.Michele Calgaro2023-02-082-51/+158
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* hwmanager: rework code for RMB menu. This does not add any newMichele Calgaro2023-02-062-373/+161
| | | | | | functionality but allows the future LMB menu to reuse some of the code. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* hwmanager: use a private class 'd' to store internal members of ↵Michele Calgaro2023-02-062-129/+141
| | | | | | HwDeviceSystemTray. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* hwmanager: remove current LMB menu. Rearrange code of RMB menu. Use MMB click toMichele Calgaro2023-02-062-41/+49
| | | | | | show the Device Manager dialog directly. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Remove unnecessary accelerator from .ui files.Michele Calgaro2022-09-072-36/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* TCC taskbar configuration: fixed up remaining issues in 'Appearance' tab.Michele Calgaro2022-09-053-224/+270
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* kcmtaskbar: Disable "on hover" option if halo option is onMavridis Philippe2022-09-051-0/+6
| | | | | | This corresponds to the actual behaviour of Kicker. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Taskbar thumbs option: Add notice about needing TWin compositorMavridis Philippe2022-09-051-1/+1
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* KCMTaskbar: various adjustmentsMavridis Philippe2022-09-052-67/+123
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Taskbar: small/panel icon size selection.Mavridis Philippe2022-09-052-43/+55
| | | | | | | | | | | | | | | | | | | | | By default the 16x16 value was hardcoded into the taskbar, which is not correct. With this commit the default value is TDEIcon::Small (can be defined in TCC->LookNFeel->Icons) to retain the "classic" style. This commit adds a "Small icons" checkbox which can be unchecked to set the icon size to TDEIcon::Panel (for consistency with other panel icons). Combined with "Icons only", this produces a Plasma/Windows-like big icon taskbar. This commit also ensures that in "Icons only" mode the icons are centered in their button, for better looking result. Finally, this commit fixes a typo in some macros (TABSKAR -> TASKBAR). Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* kcmtaskbar: UI improvementsMavridis Philippe2022-09-053-513/+1029
| | | | | | | | | | | | | | | | The module settings are now split between three tabs, which looks better overall and a little less overloaded. Additionaly, some new settings which were already present for the config have been exposed (thumbnails, max button width). Finally, some settings have been further refined for customization (button styles, which were previously hardcoded -Clssic, Optimal, For transparency- can now be precisely configured. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Use Scale & Crop as default style for wallpaper.Michele Calgaro2022-07-173-13/+52
| | | | | | | | Add more options to "Set as Background" menu in Konqueror. This resolves issue #280 and issue #281. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Konsole: real transparency switchMavridis Philippe2022-04-193-7/+27
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* tdehwdevicetray: add 'eject' and 'safe remove' buttons to the disk ↵Michele Calgaro2022-04-055-50/+157
| | | | | | properties dialog. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdehwdevicetray: add 'safe remove' to the list of available actions.Michele Calgaro2022-04-052-0/+45
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Modify screen savers detection that the XSCREENSAVER_DIRSSlávek Banko2022-03-291-12/+23
| | | | | | | | | | | and XSCREENSAVER_CONFIG_DIRS variables allow multiple paths. Likewise, the XSCREENSAVER HACKS DIRS variable used to search for an screen saver executable can contain multiple paths. This relates to TDE/tdeartwork#19. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* hwmanager: use tdeio_media_mounthelper process toMichele Calgaro2022-03-264-189/+53
| | | | | | | | mount/unmout/lock/unlock/ejct media devices. This ensures a consistent media device status also with complex partition structures and LUKS encryption. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdeio media: add releaseHolders parameter to lock/lockByNode dcop calls.Michele Calgaro2022-03-232-2/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* hwmanager: simplify code after tdelibs commit 5f795c0b.Michele Calgaro2022-03-162-9/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdehwdevicetray: use DCOP calls instead of direct tdehw calls to ↵Michele Calgaro2022-03-072-72/+91
| | | | | | mount/unmount/unlock/lock/eject devices. This is for consistency of behavior and error messages. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdehwdevicemanager: fix SEGV caused by removing a device when the Device listMichele Calgaro2022-03-063-18/+21
| | | | | | | dialog is open. Also make sure to update the device list correctly when a device is removed. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdehwdevicemanager: make sure to stop polling when closing the device dialog.Michele Calgaro2022-03-041-0/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* kcontrol/usview: fix up "Revive NetBSD support"OBATA Akio2022-01-163-10/+16
| | | | Signed-off-by: OBATA Akio <obache@wizdas.com>
* Replaced 'includehints' with 'includes' in *.ui files.Michele Calgaro2022-01-0514-74/+25
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* TDEMenu search shortcut: various fixesMavridis Philippe2021-10-081-2/+14
| | | | | | | | * Better Escape key usage prevention * Better handling of different shortcut counts (0 vs 1 vs 2) * Fixed a deprecated function call to setShortcut() Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Added support for variable font DPI (range 64-512) in user session.Michele Calgaro2021-10-073-26/+61
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* kcontrol/tde-menu: Items for adjust text now depends on Display text in menu ↵Slávek Banko2021-10-061-1/+25
| | | | | | button checkbox. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* kcontrol/tde-menu: Search shortcut label now depends on Enable search checkbox.Slávek Banko2021-10-061-1/+7
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Search cut: Add check for Escape keyMavridis Philippe2021-10-051-0/+3
| | | | | | | We cannot accept the Escape key as a search shortcut as it is bound to other actions already. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Search shortcut option now depends on "Enable search" checkbox.Mavridis Philippe2021-10-051-0/+8
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* TDE Menu: Customizable search line shortcutMavridis Philippe2021-10-013-2/+51
| | | | | | This resolves issue #176. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* KControl: Allow RandR warning to translate.Slávek Banko2021-09-301-1/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* kcontrol/hwmanager: Allow translate an error message about unavailable ↵Slávek Banko2021-09-101-1/+2
| | | | | | information. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* kcontrol/hwmanager: Allow translation for storage device states.Slávek Banko2021-09-091-10/+10
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fixed FTBFS with gcc 4.8 when using c++11 standard.Michele Calgaro2021-09-041-5/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* hwdevicetray: Use the disk label for menu items, if available.Slávek Banko2021-08-151-7/+13
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Updated after changes to tdehw lib related to device notificaitons.Michele Calgaro2021-08-152-37/+80
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* kcontrol/hwmanager: Move description to the corresponding item in TDEAboutDataSlávek Banko2021-08-032-6/+14
| | | | | | and added a line break to avoid unwantedly wide about dialog. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Added missing <include> in UI file (fixes FTBFS)Mavridis Philippe2021-07-261-0/+1
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Fixed FTBFS caused by c++11 standard.Michele Calgaro2021-07-221-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Use LGPL energy star icons. These icons have been downloaded fromMichele Calgaro2021-07-208-0/+0
| | | | | | | | | | | | | | | | | | | | | | | https://iconarchive.com/show/crystal-clear-icons-by-everaldo/App-energy-star-icon.html and are available under the GNU Lesser General Public License 2.1 or newer. Below is the license disclaimer from the above website. ------------------------------------------------------------------ The Crystal Clear icon set was created by Everaldo Coelho, http://www.everaldo.com/ All Icons are free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. License details: Visit http://www.everaldo.com/crystal/?action=license for details. ------------------------------------------------------------------ Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdehwdevicetray: fixed up notification logic for added/removed disk devices.Michele Calgaro2021-07-182-65/+60
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* KDesktop: Updated category nameMavridis Philippe2021-06-271-1/+1
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* tdefontinst, fix FTBFS undefined reference to symbol 'FT_Get_Sfnt_Name_Count'gregory guy2021-05-211-1/+1
| | | | Signed-off-by: gregory guy <gregory-tde@laposte.net>
* Respect build option WITH_TDEHWLIB, otherwise it can lead to FTBFS in ↵Slávek Banko2021-05-188-15/+28
| | | | | | special cases. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>