[polari] join-room-dialog: Fix the back icon in RTL
- From: Yosef Or Boczko <yoseforb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] join-room-dialog: Fix the back icon in RTL
- Date: Mon, 15 Sep 2014 17:18:37 +0000 (UTC)
commit 0e0e81d60327e046dae8847830460840fb3b269d
Author: Yosef Or Boczko <yoseforb src gnome org>
Date: Mon Sep 15 20:18:22 2014 +0300
join-room-dialog: Fix the back icon in RTL
data/resources/join-room-dialog.ui | 1 +
src/joinDialog.js | 6 ------
2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/data/resources/join-room-dialog.ui b/data/resources/join-room-dialog.ui
index 26d04e7..5adb34d 100644
--- a/data/resources/join-room-dialog.ui
+++ b/data/resources/join-room-dialog.ui
@@ -31,6 +31,7 @@
<child>
<object class="GtkImage" id="back_icon">
<property name="visible">True</property>
+ <property name="icon_name">go-previous-symbolic</property>
<property name="icon_size">1</property>
</object>
</child>
diff --git a/src/joinDialog.js b/src/joinDialog.js
index 07887cc..f2eacdb 100644
--- a/src/joinDialog.js
+++ b/src/joinDialog.js
@@ -81,12 +81,6 @@ const JoinDialog = new Lang.Class({
this._setPage(DialogPage.MAIN);
}));
- let backIcon = builder.get_object('back_icon');
- if (backIcon.get_direction() == Gtk.TextDirection.RTL)
- backIcon.icon_name = 'go-previous-rtl-symbolic';
- else
- backIcon.icon_name = 'go-previous-symbolic';
-
this._connectionCombo = builder.get_object('connection_combo');
this._connectionCombo.connect('changed',
Lang.bind(this, this._onAccountChanged));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]