Steps:
- Show the File Browser in the side panel.
- Quit gedit.
- Edit the GSettings key "org.gnome.gedit.plugins active-plugins" to
remove the filebrowser plugin from the list.
- Re-launch gedit.
==> Before this commit, there was a bug with the TeplPanelSwitcherMenu.
Portable Executable, or PE for short:
https://en.wikipedia.org/wiki/Portable_Executable
This associates the icons with the executable (embedding the images
*within* the executable), so that Windows can show the icon in various
situations (in the file explorer, in the taskbar, etc).
The *.ico file was created with this ImageMagick command on Linux:
```
$ cd data/icons/
$ convert \
org.gnome.gedit-256x256.png \
org.gnome.gedit-48x48.png \
org.gnome.gedit-32x32.png \
org.gnome.gedit-24x24.png \
org.gnome.gedit-22x22.png \
org.gnome.gedit-16x16.png \
gedit.ico
```
The order of the input files should be from the largest size to the
smallest.
An *.ico file was already present in the git repo, but was removed with
commit 23ec526540
However the old *.ico file was bigger in size, and a command-line to
create the file is always better (for reproducibility).
Closes https://gitlab.gnome.org/GNOME/gedit/-/merge_requests/168
Co-authored-by: Sébastien Wilmet <swilmet@mailfence.com>
- Rename the "scheme" key to have two symmetric names for light/dark.
This has the disadvantage that users will lose that setting, but is
not that bad because the dark gtk theme support can make users want to
change those settings.
At least we also ensure that it's not broken when doing an upgrade.
- Choose 'solarized-dark' because the colors have been better studied
for the eyes.
- Keep 'tango' because it inherits the light GTK theme colors.
('solarized-light' has a non-standard background color for a gtk app).
- Use only style-scheme-for-light-theme-variant for now.
I don't know why single quotes were used in the gschema. Change them to
double quotes, what is more standard for XML.
Re-add the combobox in the preferences dialog.
The setting is still available in the "hidden" GSettings.
The 'Theme variant' is removed from the preferences dialog because the
work is not finished:
- There needs to be two GSettings keys for the style/color scheme.
- When the dark theme variant is selected, it should be impossible to
choose the classic or tango style schemes (they work only with a light
theme).