Commit Graph

15 Commits

Author SHA1 Message Date
Karl Tomlinson
61c438e995 bug 1272194 use WidgetStyleCache for menus r=stransky+263117
Unnecessary widget realization is also removed.

MozReview-Commit-ID: A5HuE5bqf4x
2016-05-17 18:24:55 +12:00
Karl Tomlinson
0f4e5ed7ae 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
2016-05-17 18:02:00 +12:00
Karl Tomlinson
ed5c996bc7 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
2016-05-17 11:02:25 +12:00
Karl Tomlinson
838da096ad 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
2016-05-19 16:55:04 +12:00
Martin Stransky
6dbc649274 Bug 1271579 - Set GtkTextDirection and GtkStateFlags in ClaimStyleContext, r=karlt 2016-05-17 12:52:04 -07:00
Martin Stransky
49b896a119 Bug 1262136 - implement checkboxes/radiobuttons for GTK 3.20, r=karlt
MozReview-Commit-ID: 2mjpxT6b2xh
2016-05-13 11:59:17 +12:00
Martin Stransky
300618efb3 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
3fe7555cdd bug 1234158 add support for GTK 3.20 scrollbars r=karlt 2016-05-09 11:08:26 +12:00
Karl Tomlinson
2b505c2fd9 bug 1234158 rename GtkThemeWidgetType enum to WidgetNodeType as it will differentiate GTK CSS nodes r=Stránský 2016-04-14 17:47:20 +12:00
Martin Stransky
4bec9657d5 Bug 1263145 - Render multiline input text entries as GtkTextView, r=karlt 2016-04-27 01:07:00 +02:00
Karl Tomlinson
63c4f075aa 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
2016-04-13 08:48:15 +12:00
Martin Stransky
61df47f746 Bug 1257811 - set min-height for input widgets. r=karlt 2016-04-01 04:43:00 +02:00
Karl Tomlinson
8771844bd0 bug 1261277 use GtkTextView to get an appropriate color for resizers r=acomminos
MozReview-Commit-ID: IhcjE7Aax8g
2016-03-31 23:30:12 +13:00
Martin Stransky
590060fe01 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
c645dc6ad6 Bug 1258989 - Switch gtk3drawing to a C++ file, r=karlt 2016-03-23 03:49:00 +01:00