[tomboy] Usability changes for the find bar: Using shorter text and smaller icons
- From: Benjamin Podszun <bpodszun src gnome org>
- To: svn-commits-list gnome org
- Subject: [tomboy] Usability changes for the find bar: Using shorter text and smaller icons
- Date: Mon, 4 May 2009 11:43:04 -0400 (EDT)
commit fee33bafafbcff729813f9a54e1a5feb2e8f6b44
Author: Benjamin Podszun <benjamin podszun gmail com>
Date: Mon May 4 13:21:42 2009 +0200
Usability changes for the find bar: Using shorter text and smaller icons
Fixed bug #483297, changed the icons to Gtk.Arrows to save space, made the
button text shorter and set the entry widget to expand/use more space.
---
Tomboy/NoteWindow.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Tomboy/NoteWindow.cs b/Tomboy/NoteWindow.cs
index d103691..2da95ab 100644
--- a/Tomboy/NoteWindow.cs
+++ b/Tomboy/NoteWindow.cs
@@ -753,10 +753,10 @@ namespace Tomboy
entry.Changed += OnFindEntryChanged;
entry.Activated += OnFindEntryActivated;
entry.Show ();
- PackStart (entry, false, false, 0);
+ PackStart (entry, true, true, 0);
prev_button = new Gtk.Button (Catalog.GetString ("_Previous"));
- prev_button.Image = new Gtk.Image (Gtk.Stock.GoBack, Gtk.IconSize.Menu);
+ prev_button.Image = new Gtk.Arrow (Gtk.ArrowType.Left, Gtk.ShadowType.None);
prev_button.Relief = Gtk.ReliefStyle.None;
prev_button.Sensitive = false;
prev_button.FocusOnClick = false;
@@ -764,8 +764,8 @@ namespace Tomboy
prev_button.Show ();
PackStart (prev_button, false, false, 0);
- next_button = new Gtk.Button (Catalog.GetString ("Find _Next"));
- next_button.Image = new Gtk.Image (Gtk.Stock.GoForward, Gtk.IconSize.Menu);
+ next_button = new Gtk.Button (Catalog.GetString ("_Next"));
+ next_button.Image = new Gtk.Arrow (Gtk.ArrowType.Right, Gtk.ShadowType.None);
next_button.Relief = Gtk.ReliefStyle.None;
next_button.Sensitive = false;
next_button.FocusOnClick = false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]