updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / gnome-boxes-git / gtk-3.2-toolbar-fix.patch
blob6984692d067e8f0fa0b3b2285e1bcdf311e8c3f5
1 diff --git a/src/properties.vala b/src/properties.vala
2 index 5ae240f..7de9321 100644
3 --- a/src/properties.vala
4 +++ b/src/properties.vala
5 @@ -173,11 +173,8 @@ private class Boxes.Properties: Boxes.UI {
6 toolbar_box.set_size_request (50, (int) Boxes.Topbar.height);
7 toolbar_box.add (toolbar);
9 - var box = new Gtk.HBox (false, 5);
10 - box.add (new Gtk.Image.from_icon_name ("go-previous-symbolic", Gtk.IconSize.MENU));
11 toolbar_label = new Gtk.Label ("label");
12 - box.add (toolbar_label);
13 - back = new ToolButton (box, null);
14 + back = new ToolButton (toolbar_label, null);
15 back.get_style_context ().add_class ("raised");
16 back.clicked.connect ((button) => { app.ui_state = UIState.DISPLAY; });
17 toolbar.insert (back, 0);
18 diff --git a/src/topbar.vala b/src/topbar.vala
19 index 044d1a4..40954a0 100644
20 --- a/src/topbar.vala
21 +++ b/src/topbar.vala
22 @@ -19,7 +19,7 @@ private class Boxes.Topbar: Boxes.UI {
23 private GtkClutter.Actor gtk_actor; // the topbar box
24 public Notebook notebook;
26 - private Gtk.Spinner spinner;
27 + private Gtk.Label spinner;
28 private Gtk.ToggleToolButton select_btn;
29 private Gtk.ToolButton cancel_btn;
30 private Gtk.ToolButton spinner_btn;
31 @@ -81,8 +81,7 @@ private class Boxes.Topbar: Boxes.UI {
32 toolbar_end.icon_size = Gtk.IconSize.MENU;
33 toolbar_end.get_style_context ().add_class (Gtk.STYLE_CLASS_MENUBAR);
35 - spinner = new Gtk.Spinner ();
36 - spinner.start ();
37 + spinner = new Gtk.Label ("...");
38 spinner_btn = new Gtk.ToolButton (spinner, null);
39 spinner_btn.valign = Gtk.Align.CENTER;
40 spinner_btn.get_style_context ().add_class ("raised");