[polari] roomList: Add default arrow icon to headers
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] roomList: Add default arrow icon to headers
- Date: Mon, 15 Feb 2016 23:39:43 +0000 (UTC)
commit 1e9aee732c3fcf478e89d7a18ec8891f138f2c6d
Author: Isabella Ribeiro <belinhacbr gmail com>
Date: Sat Feb 13 22:08:01 2016 -0200
roomList: Add default arrow icon to headers
Since commit 6ef2e5737, the header popovers are used for connection
management, so the headers are now always sensitive. However that's
not obvious to users, so add an arrow icon to indicate that there's
a menu.
https://bugzilla.gnome.org/show_bug.cgi?id=762015
data/resources/room-list-header.ui | 5 +++--
src/roomList.js | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/data/resources/room-list-header.ui b/data/resources/room-list-header.ui
index 75ae288..d824f23 100644
--- a/data/resources/room-list-header.ui
+++ b/data/resources/room-list-header.ui
@@ -59,11 +59,12 @@
</packing>
</child>
<child>
- <object class="GtkBox">
+ <object class="GtkImage">
+ <property name="icon-name">pan-down-symbolic</property>
<property name="visible">True</property>
</object>
<packing>
- <property name="name">none</property>
+ <property name="name">default</property>
</packing>
</child>
</object>
diff --git a/src/roomList.js b/src/roomList.js
index 8ea9e77..3bad1e2 100644
--- a/src/roomList.js
+++ b/src/roomList.js
@@ -231,7 +231,7 @@ const RoomListHeader = new Lang.Class({
reason != Tp.ConnectionStatusReason.REQUESTED);
let isAuth = isError && this._account.connection_error == authError;
- let child = 'none';
+ let child = 'default';
if (status == Tp.ConnectionStatus.CONNECTING) {
if (this._networkMonitor.network_available)
child = 'connecting';
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]