[longomatch] Make the clear button insensitive instead of invisible.
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Make the clear button insensitive instead of invisible.
- Date: Wed, 18 Mar 2015 14:37:45 +0000 (UTC)
commit 1c0972de3626c5f3323a89ca0f918f1590001c32
Author: Julien Moutte <julien fluendo com>
Date: Tue Mar 10 10:53:29 2015 +0100
Make the clear button insensitive instead of invisible.
LongoMatch.GUI/Gui/Component/MediaFileChooser.cs | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/MediaFileChooser.cs
b/LongoMatch.GUI/Gui/Component/MediaFileChooser.cs
index 71f9c8b..1c2c20c 100644
--- a/LongoMatch.GUI/Gui/Component/MediaFileChooser.cs
+++ b/LongoMatch.GUI/Gui/Component/MediaFileChooser.cs
@@ -38,7 +38,6 @@ namespace LongoMatch.Gui.Component
this.Build ();
nameentry.NoShowAll = true;
- clearbutton.NoShowAll = true;
// The name entry is only visible when not empty
nameentry.Visible = !String.IsNullOrEmpty (name);
@@ -147,7 +146,7 @@ namespace LongoMatch.Gui.Component
fileentry.TooltipText = fileentry.Text;
}
- clearbutton.Visible = clear_visible;
+ clearbutton.Sensitive = clear_visible;
}
void HandleClearClicked (object sender, EventArgs e)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]