Updating branch refs/heads/master to d046d4b341f2194d52dbd8408740789ca7be0063 (commit) from bb667977d8fa17a8620e437d3a755832d0b91390 (commit)
commit d046d4b341f2194d52dbd8408740789ca7be0063 Author: Andrzej <ndrwr...@gmail.com> Date: Wed Dec 11 01:18:16 2013 +0000 Check for empty labels to optimize layout panel-plugin/indicator-button-box.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panel-plugin/indicator-button-box.c b/panel-plugin/indicator-button-box.c index 1174260..e99df98 100644 --- a/panel-plugin/indicator-button-box.c +++ b/panel-plugin/indicator-button-box.c @@ -362,7 +362,8 @@ indicator_button_box_is_small (IndicatorButtonBox *box) box->orientation = indicator_config_get_panel_orientation (box->config); - if (box->label != NULL) + if (box->label != NULL && + g_strcmp0 (gtk_label_get_label (GTK_LABEL (box->label)), "") != 0) { box->is_small = FALSE; if (box->orientation == GTK_ORIENTATION_VERTICAL && _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits