[gnome-control-center] sharing: Use header bar in all the dialogs
- From: Yosef Or Boczko <yoseforb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] sharing: Use header bar in all the dialogs
- Date: Mon, 28 Apr 2014 14:37:00 +0000 (UTC)
commit ecea570ee8d1df050026ee41f7913e03c142ed99
Author: Yosef Or Boczko <yoseforb src gnome org>
Date: Sun Feb 16 05:58:43 2014 +0200
sharing: Use header bar in all the dialogs
https://bugzilla.gnome.org/show_bug.cgi?id=724299
panels/sharing/sharing.ui | 150 ++-------------------------------------------
1 files changed, 5 insertions(+), 145 deletions(-)
---
diff --git a/panels/sharing/sharing.ui b/panels/sharing/sharing.ui
index c040b46..0a77b15 100644
--- a/panels/sharing/sharing.ui
+++ b/panels/sharing/sharing.ui
@@ -7,37 +7,12 @@
<property name="title" translatable="yes">Bluetooth Sharing</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
+ <property name="use_header_bar">1</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox6">
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">2</property>
- <child internal-child="action_area">
- <object class="GtkButtonBox" id="dialog-action_area6">
- <property name="can_focus">False</property>
- <property name="layout_style">end</property>
- <child>
- <object class="GtkButton" id="button6">
- <property name="label">gtk-close</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
<child>
<object class="GtkGrid" id="grid1">
<property name="visible">True</property>
@@ -143,9 +118,6 @@
</child>
</object>
</child>
- <action-widgets>
- <action-widget response="0">button6</action-widget>
- </action-widgets>
</object>
<object class="GtkBox" id="sharing-panel">
<property name="visible">True</property>
@@ -413,37 +385,12 @@
<property name="title" translatable="yes">Media Sharing</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
+ <property name="use_header_bar">1</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox2">
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">2</property>
- <child internal-child="action_area">
- <object class="GtkButtonBox" id="dialog-action_area2">
- <property name="can_focus">False</property>
- <property name="layout_style">end</property>
- <child>
- <object class="GtkButton" id="button9">
- <property name="label">gtk-close</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
<child>
<object class="GtkGrid" id="grid4">
<property name="visible">True</property>
@@ -618,9 +565,6 @@
</child>
</object>
</child>
- <action-widgets>
- <action-widget response="0">button9</action-widget>
- </action-widgets>
</object>
<object class="GtkDialog" id="personal-file-sharing-dialog">
<property name="can_focus">False</property>
@@ -628,37 +572,12 @@
<property name="title" translatable="yes">Personal File Sharing</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
+ <property name="use_header_bar">1</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox5">
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">2</property>
- <child internal-child="action_area">
- <object class="GtkButtonBox" id="dialog-action_area5">
- <property name="can_focus">False</property>
- <property name="layout_style">end</property>
- <child>
- <object class="GtkButton" id="button7">
- <property name="label">gtk-close</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
<child>
<object class="GtkGrid" id="grid2">
<property name="visible">True</property>
@@ -802,9 +721,6 @@
</child>
</object>
</child>
- <action-widgets>
- <action-widget response="0">button7</action-widget>
- </action-widgets>
</object>
<object class="GtkDialog" id="remote-login-dialog">
<property name="can_focus">False</property>
@@ -812,37 +728,12 @@
<property name="title" translatable="yes">Remote Login</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
+ <property name="use_header_bar">1</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox4">
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">2</property>
- <child internal-child="action_area">
- <object class="GtkButtonBox" id="dialog-action_area4">
- <property name="can_focus">False</property>
- <property name="layout_style">end</property>
- <child>
- <object class="GtkButton" id="button8">
- <property name="label">gtk-close</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
<child>
<object class="GtkBox" id="box9">
<property name="visible">True</property>
@@ -922,9 +813,6 @@
</child>
</object>
</child>
- <action-widgets>
- <action-widget response="0">button8</action-widget>
- </action-widgets>
</object>
<object class="GtkDialog" id="screen-sharing-dialog">
<property name="can_focus">False</property>
@@ -932,37 +820,12 @@
<property name="title" translatable="yes">Screen Sharing</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
+ <property name="use_header_bar">1</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">2</property>
- <child internal-child="action_area">
- <object class="GtkButtonBox" id="dialog-action_area1">
- <property name="can_focus">False</property>
- <property name="layout_style">end</property>
- <child>
- <object class="GtkButton" id="button10">
- <property name="label">gtk-close</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
<child>
<object class="GtkBox" id="box8">
<property name="visible">True</property>
@@ -1218,9 +1081,6 @@
</child>
</object>
</child>
- <action-widgets>
- <action-widget response="0">button10</action-widget>
- </action-widgets>
</object>
<object class="GtkListStore" id="shared-folders-liststore">
<columns>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]