[latexila] Icon 'sectioning' at size 16x16 for the menu
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Icon 'sectioning' at size 16x16 for the menu
- Date: Wed, 16 Apr 2014 19:53:34 +0000 (UTC)
commit 33841fa2dbdb8c0c1443c80d956dd06fc669ff4e
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Apr 16 21:49:53 2014 +0200
Icon 'sectioning' at size 16x16 for the menu
data/images/stock-icons/sectioning-size16.png | Bin 0 -> 331 bytes
.../{sectioning.png => sectioning-size24.png} | Bin 478 -> 478 bytes
src/latex_menu.vala | 4 ++--
src/latexila.gresource.xml | 3 ++-
4 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/data/images/stock-icons/sectioning-size16.png b/data/images/stock-icons/sectioning-size16.png
new file mode 100644
index 0000000..27f1279
Binary files /dev/null and b/data/images/stock-icons/sectioning-size16.png differ
diff --git a/src/latex_menu.vala b/src/latex_menu.vala
index d0cf2e0..5cc1255 100644
--- a/src/latex_menu.vala
+++ b/src/latex_menu.vala
@@ -29,7 +29,7 @@ public class LatexMenu : Gtk.ActionGroup
// LaTeX: Sectioning
- { "Sectioning", "sectioning", N_("_Sectioning") },
+ { "Sectioning", "sectioning-size16", N_("_Sectioning") },
{ "SectioningPart", null, "\\_part", null,
N_("Part"), on_sectioning_part },
{ "SectioningChapter", null, "\\_chapter", null,
@@ -440,7 +440,7 @@ public class LatexMenu : Gtk.ActionGroup
// menus under toolitems
Gtk.Action sectioning = get_menu_tool_action ("SectioningToolItem",
- _("Sectioning"), "sectioning");
+ _("Sectioning"), "sectioning-size24");
Gtk.Action sizes = get_menu_tool_action ("CharacterSizeToolItem",
_("Characters Sizes"), "character-size");
diff --git a/src/latexila.gresource.xml b/src/latexila.gresource.xml
index 2c0f76a..5d9ecd7 100644
--- a/src/latexila.gresource.xml
+++ b/src/latexila.gresource.xml
@@ -64,7 +64,8 @@
<file alias="references.png" preprocess="to-pixdata">../data/images/stock-icons/references.png</file>
<file alias="roman.png" preprocess="to-pixdata">../data/images/stock-icons/roman.png</file>
<file alias="sans_serif.png" preprocess="to-pixdata">../data/images/stock-icons/sans_serif.png</file>
- <file alias="sectioning.png" preprocess="to-pixdata">../data/images/stock-icons/sectioning.png</file>
+ <file alias="sectioning-size16.png"
preprocess="to-pixdata">../data/images/stock-icons/sectioning-size16.png</file>
+ <file alias="sectioning-size24.png"
preprocess="to-pixdata">../data/images/stock-icons/sectioning-size24.png</file>
<file alias="slanted.png" preprocess="to-pixdata">../data/images/stock-icons/slanted.png</file>
<file alias="small_caps.png" preprocess="to-pixdata">../data/images/stock-icons/small_caps.png</file>
<file alias="symbol_arrows.png"
preprocess="to-pixdata">../data/images/stock-icons/symbol_arrows.png</file>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]