[gnome-latex: 71/205] About dialog: add Gedit LaTeX Plugin in the artists list



commit 8d95cac25f26bdaf983370018b7c2b622a01f196
Author: Sébastien Wilmet <sebastien wilmet gmail com>
Date:   Sat Sep 19 19:32:00 2009 +0200

    About dialog: add Gedit LaTeX Plugin in the artists list
    
    + cleaning the LaTeX menu...

 TODO            | 4 ++--
 src/callbacks.c | 1 +
 src/cb_latex.c  | 6 ------
 src/cb_latex.h  | 1 -
 src/ui.c        | 2 --
 src/ui.xml      | 4 ++--
 6 files changed, 5 insertions(+), 13 deletions(-)
---
diff --git a/TODO b/TODO
index c9f0a98..b203444 100644
--- a/TODO
+++ b/TODO
@@ -2,13 +2,13 @@ TODO LaTeXila
 
 Fri Sep 18, 2009 to Fri Sep 25, 2009
 
-[-] LaTeX menu + new toolbar
+[x] LaTeX menu + new toolbar
        x font styles: bold, italic, ...
        x environments: center, flushleft, ...
        x sectioning: part, chapter, section, ...
        x size of characters
        x list environments: itemize, enumerate, description
-       - various: label, ref, pageref, cite, footnote, index
+       x various: label, ref, pageref, cite, footnote, index
 
 [-] symbol tables
        - the categories must take the minimum place but the presentation must be nice
diff --git a/src/callbacks.c b/src/callbacks.c
index d4d9209..9bac8d3 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -667,6 +667,7 @@ cb_about_dialog (void)
        const gchar *artists[] =
        {
                "The Kile Team: http://kile.sourceforge.net/";,
+               "Gedit LaTeX Plugin: http://www.michaels-website.de/gedit-latex-plugin/";,
                NULL
        };
 
diff --git a/src/cb_latex.c b/src/cb_latex.c
index c73cdc6..8751783 100644
--- a/src/cb_latex.c
+++ b/src/cb_latex.c
@@ -349,12 +349,6 @@ cb_text_emph (void)
        text_buffer_insert ("\\emph{", "}", NULL);
 }
 
-void
-cb_text_strong (void)
-{
-       text_buffer_insert ("\\strong{", "}", NULL);
-}
-
 void
 cb_text_font_family_roman (void)
 {
diff --git a/src/cb_latex.h b/src/cb_latex.h
index 5b806fc..0cf9589 100644
--- a/src/cb_latex.h
+++ b/src/cb_latex.h
@@ -47,7 +47,6 @@ void cb_text_underline (void);
 void cb_text_slanted (void);
 void cb_text_small_caps (void);
 void cb_text_emph (void);
-void cb_text_strong (void);
 void cb_text_font_family_roman (void);
 void cb_text_font_family_sans_serif (void);
 void cb_text_font_family_monospace (void);
diff --git a/src/ui.c b/src/ui.c
index cefb6af..9d8ffd5 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -227,8 +227,6 @@ static GtkActionEntry latex_entries[] = {
                N_("Small Capitals - \\textsc{}"), G_CALLBACK (cb_text_small_caps)},
        {"Emph", NULL, N_("Emphasized - \\emph{}"), NULL,
                N_("Emphasized - \\emph{}"), G_CALLBACK (cb_text_emph)},
-       {"Strong", NULL, N_("Strong - \\strong{}"), NULL,
-               N_("Strong - \\strong{}"), G_CALLBACK (cb_text_strong)},
        {"FontFamily", NULL, N_("Font Family"), NULL, NULL, NULL},
        {"FontFamilyRoman", NULL, N_("Roman - \\rmfamily"), NULL,
                N_("Roman - \\rmfamily"), G_CALLBACK (cb_text_font_family_roman)},
diff --git a/src/ui.xml b/src/ui.xml
index 20d453c..3e6951e 100644
--- a/src/ui.xml
+++ b/src/ui.xml
@@ -134,13 +134,13 @@ In the code, GtkUIManager is used to construct them.
         <menuitem action="Bold" />
         <menuitem action="Italic" />
         <menuitem action="Typewriter" />
-        <menuitem action="Underline" />
         <menuitem action="Slanted" />
         <menuitem action="SmallCaps" />
         <separator />
         <menuitem action="Emph" />
-        <menuitem action="Strong" />
         <separator />
+        <menuitem action="Underline" />
+       <separator />
         <menu action="FontFamily">
           <menuitem action="FontFamilyRoman" />
           <menuitem action="FontFamilySansSerif" />


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