summaryrefslogtreecommitdiff
path: root/endless
diff options
context:
space:
mode:
authorMatt Watson <mattdangerw@gmail.com>2013-12-10 14:39:31 -0800
committerMatt Watson <mattdangerw@gmail.com>2013-12-10 14:39:31 -0800
commit090d7bf137d94d1bf76eac3706adaa3fec71a623 (patch)
tree0afa5196604c0d7a60b1a40a0a3472f9485256ee /endless
parent2fb947b8e3dddec3357a2e7b388d898c2789f5a7 (diff)
Added nicer warning message when clamping size request
[endlessm/eos-sdk#191]
Diffstat (limited to 'endless')
-rw-r--r--endless/eoswindow.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/endless/eoswindow.c b/endless/eoswindow.c
index 7eefe30..cabf94b 100644
--- a/endless/eoswindow.c
+++ b/endless/eoswindow.c
@@ -441,7 +441,10 @@ clamp_size_request (GtkWidget *widget,
if (*minimum_size > available_size)
{
g_critical ("Requested window %s %d greater than available work area %s %d. " \
- "Clamping size request to fit.",
+ "Clamping size request to fit. This means there is a bug in your " \
+ "program, and it is not ready for production. Try checking if any " \
+ "of your widgets have minimum size requests that make the page not " \
+ "able to fit on the screen.",
orientation_string,
*minimum_size,
orientation_string,