[latexila] Don't use GtkWidget:margin-left and :margin-right (deprecated)
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Don't use GtkWidget:margin-left and :margin-right (deprecated)
- Date: Sat, 27 Dec 2014 17:42:28 +0000 (UTC)
commit f186b8dd65c2dac35c650f37ffdd33e8aced72d6
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Dec 27 18:39:07 2014 +0100
Don't use GtkWidget:margin-left and :margin-right (deprecated)
src/build_tool_dialog.vala | 2 +-
src/document_tab.vala | 2 +-
src/search.vala | 6 +++---
src/side_panel.vala | 2 +-
src/ui/preferences_dialog.ui | 14 +++++++-------
src/utils.vala | 2 +-
6 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/src/build_tool_dialog.vala b/src/build_tool_dialog.vala
index 3954da8..4a9d81b 100644
--- a/src/build_tool_dialog.vala
+++ b/src/build_tool_dialog.vala
@@ -578,7 +578,7 @@ public class BuildToolDialog : GLib.Object
grid.attach (arrow, 1, 0, 1, 1);
grid.set_hexpand (false);
- _entry_label.set_margin_left (12);
+ _entry_label.set_margin_start (12);
grid.attach (_entry_label, 0, 1, 2, 1);
return grid;
diff --git a/src/document_tab.vala b/src/document_tab.vala
index 7f37064..69e57d8 100644
--- a/src/document_tab.vala
+++ b/src/document_tab.vala
@@ -169,7 +169,7 @@ public class DocumentTab : Grid
update_label_text ();
Gedit.CloseButton close_button = new Gedit.CloseButton ();
- close_button.set_margin_left (2);
+ close_button.set_margin_start (2);
close_button.tooltip_text = _("Close document");
close_button.clicked.connect (() => this.close_document ());
diff --git a/src/search.vala b/src/search.vala
index 997b1c5..afd2c93 100644
--- a/src/search.vala
+++ b/src/search.vala
@@ -38,8 +38,8 @@ public class GotoLine : Grid
close_button.clicked.connect (() => hide ());
Label label = new Label (_("Go to Line:"));
- label.margin_left = 2;
- label.margin_right = 2;
+ label.margin_start = 2;
+ label.margin_end = 2;
add (label);
entry = new Entry ();
@@ -161,7 +161,7 @@ public class SearchAndReplace : GLib.Object
/* Information label at the right of the close button */
_info_label = new Label (null);
- _info_label.set_margin_left (12);
+ _info_label.set_margin_start (12);
find_grid.add (_info_label);
/* Replace entry */
diff --git a/src/side_panel.vala b/src/side_panel.vala
index 78b2429..7b19c02 100644
--- a/src/side_panel.vala
+++ b/src/side_panel.vala
@@ -39,7 +39,7 @@ public class SidePanel : Grid
_settings = new GLib.Settings ("org.gnome.latexila.preferences.ui");
_components = new Gee.ArrayList<Grid?> ();
- margin_left = 6;
+ margin_start = 6;
margin_top = 3;
column_spacing = 3;
row_spacing = 3;
diff --git a/src/ui/preferences_dialog.ui b/src/ui/preferences_dialog.ui
index d795dcb..0f94927 100644
--- a/src/ui/preferences_dialog.ui
+++ b/src/ui/preferences_dialog.ui
@@ -95,7 +95,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="margin_left">12</property>
+ <property name="margin_start">12</property>
<property name="use_action_appearance">False</property>
<property name="draw_indicator">True</property>
</object>
@@ -282,7 +282,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="margin_left">12</property>
+ <property name="margin_start">12</property>
<property name="use_action_appearance">False</property>
<property name="use_underline">True</property>
<property name="draw_indicator">True</property>
@@ -298,7 +298,7 @@
<object class="GtkGrid" id="font_hbox">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">12</property>
+ <property name="margin_start">12</property>
<property name="column_spacing">12</property>
<child>
<object class="GtkLabel" id="font_label">
@@ -379,7 +379,7 @@
<object class="GtkScrolledWindow" id="scrolledwindow1">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="margin_left">12</property>
+ <property name="margin_start">12</property>
<child>
<object class="GtkTreeView" id="schemes_treeview">
<property name="height_request">150</property>
@@ -463,7 +463,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="margin_left">12</property>
+ <property name="margin_start">12</property>
<property name="use_action_appearance">False</property>
<property name="draw_indicator">True</property>
</object>
@@ -481,7 +481,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="margin_left">24</property>
+ <property name="margin_start">24</property>
<property name="use_action_appearance">False</property>
<property name="use_underline">True</property>
<property name="draw_indicator">True</property>
@@ -497,7 +497,7 @@
<object class="GtkEntry" id="clean_up_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="margin_left">12</property>
+ <property name="margin_start">12</property>
<property name="hexpand">True</property>
<property name="invisible_char">●</property>
<property name="invisible_char_set">True</property>
diff --git a/src/utils.vala b/src/utils.vala
index e13c9de..79b67a7 100644
--- a/src/utils.vala
+++ b/src/utils.vala
@@ -297,7 +297,7 @@ namespace Utils
grid.add (label);
// left margin for the widget
- widget.set_margin_left (12);
+ widget.set_margin_start (12);
grid.add (widget);
return grid;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]