[gitg] Do not use a GtkAlignment but the halign property for the search
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Do not use a GtkAlignment but the halign property for the search
- Date: Mon, 25 Mar 2013 10:49:50 +0000 (UTC)
commit 8ee7f949893947bf74289fbc8c34ff9194fb53f7
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Mar 25 11:49:18 2013 +0100
Do not use a GtkAlignment but the halign property for the search
gitg/resources/ui/gitg-window.ui | 28 +++++++++-------------------
1 files changed, 9 insertions(+), 19 deletions(-)
---
diff --git a/gitg/resources/ui/gitg-window.ui b/gitg/resources/ui/gitg-window.ui
index 3e0ded2..e27c39c 100644
--- a/gitg/resources/ui/gitg-window.ui
+++ b/gitg/resources/ui/gitg-window.ui
@@ -104,35 +104,25 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<style>
- <class name="inline-toolbar"/>
+ <class name="primary-toolbar"/>
</style>
<child>
<object class="GtkToolItem" id="toolbutton3">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
- <object class="GtkAlignment" id="alignment-search-entry">
+ <object class="GtkBox" id="box-search-entry">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0.5</property>
- <property name="left-padding">200</property>
- <property name="right-padding">200</property>
- <property name="top-padding">2</property>
- <property name="bottom-padding">2</property>
+ <property name="can_focus">False</property>
+ <property name="halign">center</property>
<child>
- <object class="GtkGrid" id="grid-search-entry">
+ <object class="GdTaggedEntry" id="search-entry">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="can_focus">False</property>
- <child>
- <object class="GdTaggedEntry" id="search-entry">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="invisible_char">●</property>
- <property name="invisible_char_set">True</property>
- <property name="hexpand">True</property>
- </object>
- </child>
+ <property name="can_focus">True</property>
+ <property name="invisible_char">●</property>
+ <property name="invisible_char_set">True</property>
+ <property name="width-request">500</property>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]