[pitivi] Change some infobars to be more discrete



commit 89a93495279d8b0a098889b2fa46ab629e43cc25
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Sun May 11 01:43:45 2014 +0200

    Change some infobars to be more discrete
    
    These infobars do not show notifications so they don't need to draw the
    user's attention.

 data/ui/medialibrary.ui  |    1 +
 data/ui/titleeditor.ui   |    1 +
 pitivi/clipproperties.py |    1 +
 pitivi/transitions.py    |    1 +
 4 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/data/ui/medialibrary.ui b/data/ui/medialibrary.ui
index bbc02b2..d39c8d3 100644
--- a/data/ui/medialibrary.ui
+++ b/data/ui/medialibrary.ui
@@ -240,6 +240,7 @@
     <property name="visible">True</property>
     <property name="app_paintable">True</property>
     <property name="can_focus">False</property>
+    <property name="message_type">other</property>
     <child internal-child="content_area">
       <object class="GtkBox" id="infobar-content_area1">
         <property name="can_focus">False</property>
diff --git a/data/ui/titleeditor.ui b/data/ui/titleeditor.ui
index 43ab6ef..8d11a7e 100644
--- a/data/ui/titleeditor.ui
+++ b/data/ui/titleeditor.ui
@@ -9,6 +9,7 @@
         <property name="visible">True</property>
         <property name="app_paintable">True</property>
         <property name="can_focus">False</property>
+        <property name="message_type">other</property>
         <child internal-child="content_area">
           <object class="GtkBox" id="infobar-content_area1">
             <property name="can_focus">False</property>
diff --git a/pitivi/clipproperties.py b/pitivi/clipproperties.py
index b9236d4..fadfedd 100644
--- a/pitivi/clipproperties.py
+++ b/pitivi/clipproperties.py
@@ -119,6 +119,7 @@ class ClipProperties(Gtk.ScrolledWindow, Loggable):
         label = Gtk.Label(label=text)
         label.set_line_wrap(True)
         infobar = Gtk.InfoBar()
+        infobar.props.message_type = Gtk.MessageType.OTHER
         infobar.get_content_area().add(label)
         self.infobar_box.pack_start(infobar, False, False, 0)
         return infobar
diff --git a/pitivi/transitions.py b/pitivi/transitions.py
index 40a3385..7e8afea 100644
--- a/pitivi/transitions.py
+++ b/pitivi/transitions.py
@@ -94,6 +94,7 @@ class TransitionsListWidget(Signallable, Gtk.VBox, Loggable):
         self._borderTypeChangedCb()
 
         self.infobar = Gtk.InfoBar()
+        self.infobar.props.message_type = Gtk.MessageType.OTHER
         txtlabel = Gtk.Label()
         txtlabel.set_line_wrap(True)
         txtlabel.set_text(


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