[gnome-boxes] selection-toolbar: Bring menu button back
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] selection-toolbar: Bring menu button back
- Date: Tue, 12 Aug 2014 15:30:18 +0000 (UTC)
commit 25c9a14a8e6602f30c64c94d69f4ddbdcf72ec93
Author: Adrien Plazas <kekun plazas laposte net>
Date: Tue Aug 12 14:41:03 2014 +0200
selection-toolbar: Bring menu button back
The menu button have accidentally disappeared in the 3.13.x cycle, this commit
is a work around to bring it back.
https://bugzilla.gnome.org/show_bug.cgi?id=734664
src/selection-toolbar.vala | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/selection-toolbar.vala b/src/selection-toolbar.vala
index 0baf39c..f2ea70b 100644
--- a/src/selection-toolbar.vala
+++ b/src/selection-toolbar.vala
@@ -6,6 +6,8 @@ private class Boxes.SelectionToolbar: HeaderBar {
[GtkChild]
private Button search_btn;
[GtkChild]
+ private MenuButton menu_button;
+ [GtkChild]
private Label menu_button_label;
private AppWindow window;
@@ -16,6 +18,9 @@ private class Boxes.SelectionToolbar: HeaderBar {
}
construct {
+ // Work around for https://bugzilla.gnome.org/show_bug.cgi?id=734664
+ custom_title = menu_button;
+
App.app.notify["selected-items"].connect (() => {
update_selection_label ();
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]