[glom] Progress InfoBar: Block user input during progress.



commit 815002d6a01e592a9f3a5c533af14e711623f486
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Oct 24 11:08:55 2011 +0200

    Progress InfoBar: Block user input during progress.
    
    * glom/application.cc: set_progress_message(): Set the main UI elements to
    insensitive(), because all our current uses of the progess message should
    block user input, like a modal dialog.
    * ui/operator/window_main.glade: Move the InfoBar out of the frame, because
    it should not have the border, and so we can make the frame insensitive
    without making the InfoBar insensitive. This required adding an extra
    intermediate GtkBox, because otherwise there is no way to add the menubar
    at the top, before the InfoBar.
    This .glade file needed some hand-editing to remove bad <packing> tags that
    glade (from git master) added.

 ChangeLog                     |    6 +++++-
 ui/operator/window_main.glade |    4 ++--
 2 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 6da25aa..01c9512 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,7 +7,11 @@
 	block user input, like a modal dialog.
 	* ui/operator/window_main.glade: Move the InfoBar out of the frame, because 
 	it should not have the border, and so we can make the frame insensitive 
-	without making the InfoBar insensitive.
+	without making the InfoBar insensitive. This required adding an extra 
+	intermediate GtkBox, because otherwise there is no way to add the menubar
+	at the top, before the InfoBar.
+	This .glade file needed some hand-editing to remove bad <packing> tags that
+	glade (from git master) added.
 
 2011-10-24  Murray Cumming  <murrayc murrayc com>
 
diff --git a/ui/operator/window_main.glade b/ui/operator/window_main.glade
index 64d475b..be2c3a2 100644
--- a/ui/operator/window_main.glade
+++ b/ui/operator/window_main.glade
@@ -134,10 +134,10 @@
             </child>
           </object>
           <packing>
-            <property name="expand">False</property>
+            <property name="expand">True</property>
             <property name="fill">True</property>
-            <property name="position">0</property>
             <property name="pack_type">end</property>
+            <property name="position">0</property>
           </packing>
         </child>
       </object>



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