[polari] Replace deprecated GtkWidget:margin-left/margin-right properties
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] Replace deprecated GtkWidget:margin-left/margin-right properties
- Date: Fri, 29 Aug 2014 15:43:44 +0000 (UTC)
commit f7e09984b0652dd7bedd08bbeba6eaef713f9d57
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Aug 29 17:40:05 2014 +0200
Replace deprecated GtkWidget:margin-left/margin-right properties
data/resources/connection-details-dialog.ui | 4 ++--
data/resources/connection-list-dialog.ui | 4 ++--
data/resources/join-room-dialog.ui | 4 ++--
data/resources/main-window.ui | 8 ++++----
data/resources/message-user-dialog.ui | 4 ++--
src/roomList.js | 2 +-
src/tabCompletion.js | 4 ++--
src/userList.js | 8 ++++----
8 files changed, 19 insertions(+), 19 deletions(-)
---
diff --git a/data/resources/connection-details-dialog.ui b/data/resources/connection-details-dialog.ui
index 7678373..3c0218b 100644
--- a/data/resources/connection-details-dialog.ui
+++ b/data/resources/connection-details-dialog.ui
@@ -28,8 +28,8 @@
<object class="GtkGrid" id="connection_details_content">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">24</property>
- <property name="margin_right">24</property>
+ <property name="margin_start">24</property>
+ <property name="margin_end">24</property>
<property name="margin_top">24</property>
<property name="margin_bottom">24</property>
<property name="row_spacing">12</property>
diff --git a/data/resources/connection-list-dialog.ui b/data/resources/connection-list-dialog.ui
index 50e8215..e5244a3 100644
--- a/data/resources/connection-list-dialog.ui
+++ b/data/resources/connection-list-dialog.ui
@@ -19,8 +19,8 @@
<object class="GtkBox" id="box1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">12</property>
- <property name="margin_right">12</property>
+ <property name="margin_start">12</property>
+ <property name="margin_end">12</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="orientation">vertical</property>
diff --git a/data/resources/join-room-dialog.ui b/data/resources/join-room-dialog.ui
index 9e73856..194b78e 100644
--- a/data/resources/join-room-dialog.ui
+++ b/data/resources/join-room-dialog.ui
@@ -77,8 +77,8 @@
<object class="GtkGrid" id="grid1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">24</property>
- <property name="margin_right">24</property>
+ <property name="margin_start">24</property>
+ <property name="margin_end">24</property>
<property name="margin_top">24</property>
<property name="margin_bottom">24</property>
<property name="row_spacing">12</property>
diff --git a/data/resources/main-window.ui b/data/resources/main-window.ui
index 966211a..5050141 100644
--- a/data/resources/main-window.ui
+++ b/data/resources/main-window.ui
@@ -41,8 +41,8 @@
<property name="can_focus">True</property>
<property name="halign">end</property>
<property name="valign">center</property>
- <property name="margin-left">5</property>
- <property name="margin-right">5</property>
+ <property name="margin-start">5</property>
+ <property name="margin-end">5</property>
<property name="menu_model">join_menu</property>
<property name="action_name">app.room-menu</property>
<style>
@@ -116,8 +116,8 @@
<child type="title">
<object class="GtkStack" id="stack1">
<property name="visible">True</property>
- <property name="margin-left">24</property>
- <property name="margin-right">24</property>
+ <property name="margin-start">24</property>
+ <property name="margin-end">24</property>
<child>
<object class="GtkBox" id="box5">
<property name="visible">True</property>
diff --git a/data/resources/message-user-dialog.ui b/data/resources/message-user-dialog.ui
index f592a4b..0b0fe4f 100644
--- a/data/resources/message-user-dialog.ui
+++ b/data/resources/message-user-dialog.ui
@@ -57,8 +57,8 @@
<object class="GtkGrid" id="grid1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">24</property>
- <property name="margin_right">24</property>
+ <property name="margin_start">24</property>
+ <property name="margin_end">24</property>
<property name="margin_top">24</property>
<property name="margin_bottom">24</property>
<property name="row_spacing">12</property>
diff --git a/src/roomList.js b/src/roomList.js
index ffd84e1..c46f42f 100644
--- a/src/roomList.js
+++ b/src/roomList.js
@@ -100,7 +100,7 @@ const RoomRow = new Lang.Class({
this.widget.add(this._eventBox);
let box = new Gtk.Box({ orientation: Gtk.Orientation.HORIZONTAL,
- margin_left: 8, margin_right: 8,
+ margin_start: 8, margin_end: 8,
margin_top: 2, margin_bottom: 2, spacing: 6 });
this._eventBox.add(box);
diff --git a/src/tabCompletion.js b/src/tabCompletion.js
index 27202fc..3df8bdd 100644
--- a/src/tabCompletion.js
+++ b/src/tabCompletion.js
@@ -67,8 +67,8 @@ const TabCompletion = new Lang.Class({
row._casefoldedText = row._text.toLowerCase();
row.add(new Gtk.Label({ label: row._text,
halign: Gtk.Align.START,
- margin_left: 6,
- margin_right: 6 }));
+ margin_start: 6,
+ margin_end: 6 }));
this._list.add(row);
}
this._canComplete = completions.length > 0;
diff --git a/src/userList.js b/src/userList.js
index f4122e7..f0739d2 100644
--- a/src/userList.js
+++ b/src/userList.js
@@ -40,8 +40,8 @@ const UserListPopover = new Lang.Class({
this.widget = new Gtk.Popover({ modal: true,
position: Gtk.PositionType.TOP,
vexpand: true,
- margin_left: 12,
- margin_right: 12,
+ margin_start: 12,
+ margin_end: 12,
margin_bottom: 12 });
this.widget.set_border_width(6);
this.widget.set_size_request(250, -1);
@@ -451,8 +451,8 @@ const UserList = new Lang.Class({
let numMembers = members.length;
let box = new Gtk.Box({ orientation: Gtk.Orientation.HORIZONTAL,
- margin_left: 6,
- margin_right: 6,
+ margin_start: 6,
+ margin_end: 6,
spacing: 6 });
box.add(new Gtk.Label({ label: '<b>' + _("All") + '</b>',
use_markup: true,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]