[tomboy/gnome-2-26] Use a Button instead of a LinkButton for "Open New Note Template". Fixes bug #581582.
- From: Sanford Armstrong <sharm src gnome org>
- To: svn-commits-list gnome org
- Subject: [tomboy/gnome-2-26] Use a Button instead of a LinkButton for "Open New Note Template". Fixes bug #581582.
- Date: Mon, 11 May 2009 10:15:58 -0400 (EDT)
commit a7b192a95827b155911d9c7eec80e7e9078a25fe
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date: Thu May 7 18:12:44 2009 -0700
Use a Button instead of a LinkButton for "Open New Note Template". Fixes bug #581582.
This works around an issue in Ubuntu 9.04 where activating a LinkButton without a URI results in an error dialog.
---
Tomboy/PreferencesDialog.cs | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/Tomboy/PreferencesDialog.cs b/Tomboy/PreferencesDialog.cs
index 8a56c83..dee8bdf 100644
--- a/Tomboy/PreferencesDialog.cs
+++ b/Tomboy/PreferencesDialog.cs
@@ -219,9 +219,8 @@ namespace Tomboy
align.Show ();
options_list.PackStart (align, false, false, 0);
- Gtk.LinkButton open_template_button = new Gtk.LinkButton (
- String.Empty,
- Catalog.GetString ("Open New Note Template"));
+ Gtk.Button open_template_button = new Gtk.Button ();
+ open_template_button.Label = Catalog.GetString ("Open New Note Template");
open_template_button.Clicked += OpenTemplateButtonClicked;
open_template_button.Show ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]