[latexila] Icon 'list-enumerate' at size 16x16 for the menu
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Icon 'list-enumerate' at size 16x16 for the menu
- Date: Wed, 16 Apr 2014 21:12:43 +0000 (UTC)
commit 52f6e1f545e0afa3602a9c93b504373f3b72d05b
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Apr 16 23:08:15 2014 +0200
Icon 'list-enumerate' at size 16x16 for the menu
data/images/stock-icons/list-enumerate-size16.png | Bin 0 -> 454 bytes
...ist-enumerate.png => list-enumerate-size24.png} | Bin 496 -> 496 bytes
src/latex_menu.vala | 10 ++++++++--
src/latexila.gresource.xml | 3 ++-
src/ui/ui.xml | 6 +++---
5 files changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/data/images/stock-icons/list-enumerate-size16.png
b/data/images/stock-icons/list-enumerate-size16.png
new file mode 100644
index 0000000..a19cc6f
Binary files /dev/null and b/data/images/stock-icons/list-enumerate-size16.png differ
diff --git a/src/latex_menu.vala b/src/latex_menu.vala
index 19be9c6..c2cb589 100644
--- a/src/latex_menu.vala
+++ b/src/latex_menu.vala
@@ -90,12 +90,18 @@ public class LatexMenu : Gtk.ActionGroup
// LaTeX: list environments
{ "ListEnvironments", "list-itemize-size16", N_("_List Environments") },
- { "ListEnvItemize", "list-itemize-size24", "\\begin{_itemize}", null,
+ { "ListEnvItemize", "list-itemize-size16", "\\begin{_itemize}", null,
N_("Bulleted List - \\begin{itemize}"), on_list_env_itemize },
- { "ListEnvEnumerate", "list-enumerate", "\\begin{_enumerate}", null,
+ { "ListEnvItemizeToolitem", "list-itemize-size24", "\\begin{_itemize}", null,
+ N_("Bulleted List - \\begin{itemize}"), on_list_env_itemize },
+ { "ListEnvEnumerate", "list-enumerate-size16", "\\begin{_enumerate}", null,
N_("Enumeration - \\begin{enumerate}"), on_list_env_enumerate },
+ { "ListEnvEnumerateToolitem", "list-enumerate-size24", "\\begin{_enumerate}",
+ null, N_("Enumeration - \\begin{enumerate}"), on_list_env_enumerate },
{ "ListEnvDescription", "list-description", "\\begin{_description}", null,
N_("Description - \\begin{description}"), on_list_env_description },
+ { "ListEnvDescriptionToolitem", "list-description", "\\begin{_description}", null,
+ N_("Description - \\begin{description}"), on_list_env_description },
{ "ListEnvList", null, "\\begin{_list}", null,
N_("Custom list - \\begin{list}"), on_list_env_list },
{ "ListEnvItem", "list-item", "\\i_tem", "<Alt><Shift>H",
diff --git a/src/latexila.gresource.xml b/src/latexila.gresource.xml
index 397b7fc..163039b 100644
--- a/src/latexila.gresource.xml
+++ b/src/latexila.gresource.xml
@@ -35,7 +35,8 @@
<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>
+ <file alias="list-enumerate-size16.png"
preprocess="to-pixdata">../data/images/stock-icons/list-enumerate-size16.png</file>
+ <file alias="list-enumerate-size24.png"
preprocess="to-pixdata">../data/images/stock-icons/list-enumerate-size24.png</file>
<file alias="list-item.png" preprocess="to-pixdata">../data/images/stock-icons/list-item.png</file>
<file alias="list-itemize-size16.png"
preprocess="to-pixdata">../data/images/stock-icons/list-itemize-size16.png</file>
<file alias="list-itemize-size24.png"
preprocess="to-pixdata">../data/images/stock-icons/list-itemize-size24.png</file>
diff --git a/src/ui/ui.xml b/src/ui/ui.xml
index 8675f3e..3b3fda4 100644
--- a/src/ui/ui.xml
+++ b/src/ui/ui.xml
@@ -462,9 +462,9 @@ along with LaTeXila. If not, see <http://www.gnu.org/licenses/>.
<separator />
- <toolitem action="ListEnvItemize" />
- <toolitem action="ListEnvEnumerate" />
- <toolitem action="ListEnvDescription" />
+ <toolitem action="ListEnvItemizeToolitem" />
+ <toolitem action="ListEnvEnumerateToolitem" />
+ <toolitem action="ListEnvDescriptionToolitem" />
<separator />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]