summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-30 15:08:23 +0300
committermonsta <[email protected]>2018-03-18 14:50:07 +0300
commit68395eabb30144f0c1675507d0e292f90e04ebd3 (patch)
tree7d545a7c63157de51b495e0b0b8a4283e37cf915
parentdbbd710f1ed3a0b1697281239a621b4a48eda5bd (diff)
downloadmate-panel-68395eabb30144f0c1675507d0e292f90e04ebd3.tar.bz2
mate-panel-68395eabb30144f0c1675507d0e292f90e04ebd3.tar.xz
background: reword warning about unsupported background-image value
make it more clear that the problem is in the theme, not the panel
-rw-r--r--mate-panel/panel-background.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/mate-panel/panel-background.c b/mate-panel/panel-background.c
index 1b388f92..66fbad92 100644
--- a/mate-panel/panel-background.c
+++ b/mate-panel/panel-background.c
@@ -131,10 +131,7 @@ panel_background_prepare (PanelBackground *background)
background->default_pattern);
}
else {
- g_warning ("%s\n",
- ("unsupported panel image background such as -gtk-gradient"));
- g_warning ("%s\n",
- ("use an image file or a standard css gradient"));
+ g_warning ("%s", "unsupported value of 'background-image' in GTK+ theme (such as '-gtk-gradient')");
/* use any background color that has been set if image is invalid */
gdk_window_set_background_rgba (
background->window, &background->default_color);