[gitg] Show anonymous avatar by default
- From: Techlive Zheng <techlivezh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Show anonymous avatar by default
- Date: Mon, 23 Dec 2013 09:50:25 +0000 (UTC)
commit 24a1a86ef0cee5e8190f2870df67d1194098f5c7
Author: Techlive Zheng <techlivezheng gmail com>
Date: Tue Dec 17 18:27:59 2013 +0800
Show anonymous avatar by default
https://bugzilla.gnome.org/show_bug.cgi?id=720734
libgitg/resources/avatar.png | Bin 0 -> 1267 bytes
libgitg/resources/diff-view.html | 2 +-
libgitg/resources/resources.xml | 1 +
3 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libgitg/resources/avatar.png b/libgitg/resources/avatar.png
new file mode 100644
index 0000000..825ea06
Binary files /dev/null and b/libgitg/resources/avatar.png differ
diff --git a/libgitg/resources/diff-view.html b/libgitg/resources/diff-view.html
index 221f2ae..f094f6d 100644
--- a/libgitg/resources/diff-view.html
+++ b/libgitg/resources/diff-view.html
@@ -10,7 +10,7 @@
<!-- Commit template -->
<div class="commit">
<button class="format_patch_button">Get Patch</button>
- <img class="avatar"/>
+ <img class="avatar" src="avatar.png" />
<p>
<span class="author"></span><br/>
<span class="date"></span>
diff --git a/libgitg/resources/resources.xml b/libgitg/resources/resources.xml
index c3159d6..813e1c1 100644
--- a/libgitg/resources/resources.xml
+++ b/libgitg/resources/resources.xml
@@ -6,6 +6,7 @@
<file compressed="true">diff-view-html-builder.js</file>
<file compressed="true">diff-view.css</file>
<file compressed="true">jquery-2.0.3.min.js</file>
+ <file compressed="true">avatar.png</file>
</gresource>
<gresource prefix="/org/gnome/gitg/gtk">
<file compressed="true" preprocess="xml-stripblanks">gitg-repository-list-box-row.ui</file>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]