[gnome-builder] wip on notebook
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] wip on notebook
- Date: Tue, 15 Sep 2015 02:32:15 +0000 (UTC)
commit 46924e8a39ccc02ded8efdff5ae17434ad73c859
Author: Christian Hergert <christian hergert me>
Date: Mon Sep 14 15:00:49 2015 -0700
wip on notebook
data/theme/Adwaita-shared.css | 7 +++++++
data/ui/gb-editor-view.ui | 1 +
data/ui/gb-view-stack.ui | 9 ++++++++-
3 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/data/theme/Adwaita-shared.css b/data/theme/Adwaita-shared.css
index bbf00e7..abba02c 100644
--- a/data/theme/Adwaita-shared.css
+++ b/data/theme/Adwaita-shared.css
@@ -45,6 +45,13 @@ GbEditorWorkspace > GtkPaned > GtkBox > GtkBox.header.notebook {
GbNewProjectDialog GtkFileChooserButton.linked-on-right .button {
border-radius: 3px 0 0 3px;
}
+GbViewStack GtkBox.header.notebook .button {
+ padding: none;
+ margin: none;
+ border: none;
+ box-shadow: none;
+ background-image: none;
+}
/*
diff --git a/data/ui/gb-editor-view.ui b/data/ui/gb-editor-view.ui
index 8c3c7f0..39f09c3 100644
--- a/data/ui/gb-editor-view.ui
+++ b/data/ui/gb-editor-view.ui
@@ -89,6 +89,7 @@
<object class="GtkBox">
<child>
<object class="GtkMenuButton" id="tweak_button">
+ <property name="focus-on-click">false</property>
<property name="popover">popover</property>
<property name="visible">true</property>
<style>
diff --git a/data/ui/gb-view-stack.ui b/data/ui/gb-view-stack.ui
index 6112d6a..5a2f0fb 100644
--- a/data/ui/gb-view-stack.ui
+++ b/data/ui/gb-view-stack.ui
@@ -19,7 +19,7 @@
<property name="orientation">horizontal</property>
<property name="visible">true</property>
<property name="margin-bottom">3</property>
- <property name="margin-end">6</property>
+ <property name="margin-end">9</property>
<property name="margin-start">6</property>
<property name="margin-top">3</property>
<child>
@@ -30,6 +30,7 @@
<object class="GtkButton" id="go_backward">
<property name="visible">true</property>
<property name="action-name">view-stack.go-backward</property>
+ <property name="focus-on-click">false</property>
<style>
<class name="dim-label"/>
<class name="flat"/>
@@ -47,6 +48,7 @@
<object class="GtkButton" id="go_forward">
<property name="visible">true</property>
<property name="action-name">view-stack.go-forward</property>
+ <property name="focus-on-click">false</property>
<style>
<class name="dim-label"/>
<class name="flat"/>
@@ -65,6 +67,7 @@
<child>
<object class="GtkMenuButton" id="views_button">
<property name="visible">false</property>
+ <property name="focus-on-click">false</property>
<property name="popover">views_popover</property>
<style>
<class name="dim-label"/>
@@ -84,6 +87,7 @@
</child>
<child type="center">
<object class="GtkMenuButton" id="document_button">
+ <property name="focus-on-click">false</property>
<property name="hexpand">true</property>
<property name="popover">popover</property>
<!-- Sensitive is not being respected,
@@ -142,11 +146,14 @@
<child>
<object class="GtkButton" id="close_button">
<property name="action-name">view-stack.close</property>
+ <property name="valign">center</property>
<property name="visible">true</property>
+ <property name="focus-on-click">false</property>
<style>
<class name="dim-label"/>
<class name="image-button"/>
<class name="flat"/>
+ <class name="small-button"/>
</style>
<child>
<object class="GtkImage">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]