Commit Graph

120 Commits

Author SHA1 Message Date
Sebastian Hengst
4a885f60d2 Backed out changeset 45330fa58671 (bug 1343802) 2017-03-27 18:00:05 +02:00
Kan-Ru Chen
59bfd6e8d3 Bug 1194751 - Part 5. Implement ScreenHelperGTK and delete old nsScreenManagerGtk/nsScreenGtk. r=karlt
ScreenHelperGTK is the platform dependent part of the original
nsScreenManagerGtk and nsScreenGtk. It registers monitors-changed
event listener from gtk and pushes updates to ScreenManager. See patch
part 4. for how ScreenManager works.

MozReview-Commit-ID: KBo7ZLFTjM3
2017-03-09 19:29:44 +08:00
Karl Tomlinson
85e3a14782 bug 1343802 update notebook_has_tab_gap and scrollbar metrics after theme changes r=jhorak+328198
MozReview-Commit-ID: IRPXNwLe5Ey
2017-03-21 17:27:41 +13:00
Karl Tomlinson
8d971e1f22 bug 1343802 remove moz_gtk_get_scrollbar_widget() r=jhorak+328198
This was used with GTK2, but is now unnecessary as discussed in bug 1278282.

moz_gtk_init() is now called from only one place and so will be called only
once.

MozReview-Commit-ID: 2KwJop6qsV9
2017-03-21 17:14:55 +13:00
Karl Tomlinson
d4af5b3a9d bug 1328352 set alpha component appropriately in operator over for -moz-field r=stransky+263117
MozReview-Commit-ID: AP9JfZTKDse
2017-01-04 08:43:20 +13:00
Karl Tomlinson
f58ab04926 bug 1320860 consider textview root node background in addition to text node for -moz-field r=stransky+263117
This is necessary for GTK versions > 3.18 because windows no
longer clear their backgrounds since
https://git.gnome.org/browse/gtk+/commit/?id=580ea227a6bb19ad6c6d4766b3a36dbad24583f3
and Ambiance for 3.20 has a transparent background for the "text" window.
See bug 1324262.

MozReview-Commit-ID: FL16Gx1EQR
2017-01-03 13:08:07 +13:00
Karl Tomlinson
8f181fea80 bug 1320860 introduce MOZ_GTK_TEXT_VIEW_TEXT and move MOZ_GTK_RESIZER to WidgetStyleCache r=stransky+263117+263117
The style context for MOZ_GTK_TEXT_VIEW is now created by copying from the
widget instead of caching a widget and using its context.

No rendering changes are expected, unless themes are animating GtkTextView
backgrounds.

MozReview-Commit-ID: 9aW61kMkKcb
2016-12-30 13:37:51 +13:00
Dão Gottwald
026a8b4e76 Backed out changeset 6c2cedbdeb65 (bug 1322120) for causing bug 1324262 2016-12-18 22:27:43 +01:00
Karl Tomlinson
32782da87a bug 1322120 use text node for field and selected colors r=stransky+263117
This adjustment is required for changes to MOZ_GTK_TEXT_VIEW in a6aabcb07a6e.
MOZ_GTK_TEXT_VIEW_TEXT now retrieves the equivalent node from WidgetStyleCache.

MozReview-Commit-ID: 2zfHCKMT0ov
2016-12-08 10:39:36 -10:00
Martin Stransky
8414100759 Bug 1320686 - [nsLookAndFeel] Get styles for menu label, button text and combobox text colors from WidgetCache. r=karlt 2016-12-01 05:09:00 -05:00
Ryan VanderMeulen
1699961a7a Backed out changeset 810b7212a529 (bug 1320686) for causing Valgrind leaks. 2016-11-29 21:16:06 -05:00
Martin Stransky
7eb18538be Bug 1320686 - [nsLookAndFeel] Get styles for menu label, button text and combobox text colors from WidgetCache. r=karlt 2016-11-28 06:44:00 -05:00
Martin Stransky
f0fb6da9f3 Bug 1319753 - Use WidgetCache to get colors at nsLookAndFeelfor menuitems, text and tree view, r=karlt 2016-11-23 04:29:00 +01:00
Martin Stransky
fbd3524fea Bug 1319075 - Use WidgetCache to get colors at nsLookAndFeel for GtkButton, GtkWindow, GtkScrollBar, r=karlt
Needs patch from Bug 1319066 to clean apply.
2016-11-23 02:00:00 +01:00
Martin Stransky
52e97a953d Bug 1319066 - Move complete GtkTooltip stack to WidgetCache. r=karlt 2016-11-23 21:14:58 -05:00
Karl Tomlinson
7aa33ad001 bug 1315527 check root node of frame for border color if no border on the "border" subnode r=stransky+263117
Some themes do not draw the "border" subnode, but instead draw a border on the
frame root node.

MozReview-Commit-ID: Fx67mQhhYmz
2016-11-21 18:07:48 +13:00
Jonathan Kingston
80b9bef57d Bug 1302157 - Remove images-in-menu and images-in-button code (& associated icons) since it's deprecated in GTK. r=bz,dholbert
MozReview-Commit-ID: IIj8PvgdaRp
2016-09-29 00:22:32 +01:00
Thomas Wisniewski
7e0d399ac0 Bug 1302937 - Remove -moz-mac-lion-theme. r=mstange 2016-09-16 14:42:19 -04:00
Benjamin Neff
b590458ead Bug 1272332 - Allow dark gtk theme with environment variable. r=karlt 2016-08-05 15:21:00 +02:00
Carsten "Tomcat" Book
186ae7c42a Merge mozilla-central to fx-team 2016-07-28 17:44:58 +02:00
Dão Gottwald
643a79a03b Backed out changeset 0f052f1a6a05 (bug 1272332) 2016-07-28 08:35:17 +02:00
Martin Stransky
b5347794dc Bug 1287085 - Move GtkInfoBar from gtk3drawing to WidgetCache. r=acomminos 2016-07-19 00:03:00 -04:00
Andrew Comminos
6948f93ec5 Bug 1266914 - Use the border subnode for GtkFrame to fetch border colours. r=karlt
MozReview-Commit-ID: 4muOcOStA7A
2016-07-25 10:32:12 -04:00
Nicolas Silva
118193b043 Bug 1272332 - Allow gtk the global dark theme behind a pref. r=karlt 2016-06-21 14:51:03 +02:00
Karl Tomlinson
d83b8739d3 Bug 1250704 - use same widget heirarchy as GTK for tooltip text color. r=stransky
MozReview-Commit-ID: 41sDYu3IqYq
2016-06-07 18:06:04 +12:00
Karl Tomlinson
4db0ce3bb7 Bug 1250704 - use style from WidgetStyleCache for tooltip colors. r=stransky
MozReview-Commit-ID: 9xzL8ckxTRQ
2016-06-07 16:11:51 +12:00
Carsten "Tomcat" Book
6c5d21f2f7 Backed out changeset f6f125b1088b (bug 1250704) 2016-06-08 13:46:13 +02:00
Carsten "Tomcat" Book
7b7da2aa80 Backed out changeset af36af25ecf4 (bug 1250704) 2016-06-08 13:46:11 +02:00
Karl Tomlinson
3cca0de956 Bug 1250704 - use same widget heirarchy as GTK for tooltip text color. r=stransky
MozReview-Commit-ID: 41sDYu3IqYq
2016-06-07 18:06:04 +12:00
Karl Tomlinson
38b88dbc0e Bug 1250704 - use style from WidgetStyleCache for tooltip colors. r=stransky
MozReview-Commit-ID: 9xzL8ckxTRQ
2016-06-07 16:11:51 +12:00
Nicolas Silva
239d2902e9 Bug 1216658 - Ignore Gt3 dark themes and use light theme's color scheme for native widgets. r=karlt 2016-04-29 10:14:29 +02:00
Martin Stransky
413e5ae1fe Bug 1248974- get menu bar text color from GtkMenuItem, r=karlt 2016-05-09 04:17:00 +02:00
Carsten "Tomcat" Book
65fbde88b2 Backed out changeset 2fd4339f19c1 (bug 1216658) for valgrind failures 2016-04-29 14:05:28 +02:00
Nicolas Silva
e7a70864eb Bug 1216658 - Ignore Gt3 dark themes and use light theme's color scheme for native widgets. r=karlt 2016-04-29 10:14:29 +02:00
Karl Tomlinson
421a8008db bug 1260178 null check pattern from -unico-border-gradient r=acomminos
MozReview-Commit-ID: HooAlTmINmq
2016-03-29 17:50:47 +13:00
Karl Tomlinson
da75957ae2 bug 1211892 read -unico-border-gradient of early Unico versions for ThreeDHighlight and ThreeDShadow r=acomminos
MozReview-Commit-ID: KWfQqT5MIjT
2016-03-18 22:49:46 +13:00
Sylvestre Ledru
1f07806bda Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan 2016-01-22 16:58:49 +01:00
Martin Stransky
f413df9ca8 Bug 1219717 - Derive text color/background from GtkTextView. r=karlt 2015-10-30 09:08:00 +01:00
Makoto Kato
3cad889e0f Bug 978679. Implement touch events for GTK3. r=karlt 2015-04-30 08:29:34 +12:00
Carsten "Tomcat" Book
c4ec0d715a Backed out changeset 2f909d41108b (bug 978679) for bustage on a CLOSED TREE 2015-10-19 13:22:55 +02:00
Makato Kato
1c60c7c42e Bug 978679 - Implement touch events for GTK3. r=karlt 2015-10-19 23:04:52 +13:00
Andrew Comminos
faf985b9cc Bug 1206516 - Use temporary widget to construct style context for GtkInfoBar. r=karlt 2015-09-29 19:32:00 +02:00
Andrew Comminos
064c0a352c Bug 1187203 - Implement GtkInfoBar appearance style on GTK3. r=karlt 2015-08-21 16:38:15 -04:00
Nick Robson
6fdd25c684 Bug 1075089 - Move popup menu frame offset to LookAndFeel and fix default offset for OS X. r=Enn 2015-08-04 16:41:00 -04:00
Carsten "Tomcat" Book
84ff5e7587 Backed out changeset 7edc58c272f1 (bug 1075089) for causing OS X 10.6 marionette failures in test_single_finger_desktop.py testSingleFingerMouse.test_double_tap on a CLOSED TREE 2015-07-31 14:49:40 +02:00
Nick Robson
d636d52e60 Bug 1075089 - Moved popup menu frame offset to LookAndFeel, fixed default offset for OS X. r=enn 2015-07-30 15:00:00 +02:00
Andrew Comminos
f7538a2814 Bug 1187649 - Free constructed widget path in nsLookAndFeel on GTK. r=karlt 2015-07-28 06:28:00 -04:00
Carsten "Tomcat" Book
9f752d82bd Backed out changeset ac04ab483fba (bug 1187649) for bustage on a CLOSED TREE 2015-07-28 13:05:48 +02:00
Andrew Comminos
dc9fde3f76 Bug 1187649 - Free constructed widget path in nsLookAndFeel on GTK. r=karlt 2015-07-27 11:21:00 +02:00
Martin Stransky
76864d117d Bug 1169233 - Get grey (inactive) text color from menu labels. r=karlt 2015-05-29 05:40:00 -04:00