[gedit] Dismiss popover when selecting language



commit aae3d4e3ab65abe2cc743f21fa76441829a9db3f
Author: Paolo Borelli <pborelli gnome org>
Date:   Thu Mar 6 19:54:15 2014 +0100

    Dismiss popover when selecting language

 gedit/gedit-window.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index d60e1f1..f782d1d 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -832,6 +832,8 @@ on_language_selected (GeditHighlightModeSelector *sel,
        {
                gedit_document_set_language (doc, language);
        }
+
+       gtk_widget_hide (GTK_WIDGET (window->priv->language_popover));
 }
 
 static void


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