[epiphany] PasswordsDialog: Kill a level of GtkBox, as headerbar is requested.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] PasswordsDialog: Kill a level of GtkBox, as headerbar is requested.
- Date: Sun, 1 Nov 2015 16:06:46 +0000 (UTC)
commit e96dba21beac59c31d2a1cb1f31e2881880b6f5f
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Fri Oct 30 02:54:36 2015 +0100
PasswordsDialog: Kill a level of GtkBox, as headerbar is requested.
https://bugzilla.gnome.org/show_bug.cgi?id=757344
src/resources/passwords-dialog.ui | 219 ++++++++++++++++++-------------------
1 files changed, 105 insertions(+), 114 deletions(-)
---
diff --git a/src/resources/passwords-dialog.ui b/src/resources/passwords-dialog.ui
index 1b2f0ee..445cd21 100644
--- a/src/resources/passwords-dialog.ui
+++ b/src/resources/passwords-dialog.ui
@@ -49,167 +49,158 @@
</child>
<child internal-child="vbox">
<object class="GtkBox">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <property name="spacing">2</property>
+ <property name="border_width">5</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkSearchEntry">
+ <property name="visible">True</property>
+ <property name="primary_icon_name">edit-find-symbolic</property>
+ <property name="primary_icon_activatable">False</property>
+ <property name="primary_icon_sensitive">False</property>
+ <property name="placeholder_text" translatable="yes">Search passwords</property>
+ <signal name="search-changed" handler="on_search_entry_changed"/>
+ </object>
+ </child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
- <property name="border_width">5</property>
<property name="orientation">vertical</property>
- <property name="spacing">6</property>
- <child>
- <object class="GtkSearchEntry">
- <property name="visible">True</property>
- <property name="primary_icon_name">edit-find-symbolic</property>
- <property name="primary_icon_activatable">False</property>
- <property name="primary_icon_sensitive">False</property>
- <property name="placeholder_text" translatable="yes">Search passwords</property>
- <signal name="search-changed" handler="on_search_entry_changed"/>
- </object>
- </child>
<child>
- <object class="GtkBox">
+ <object class="GtkScrolledWindow">
+ <property name="width_request">400</property>
+ <property name="height_request">300</property>
<property name="visible">True</property>
- <property name="orientation">vertical</property>
+ <property name="expand">True</property>
+ <property name="hscrollbar_policy">never</property>
+ <property name="shadow_type">in</property>
+ <property name="min_content_width">300</property>
+ <property name="min_content_height">300</property>
<child>
- <object class="GtkScrolledWindow">
- <property name="width_request">400</property>
- <property name="height_request">300</property>
+ <object class="GtkTreeView" id="passwords_treeview">
<property name="visible">True</property>
- <property name="expand">True</property>
- <property name="hscrollbar_policy">never</property>
- <property name="shadow_type">in</property>
- <property name="min_content_width">300</property>
- <property name="min_content_height">300</property>
+ <property name="model">treemodelsort</property>
+ <property name="enable_search">False</property>
+ <property name="search_column">0</property>
+ <signal name="key-press-event" handler="on_passwords_treeview_key_press_event"/>
+ <signal name="button-press-event" handler="on_passwords_treeview_button_press_event"/>
+ <child internal-child="selection">
+ <object class="GtkTreeSelection" id="tree_selection">
+ <property name="mode">multiple</property>
+ <signal name="changed" handler="on_treeview_selection_changed"/>
+ </object>
+ </child>
<child>
- <object class="GtkTreeView" id="passwords_treeview">
- <property name="visible">True</property>
- <property name="model">treemodelsort</property>
- <property name="enable_search">False</property>
- <property name="search_column">0</property>
- <signal name="key-press-event" handler="on_passwords_treeview_key_press_event"/>
- <signal name="button-press-event"
handler="on_passwords_treeview_button_press_event"/>
- <child internal-child="selection">
- <object class="GtkTreeSelection" id="tree_selection">
- <property name="mode">multiple</property>
- <signal name="changed" handler="on_treeview_selection_changed"/>
- </object>
- </child>
+ <object class="GtkTreeViewColumn">
+ <property name="sizing">autosize</property>
+ <property name="title" translatable="yes">Site</property>
+ <property name="clickable">True</property>
+ <property name="reorderable">True</property>
+ <property name="sort_column_id">0</property>
<child>
- <object class="GtkTreeViewColumn">
- <property name="sizing">autosize</property>
- <property name="title" translatable="yes">Site</property>
- <property name="clickable">True</property>
- <property name="reorderable">True</property>
- <property name="sort_column_id">0</property>
- <child>
- <object class="GtkCellRendererText"/>
- <attributes>
- <attribute name="text">0</attribute>
- </attributes>
- </child>
- </object>
+ <object class="GtkCellRendererText"/>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
</child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkTreeViewColumn">
+ <property name="sizing">autosize</property>
+ <property name="title" translatable="yes">User Name</property>
+ <property name="clickable">True</property>
+ <property name="reorderable">True</property>
+ <property name="sort_column_id">1</property>
<child>
- <object class="GtkTreeViewColumn">
- <property name="sizing">autosize</property>
- <property name="title" translatable="yes">User Name</property>
- <property name="clickable">True</property>
- <property name="reorderable">True</property>
- <property name="sort_column_id">1</property>
- <child>
- <object class="GtkCellRendererText"/>
- <attributes>
- <attribute name="text">1</attribute>
- </attributes>
- </child>
- </object>
+ <object class="GtkCellRendererText"/>
+ <attributes>
+ <attribute name="text">1</attribute>
+ </attributes>
</child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkTreeViewColumn" id="password_column">
+ <property name="title" translatable="yes">Password</property>
<child>
- <object class="GtkTreeViewColumn" id="password_column">
- <property name="title" translatable="yes">Password</property>
- <child>
- <object class="GtkCellRendererText" id="password_renderer"/>
- <attributes>
- <attribute name="text">3</attribute>
- </attributes>
- </child>
- </object>
+ <object class="GtkCellRendererText" id="password_renderer"/>
+ <attributes>
+ <attribute name="text">3</attribute>
+ </attributes>
</child>
</object>
</child>
</object>
</child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkToolbar">
+ <property name="visible">True</property>
<child>
- <object class="GtkToolbar">
+ <object class="GtkToolItem">
<property name="visible">True</property>
<child>
- <object class="GtkToolItem">
+ <object class="GtkBox">
<property name="visible">True</property>
<child>
- <object class="GtkBox">
+ <object class="GtkButton" id="remove_button">
<property name="visible">True</property>
+ <property name="tooltip_text" translatable="yes">Forget the selected
passwords</property>
+ <signal name="clicked" handler="on_remove_button_clicked"/>
<child>
- <object class="GtkButton" id="remove_button">
+ <object class="GtkImage">
<property name="visible">True</property>
- <property name="tooltip_text" translatable="yes">Forget the selected
passwords</property>
- <signal name="clicked" handler="on_remove_button_clicked"/>
- <child>
- <object class="GtkImage">
- <property name="visible">True</property>
- <property name="icon_name">list-remove-symbolic</property>
- </object>
- </child>
+ <property name="icon_name">list-remove-symbolic</property>
</object>
</child>
</object>
</child>
</object>
- <packing>
- <property name="homogeneous">True</property>
- </packing>
- </child>
- <child>
- <object class="GtkSeparatorToolItem">
- <property name="visible">True</property>
- <property name="draw">False</property>
- </object>
- <packing>
- <property name="expand">True</property>
- </packing>
</child>
+ </object>
+ <packing>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSeparatorToolItem">
+ <property name="visible">True</property>
+ <property name="draw">False</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolItem">
+ <property name="visible">True</property>
<child>
- <object class="GtkToolItem">
+ <object class="GtkBox">
<property name="visible">True</property>
<child>
- <object class="GtkBox">
+ <object class="GtkToggleButton" id="show_passwords_button">
<property name="visible">True</property>
+ <property name="tooltip_text" translatable="yes">Reveal all the
passwords</property>
+ <signal name="toggled" handler="on_show_passwords_button_toggled"/>
<child>
- <object class="GtkToggleButton" id="show_passwords_button">
+ <object class="GtkImage">
<property name="visible">True</property>
- <property name="tooltip_text" translatable="yes">Reveal all the
passwords</property>
- <signal name="toggled" handler="on_show_passwords_button_toggled"/>
- <child>
- <object class="GtkImage">
- <property name="visible">True</property>
- <property name="icon_name">dialog-password-symbolic</property>
- </object>
- </child>
+ <property name="icon_name">dialog-password-symbolic</property>
</object>
</child>
</object>
</child>
</object>
- <packing>
- <property name="homogeneous">True</property>
- </packing>
</child>
- <style>
- <class name="inline-toolbar"/>
- </style>
</object>
+ <packing>
+ <property name="homogeneous">True</property>
+ </packing>
</child>
+ <style>
+ <class name="inline-toolbar"/>
+ </style>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]