summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accessx-status/applet.c7
-rw-r--r--charpick/charpick.c3
-rw-r--r--multiload/properties.c3
3 files changed, 12 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);
}
diff --git a/charpick/charpick.c b/charpick/charpick.c
index a9ff423b..06dd942e 100644
--- a/charpick/charpick.c
+++ b/charpick/charpick.c
@@ -526,6 +526,9 @@ build_table(charpick_data *p_curr_data)
for (i=0; i < size_ratio; i++) {
if (!p_curr_data->panel_vertical) row_box[i] = gtk_hbox_new (TRUE, 0);
else row_box[i] = gtk_vbox_new (TRUE, 0);
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gtk_box_set_homogeneous (GTK_BOX (stickyfoo), TRUE);
+#endif
gtk_box_pack_start (GTK_BOX (button_box), row_box[i], TRUE, TRUE, 0);
}
diff --git a/multiload/properties.c b/multiload/properties.c
index 3753a44b..9d233662 100644
--- a/multiload/properties.c
+++ b/multiload/properties.c
@@ -204,6 +204,9 @@ add_page(GtkWidget *notebook, gchar *label)
GtkWidget *page_label;
page = gtk_hbox_new(TRUE, 0);
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gtk_box_set_homogeneous (GTK_BOX (page), TRUE);
+#endif
page_label = gtk_label_new(label);
gtk_container_set_border_width(GTK_CONTAINER(page), 6);