notifications: Use margin-start/end instead of margin-left/right
https://bugzilla.gnome.org/show_bug.cgi?id=712661
This commit is contained in:
parent
089266fd0a
commit
a9829a11cf
3 changed files with 6 additions and 6 deletions
|
@ -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));
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue