summaryrefslogtreecommitdiff
path: root/accessx-status
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-26 21:33:51 +0100
committerinfirit <[email protected]>2014-11-26 21:33:51 +0100
commit6a796af0b88ba9ecb0cc08284e35e424507d3a13 (patch)
tree474962b6c8eb44ea685045d7aeae80b683ee0097 /accessx-status
parent001a8b65d1f5cf0a453975af05a547bbdeea1c2f (diff)
downloadmate-applets-6a796af0b88ba9ecb0cc08284e35e424507d3a13.tar.bz2
mate-applets-6a796af0b88ba9ecb0cc08284e35e424507d3a13.tar.xz
Gtk3: Set homogenous per gnome-applets commit 5df9f98d66f9c2920122a2a86269d95bd68ce67a
Diffstat (limited to 'accessx-status')
-rw-r--r--accessx-status/applet.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/accessx-status/applet.c b/accessx-status/applet.c
index 83e19e67..b4603322 100644
--- a/accessx-status/applet.c
+++ b/accessx-status/applet.c
@@ -1123,6 +1123,9 @@ static AccessxStatusApplet* create_applet(MatePanelApplet* applet)
stickyfoo = gtk_hbox_new(TRUE, 0);
}
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gtk_box_set_homogeneous (GTK_BOX (stickyfoo), TRUE);
+#endif
large_toolbar_pixels = 24; /* FIXME */
if (mate_panel_applet_get_size(sapplet->applet) >= large_toolbar_pixels)
@@ -1212,7 +1215,9 @@ static void accessx_status_applet_reorient(GtkWidget* widget, MatePanelAppletOri
box = gtk_hbox_new(FALSE, 0);
stickyfoo = gtk_hbox_new(TRUE, 0);
}
-
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gtk_box_set_homogeneous (GTK_BOX (stickyfoo), TRUE);
+#endif
accessx_status_applet_layout_box(sapplet, box, stickyfoo);
}