Skip to content
Permalink
Browse files

Replace remaining uses of margin-left and margin-right properties

Replaced with margin-start and margin-end, which should make
EomMetadataSidebar's layout in RTL environments more similar to the
LTR layout.

origin commit:
https://gitlab.gnome.org/GNOME/eog/commit/00641d2
  • Loading branch information...
Felix Riemann authored and raveit65 committed Aug 10, 2014
1 parent e6cda96 commit 32675ab0073a4c6298474dd09afa9acb10ad4501
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/eom-metadata-sidebar.c
@@ -145,7 +145,7 @@ _gtk_grid_append_prop_line (GtkGrid *grid, GtkWidget *sibling,
gtk_label_set_line_wrap (GTK_LABEL(*data_label), TRUE);
gtk_misc_set_alignment (GTK_MISC (*data_label), 0.0, 0.0);
// Add a small margin to make it a sublabel to the first label
gtk_widget_set_margin_left (*data_label, 12);
gtk_widget_set_margin_start (*data_label, 12);
gtk_box_pack_end (GTK_BOX(box), *data_label, FALSE, FALSE, 0);
}
gtk_grid_attach_next_to (grid, box, sibling, GTK_POS_BOTTOM, 2, 1);
@@ -515,8 +515,8 @@ eom_metadata_sidebar_init (EomMetadataSidebar *sidebar)
priv->folder_button = gtk_button_new_with_label ("");
g_signal_connect (priv->folder_button, "clicked",
G_CALLBACK (_folder_button_clicked_cb), sidebar);
gtk_widget_set_margin_left (priv->folder_button, 12);
gtk_widget_set_margin_right (priv->folder_button, 12);
gtk_widget_set_margin_start (priv->folder_button, 12);
gtk_widget_set_margin_end (priv->folder_button, 12);
gtk_widget_set_margin_top (priv->folder_button, 3);
gtk_widget_set_tooltip_text (priv->folder_button, _("Show the folder "
"which contains this file in the file manager"));

0 comments on commit 32675ab

Please sign in to comment.
You can’t perform that action at this time.