Permalink
Browse files

pager: minor tweaks

Animate the button box. Add some padding to the class structure for ABI
protectiness.
  • Loading branch information...
Danielle Madeley
Danielle Madeley committed Apr 24, 2012
1 parent ac7e0c9 commit 3fdfb775a3bfe640334ea08f445633430cfd9866
Showing with 9 additions and 0 deletions.
  1. +2 −0 mx/mx-pager.c
  2. +7 −0 mx/mx-pager.h
View
@@ -388,6 +388,8 @@ mx_pager_init (MxPager *self)
self->priv->pages_to_buttons = g_hash_table_new (NULL, NULL);
self->priv->button_group = mx_button_group_new ();
self->priv->button_box = mx_box_layout_new ();
+ mx_box_layout_set_enable_animations (MX_BOX_LAYOUT (self->priv->button_box),
+ TRUE);
mx_pager_add_internal_actor (self, self->priv->button_box,
"x-fill", FALSE,
"x-align", MX_ALIGN_MIDDLE,
View
@@ -50,6 +50,13 @@ struct _MxPagerClass
{
/*< private >*/
MxStackClass parent_class;
+
+ /* padding for future expansion */
+ void (*_padding_0) (void);
+ void (*_padding_1) (void);
+ void (*_padding_2) (void);
+ void (*_padding_3) (void);
+ void (*_padding_4) (void);
};
GType mx_pager_get_type (void);

0 comments on commit 3fdfb77

Please sign in to comment.