[gnome-nibbles] Fix css name conflict
- From: Iulian Radu <iulianradu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles] Fix css name conflict
- Date: Mon, 26 Oct 2015 00:18:44 +0000 (UTC)
commit a262caa8361c982cd1533b177e7fdcd085386833
Author: Iulian Radu <iulian radu67 gmail com>
Date: Mon Aug 10 01:04:29 2015 +0300
Fix css name conflict
data/nibbles.css | 4 ++--
data/nibbles.ui | 9 +++++----
2 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/data/nibbles.css b/data/nibbles.css
index a4ddc70..e9e6d1a 100644
--- a/data/nibbles.css
+++ b/data/nibbles.css
@@ -1,7 +1,7 @@
GtkApplicationWindow.main-window {
- background: rgba (255, 255, 255, 0);
+ background: rgba (0, 0, 0, 1);
}
-.title {
+.menu-title {
font-size: 3em;
}
.tip {
diff --git a/data/nibbles.ui b/data/nibbles.ui
index de4db45..fdd1269 100644
--- a/data/nibbles.ui
+++ b/data/nibbles.ui
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
- <object class="GtkHeaderBar">
+ <object class="GtkHeaderBar" id="headerbar">
<property name="title" translatable="yes">Nibbles</property>
+ <property name="show-close-button">True</property>
</object>
<object class="GtkApplicationWindow" id="nibbles-window">
<property name="title" translatable="yes">Nibbles</property>
@@ -65,7 +66,7 @@
<object class="GtkLabel">
<property name="visible">True</property>
<property name="label" translatable="yes">Welcome,
worms.</property>
- <style><class name="title"/></style>
+ <style><class name="menu-title"/></style>
</object>
<packing>
<property name="pack-type">start</property>
@@ -104,7 +105,7 @@
<property name="visible">True</property>
<property name="label" translatable="yes">Number of
players</property>
<property name="valign">3</property>
- <style><class name="title"/></style>
+ <style><class name="menu-title"/></style>
</object>
<packing>
<property name="pack-type">start</property>
@@ -226,7 +227,7 @@
<property name="visible">True</property>
<property name="label" translatable="yes">Controls</property>
<property name="valign">3</property>
- <style><class name="title"/></style>
+ <style><class name="menu-title"/></style>
</object>
<packing>
<property name="pack-type">start</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]