[gnote] Set border around main window toolbar
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Set border around main window toolbar
- Date: Mon, 11 Mar 2013 13:50:16 +0000 (UTC)
commit daf9bfe307db35a07041a21cfd5de7decee0b9a2
Author: Aurimas Černius <aurisc4 gmail com>
Date: Mon Mar 11 15:21:53 2013 +0200
Set border around main window toolbar
src/recentchanges.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/recentchanges.cpp b/src/recentchanges.cpp
index d033959..173b62f 100644
--- a/src/recentchanges.cpp
+++ b/src/recentchanges.cpp
@@ -70,7 +70,7 @@ namespace gnote {
.connect(sigc::mem_fun(*this, &NoteRecentChanges::on_open_note_new_window));
Gtk::Box *toolbar = make_toolbar();
- m_content_vbox.pack_start(*toolbar, false, false, 5);
+ m_content_vbox.pack_start(*toolbar, false, false, 0);
m_content_vbox.pack_start(m_embed_box, true, true, 0);
m_embed_box.show();
m_content_vbox.show ();
@@ -115,6 +115,7 @@ namespace gnote {
Gtk::Box *NoteRecentChanges::make_toolbar()
{
Gtk::Box *toolbar = manage(new Gtk::Box(Gtk::ORIENTATION_HORIZONTAL));
+ toolbar->set_border_width(5);
m_all_notes_button = manage(new Gtk::Button);
m_all_notes_button->set_image(*manage(new Gtk::Image(Gtk::Stock::FIND, Gtk::ICON_SIZE_BUTTON)));
m_all_notes_button->set_always_show_image(true);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]