[gtk+] Make info bar action area horizontal



commit 75c8be6b669c4c34fa52520d868f9474752d97f0
Author: William Jon McCann <william jon mccann gmail com>
Date:   Mon Jul 15 09:33:44 2013 -0400

    Make info bar action area horizontal
    
    A vertical action area causes the info bar to be imposingly large.
    This defeats the whole point of the info bar which is to be
    unobtrusive. Not to mention it is impossible to make it look
    and feel good.

 gtk/gtkinfobar.c  |    4 ++--
 gtk/gtkinfobar.ui |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c
index 837caa5..6df496d 100644
--- a/gtk/gtkinfobar.c
+++ b/gtk/gtkinfobar.c
@@ -56,8 +56,8 @@
  * #GtkInfoBar is a widget that can be used to show messages to
  * the user without showing a dialog. It is often temporarily shown
  * at the top or bottom of a document. In contrast to #GtkDialog, which
- * has a horizontal action area at the bottom, #GtkInfoBar has a
- * vertical action area at the side.
+ * has a action area at the bottom, #GtkInfoBar has an action area
+ * at the side.
  *
  * The API of #GtkInfoBar is very similar to #GtkDialog, allowing you
  * to add buttons to the action area with gtk_info_bar_add_button() or
diff --git a/gtk/gtkinfobar.ui b/gtk/gtkinfobar.ui
index f8a6799..f3b43fc 100644
--- a/gtk/gtkinfobar.ui
+++ b/gtk/gtkinfobar.ui
@@ -25,7 +25,7 @@
         <property name="visible">True</property>
         <property name="can_focus">False</property>
         <property name="border_width">5</property>
-        <property name="orientation">vertical</property>
+        <property name="orientation">horizontal</property>
         <property name="spacing">6</property>
         <property name="layout_style">end</property>
         <child>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]