Commit Graph

35 Commits

Author SHA1 Message Date
Martin Stransky
727a172dcd Bug 1271524 - Move tab widget to WidgetCache. r=acomminos
--HG--
extra : rebase_source : 4f9b654b745934054f0ec2509ec3c21996aa2e68
2016-08-21 23:13:00 -04:00
Martin Stransky
db4ee506fc Bug 1278108 - Implement <input type="range"> on gtk 3.20. r=karlt 2016-08-19 05:20:00 -04:00
Martin Stransky
e2cbfe0761 Bug 1291769 - use correct "checked" state for treeview expanders, r=acomminos 2016-08-03 14:53:00 +02:00
Martin Stransky
0bbcee935c Bug 1289763 - Move gImageMenuItemWidget/gCheckMenuItemWidget to WidgetCache, r=acomminos 2016-07-28 03:54:00 +02:00
Martin Stransky
d055a30b27 Bug 1289764 - Move gHPanedWidget/gVPanedWidget to WidgetCache, r=acomminos 2016-07-29 05:30:00 +02:00
Martin Stransky
ec30e6e963 Bug 1288413 - Move GtkTreeView widgets to WidgetCache, r=acomminos 2016-07-29 05:15:00 +02:00
Martin Stransky
ce52ea148e Bug 1290048 - Remove gtk_style_context_set_state/gtk_style_context_set_direction after ClaimStyleContext() call. r=acomminos 2016-07-28 04:13:00 -04:00
Martin Stransky
0c9bdc3477 Bug 1288696 - Move MenuSeparatorWidget to WidgetCache, r=acomminos 2016-07-25 05:40:00 +02:00
Martin Stransky
87696b003b Bug 1288412 - Move GtkScrolledWindow to WidgetCache, r=acomminos
Land Bug 1282753 before this one.
2016-07-25 06:46:00 +02:00
Martin Stransky
1130b1827c Bug 1282753 - move button and entry widgets from gtk3drawing to WidgetCache, r=andrew@comminos 2016-07-20 01:57:00 +02:00
Martin Stransky
a344deacb1 Bug 1287085 - Move GtkInfoBar from gtk3drawing to WidgetCache. r=acomminos 2016-07-19 00:03:00 -04:00
Martin Stransky
23f7a86584 Bug 1287080 - Move Toolbar, Frame and Gripper widgets from gtk3drawing to WidgetCache, r=acomminos 2016-07-18 05:29:00 +02:00
Martin Stransky
70d7e929fe Bug 1287082 - Move GtkExpander widget from gtk3drawing.cpp to WidgetCache, r=acomminos 2016-07-18 04:27:00 +02:00
Martin Stransky
12a9958342 Bug 1276534 - don't save/restore style context on arrows on menu, r=karlt 2016-06-13 05:28:00 +01:00
Martin Stransky
150a870af2 Bug 1275407 - Adds CSS contents node to have correct scrollbar background on Gtk >= 3.20. r=karlt
Also derive default widget style from widget path. r=?karlt
Patch from Bug 1250704 needs to land prior to this one.

--HG--
extra : rebase_source : b831bb11a7a0a00c4bf51f93e07a41f432c78ec1
2016-06-13 03:35:00 +01:00
Martin Stransky
a7a4d14c62 Bug 1271523 - Construct tooltip style from path for Gtk >= 3.20, r=karlt
To apply it needs a patch from Bug 1277818.

MozReview-Commit-ID: 3xhYDliL4iw

--HG--
extra : rebase_source : 690e765e9cde78d0b83b9127ccc6e58fc86d415d
2016-06-07 06:22:00 +02:00
Carsten "Tomcat" Book
976efc5585 Backed out changeset a7334430aef0 (bug 1271523) for valgrind leak
--HG--
extra : rebase_source : 7f597cdb9d4d55f5fa8fc629de657ce95d88788a
2016-06-08 13:46:26 +02:00
Martin Stransky
34f103fe45 Bug 1271523 - Construct tooltip style from path for Gtk >= 3.20, r=karlt
To apply it needs a patch from Bug 1277818.
2016-06-07 06:22:00 +02:00
Karl Tomlinson
5aebf9bad8 bug 1274745 use ClaimStyleContext to ensure GtkWindow exists before using for scrollbar background r=stransky+263117
MozReview-Commit-ID: KKekEXJScM0

--HG--
extra : rebase_source : dd6b5261df5a1fe4e37b12c604f96af4d5c18e66
2016-05-27 10:32:02 +12:00
Martin Stransky
b8bb3b2ec9 Bug 1273013 - "download progress bar does not show in gtk3 build." r=karlt 2016-05-24 13:43:00 +02:00
Karl Tomlinson
5fe070aa8f bug 1272194 use WidgetStyleCache for menus r=stransky+263117
Unnecessary widget realization is also removed.

MozReview-Commit-ID: A5HuE5bqf4x

--HG--
extra : rebase_source : 2fb13bac970e5b5daa53948d3d9e9e18496a5a4e
2016-05-17 18:24:55 +12:00
Karl Tomlinson
6b738d9703 bug 1272194 only add menubar class to menu items with GTK 3.4 r=stransky+263117
and save/restore context consistent with GTK 3.4.

MozReview-Commit-ID: GdMoAmzOJlf

--HG--
extra : rebase_source : c3cb854a304a0bc10cd27325b42361031a5107db
2016-05-17 18:02:00 +12:00
Karl Tomlinson
a7b88b8021 bug 1272194 don't create a label for menu items r=stransky+263117
The label dates back to GTK2 code and is not currently used.
Removing will allow sharing code with menubar item creation.

MozReview-Commit-ID: LI5t4agot1z

--HG--
extra : rebase_source : f64170f5be3084f45a3221e7c557c5a80c835043
2016-05-17 11:02:25 +12:00
Karl Tomlinson
50d0eedfba bug 1272194 replace MOZ_TOPLEVEL_MENU_ITEM flag with MOZ_GTK_MENUBARITEM node r=stransky+263117
This provides a better mapping between WidgetNodeType and GtkWidgets.

MozReview-Commit-ID: 3YYzK4aZCbP

--HG--
extra : rebase_source : b2a2dc92b77a265fc73077345c1b6a18d9a4abc5
2016-05-19 16:55:04 +12:00
Martin Stransky
9e176d8f04 Bug 1271579 - Set GtkTextDirection and GtkStateFlags in ClaimStyleContext, r=karlt 2016-05-17 12:52:04 -07:00
Martin Stransky
4cd7d094b8 Bug 1262136 - implement checkboxes/radiobuttons for GTK 3.20, r=karlt
MozReview-Commit-ID: 2mjpxT6b2xh

--HG--
extra : rebase_source : 3e62cc98b5bae5caa3137e940901048f42bcf2a6
extra : amend_source : 1f8665b87560583be6fd97eef7e5e44cf95fb9a7
2016-05-13 11:59:17 +12:00
Martin Stransky
baaa0fca1d Bug 1248974 - Remove gtk_style_context_save which corrupts style hierarchy for menu item background, r=karlt 2016-05-09 04:17:00 +02:00
Martin Stransky
14a55c9a93 bug 1234158 add support for GTK 3.20 scrollbars r=karlt
--HG--
extra : transplant_source : %84N%24%B8%1D%80%EE%133%96%B3Y%0B%5D%29%26%18%24%B3%60
extra : histedit_source : 6e54e39b3c2649e4efebb864db2d5ce5d8b7b330
2016-05-09 11:08:26 +12:00
Karl Tomlinson
b799dfaa46 bug 1234158 rename GtkThemeWidgetType enum to WidgetNodeType as it will differentiate GTK CSS nodes r=Stránský
--HG--
extra : transplant_source : %11-%01%D8%F3%D6%00%E9%0C%D8%84z%A2%98%7C%F3%B5I%CF%5E
extra : histedit_source : deb6e194d8ea4466976347e24a741ee354dcc331
2016-04-14 17:47:20 +12:00
Martin Stransky
c64aea7200 Bug 1263145 - Render multiline input text entries as GtkTextView, r=karlt 2016-04-27 01:07:00 +02:00
Karl Tomlinson
1df20b3f7d bug 1264170 only add slider class to scale after style save r=acomminos
so that ranges don't render like their thumbs

MozReview-Commit-ID: KshWxyAb1nh

--HG--
extra : rebase_source : efb7f7ffd5ba75324b47e2a83d638ec411868c1b
2016-04-13 08:48:15 +12:00
Martin Stransky
a2db24fb14 Bug 1257811 - set min-height for input widgets. r=karlt 2016-04-01 04:43:00 +02:00
Karl Tomlinson
1bc3b5e29b bug 1261277 use GtkTextView to get an appropriate color for resizers r=acomminos
MozReview-Commit-ID: IhcjE7Aax8g

--HG--
extra : rebase_source : bd1ec08134726b10626e69bd4d30b14b741bdde4
2016-03-31 23:30:12 +13:00
Martin Stransky
a6587e930c Bug 1259433 - remove gtk_widget_style_get() from gtk3drawing, r=karlt a=kwierso
MozReview-Commit-ID: 13VFxv518qc
2016-03-31 14:21:15 -07:00
Martin Stransky
4577ff8de2 Bug 1258989 - Switch gtk3drawing to a C++ file, r=karlt
--HG--
rename : widget/gtk/gtk3drawing.c => widget/gtk/gtk3drawing.cpp
extra : rebase_source : e9942bfc95c6e15c6406be73d43420eae06dfe1e
2016-03-23 03:49:00 +01:00