[polari] ui: Change leave button in toolbar to selection mode toggle
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] ui: Change leave button in toolbar to selection mode toggle
- Date: Thu, 8 Aug 2013 13:15:04 +0000 (UTC)
commit e31c90b0f2693f772292b388dbd326df78e81abe
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Jul 31 19:37:41 2013 +0200
ui: Change leave button in toolbar to selection mode toggle
Allan suggested to use the selection mode pattern instead of a direct
leave action in the header. It is a bit odd that joining a room involves
an extra step, but leaving it (as a destructive action) does not, so let's
try this. On the other hand, leaving more than a single room at once is
very uncommon, so we might reconsider this change in the future.
data/resources/main-window.ui | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/data/resources/main-window.ui b/data/resources/main-window.ui
index 309b11b..4d30ab0 100644
--- a/data/resources/main-window.ui
+++ b/data/resources/main-window.ui
@@ -64,13 +64,13 @@
</packing>
</child>
<child>
- <object class="GtkButton" id="button2">
+ <object class="GtkToggleButton" id="button2">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="focus_on_click">False</property>
<property name="halign">center</property>
<property name="valign">center</property>
- <property name="action_name">app.leave-current-room</property>
+ <property name="action_name">app.selection-mode</property>
<style>
<class name="image-button"/>
</style>
@@ -78,13 +78,13 @@
<object class="GtkImage" id="image2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="icon_name">list-remove-symbolic</property>
+ <property name="icon_name">object-select-symbolic</property>
<property name="icon_size">1</property>
</object>
</child>
</object>
<packing>
- <property name="pack_type">start</property>
+ <property name="pack_type">end</property>
</packing>
</child>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]