[latexila] Force to show icons in the menu



commit 0525d55ef2d95c2a40952cfdb153d0a2a8f841e2
Author: SÃbastien Wilmet <swilmet src gnome org>
Date:   Sun Jul 8 17:42:07 2012 +0200

    Force to show icons in the menu
    
    In the LaTeX and Math menu, icons are needed.

 src/main_window.vala |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/main_window.vala b/src/main_window.vala
index 6e1e940..6e27c0b 100644
--- a/src/main_window.vala
+++ b/src/main_window.vala
@@ -512,6 +512,12 @@ public class MainWindow : Window
         show ();
         show_or_hide_widgets ();
         show_or_hide_build_messages ();
+
+        /* Force to show icons in the menu.
+         * In the LaTeX and Math menu, icons are needed.
+         */
+        unowned Gtk.Settings gtk_settings = menu.get_settings ();
+        gtk_settings.gtk_menu_images = true;
     }
 
     public Gee.List<Document> get_documents ()



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