diff options
author | infirit <[email protected]> | 2014-11-26 21:33:51 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-11-26 21:33:51 +0100 |
commit | 6a796af0b88ba9ecb0cc08284e35e424507d3a13 (patch) | |
tree | 474962b6c8eb44ea685045d7aeae80b683ee0097 | |
parent | 001a8b65d1f5cf0a453975af05a547bbdeea1c2f (diff) | |
download | mate-applets-6a796af0b88ba9ecb0cc08284e35e424507d3a13.tar.bz2 mate-applets-6a796af0b88ba9ecb0cc08284e35e424507d3a13.tar.xz |
Gtk3: Set homogenous per gnome-applets commit 5df9f98d66f9c2920122a2a86269d95bd68ce67a
-rw-r--r-- | accessx-status/applet.c | 7 | ||||
-rw-r--r-- | charpick/charpick.c | 3 | ||||
-rw-r--r-- | multiload/properties.c | 3 |
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); |