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



commit 591a95add5391a46563c4040a8f41d8742867f17
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 4900d9d..5c09be3 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 },
 
@@ -1642,12 +1640,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_spell_checking (Gtk.Action action)
     {
         bool activate = (action as ToggleAction).active;
diff --git a/src/ui/ui.xml b/src/ui/ui.xml
index a2cbef7..f944e37 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="EditSpellChecking" />
       <separator />
       <menuitem action="EditPreferences" />



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