[gnome-boxes] selectionbar: Disable 'pause' button once clicked



commit 70874c1deff61056701c141b12faf3e84c571fdc
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sat Nov 24 17:51:25 2012 +0200

    selectionbar: Disable 'pause' button once clicked
    
    Once user hits the 'pause' button, there is no need for this button to
    remain enabled anymore unless user changes selection.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=688980

 src/selectionbar.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/selectionbar.vala b/src/selectionbar.vala
index accadd5..e5fb27e 100644
--- a/src/selectionbar.vala
+++ b/src/selectionbar.vala
@@ -71,6 +71,8 @@ private class Boxes.Selectionbar: GLib.Object {
                    }
                });
            }
+
+           pause_btn.sensitive = false;
         });
 
         remove_btn = new Gtk.ToggleButton ();



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