mate-desktop / mate-themes

Official themes for the MATE desktop
https://mate-desktop.org
GNU Lesser General Public License v2.1
76 stars 45 forks source link

scrolledwindows: Remove applet border and background #262

Closed vkareh closed 5 years ago

vkareh commented 5 years ago

This fixes some display issues with applets that contain a GtkScrolledWindow on some themes. The main example here is the mate-dock-applet.

BlackMATE before (wrong background color): blackmate-before after: blackmate-after

GreenLaguna before (wrong background color): greenlaguna-before after: greenlaguna-after

TraditionalGreen/TraditionalOk before (unnecessary border): traditional-before after: traditional-after

lukefromdc commented 5 years ago

While I don't have mate-dock installed, this is similar to a fix I used in my own theme for unwanted borders in certain dialogs. I have no objection to this in BlackMATE and support fixing this.

raveit65 commented 5 years ago

I don't use mate-dock-applet for myself or fedora, so i can't test it. But original code for globalmenu (vala-panel-appmenu) is from mine. PR make this code only more general and usable for applets which use #PanelApplet > scrolledwindow > viewport.frame {}. Should be fine.