[latexila/latexila-2-2] Revert "Completion: Ctrl+space shortcut added to the menu"



commit 5a17d2cf7322dbb43b0c85143b0c1fb52b41eb59
Author: SÃbastien Wilmet <swilmet src gnome org>
Date:   Sat Sep 17 10:55:43 2011 +0200

    Revert "Completion: Ctrl+space shortcut added to the menu"
    
    This reverts commit 1d424b7804203492d00a68a319776c85f32dc7d3.
    
    Due to this bug:
    https://bugzilla.gnome.org/show_bug.cgi?id=611089

 src/main_window.vala |    8 --------
 src/ui/ui.xml        |    2 --
 2 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/main_window.vala b/src/main_window.vala
index 868b839..09ce1fe 100644
--- a/src/main_window.vala
+++ b/src/main_window.vala
@@ -74,8 +74,6 @@ public class MainWindow : Window
         { "EditUncomment", null, N_("_Uncomment"), "<Shift><Control>M",
             N_("Uncomment the selected lines (remove the character \"%\")"),
             on_edit_uncomment },
-        { "EditCompletion", null, N_("_Completion"), "<Control>space",
-            N_("Complete the LaTeX command"), on_edit_completion },
         { "EditPreferences", Stock.PREFERENCES, null, null,
             N_("Configure the application"), on_open_preferences },
 
@@ -1630,12 +1628,6 @@ public class MainWindow : Window
         active_document.uncomment_selected_lines ();
     }
 
-    public void on_edit_completion ()
-    {
-        return_if_fail (active_tab != null);
-        active_view.show_completion ();
-    }
-
     public void on_open_preferences ()
     {
         PreferencesDialog.show_me (this);
diff --git a/src/ui/ui.xml b/src/ui/ui.xml
index b0f8fca..61c9b79 100644
--- a/src/ui/ui.xml
+++ b/src/ui/ui.xml
@@ -49,8 +49,6 @@ along with LaTeXila.  If not, see <http://www.gnu.org/licenses/>.
       <menuitem action="EditComment" />
       <menuitem action="EditUncomment" />
       <separator />
-      <menuitem action="EditCompletion" />
-      <separator />
       <menuitem action="EditPreferences" />
     </menu>
 



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