[gnome-boxes] selectionbar: Use text label for Pause button
- From: Arnel A. Borja <arnelborja src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] selectionbar: Use text label for Pause button
- Date: Fri, 30 Aug 2013 13:50:13 +0000 (UTC)
commit cb958a7b5dbf4c797e165b7484959575e3565b1c
Author: Arnel A. Borja <arnelborja src gnome org>
Date: Fri Aug 30 00:03:48 2013 +0800
selectionbar: Use text label for Pause button
Pause is an action item and string labels are now prefered for these
items.
This is to follow the new design for Content Selection Pattern at
https://wiki.gnome.org/GnomeOS/Design/Whiteboards/SelectionPattern
https://bugzilla.gnome.org/show_bug.cgi?id=706818
src/selectionbar.vala | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/selectionbar.vala b/src/selectionbar.vala
index 90e0b8d..a2c9a0e 100644
--- a/src/selectionbar.vala
+++ b/src/selectionbar.vala
@@ -29,9 +29,8 @@ private class Boxes.Selectionbar: Gtk.Revealer {
App.app.selection_mode = false;
});
- pause_btn = new Gtk.Button ();
+ pause_btn = new Gtk.Button.with_mnemonic (_("P_ause"));
headerbar.pack_start (pause_btn);
- pause_btn.image = new Gtk.Image.from_icon_name ("media-playback-pause-symbolic", Gtk.IconSize.MENU);
pause_btn.clicked.connect (() => {
foreach (var item in App.app.selected_items) {
var machine = item as Machine;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]