aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-calendar-item.h
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-05-17 05:01:39 +0800
committerMilan Crha <mcrha@redhat.com>2012-05-17 05:01:39 +0800
commit9179758e50aa2e094ceb14c6d16b0d46f5d8bb7d (patch)
tree55dd59982598220e44b75e3008bd77f3132d9790 /widgets/misc/e-calendar-item.h
parentde8c6c1bdc0f70e13f9d5e1212b783641b633df0 (diff)
downloadgsoc2013-evolution-9179758e50aa2e094ceb14c6d16b0d46f5d8bb7d.tar.gz
gsoc2013-evolution-9179758e50aa2e094ceb14c6d16b0d46f5d8bb7d.tar.zst
gsoc2013-evolution-9179758e50aa2e094ceb14c6d16b0d46f5d8bb7d.zip
Bug #206484 - Add year scrolling to date picker
Diffstat (limited to 'widgets/misc/e-calendar-item.h')
-rw-r--r--widgets/misc/e-calendar-item.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/widgets/misc/e-calendar-item.h b/widgets/misc/e-calendar-item.h
index 19f096c5b2..d8fc5f7277 100644
--- a/widgets/misc/e-calendar-item.h
+++ b/widgets/misc/e-calendar-item.h
@@ -59,10 +59,10 @@ G_BEGIN_DECLS
#define E_CALENDAR_ITEM_YPAD_BELOW_CELLS 2
/* Horizontal padding in the heading bars. */
-#define E_CALENDAR_ITEM_XPAD_BEFORE_MONTH_NAME_WITH_BUTTON 16
+#define E_CALENDAR_ITEM_XPAD_BEFORE_MONTH_NAME_WITH_BUTTON 10
#define E_CALENDAR_ITEM_XPAD_BEFORE_MONTH_NAME 3
#define E_CALENDAR_ITEM_XPAD_AFTER_MONTH_NAME 3
-#define E_CALENDAR_ITEM_XPAD_AFTER_MONTH_NAME_WITH_BUTTON 16
+#define E_CALENDAR_ITEM_XPAD_AFTER_MONTH_NAME_WITH_BUTTON 10
/* Horizontal padding in the month displays. */
#define E_CALENDAR_ITEM_XPAD_BEFORE_WEEK_NUMBERS 4
@@ -241,6 +241,8 @@ struct _ECalendarItem
gint week_number_digit_widths[10];
gint max_week_number_digit_width;
+ gint max_month_name_width;
+
/* Fonts for drawing text. If font isn't set it uses the font from the
* canvas widget. If week_number_font isn't set it uses font. */
PangoFontDescription *font_desc;