[longomatch] Hide the open button with multiple selection
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Hide the open button with multiple selection
- Date: Sun, 30 Nov 2014 21:36:39 +0000 (UTC)
commit 7b7412030d55970aff81c445536fe6259f774101
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sun Nov 30 22:35:58 2014 +0100
Hide the open button with multiple selection
LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs | 1 +
.../LongoMatch.Gui.Panel.ProjectsManagerPanel.cs | 1 +
LongoMatch.GUI/gtk-gui/gui.stetic | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
b/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
index c5d6a5d..7bc6724 100644
--- a/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
@@ -151,6 +151,7 @@ namespace LongoMatch.Gui.Panel
rbox.Visible = true;
savebutton.Sensitive = projects.Count == 1;
exportbutton.Sensitive = projects.Count == 1;
+ openbutton.Sensitive = projects.Count == 1;
deletebutton.Sensitive = projects.Count != 0;
projectbox.Sensitive = projects.Count == 1;
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.ProjectsManagerPanel.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.ProjectsManagerPanel.cs
index 0f8650d..154bc40 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.ProjectsManagerPanel.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.ProjectsManagerPanel.cs
@@ -320,6 +320,7 @@ namespace LongoMatch.Gui.Panel
// Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
this.openbutton = new global::Gtk.Button ();
this.openbutton.TooltipMarkup = "Open";
+ this.openbutton.Sensitive = false;
this.openbutton.CanFocus = true;
this.openbutton.Name = "openbutton";
// Container child openbutton.Gtk.Container+ContainerChild
diff --git a/LongoMatch.GUI/gtk-gui/gui.stetic b/LongoMatch.GUI/gtk-gui/gui.stetic
index 45a6d45..086e571 100644
--- a/LongoMatch.GUI/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI/gtk-gui/gui.stetic
@@ -8628,6 +8628,7 @@ You can continue with the current capture, cancel it or save your project.
<child>
<widget class="Gtk.Button" id="openbutton">
<property name="MemberName" />
+ <property name="Sensitive">False</property>
<property name="Tooltip" translatable="yes">Open</property>
<property name="CanFocus">True</property>
<property name="Type">Custom</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]