summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Riemann <[email protected]>2014-08-10 15:20:52 +0200
committerraveit65 <[email protected]>2018-07-08 12:29:16 +0200
commit32675ab0073a4c6298474dd09afa9acb10ad4501 (patch)
treee973caeee3b8bf1674e6317c6629862f782b11a5 /src
parente6cda9623c168a5944b89164b97cc00ad25c03b5 (diff)
downloadeom-32675ab0073a4c6298474dd09afa9acb10ad4501.tar.bz2
eom-32675ab0073a4c6298474dd09afa9acb10ad4501.tar.xz
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
Diffstat (limited to 'src')
-rw-r--r--src/eom-metadata-sidebar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/eom-metadata-sidebar.c b/src/eom-metadata-sidebar.c
index dd997ae..e9b6e0e 100644
--- a/src/eom-metadata-sidebar.c
+++ b/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"));