Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan McGovern <alan.mcgovern@gmail.com>2011-11-17 00:23:15 +0400
committerAlan McGovern <alan.mcgovern@gmail.com>2011-11-17 00:24:20 +0400
commit8f777e5f334bd81f80ff7fb353dc57adf8ce4ac4 (patch)
tree11525c514c525c8adffed5b420b6d8f6400259cf /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs
parent3a8df06e2c3d3d820369685d2c65509662cf4d06 (diff)
[Ide] The label in our alert dialog should not be tab focusable
Disable tab focus for the secondary text label but still allow the user to select with the mouse.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/GtkAlertDialog.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/GtkAlertDialog.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/GtkAlertDialog.cs
index ba3b509299..7d455625cd 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/GtkAlertDialog.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/GtkAlertDialog.cs
@@ -117,6 +117,7 @@ namespace MonoDevelop.Ide.Gui.Dialogs
}
label.Markup = markup.ToString ();
label.Selectable = true;
+ label.CanFocus = false;
foreach (AlertButton button in message.Buttons) {
Button newButton = new Button ();