[gnome-clocks] Gtk now knows how to handle RTL symbolics
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] Gtk now knows how to handle RTL symbolics
- Date: Thu, 17 Jul 2014 19:14:04 +0000 (UTC)
commit 05acfe1e6ebee2530a450d3d2e9b85c4a1d63df7
Author: Paolo Borelli <pborelli gnome org>
Date: Thu Jul 17 21:11:21 2014 +0200
Gtk now knows how to handle RTL symbolics
src/world.vala | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/src/world.vala b/src/world.vala
index f4624a4..d73daa1 100644
--- a/src/world.vala
+++ b/src/world.vala
@@ -282,13 +282,7 @@ public class MainPanel : Gtk.Stack, Clocks.Clock {
header_bar.pack_start (new_button);
back_button = new Gtk.Button ();
- var back_button_image = new Gtk.Image ();
- back_button_image.icon_size = Gtk.IconSize.MENU;
- if (get_direction () == Gtk.TextDirection.LTR) {
- back_button_image.icon_name = "go-previous-symbolic";
- } else {
- back_button_image.icon_name = "go-previous-rtl-symbolic";
- }
+ var back_button_image = new Gtk.Image.from_icon_name ("go-previous-symbolic", Gtk.IconSize.MENU);
back_button.valign = Gtk.Align.CENTER;
back_button.set_image (back_button_image);
back_button.no_show_all = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]