[gnome-latex: 148/205] Open Recent: show the most recently used items
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-latex: 148/205] Open Recent: show the most recently used items
- Date: Fri, 14 Dec 2018 10:59:19 +0000 (UTC)
commit beb9100f81feb2560840883c733fd5655e82f513
Author: Sébastien Wilmet <sebastien wilmet gmail com>
Date: Sun Dec 20 14:57:02 2009 +0100
Open Recent: show the most recently used items
TODO | 5 +++--
src/ui.c | 4 +++-
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/TODO b/TODO
index d9136c2..1318773 100644
--- a/TODO
+++ b/TODO
@@ -2,5 +2,6 @@ TODO LaTeXila
[-] BibTeX support
-[-] bug correction
- - when there are too much recent documents, new documents are not visible in File/Open Recent
+[-] math toolbar
+
+[-] update French translation
diff --git a/src/ui.c b/src/ui.c
index 9f3acd1..4182844 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -162,7 +162,7 @@ static GtkActionEntry entries[] = {
N_("Activate next document"), G_CALLBACK (cb_documents_next)},
{"Help", NULL, N_("Help"), NULL, NULL, NULL},
- {"HelpLatexReference", GTK_STOCK_HELP, N_("LaTeX Reference"), NULL,
+ {"HelpLatexReference", GTK_STOCK_HELP, N_("LaTeX Reference"), "<Release>F1",
N_("The Kile LaTeX Reference"), G_CALLBACK (cb_help_latex_reference)},
{"HelpAbout", GTK_STOCK_ABOUT, N_("About"), NULL,
N_("About LaTeXila"), G_CALLBACK (cb_about_dialog)}
@@ -332,6 +332,8 @@ init_ui (GtkWidget *box)
GtkRecentFilter *filter = gtk_recent_filter_new ();
gtk_recent_filter_add_application (filter, "latexila");
gtk_recent_chooser_add_filter (GTK_RECENT_CHOOSER (recent), filter);
+ gtk_recent_chooser_set_sort_type (GTK_RECENT_CHOOSER (recent),
+ GTK_RECENT_SORT_MRU);
// menus under toolitems
GtkAction *sectioning = tool_menu_action_new ("SectioningToolItem",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]