[latexila] Icon 'table' at size 16x16 for the menu
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Icon 'table' at size 16x16 for the menu
- Date: Fri, 18 Apr 2014 11:37:11 +0000 (UTC)
commit 55da4856b46146f1d81e0ce85bfc78c14da829ef
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Apr 18 13:31:53 2014 +0200
Icon 'table' at size 16x16 for the menu
data/images/stock-icons/table-size16.png | Bin 0 -> 311 bytes
.../stock-icons/{table.png => table-size24.png} | Bin 438 -> 438 bytes
src/latex_menu.vala | 6 ++++--
src/latexila.gresource.xml | 3 ++-
src/structure.vala | 2 +-
src/ui/ui.xml | 2 +-
6 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/data/images/stock-icons/table-size16.png b/data/images/stock-icons/table-size16.png
new file mode 100644
index 0000000..fef1037
Binary files /dev/null and b/data/images/stock-icons/table-size16.png differ
diff --git a/src/latex_menu.vala b/src/latex_menu.vala
index 506b0ac..1ea95c8 100644
--- a/src/latex_menu.vala
+++ b/src/latex_menu.vala
@@ -72,7 +72,9 @@ public class LatexMenu : Gtk.ActionGroup
N_("Align Right - \\begin{flushright}"), on_env_right },
{ "EnvFigure", "image", "\\begin{_figure}", null,
N_("Figure - \\begin{figure}"), on_env_figure },
- { "EnvTable", "table", "\\begin{_table}", null,
+ { "EnvTable", "table-size16", "\\begin{_table}", null,
+ N_("Table - \\begin{table}"), on_env_table },
+ { "EnvTableToolitem", "table-size24", "\\begin{_table}", null,
N_("Table - \\begin{table}"), on_env_table },
{ "EnvQuote", null, "\\begin{_quote}", null,
N_("Quote - \\begin{quote}"), on_env_quote },
@@ -177,7 +179,7 @@ public class LatexMenu : Gtk.ActionGroup
// LaTeX: Tabular
- { "Tabular", "table", N_("_Tabular") },
+ { "Tabular", "table-size16", N_("_Tabular") },
{ "TabularTabbing", null, "\\begin{ta_bbing}", null,
N_("Tabbing - \\begin{tabbing}"), on_tabular_tabbing },
{ "TabularTabular", null, "\\begin{_tabular}", null,
diff --git a/src/latexila.gresource.xml b/src/latexila.gresource.xml
index ed164c2..0f55e5f 100644
--- a/src/latexila.gresource.xml
+++ b/src/latexila.gresource.xml
@@ -74,7 +74,8 @@
<file alias="symbol_misc_text.png"
preprocess="to-pixdata">../data/images/stock-icons/symbol_misc_text.png</file>
<file alias="symbol_operators.png"
preprocess="to-pixdata">../data/images/stock-icons/symbol_operators.png</file>
<file alias="symbol_relations.png"
preprocess="to-pixdata">../data/images/stock-icons/symbol_relations.png</file>
- <file alias="table.png" preprocess="to-pixdata">../data/images/stock-icons/table.png</file>
+ <file alias="table-size16.png" preprocess="to-pixdata">../data/images/stock-icons/table-size16.png</file>
+ <file alias="table-size24.png" preprocess="to-pixdata">../data/images/stock-icons/table-size24.png</file>
<file alias="tree_chapter.png" preprocess="to-pixdata">../data/images/stock-icons/tree_chapter.png</file>
<file alias="tree_label.png" preprocess="to-pixdata">../data/images/stock-icons/tree_label.png</file>
<file alias="tree_paragraph.png"
preprocess="to-pixdata">../data/images/stock-icons/tree_paragraph.png</file>
diff --git a/src/structure.vala b/src/structure.vala
index 743640b..6d91191 100644
--- a/src/structure.vala
+++ b/src/structure.vala
@@ -758,7 +758,7 @@ public class Structure : Grid
_icons[StructType.LABEL] = "tree_label";
_icons[StructType.TODO] = "tree_todo";
_icons[StructType.FIXME] = "tree_todo";
- _icons[StructType.TABLE] = "table";
+ _icons[StructType.TABLE] = "table-size16";
_icons[StructType.FIGURE] = "image";
_icons[StructType.IMAGE] = "image";
_icons[StructType.INCLUDE] = Stock.FILE;
diff --git a/src/ui/ui.xml b/src/ui/ui.xml
index 3b3fda4..caac399 100644
--- a/src/ui/ui.xml
+++ b/src/ui/ui.xml
@@ -469,7 +469,7 @@ along with LaTeXila. If not, see <http://www.gnu.org/licenses/>.
<separator />
<toolitem action="EnvFigure" />
- <toolitem action="EnvTable" />
+ <toolitem action="EnvTableToolitem" />
<separator />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]