[balsa/gtk3] Make sure buttons are arranged vertically
- From: Peter Bloomfield <PeterB src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk3] Make sure buttons are arranged vertically
- Date: Fri, 30 Aug 2013 22:57:56 +0000 (UTC)
commit cd6295b510bcf8cf95192f3b669ec464b83fc3c9
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Fri Aug 30 18:57:02 2013 -0400
Make sure buttons are arranged vertically
* src/balsa-mime-widget-message.c (bm_header_widget_new): make
sure buttons are arranged vertically; would not be an issue,
except that GtkLabels are not wrapped in a GtkInfoBar (bgo
#707093).
ChangeLog | 7 +++++++
src/balsa-mime-widget-message.c | 4 ++++
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a1c7416..fac17bd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2013-08-30 Peter Bloomfield
+ * src/balsa-mime-widget-message.c (bm_header_widget_new): make
+ sure buttons are arranged vertically; would not be an issue,
+ except that GtkLabels are not wrapped in a GtkInfoBar (bgo
+ #707093).
+
+2013-08-30 Peter Bloomfield
+
* libbalsa/html.c (lbh_info_bar): make sure buttons are arranged
vertically.
diff --git a/src/balsa-mime-widget-message.c b/src/balsa-mime-widget-message.c
index 49a8d19..6fa878e 100644
--- a/src/balsa-mime-widget-message.c
+++ b/src/balsa-mime-widget-message.c
@@ -460,6 +460,10 @@ bm_header_widget_new(BalsaMessage * bm, GtkWidget * const * buttons)
info_bar_widget = gtk_info_bar_new();
info_bar = GTK_INFO_BAR(info_bar_widget);
+ gtk_orientable_set_orientation(GTK_ORIENTABLE
+ (gtk_info_bar_get_action_area
+ (info_bar)), GTK_ORIENTATION_VERTICAL);
+
content_area = gtk_info_bar_get_content_area(info_bar);
gtk_container_add(GTK_CONTAINER(content_area), grid);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]