[baobab] window: make sure all toolbar buttons have the same height
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab] window: make sure all toolbar buttons have the same height
- Date: Tue, 16 Oct 2012 12:52:18 +0000 (UTC)
commit 292cfebf666e61f40f44d0ae17fd841ac17903f6
Author: Stefano Facchini <stefano facchini gmail com>
Date: Tue Oct 16 14:50:00 2012 +0200
window: make sure all toolbar buttons have the same height
src/baobab-main-window.ui | 3 ++-
src/baobab-window.vala | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/baobab-main-window.ui b/src/baobab-main-window.ui
index b79427d..03a8fdc 100644
--- a/src/baobab-main-window.ui
+++ b/src/baobab-main-window.ui
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
- <object class="GtkButtonBox" id="scan-button-box">
+ <object class="GtkBox" id="scan-button-box">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="vexpand">True</property>
+ <property name="homogeneous">True</property>
<style>
<class name="linked"/>
</style>
diff --git a/src/baobab-window.vala b/src/baobab-window.vala
index 7d3c4f4..086b569 100644
--- a/src/baobab-window.vala
+++ b/src/baobab-window.vala
@@ -125,7 +125,7 @@ namespace Baobab {
// Home page toolbar
var toolbar = builder.get_object ("home-toolbar") as Gd.MainToolbar;
home_toolbar = toolbar;
- var button_box = builder.get_object ("scan-button-box") as Gtk.ButtonBox;
+ var button_box = builder.get_object ("scan-button-box") as Gtk.Box;
scan_remote = builder.get_object ("scan-remote-button") as Gtk.Button;
toolbar.add_widget (button_box, true);
toolbar.show_all ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]