[gnome-latex: 149/205] Icons updated



commit 287adec0343af45dd42d9ef5465dffe4624fd1c7
Author: Sébastien Wilmet <sebastien wilmet gmail com>
Date:   Sun Dec 20 15:59:51 2009 +0100

    Icons updated

 data/images/icons/character-size.png | Bin 474 -> 514 bytes
 data/images/icons/justify-center.png | Bin 569 -> 0 bytes
 data/images/icons/justify-left.png   | Bin 510 -> 0 bytes
 data/images/icons/justify-right.png  | Bin 497 -> 0 bytes
 src/ui.c                             |  11 ++++-------
 5 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/data/images/icons/character-size.png b/data/images/icons/character-size.png
index 23bd3d7..06ab0f4 100644
Binary files a/data/images/icons/character-size.png and b/data/images/icons/character-size.png differ
diff --git a/src/ui.c b/src/ui.c
index 4182844..febd338 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -50,9 +50,6 @@ static struct {
        {DATA_DIR "/images/icons/textit.png", "italic"},
        {DATA_DIR "/images/icons/texttt.png", "typewriter"},
        {DATA_DIR "/images/icons/underline.png", "underline"},
-       {DATA_DIR "/images/icons/justify-center.png", "justify_center"},
-       {DATA_DIR "/images/icons/justify-left.png", "justify_left"},
-       {DATA_DIR "/images/icons/justify-right.png", "justify_right"},
        {DATA_DIR "/images/icons/sectioning-part.png", "sectioning-part"},
        {DATA_DIR "/images/icons/sectioning-chapter.png", "sectioning-chapter"},
        {DATA_DIR "/images/icons/sectioning-section.png", "sectioning-section"},
@@ -196,12 +193,12 @@ static GtkActionEntry latex_entries[] = {
        {"ReferencesFootnote", NULL, "footnote", NULL, "footnote", G_CALLBACK (cb_ref_footnote)},
        {"ReferencesCite", NULL, "cite", NULL, "cite", G_CALLBACK (cb_ref_cite)},
 
-       {"Environments", "justify_center", N_("Environments"), NULL, NULL, NULL},
-       {"EnvironmentCenter", "justify_center", N_("Center - \\begin{center}"), NULL,
+       {"Environments", GTK_STOCK_JUSTIFY_CENTER, N_("Environments"), NULL, NULL, NULL},
+       {"EnvironmentCenter", GTK_STOCK_JUSTIFY_CENTER, N_("Center - \\begin{center}"), NULL,
                N_("Center - \\begin{center}"), G_CALLBACK (cb_env_center)},
-       {"EnvironmentLeft", "justify_left", N_("Align Left - \\begin{flushleft}"), NULL,
+       {"EnvironmentLeft", GTK_STOCK_JUSTIFY_LEFT, N_("Align Left - \\begin{flushleft}"), NULL,
                N_("Align Left - \\begin{flushleft}"), G_CALLBACK (cb_env_left)},
-       {"EnvironmentRight", "justify_right", N_("Align Right - \\begin{flushright}"), NULL,
+       {"EnvironmentRight", GTK_STOCK_JUSTIFY_RIGHT, N_("Align Right - \\begin{flushright}"), NULL,
                N_("Align Right - \\begin{flushright}"), G_CALLBACK (cb_env_right)},
        {"EnvironmentMinipage", NULL, N_("Minipage - \\begin{minipage}"), NULL,
                N_("Minipage - \\begin{minipage}"), G_CALLBACK (cb_env_minipage)},


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]