From 5acbfa6659e01f04de15b0c56faa2da86fc7d88c Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Thu, 26 Nov 2015 21:52:32 +0100 Subject: GTK3: use a horizontal padding=0 for GtkCell - this is a workaround to fix https://github.com/mate-desktop/mate-system-monitor/issues/62 - the real issue should be in gtk+ itself --- desktop-themes/BlackMATE/gtk-3.0/mate-applications.css | 11 +++++++++++ desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css | 11 +++++++++++ desktop-themes/BlueMenta/gtk-3.0/mate-applications.css | 11 +++++++++++ desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css | 11 +++++++++++ desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css | 11 +++++++++++ desktop-themes/Menta/gtk-3.0/mate-applications.css | 11 +++++++++++ desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css | 11 +++++++++++ desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css | 11 +++++++++++ .../TraditionalOkTest/gtk-3.0/mate-applications.css | 11 +++++++++++ 9 files changed, 99 insertions(+) diff --git a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css index 7758fc1f..c9bde318 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css +++ b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css @@ -810,3 +810,14 @@ EomThumbNav .button.flat:insensitive { background-image: none; } +/*********************** + * Mate-system-monitor * + ***********************/ + +/* workaround for crash if reducing the size of device column to zero, + horizontal padding needs to set to 0, any other value crashes m-s-m */ + +.notebook .vertical GtkScrolledWindow GtkTreeView .cell { + padding: 1px 0px 0px 0px; +} + diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css b/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css index 11c53188..8bd8a4c1 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css @@ -1338,3 +1338,14 @@ EomThumbNav .button.flat:insensitive { border-color: transparent; } +/*********************** + * Mate-system-monitor * + ***********************/ + +/* workaround for crash if reducing the size of device column to zero, + horizontal padding needs to set to 0, any other value crashes m-s-m */ + +.notebook .vertical GtkScrolledWindow GtkTreeView .cell { + padding: 0px; +} + diff --git a/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css b/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css index fd2eb405..0b23b990 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css +++ b/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css @@ -921,3 +921,14 @@ EomThumbNav .button.flat:insensitive { border-color: transparent; } +/*********************** + * Mate-system-monitor * + ***********************/ + +/* workaround for crash if reducing the size of device column to zero, + horizontal padding needs to set to 0, any other value crashes m-s-m */ + +.notebook .vertical GtkScrolledWindow GtkTreeView .cell { + padding: 1px 0px 0px 0px; +} + diff --git a/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css b/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css index 31b36f77..447e6cd9 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css @@ -1362,3 +1362,14 @@ EomThumbNav .button.flat:insensitive { border-color: transparent; } +/*********************** + * Mate-system-monitor * + ***********************/ + +/* workaround for crash if reducing the size of device column to zero, + horizontal padding needs to set to 0, any other value crashes m-s-m */ + +.notebook .vertical GtkScrolledWindow GtkTreeView .cell { + padding: 0px; +} + diff --git a/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css b/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css index 7fb4f357..29a4cbab 100644 --- a/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css +++ b/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css @@ -761,3 +761,14 @@ EomThumbNav .button.flat:insensitive { border-color: transparent; } +/*********************** + * Mate-system-monitor * + ***********************/ + +/* workaround for crash if reducing the size of device column to zero, + horizontal padding needs to set to 0, any other value crashes m-s-m */ + +.notebook .vertical GtkScrolledWindow GtkTreeView .cell { + padding: 1px 0px 0px 0px; +} + diff --git a/desktop-themes/Menta/gtk-3.0/mate-applications.css b/desktop-themes/Menta/gtk-3.0/mate-applications.css index 48ab10f2..6c70de4f 100644 --- a/desktop-themes/Menta/gtk-3.0/mate-applications.css +++ b/desktop-themes/Menta/gtk-3.0/mate-applications.css @@ -919,3 +919,14 @@ EomThumbNav .button.flat:insensitive { border-color: transparent; } +/*********************** + * Mate-system-monitor * + ***********************/ + +/* workaround for crash if reducing the size of device column to zero, + horizontal padding needs to be set to 0, any other value crashes m-s-m */ + +.notebook .vertical GtkScrolledWindow GtkTreeView .cell { + padding: 1px 0px 0px 0px; +} + diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css b/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css index bb5c8368..c5cd4272 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css @@ -508,3 +508,14 @@ EomThumbNav .button.flat:insensitive { border-color: @insensitive_border_color; } +/*********************** + * Mate-system-monitor * + ***********************/ + +/* workaround for crash if reducing the size of device column to zero, + horizontal padding needs to set to 0, any other value crashes m-s-m */ + +.notebook .vertical GtkScrolledWindow GtkTreeView .cell { + padding: 2px 0px; +} + diff --git a/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css b/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css index 38db4785..77f4b3c9 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css @@ -523,3 +523,14 @@ EomThumbNav .button.flat:insensitive { border-color: @insensitive_border_color; } +/*********************** + * Mate-system-monitor * + ***********************/ + +/* workaround for crash if reducing the size of device column to zero, + horizontal padding needs to set to 0, any other value crashes m-s-m */ + +.notebook .vertical GtkScrolledWindow GtkTreeView .cell { + padding: 2px 0px; +} + diff --git a/desktop-themes/TraditionalOkTest/gtk-3.0/mate-applications.css b/desktop-themes/TraditionalOkTest/gtk-3.0/mate-applications.css index 0502b7b9..d721d008 100644 --- a/desktop-themes/TraditionalOkTest/gtk-3.0/mate-applications.css +++ b/desktop-themes/TraditionalOkTest/gtk-3.0/mate-applications.css @@ -526,3 +526,14 @@ EomThumbNav .button.flat:insensitive { border-color: @insensitive_border_color; } +/*********************** + * Mate-system-monitor * + ***********************/ + +/* workaround for crash if reducing the size of device column to zero, + horizontal padding needs to set to 0, any other value crashes m-s-m */ + +.notebook .vertical GtkScrolledWindow GtkTreeView .cell { + padding: 2px 0px; +} + -- cgit v1.2.1