Commit Graph

36 Commits

Author SHA1 Message Date
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
Martin Stransky
fa1ccd5b2b Bug 1271524 - Move tab widget to WidgetCache. r=acomminos 2016-08-21 23:13:00 -04:00
Martin Stransky
15688726bc Bug 1278108 - Implement <input type="range"> on gtk 3.20. r=karlt 2016-08-19 05:20:00 -04:00
Martin Stransky
e25d3ca315 Bug 1291769 - use correct "checked" state for treeview expanders, r=acomminos 2016-08-03 14:53:00 +02:00
Martin Stransky
41cb9a2b59 Bug 1289763 - Move gImageMenuItemWidget/gCheckMenuItemWidget to WidgetCache, r=acomminos 2016-07-28 03:54:00 +02:00
Martin Stransky
35eae4bc84 Bug 1289764 - Move gHPanedWidget/gVPanedWidget to WidgetCache, r=acomminos 2016-07-29 05:30:00 +02:00
Martin Stransky
5d4cb9f38e Bug 1288413 - Move GtkTreeView widgets to WidgetCache, r=acomminos 2016-07-29 05:15:00 +02:00
Martin Stransky
5bbaa243a0 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
d10708ff29 Bug 1288696 - Move MenuSeparatorWidget to WidgetCache, r=acomminos 2016-07-25 05:40:00 +02:00
Martin Stransky
6b8c589191 Bug 1288412 - Move GtkScrolledWindow to WidgetCache, r=acomminos
Land Bug 1282753 before this one.
2016-07-25 06:46:00 +02:00
Martin Stransky
98afb70192 Bug 1282753 - move button and entry widgets from gtk3drawing to WidgetCache, r=andrew@comminos 2016-07-20 01:57:00 +02:00
Martin Stransky
b5347794dc Bug 1287085 - Move GtkInfoBar from gtk3drawing to WidgetCache. r=acomminos 2016-07-19 00:03:00 -04:00
Martin Stransky
80b969dc5e Bug 1287080 - Move Toolbar, Frame and Gripper widgets from gtk3drawing to WidgetCache, r=acomminos 2016-07-18 05:29:00 +02:00
Martin Stransky
d00e7467cf Bug 1287082 - Move GtkExpander widget from gtk3drawing.cpp to WidgetCache, r=acomminos 2016-07-18 04:27:00 +02:00
Martin Stransky
1280471838 Bug 1276534 - don't save/restore style context on arrows on menu, r=karlt 2016-06-13 05:28:00 +01:00
Martin Stransky
1fc41ad555 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.
2016-06-13 03:35:00 +01:00
Martin Stransky
2926ec02fe 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
2016-06-07 06:22:00 +02:00
Carsten "Tomcat" Book
96ab069dc3 Backed out changeset a7334430aef0 (bug 1271523) for valgrind leak 2016-06-08 13:46:26 +02:00
Martin Stransky
353d7b864e 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
af64c63ce0 bug 1274745 use ClaimStyleContext to ensure GtkWindow exists before using for scrollbar background r=stransky+263117
MozReview-Commit-ID: KKekEXJScM0
2016-05-27 10:32:02 +12:00
Martin Stransky
65ff93c00a Bug 1273013 - "download progress bar does not show in gtk3 build." r=karlt 2016-05-24 13:43:00 +02:00
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