forked from e16/e16
1
0
Fork 0
Commit Graph

4798 Commits

Author SHA1 Message Date
Kim Woelders 1c20c27481 Update po 2018-02-04 17:25:28 +01:00
Kim Woelders 63169e79d0 Fix theme variant handling
The variant wasn't remembered persistently.

Also change the theme variant delimiter to ':'.
2018-02-04 16:31:25 +01:00
Kim Woelders 92cb89490b Avoid confusing dual use of Mode.theme.path 2018-02-04 16:25:16 +01:00
Kim Woelders cefd067f7d Swap ThemeFind() and ThemePathFind() names
Seems more reasonable.
2018-02-04 16:22:50 +01:00
Kim Woelders 6796b87dff Cosmetics 2018-02-04 16:22:07 +01:00
Kim Woelders 9003da8a0d Remove some cruft 2018-02-04 15:34:57 +01:00
Kim Woelders 1829527170 Tweak theme variant setting
Set "THEME_VARIANT_<variant>=1" instead of "VARIANT=<variant>".
Should be easier to deal with in themes.
2018-02-04 15:34:57 +01:00
Kim Woelders 2f0b4464fc Enable using ImageClass as menu icon
Before 00c261652e the menu item icon
was always an ImageClass name.
After changing this to be a file name some themes defining menus
(e.g. Ganymede with button tweaks) did not work as intended wrt. button
menus.
So now we accept both.
2018-02-04 13:45:15 +01:00
Kim Woelders ca5040e643 Remove pseudotransparency support - 3
- Remove obsolete image type argument.
2018-02-04 13:32:59 +01:00
Kim Woelders 0d97ea5285 Remove pseudotransparency support - 2
- Transparency...() macros
2018-02-04 13:28:54 +01:00
Kim Woelders fda39df73d Remove pseudotransparency support - 1
Has been disabled by default for 5 years.

- Remove autofoo stuff.
- Unifdef ENABLE_TRANSPARENCY and ENABLE_THEME_TRANSPARENCY.
- Remove transparency settings from docs/e16.xml.
2018-02-04 13:27:31 +01:00
Kim Woelders c20cac547a More new macros for themeing in 'definitions'
Provided by Don Harrop
2018-01-21 10:45:10 +01:00
Kim Woelders e83a7f8e85 Update po 2018-01-04 19:47:14 +01:00
Kim Woelders 61a9a99fe6 theme.c: Fix theme file extraction 2018-01-04 19:46:16 +01:00
Kim Woelders 6ce105da14 theme.c: List .theme files too 2018-01-04 19:44:50 +01:00
Kim Woelders f98c2e9879 theme.c: Tweak theme listing 2018-01-04 19:44:47 +01:00
Kim Woelders a890dc0b70 Update po 2017-12-30 20:16:11 +01:00
Kim Woelders 58a64b8199 theme.c: Fix warning and simplify 2017-12-30 20:15:59 +01:00
Kim Woelders a46849a083 Update po 2017-12-30 19:26:47 +01:00
Kim Woelders bb772b8781 config.c: Cosmetics 2017-12-30 19:26:42 +01:00
Kim Woelders cb725db9d4 Handle ".theme files"
A .theme file is really the same as the usual .etheme file (i.e.
a tarball of the theme files, compressed or not), except that .theme
files may contain themes for multiple applications.

The difference in the handling of a .theme file is only the location
where it is extracted.

A normal theme file, say FOO.etheme (or FOO.tar, FOO.tar.gz, FOO.blah),
is (normally) extracted to ~/.e16/themes/FOO/.
e16 now expects the theme files to be located in
~/.e16/themes/FOO/*.cfg or ~/.e16/themes/FOO/e16/*.cfg.

A .theme file, e.g. FOO.theme, is extracted to ~/.themes/FOO/.
e16 now expects the theme files to be located in
~/.themes/FOO/*.cfg or ~/.themes/FOO/e16/*.cfg (the first one
should probably never be used, but it's how it works).

In order to find this new theme path it is added to the default theme
search path.

Suggested by Don Harrop.
2017-12-30 19:03:20 +01:00
Kim Woelders 5ead9362a5 Correct various theme path checks 2017-12-30 18:52:54 +01:00
Kim Woelders dfdcbe273e theme.c: Add debug 2017-12-30 18:52:54 +01:00
Kim Woelders b5ad2a0256 Some refactoring in theme look-up
- Split _ThemeExtract() so it now just handles actual theme file
  extraction.
- No longer require full path name when extracting theme file.
2017-12-30 18:52:10 +01:00
Kim Woelders 11d6bbb3f4 theme.c: Cosmetics
- Rename _ThemeCheckPath() to _ThemeCheckDir() and let it return a
  "boolean".
- Change some 4096 to FILEPATH_LEN_MAX.
2017-12-30 16:41:09 +01:00
Kim Woelders e1bcf7dee4 theme.c: Mark some static functions as such 2017-12-30 16:41:09 +01:00
Kim Woelders cb3a873b97 Drop special handling of DEFAULT theme link.
e16 hasn't installed one since 3a394ad52a
(2004).
2017-12-30 16:41:00 +01:00
Kim Woelders 783e4ec79f Make Esystem() take argumments 2017-12-30 16:40:22 +01:00
Kim Woelders 6c4a143e97 Add (disabled) window/pixmap dump commnd 2017-12-17 06:39:18 +01:00
Kim Woelders e23ddddb9f Fix EDrawableDumpImage()
Same issue as previous commit when grabbing windows.
2017-12-17 06:39:04 +01:00
Kim Woelders b87e99e02e Fix magnifier pixel value display
Apparently, when using XShmGetImage to get an XImage for a window,
the image no longer includes subwindows (like when using
IncludeInferiors in GC).
When using XGetImage the XImage still includes subwindows.

Changing EImageGrabDrawable() to EImageGrabDrawableScaled() means that
we use imlib_create_scaled_image_from_drawable() instead of
imlib_create_image_from_drawable().

imlib_create_scaled_image_from_drawable() is implemented in such a way
that the drawable to be grabbed is always copied to a pixmap first.
2017-12-17 06:38:11 +01:00
Kim Woelders 00c261652e Do proper rendering of transparent icons in menus 2017-12-12 21:13:16 +01:00
maxerba e7b98aaa97 Updating danish translation 2017-11-29 12:42:14 +01:00
Kim Woelders def1f32eeb Update the restart cursor, which looked a bit dated.
By Don Harrop.
2017-11-18 22:50:45 +01:00
Kim Woelders c0aa55d156 Add new macros for themeing in 'definitions'
Provided by Don Harrop
2017-11-18 22:15:29 +01:00
Kim Woelders 47676afc1c Update po. 2017-11-18 22:15:29 +01:00
Kim Woelders 659a8b0455 Fix issue with initially shaded windows in certain cases.
At least in initially shaded SHADE_RIGHT pagers the client window would
be placed at a non-zero y offset in the container.
Not sure exactly why but this (WestGravity -> NorthWestGravity) fixes it.
The other cases got a similar treatment mostly because it seemed right.
2017-10-28 13:50:30 +02:00
Kim Woelders 305d0ef93c Fix focus after slide-in. 2017-10-28 09:35:19 +02:00
Kim Woelders 22de80465d Tweak some (disabled) focus debug stuff. 2017-10-28 09:35:19 +02:00
Pierre Neyron 4c3f0cbb7a add toggle_size half_X feature
Maximize window to a half of the screen (North, South, East, West)
wop * toggle_size half_N
wop * toggle_size half_S
wop * toggle_size half_E
wop * toggle_size half_W
2017-06-25 13:57:31 +02:00
Kim Woelders 01c450aa6d 1.0.18.000. 2017-06-25 13:57:31 +02:00
Kim Woelders bfa082d23c 1.0.18. 2017-04-16 15:29:17 +02:00
Kim Woelders 8c16e0d3c2 Update po. 2017-04-16 15:29:17 +02:00
Kim Woelders 70ee606634 Warning fixes for gcc 7. 2017-02-12 19:09:08 +01:00
Kim Woelders 2d4674e374 Forgot some 2016. 2017-02-12 19:04:02 +01:00
Kim Woelders 8135d644d1 Update po. 2016-11-25 18:40:37 +01:00
Kim Woelders cafd8672e6 Fix warning with recent pango.
pango_xft_get_context() is deprecated.
2016-11-25 18:40:08 +01:00
Kim Woelders 33991a6bf2 Drop incomplete HAVE_STDARG_H stuff. 2016-11-25 17:44:59 +01:00
Kim Woelders c18c409fdf Window list: Show windows on same head as pointer first. 2016-05-06 20:47:14 +02:00
Kim Woelders 6f225f3c74 Refactorization in WarpFocus(). 2016-05-06 20:47:14 +02:00