[gnote] Change the Find bar to match the rest of GNOME. (Tomboy Bug #483297) (tb-backport)
- From: Hubert Figuière <hub src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnote] Change the Find bar to match the rest of GNOME. (Tomboy Bug #483297) (tb-backport)
- Date: Sun, 19 Jul 2009 03:29:50 +0000 (UTC)
commit 32fd09f075648bed272314f4889073a55bede005
Author: Hubert Figuiere <hub figuiere net>
Date: Thu Jul 16 21:40:26 2009 -0400
Change the Find bar to match the rest of GNOME. (Tomboy Bug #483297) (tb-backport)
src/notewindow.cpp | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/src/notewindow.cpp b/src/notewindow.cpp
index e4eaec9..9448c6b 100644
--- a/src/notewindow.cpp
+++ b/src/notewindow.cpp
@@ -23,6 +23,7 @@
#include <boost/algorithm/string/finder.hpp>
#include <glibmm/i18n.h>
+#include <gtkmm/arrow.h>
#include <gtkmm/image.h>
#include <gtkmm/stock.h>
#include <gtkmm/separatortoolitem.h>
@@ -637,7 +638,7 @@ namespace gnote {
NoteFindBar::NoteFindBar(Note & note)
: Gtk::HBox(false, 0)
, m_note(note)
- , m_next_button(_("Find _Next"))
+ , m_next_button(_("_Next"))
, m_prev_button(_("_Previous"))
, m_entry_changed_timeout(NULL)
, m_note_changed_timeout(NULL)
@@ -659,9 +660,10 @@ namespace gnote {
m_entry.signal_changed().connect(sigc::mem_fun(*this, &NoteFindBar::on_find_entry_changed));
m_entry.signal_activate().connect(sigc::mem_fun(*this, &NoteFindBar::on_find_entry_activated));
m_entry.show();
- pack_start(m_entry, false, false, 0);
+ pack_start(m_entry, true, true, 0);
- m_prev_button.set_image(*manage(new Gtk::Image (Gtk::Stock::GO_BACK, Gtk::ICON_SIZE_MENU)));
+ m_prev_button.set_image(*manage(new Gtk::Arrow (Gtk::ARROW_LEFT,
+ Gtk::SHADOW_NONE)));
m_prev_button.set_relief(Gtk::RELIEF_NONE);
m_prev_button.set_sensitive(false);
m_prev_button.set_focus_on_click(false);
@@ -669,7 +671,8 @@ namespace gnote {
m_prev_button.show();
pack_start(m_prev_button, false, false, 0);
- m_next_button.set_image(*manage(new Gtk::Image (Gtk::Stock::GO_FORWARD, Gtk::ICON_SIZE_MENU)));
+ m_next_button.set_image(*manage(new Gtk::Arrow (Gtk::ARROW_RIGHT,
+ Gtk::SHADOW_NONE)));
m_next_button.set_relief(Gtk::RELIEF_NONE);
m_next_button.set_sensitive(false);
m_next_button.set_focus_on_click(false);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]