summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-30 15:08:23 +0300
committermonsta <[email protected]>2018-01-30 15:08:23 +0300
commit4e2f9b1c421ef94c5912cc294771accc4191ab73 (patch)
tree5c5d70c5a364d08ff2ac6119428b24c35df82686
parentc77335f82d8e67c7b6677e45bede241634eb612e (diff)
downloadmate-panel-4e2f9b1c421ef94c5912cc294771accc4191ab73.tar.bz2
mate-panel-4e2f9b1c421ef94c5912cc294771accc4191ab73.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);