[latexila] Open file dialog: fix filters' names
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Open file dialog: fix filters' names
- Date: Fri, 13 Apr 2012 20:25:05 +0000 (UTC)
commit 94f691842f311613b89e28dcd95fa7b045e6ed98
Author: SÃbastien Wilmet <swilmet src gnome org>
Date: Fri Apr 13 22:24:01 2012 +0200
Open file dialog: fix filters' names
src/main_window.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/main_window.vala b/src/main_window.vala
index f5216c0..0465191 100644
--- a/src/main_window.vala
+++ b/src/main_window.vala
@@ -1517,14 +1517,14 @@ public class MainWindow : Window
// Filter: by default show only .tex and .bib files
FileFilter latex_filter = new FileFilter ();
- latex_filter.set_name (_("All LaTeX Files"));
+ latex_filter.set_filter_name (_("All LaTeX Files"));
latex_filter.add_pattern ("*.tex");
latex_filter.add_pattern ("*.bib");
file_chooser.add_filter (latex_filter);
// All files filter
FileFilter all_files_filter = new FileFilter ();
- all_files_filter.set_name (_("All Files"));
+ all_files_filter.set_filter_name (_("All Files"));
all_files_filter.add_pattern ("*");
file_chooser.add_filter (all_files_filter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]