[gnome-boxes] Use labels in OSD toolbar
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Use labels in OSD toolbar
- Date: Tue, 29 Jan 2013 08:40:36 +0000 (UTC)
commit ee408de3ba14c6636fed5de7e37546ae741d4438
Author: Alexander Larsson <alexl redhat com>
Date: Mon Jan 28 14:33:39 2013 +0100
Use labels in OSD toolbar
https://bugzilla.gnome.org/show_bug.cgi?id=686941
src/selectionbar.vala | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/src/selectionbar.vala b/src/selectionbar.vala
index 1a4f500..0fc24cc 100644
--- a/src/selectionbar.vala
+++ b/src/selectionbar.vala
@@ -10,7 +10,7 @@ private class Boxes.Selectionbar: GLib.Object {
private Gtk.Toolbar toolbar;
private Gtk.ToggleButton favorite_btn;
private Gtk.Button pause_btn;
- private Gtk.ToggleButton remove_btn;
+ private Gtk.Button remove_btn;
private Gtk.Button properties_btn;
public Selectionbar () {
@@ -77,16 +77,14 @@ private class Boxes.Selectionbar: GLib.Object {
pause_btn.sensitive = false;
});
- remove_btn = new Gtk.ToggleButton ();
+ remove_btn = new Gtk.Button.from_stock (Gtk.Stock.DELETE);
rightbox.add (remove_btn);
- remove_btn.image = new Gtk.Image.from_icon_name ("edit-delete-symbolic", Gtk.IconSize.MENU);
remove_btn.clicked.connect (() => {
App.app.remove_selected_items ();
});
- properties_btn = new Gtk.Button ();
+ properties_btn = new Gtk.Button.from_stock (Gtk.Stock.PROPERTIES);
rightbox.add (properties_btn);
- properties_btn.image = new Gtk.Image.from_icon_name ("preferences-system-symbolic", Gtk.IconSize.MENU);
properties_btn.clicked.connect (() => {
App.app.show_properties ();
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]