[gnome-boxes] properties-toolbar: Always show 'x' button
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] properties-toolbar: Always show 'x' button
- Date: Sun, 7 Dec 2014 23:43:34 +0000 (UTC)
commit 72e48d2844a2eb6c23f9490d7120566634f6df58
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Sun Dec 7 22:12:25 2014 +0000
properties-toolbar: Always show 'x' button
We didn't show 'x' (close) button when coming to properties from wizard
but now that UI transition doesn't happen. So there is no need anymore
to update the visibility of this button.
https://bugzilla.gnome.org/show_bug.cgi?id=741046
src/properties-toolbar.vala | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/properties-toolbar.vala b/src/properties-toolbar.vala
index f79170c..abe017f 100644
--- a/src/properties-toolbar.vala
+++ b/src/properties-toolbar.vala
@@ -68,8 +68,6 @@ private class Boxes.PropertiesToolbar: Gtk.Stack {
}
private void ui_state_changed () {
- main.show_close_button = (window.previous_ui_state != UIState.WIZARD);
-
if (item_name_id != 0) {
item.disconnect (item_name_id);
item_name_id = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]