[gnome-control-center] notifications: Use margin-start/end instead of margin-left/right
- From: Yosef Or Boczko <yoseforb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] notifications: Use margin-start/end instead of margin-left/right
- Date: Tue, 19 Nov 2013 20:40:38 +0000 (UTC)
commit a9829a11cf78389ac5f3654450be5fc48b786809
Author: Yosef Or Boczko <yoseforb gmail com>
Date: Tue Nov 19 22:27:57 2013 +0200
notifications: Use margin-start/end instead of margin-left/right
https://bugzilla.gnome.org/show_bug.cgi?id=712661
panels/notifications/cc-edit-dialog.c | 4 ++--
panels/notifications/cc-notifications-panel.c | 4 ++--
panels/notifications/notifications.ui | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/panels/notifications/cc-edit-dialog.c b/panels/notifications/cc-edit-dialog.c
index 5c642b8..e82b31e 100644
--- a/panels/notifications/cc-edit-dialog.c
+++ b/panels/notifications/cc-edit-dialog.c
@@ -74,8 +74,8 @@ cc_build_edit_dialog (CcNotificationsPanel *panel,
content_grid = GTK_GRID (gtk_grid_new ());
g_object_set (content_grid,
"row-spacing", 10,
- "margin-left", 15,
- "margin-right", 5,
+ "margin-start", 15,
+ "margin-end", 5,
NULL);
gtk_container_add (GTK_CONTAINER (content_area), GTK_WIDGET (content_grid));
diff --git a/panels/notifications/cc-notifications-panel.c b/panels/notifications/cc-notifications-panel.c
index a18a309..ab8925c 100644
--- a/panels/notifications/cc-notifications-panel.c
+++ b/panels/notifications/cc-notifications-panel.c
@@ -230,7 +230,7 @@ add_application (CcNotificationsPanel *panel,
gtk_container_add (GTK_CONTAINER (row), box);
w = gtk_image_new_from_gicon (icon, GTK_ICON_SIZE_DIALOG);
- gtk_widget_set_margin_left (w, 12);
+ gtk_widget_set_margin_start (w, 12);
gtk_container_add (GTK_CONTAINER (box), w);
g_object_unref (icon);
@@ -246,7 +246,7 @@ add_application (CcNotificationsPanel *panel,
NULL,
NULL,
NULL);
- gtk_widget_set_margin_right (w, 12);
+ gtk_widget_set_margin_end (w, 12);
gtk_widget_set_valign (w, GTK_ALIGN_CENTER);
gtk_box_pack_end (GTK_BOX (box), w, FALSE, FALSE, 0);
diff --git a/panels/notifications/notifications.ui b/panels/notifications/notifications.ui
index 91f558f..b54b82c 100644
--- a/panels/notifications/notifications.ui
+++ b/panels/notifications/notifications.ui
@@ -4,8 +4,8 @@
<object class="GtkGrid" id="ccnotify-main-grid">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">134</property>
- <property name="margin_right">134</property>
+ <property name="margin_start">134</property>
+ <property name="margin_end">134</property>
<property name="margin_top">22</property>
<property name="margin_bottom">22</property>
<property name="orientation">vertical</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]