Commit Graph

359 Commits

Author SHA1 Message Date
Ell
1749fd995c app: add GTK+ patch to fix list-style combo-box popup width
Add a GTK+ patch that makes sure that list-style combo-box popups
are never narrower than their content.  This fixes the popup width
when using the System theme on Windows, for combo-boxes whose popup
cell-layout is wider than the combo-box cell-layout.  It is also
required for the next commit.
2019-03-27 20:15:50 -04:00
Ell
4cc0096450 themes: fix Dark theme tree-view selected text color during editing
In all themes, fix the color of selected text, while editing a
tree-view's item text (such as when renaming a layer), by
overriding tree-view specific styling with the global text-entry
style, for nested text entries inside tree-views.  The text would
previously use the same color as the selection background, making
it unreadable.

This issue affects the Dark and Gray themes, although this fix only
takes care of the Dark theme.
2018-11-08 07:22:55 -05:00
Ell
32c2aa11df themes: fix check/radio buttons in tree views
Apply the check/radio-button style to GtkTreeView, so that
GtkCellRendererToggle picks the right check/radio-button graphic.
Otherwise, it falls back to a graphic that depends on the system
theme, and which may not play well with the current theme colors.

Note that this only affects the Dark theme; in the Light and Gray
themes, one of the KDE-hack styles "takes care" of this, but this
commit applies the same change to these themes anyway.
2018-10-04 21:51:30 -04:00
Ell
0a900542be themes: fix arrow color of menu items with a submenu
Commit 6484e91f82 broke the arrow
color of menu items with a submenu in the Dark theme; it seems to
have always been broken in the Light and Gray themes.

Fix this, by applying the default style to the GtkMenuItem class.
2018-09-21 04:07:44 -04:00
Ell
6484e91f82 themes: in the Dark theme, use 'class "GtkWidget"' instead of "*"
... for applying the global style.

Last commit *might* have fixed the need to use "*" instead of
"GtkWidget", although it's hard to tell -- nothing seems to be
obviously wrong, anyway.  Let's just try restoring this, and see if
anything breaks.
2018-09-18 06:17:59 -04:00
Ell
d7da2cb338 Issue #1604 - Active layer name is hard to read
In the gtkrc files of the Dark and Light themes, replace a bunch of
"widget" selectors with "widget_class" selectors, which is what
they really should be (they should probably also use angle-bracket
notation for classes, but as long as it works...)  This allows the
different styles to be merged correctly, and fixes the active layer
name color (more generally, the text color of selected rows of
focused tree-views inside dockables.)  The Gray theme seems to be
double-broken in such a way that "fixing" it causes it to do the
"wrong" thing...  I'm not touching that :)
2018-09-18 04:58:46 -04:00
f39d359bdf Forgot some license links... 2018-07-12 00:13:19 +02:00
bd03ea7617 Clear kde_hacks and change treeview selected color 2018-04-25 12:51:47 +02:00
0a39874bda themes: fix "Dark" selected colors in "kde_hack_1" too, whatever that is 2018-04-18 14:54:34 +02:00
434728da08 themes: switch Dark's base[SELECTED] and text[SELECTED] colors
so selected text is totally obvious. Also improves histogram and other
places which use base/text's higher contrast.
2018-04-17 19:59:06 +02:00
54ca0a7f68 Add Gray theme back to GIMP
that was removed by commit 7aecc90e10
2018-04-10 00:16:26 +02:00
cf21dcbe37 Rework and rename the default Dark theme 2018-04-05 23:59:27 +03:00
7aecc90e10 Remove Lighter, Darker, and Gray themes 2018-04-05 23:59:22 +03:00
657c39dc74 plug-ins, themes: use the "normal text" color as stdout color of...
... the python console.
It was using "selected text", which is most often inverted color (close
if not identical to the background color). As a consequence, it made
stdout output unreadable by default, forcing themes to always define a
style for the python console. Using "normal text" is a much better
choice to default to something readable from a parent style.

As a consequence, I also removed "python-fu-console" styling from the
System theme, where there should be as few theming as possible.
2018-01-09 18:41:59 +01:00
a7677c865f themes: add new style "gimp-python-console" for all themes.
I mostly copy-pasted from Dark and Light theme which already had this
style set since previous commit. If anyone wants to finetune colors, be
my guest!
2018-01-09 18:20:23 +01:00
e663526de9 Bug 753736: GIMP Python green prompt is virtually...
... unreadable to those with certain type of color blindness
2018-01-09 17:44:37 +01:00
32d575b64f Bug 785080 - 02-Gray Theme lacks foreground-background contrast.
Thanks to Massimo for the solution!
2017-12-02 16:09:03 +01:00
be6ccc491c themes: minor theme fix.
s/gtk-application-prefer-gimp-dark-theme/gtk-application-prefer-dark-theme/
I'm actually not sure if this property is supposed to be in the gtkrc
file. It looks like it is available only from GTK+3, and isn't it more
of an application settings in order to select the right theme variant,
rather than a specific theme settings?
Anyway let's at least set the right property name.
2017-07-15 14:39:16 +02:00
11d34b0309 themes: add commented-out font_name property in "System" theme.
This is to be used as self-documentation code, so that people know
how to hack the font size since I am not sure GIMP will always provide
reasonable font display on every platform.
2017-03-24 04:38:51 +01:00
e58d8fcd24 themes: removing the "Small" theme.
As a result of "Bug 745835 - Resize icons as Option, not theme", the
Small theme is now useless and redundant with the icon sizing
preferences.
2017-03-24 04:33:51 +01:00
3cc77b03bf Bug 759904: Some icons can't be set from the icon theme
make it possible to use themed standard named icons
so to have also gtk dialogs show icons in the same style
as GIMP ui.
2016-09-02 12:30:49 +02:00
060291c34e Bug 768934: Invisible main menu bar menu...
...items except File menu item in Mint Cinnamon 18

set GtkMenuItem::horizontal-padding = 4
2016-08-03 18:38:03 +02:00
0f67e21c98 themes: rename theme "Default" into "System".
Since we have many themes now, this new name better indicates that it
is meant to follow your desktop theme settings.
Also it will likely not remain the default theme.
2016-03-22 16:37:10 +01:00
7b27e03799 themes: order themes by shades of gray.
Since current implementation orders by folder, let's prepend install
folders by numbers.
2016-03-22 01:40:18 +01:00
4358c783e4 themes: redo fix from commit 9c617d0.
It got lost when renaming the theme on commit ab8aa3b.
2016-03-22 01:36:55 +01:00
ab8aa3bd83 Themes: Renamed themes. Added 3 themes (Lighter, Gray, Dark).
Updated themes, renamed The-Dark-Side-Of-Gimp to Darker, and renamed The-Light-Side-Of-Gimp
to Light. Added three themes, Lighter, Gray, and Dark.

https://bugzilla.gnome.org/show_bug.cgi?id=759648 (Light)
https://bugzilla.gnome.org/show_bug.cgi?id=759649 (Darker)
https://bugzilla.gnome.org/show_bug.cgi?id=759663 (Gray)
https://bugzilla.gnome.org/show_bug.cgi?id=759830 (Lighter)
https://bugzilla.gnome.org/show_bug.cgi?id=759996 (Dark)
2016-03-20 10:56:47 -04:00
9c617d058c themes: s/menu-item-prelight.png/menuitem-prelight.png/
Fix a typo of an image file's name in gtkrc.
2016-02-29 23:52:02 +01:00
58b5c94d92 themes: uninstalled Light theme icon.
spin-fill-bg.png added in commit 0d692ea but not installed.
Fixes the following theme warning:
> Unable to locate image file in pixmap_path: "ui/spin-fill-bg.png"
2016-02-29 23:44:14 +01:00
0d692eadc0 themes: updates to TLSOG & TDSOG (prelight, text, bug fixes, (C))
Updates to copyright, some button contrast for TDSOG, TDLSOG. Added comment
for button focus area. Fixed selected text for TLSOG themes. Redid screenshots
to match changes. Fixed menu style name. Updated copyright year. Fixed menu
items for Ubuntu unity. Fixed prelight and fg for widget text. Updated to
v0.1.6.
2016-02-14 12:10:10 -05:00
a3185f8794 Bug 760906 - Fixing warning on new themes.
Both new themes were outputting the following warning for gap_left.png:
"Invalid borders specified for theme pixmap"
"borders don't fit within the image"
The problem was that the sum of the left and right gap borders cannot be
more than the gap file width (2 px in our case).
2016-02-06 02:00:06 +01:00
7c2491c235 themes: light theme should also use larger tool icons.
Now that we are back to separate gtkrc files, let's make the light theme
follow the same layout.
2016-02-02 22:09:07 +01:00
3198d27787 Revert "themes: use a common gtkrc and correctly named colors."
This reverts commit 6e109052ca.
Let the theme designer work his own way. :-)
2016-02-02 22:09:07 +01:00
8d79e2289a themes: default toolbox icon size should be GTK_ICON_SIZE_LARGE_TOOLBAR.
Just like the old "Default" theme has. This is an acceptable average for
various kind of devices, unlike small icons.
2016-01-22 16:35:53 +01:00
6e109052ca themes: use a common gtkrc and correctly named colors.
All our new themes should now use a common gtkrc base. Colors only
should be different, as included from a colorrc. This way we ensure a
consistent behavior throughout all themes.
Also we should use meaningful color names to make maintenance easy.
2016-01-17 19:53:04 +01:00
f522c1ad49 themes: update distributed theme images.
entry-border-fill-active-item is not used anymore (commit 2144a7c).
gimp-arrow-right-prelight seems as well for some time.
Adding menuitem-prelight (commit 127fdff and 2144a7c).
2016-01-17 15:34:23 +01:00
2144a7ceb9 themnes: Updated light theme menuitem prelight 2016-01-17 07:08:49 -05:00
127fdff9c7 themes: Updated both dark and light themes menuitem prelight.
Updated both themes menuitem prelight to use same filename in gtkrc.
Added new ui/menuitem-prelight.png
2016-01-17 06:58:43 -05:00
ca9ca906a7 themes: complete dark and light themes.
Missing style rules which have to be in both themes.
https://bugzilla.gnome.org/show_bug.cgi?id=759648#c26
2016-01-16 23:01:49 +01:00
98ecd4a010 themes: matches widget styles on Dark and Light themes.
<classname> means the style applies on any child class.
In particular the rule "<GtkButton>" will apply on any object derived
from a GtkButton.
2016-01-16 15:58:23 +01:00
2e7ebde19d themes: add missing fixes for 'The Dark Side of Gimp' theme
Adds missing plugins fix, reverts part of previous commit to
remove duplicate styles.

https://bugzilla.gnome.org/show_bug.cgi?id=759649
2016-01-14 10:23:33 -05:00
079e113dd9 themes: update/fixes for 'The-Light-Side-of-Gimp' theme
Updated & fixed KDE plugins/filters not being skinned properly.
Fixed Ubuntu overlay scrollbars. Minor color tweak to UI menu
bar.

https://bugzilla.gnome.org/show_bug.cgi?id=759648
2016-01-13 10:02:16 -05:00
4dbc68be7f themes: update/fixes for 'The-Dark-Side-of-Gimp' theme
Updated & fixed KDE plugins/filters not being skinned properly.
Fixed Ubuntu overlay scrollbars.

https://bugzilla.gnome.org/show_bug.cgi?id=759649
2016-01-13 09:57:19 -05:00
6263ac5de6 themes: clean out some duplicate style.
The style "combobox-entry-button-style" was defined twice (with the
exact same implementation).
2016-01-12 14:37:59 +01:00
7f67b53264 themes: fix paths to "Color" icon theme in "Default" and "Small" themes.
There are still a few hardcoded paths in the Default/Small themes.
Update them to the new name of the "Default" icon theme, which became
"Color".
2016-01-11 17:56:39 +01:00
b3dc5db2a2 themes: adding The-Light-Side-of-Gimp theme
Adding light theme as per request:
https://bugzilla.gnome.org/show_bug.cgi?id=759648#c19
2016-01-11 09:53:41 -05:00
1013cadc3d themes: add missing png reference to makefile 2016-01-11 09:07:54 -05:00
75f81d15b1 themes: updates & bug fixes for KDE, Gnome
Fixed display issues for The-Dark-Side-of-Gimp under KDE (QtCurves &
Oxygen-GTK) themes, and Gnome users (Ubuntu). Removed focus padding &
lines to bring look closer to the Default theme. Updated button look
to harmonize with possible future grey and light themes.
2016-01-10 14:22:34 -05:00
54a2f5feca themes: fix EXTRA_DIST in The-Dark-Side-of-Gimp/Makefile.am 2015-12-28 22:28:56 +01:00
33a61c7f45 themes: fixes color issue with scrolled windows on dark theme. 2015-12-27 19:44:33 +01:00
9eb5fbd2a2 Bug 759649 - new dark theme by Benoit Touchette.
Initial version of our dark theme.
Additional credits for some of the UI images to horst3180 (Ceti-2 theme)
and Medhi Abhollahi (new CS6 II theme). All under GPLv3, as the rest
of GIMP.
2015-12-23 19:27:18 +01:00