The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Merge ../birdfont-2.x

Changes made to libbirdfont/MainWindow.vala

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
--- libbirdfont/MainWindow.vala +++ libbirdfont/MainWindow.vala @@ -112,7 +112,17 @@ } } - public static void show_message (string text) { + public static void show_message (string text) { + Tab t = MainWindow.get_tab_bar ().get_selected_tab (); + string tab_name = t.get_display ().get_name (); + + if (tab_name == "Preview") { + print ("select over"); + MenuTab.select_overview (); + } + + print ("show mess"); + MessageDialog md = new MessageDialog (text); show_dialog (md); }