[gnome-taquin] Behavior on focus. Credit in About dialog.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-taquin] Behavior on focus. Credit in About dialog.
- Date: Fri, 26 Dec 2014 19:23:11 +0000 (UTC)
commit 7d43f2d3819398bb952393bd164ee6e3f0714372
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Fri Dec 26 20:16:33 2014 +0100
Behavior on focus. Credit in About dialog.
data/taquin.css | 16 ++++++++++------
data/taquin.ui | 1 -
src/taquin-main.vala | 9 ++++++++-
3 files changed, 18 insertions(+), 8 deletions(-)
---
diff --git a/data/taquin.css b/data/taquin.css
index e94574d..6324116 100644
--- a/data/taquin.css
+++ b/data/taquin.css
@@ -8,21 +8,25 @@ GtkApplicationWindow GtkRadioButton {
GtkApplicationWindow GtkRadioButton:checked {
background-color:shade(#ededed, 0.85);
}
-GtkApplicationWindow GtkMenuButton:hover,
-GtkApplicationWindow GtkMenuButton:checked {
+GtkApplicationWindow GtkMenuButton:checked,
+GtkApplicationWindow GtkMenuButton:focused,
+GtkApplicationWindow GtkMenuButton:prelight {
background:-gtk-gradient (radial, center center, 0, center center, 0.5, from(white), to(#e8e8e8));
}
-GtkApplicationWindow GtkMenuButton:hover:backdrop,
-GtkApplicationWindow GtkMenuButton:checked:backdrop {
+GtkApplicationWindow GtkMenuButton:checked:backdrop,
+GtkApplicationWindow GtkMenuButton:focused:backdrop,
+GtkApplicationWindow GtkMenuButton:prelight:backdrop {
background:-gtk-gradient (radial, center center, 0, center center, 0.5, from(white),
to(@theme_bg_color));
}
-GtkApplicationWindow GtkMenuButton:hover,
GtkApplicationWindow GtkMenuButton:checked,
+GtkApplicationWindow GtkMenuButton:focused,
+GtkApplicationWindow GtkMenuButton:prelight,
GtkApplicationWindow GtkRadioButton:checked {
color:shade(#2e3436, 0.85);
}
-GtkApplicationWindow GtkMenuButton:hover:backdrop,
GtkApplicationWindow GtkMenuButton:checked:backdrop,
+GtkApplicationWindow GtkMenuButton:focused:backdrop,
+GtkApplicationWindow GtkMenuButton:prelight:backdrop,
GtkApplicationWindow GtkRadioButton:checked:backdrop {
color:@theme_unfocused_fg_color;
}
diff --git a/data/taquin.ui b/data/taquin.ui
index c461267..c23582d 100644
--- a/data/taquin.ui
+++ b/data/taquin.ui
@@ -50,7 +50,6 @@
<child type="titlebar">
<object class="GtkHeaderBar" id="headerbar">
<property name="visible">True</property>
- <property name="can-focus">False</property>
<property name="show-close-button">True</property>
<property name="title" translatable="yes">Taquin</property>
<child>
diff --git a/src/taquin-main.vala b/src/taquin-main.vala
index 2f1e659..9b513b0 100644
--- a/src/taquin-main.vala
+++ b/src/taquin-main.vala
@@ -296,7 +296,6 @@ public class Taquin : Gtk.Application
back_button.hide ();
start_game ();
undo_button.show ();
- view.grab_focus ();
}
/*\
@@ -343,6 +342,13 @@ public class Taquin : Gtk.Application
private void about_cb ()
{
string[] authors = { "Arnaud Bonatti", null };
+ string[] artists = { "Ola Einang (Flickr)",
+ "Ruskis (Wikimedia)",
+ "Alvesgaspar (Wikimedia)",
+ "Mark J. Sebastian (Flickr)",
+ "Mueller-rech.muenchen (Wikimedia)",
+ "(see COPYING.themes for informations)",
+ null };
string[] documenters = { "Arnaud Bonatti", null };
show_about_dialog (window,
"name", _("Taquin"),
@@ -351,6 +357,7 @@ public class Taquin : Gtk.Application
"license-type", License.GPL_3_0,
"comments", _("A classic 15-puzzle game"),
"authors", authors,
+ "artists", artists,
"documenters", documenters,
"translator-credits", _("translator-credits"),
"logo-icon-name", "gnome-taquin",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]