[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-440-gd4f6290

ticho at claws-mail.org ticho at claws-mail.org
Sun Oct 28 15:12:32 CET 2018


The branch, gtk3 has been updated
       via  d4f6290a4180bd103ee10d73f26bde71fed39567 (commit)
      from  996b75505f7015eac8d99d74b512e6f406366dda (commit)

Summary of changes:
 src/gtk/gtkutils.h |    5 +++++
 1 file changed, 5 insertions(+)


- Log -----------------------------------------------------------------
commit d4f6290a4180bd103ee10d73f26bde71fed39567
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Sun Oct 28 15:11:33 2018 +0100

    Add explanatory comment to GTKUT_COLOR_BUTTON_LABEL macro.
    
    ...so that people don't have to dig in commit history to find out.

diff --git a/src/gtk/gtkutils.h b/src/gtk/gtkutils.h
index 7d2d9b3..4118542 100644
--- a/src/gtk/gtkutils.h
+++ b/src/gtk/gtkutils.h
@@ -56,6 +56,11 @@
 #define GTKUT_CTREE_REFRESH(clist) \
 	GTK_CMCLIST_GET_CLASS(clist)->refresh(clist)
 
+/* String used in color button labels.
+ * Instead of hardcoding a size which doesn't look the same on different
+ * resolutions, use a space;m-space;space label and let GTK+ to compute
+ * the appropriate button size for current font.
+ * This macro is only used in gtkut_set_button_color(). */
 #define GTKUT_COLOR_BUTTON_LABEL "\x20\xE2\x80\x83\x20"
 
 /* Set "color" to the same color as "rgba" */

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list