[baobab] trivial: fix style
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab] trivial: fix style
- Date: Fri, 29 Sep 2017 09:48:03 +0000 (UTC)
commit 19d1894fef91f22fc406840de5a38055b5915ac0
Author: Stefano Facchini <stefano facchini gmail com>
Date: Fri Sep 29 11:38:30 2017 +0200
trivial: fix style
src/baobab-window.vala | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/src/baobab-window.vala b/src/baobab-window.vala
index eaa394a..982eb04 100644
--- a/src/baobab-window.vala
+++ b/src/baobab-window.vala
@@ -170,15 +170,12 @@ namespace Baobab {
var desktop = Environment.get_variable ("XDG_CURRENT_DESKTOP");
- if (desktop == null || !desktop.contains("Unity"))
- {
+ if (desktop == null || !desktop.contains ("Unity")) {
this.set_titlebar (header_bar);
- }
- else
- {
+ } else {
header_bar.show_close_button = false;
- header_bar.get_style_context().remove_class("titlebar");
- vbox.pack_start(header_bar, false, false, 0);
+ header_bar.get_style_context ().remove_class ("titlebar");
+ vbox.pack_start (header_bar, false, false, 0);
}
set_ui_state (home_page, false);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]