[latexila] Rename stock icon: completion_choice -> gray-square
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Rename stock icon: completion_choice -> gray-square
- Date: Sat, 17 Nov 2012 21:29:16 +0000 (UTC)
commit dc180c20caf2595719119e9e249b31b85131a49a
Author: SÃbastien Wilmet <swilmet gnome org>
Date: Sat Nov 17 22:28:24 2012 +0100
Rename stock icon: completion_choice -> gray-square
Because the gray square is also used in the build view.
.../{completion_choice.png => gray-square.png} | Bin 212 -> 212 bytes
src/build_view.vala | 3 +--
src/completion.vala | 2 +-
src/latexila.gresource.xml | 2 +-
4 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/data/images/stock-icons/completion_choice.png b/data/images/stock-icons/gray-square.png
similarity index 100%
rename from data/images/stock-icons/completion_choice.png
rename to data/images/stock-icons/gray-square.png
diff --git a/src/build_view.vala b/src/build_view.vala
index 009c2f1..f4b2504 100644
--- a/src/build_view.vala
+++ b/src/build_view.vala
@@ -378,8 +378,7 @@ public class BuildView : TreeView
switch (type)
{
case BuildMsgType.JOB_SUB_COMMAND:
- // TODO rename the completion_choice stock icon
- return "completion_choice";
+ return "gray-square";
case BuildMsgType.ERROR:
return Stock.DIALOG_ERROR;
diff --git a/src/completion.vala b/src/completion.vala
index 1ab976d..436380f 100644
--- a/src/completion.vala
+++ b/src/completion.vala
@@ -85,7 +85,7 @@ public class CompletionProvider : GLib.Object, SourceCompletionProvider
// icons
_icon_cmd = Utils.get_pixbuf_from_stock ("completion_cmd", IconSize.MENU);
- _icon_choice = Utils.get_pixbuf_from_stock ("completion_choice", IconSize.MENU);
+ _icon_choice = Utils.get_pixbuf_from_stock ("gray-square", IconSize.MENU);
_icon_package_required = Utils.get_pixbuf_from_stock (Stock.DIALOG_WARNING,
IconSize.MENU);
diff --git a/src/latexila.gresource.xml b/src/latexila.gresource.xml
index ad76100..4a1d068 100644
--- a/src/latexila.gresource.xml
+++ b/src/latexila.gresource.xml
@@ -29,10 +29,10 @@
<file alias="compile_dvi.png" preprocess="to-pixdata">../data/images/stock-icons/compile_dvi.png</file>
<file alias="compile_pdf.png" preprocess="to-pixdata">../data/images/stock-icons/compile_pdf.png</file>
<file alias="compile_ps.png" preprocess="to-pixdata">../data/images/stock-icons/compile_ps.png</file>
- <file alias="completion_choice.png" preprocess="to-pixdata">../data/images/stock-icons/completion_choice.png</file>
<file alias="completion_cmd.png" preprocess="to-pixdata">../data/images/stock-icons/completion_cmd.png</file>
<file alias="delimiters-left.png" preprocess="to-pixdata">../data/images/stock-icons/delimiters-left.png</file>
<file alias="delimiters-right.png" preprocess="to-pixdata">../data/images/stock-icons/delimiters-right.png</file>
+ <file alias="gray-square.png" preprocess="to-pixdata">../data/images/stock-icons/gray-square.png</file>
<file alias="italic.png" preprocess="to-pixdata">../data/images/stock-icons/italic.png</file>
<file alias="list-description.png" preprocess="to-pixdata">../data/images/stock-icons/list-description.png</file>
<file alias="list-enumerate.png" preprocess="to-pixdata">../data/images/stock-icons/list-enumerate.png</file>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]