| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0a439ac80bdf6ffb9cac104ad3098a321ee0403c)
|
|
|
|
|
|
|
| |
This relates to issue #550.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 59c2b00dd7581a84524a93c99e942b77d6272a35)
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Layout switching
- Improved layout change logic (indicator is now always updated when the actual switch occurs). This fixes layout switching triggered by the X11 shortcut not being synchronized with layout switching from the tray icon click and the TDE shortcut.
- Kxkb will ignore XkbStateNotify events not related to XkbGroupState which caused strange behaviour with the system tray context menu.
- Reapply Xkb settings when a keyboard device changes state
- Do not run setxkbmap without arguments
- Catch and process changes to Xkb layouts and options
- Always check for Xkb opcode in X11 events, this fixes invalid group issue (Michele Calgaro)
* Tray indicator
- Do not reload all Kxkb settings every time we are requested to get a pixmap!
- Tray indicator pixmap manager improvements
- Fix Quit tray icon menu item
* Configuration
- Optimize settings reloading
- Do not reload settings every time getKxkbOptions() is called; if settings actually need to be re-read, it must be done maunally before calling this function
- Use pointer to global KxkbConfig instance instead of keeping own copy
- Fixed optimized loading of initial settings using KxkbConfig::LOAD_INIT_OPTIONS (I had sort of broken it in the past)
- Removed unused KxkbConfig::LOAD_ACTIVE_OPTIONS
- `newInstance()` now delegates calling setLayout() to readSettings()
- Merged `initTray()` into `readSettings()` - no reason to exist as separate function
* Refactoring
- Merged KxkbLabelController into KxkbSystemTray
- Rename LayoutIcon to LayoutIconManager for clarity
- Minor code cleanup in LayoutIconManager
- Remove use of singleton pattern for LayoutIconManager
- Make XKBExtension a singleton.
- Add counter to XKBExtension to prevent it from processing configuration changes likely caused by KXkb
- `XKBExtension::getServerOptions()` now also returns layout and variant information in a XkbOptions struct
- New `KxkbConfig::setFromXkbOptions()` member can update current configuration from a XkbOptions struct
- No need to use `tdeApp` pointer in KXKBApp (KUniqueApplication) class
- Consistent code style and more appropriate function names and return types
- Commented option sections for clarity
- Removed superfluous debug messages
- Add proper copyright header to extension.*
* Settings GUI
- Make "Transparent background" checkbox available for theme colors in the GUI
- Add customization options "Stretch flag", "Dim flag", "Show indicator bevel"
- Disable KMilo checkbox when layout notifications disabled
- Fix reading settings for TDE layout hotkeys
This resolves #547.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit aed24cdf3fd4615b0ac42fad074f20c0427cc3ac)
|
|
|
|
|
|
|
| |
style. This also solves issue #513
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8afb12b32bbc7ef5de9a3821b6f2dae7c658e7db)
|
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 026828840f8255b5c4fde83ea95209f6f1f5ef8f)
|
|
|
|
|
| |
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 174b64e809063a447ed18d4cbde6a5f44b61b117)
|
|
|
|
|
|
|
|
|
|
| |
xkeyboard-config package comes with a message catalogue of its own to
translate locale, keyboard model and xkb option names. It would be
easier and more robust to utilize it instead of redoing all
translation in-house.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 18a8b8d43577941388fa40666641f628860d6f7a)
|
|
|
|
|
|
|
|
| |
Overvise apply button on the dialog won't be enablen when the option is
changed
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 1fea8982fd2f256273989956d962a3daa848041f)
|
|
|
|
|
|
|
| |
Closes: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/391
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit d0c145d5a3bc3dfa286bc25912b34b902660cc1f)
|
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec)
|
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c4a6487c827add9382001ff1892b8fb3bfa94682)
|
|
|
|
|
| |
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 7c724a49212a9ffdf42381d99648f15457867787)
|
|
|
|
|
| |
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 9647d4c7ff182c1fadffb9c6218bc00132fe682e)
|
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b965cbac5b21345e9dfc768a7e4f660ffa4aa72f)
|
|
|
|
|
|
|
| |
QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 33c7d159890b81da8f44ee330a349e3abd553bec)
|
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 814bf5fc4f403c13b0d8274c7f13fbef183c5c84)
|
|
|
|
|
|
| |
Signed-off-by: Roman Savochenko <roman@oscada.org>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d4d334c1af9256d6540b15e0188e9eb82b1fad55)
|
|
|
|
|
|
| |
Signed-off-by: Roman Savochenko <roman@oscada.org>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d17e353a028f5cbfc2afc03d7190adb1aea457aa)
|
|
|
|
|
|
|
| |
This commit fixes issue #342.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 22bb398b3ba83142bf49f6abf47081e5e9e11bef)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Add conflicts check for hotkey checkboxes
Due to the ability to set multiple keyboard layout switching hotkeys,
it is important to inform the user of conflicting options that are
not handled properly by the X.org server when set at the same time
(e.g. Win+Space and Alt+Space).
This change adds a warning that informs the user about the problem and
the conflicting options. This warning is shown only when setting
multiple hotkeys via the Xkb options tab, which is for the advanced
user. Most users will ever need only one hotkey, and the combobox on
the first tab should be more than enough.
2) Add "none" item to layout switching options
3) Replace Reset old options checkbox with radio buttons
As per discussion, this makes the function of the option more
apparent. WhatIs hints have been added for additional clarity.
4) Update hotkey combobox per server options
5) Avoid duplication of options by querying Xkb for already set options.
This was a problem in Append Mode in which `setxkbmap` strings would
get too long due to setting already set options. This code checks for
already set options and omits them from the new `setxkbmap` call.
This does not apply to Overwrite Mode.
6) Overwrite previous grp: options when using the combobox
See previous commit message about the addition of hotkeys combobox.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
1. Prefer XML files for Xkb options, as on some systems they have the a fuller
set of options with descriptions than plain Xkb rules files.
2. Various hacks to improve descriptions of newer Xkb options
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
|
|
|
|
| |
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
|
|
|
|
|
|
|
| |
This resolves a problem with Kxkb's Quit confirmation, where pressing Cancel
would nevertheless quit the program.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
|
|
|
|
|
|
|
|
|
| |
* Braille
* Esperanto
* Indonesian (Javanese)
* Maori (New Zealand)
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
|
|
|
|
| |
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
|
|
|
|
| |
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
|
|
|
|
|
|
| |
add some more candidate paths for xkbd to search
Signed-off-by: aneejit1 <aneejit1@gmail.com>
|
|
|
|
|
|
| |
bug 3142.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
|
| |
+ Creation of POT template for desktop files added to CMakeL10n rules.
+ Added creation of translated desktop files during build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Chris <xchrisx@uber.space>
|
|
|
|
|
|
| |
Update TIMEZONES list.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
| |
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
|
|
| |
bug 1850.
|
| |
|
|
|
|
| |
This reverts commit fd2369a8f0b40ef35586b3407750ec4662d1be7e.
|
| |
|
| |
|
|
|
|
| |
match XDG specifications
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This partially resolves bug report 1349.
|