Temporary workaround for issue #2981, which is actually Gtk+ bug 759079 affecting version 3.18.

This commit is contained in:
Adam Reichold
2015-12-07 21:45:05 +01:00
parent 9807cbf6ea
commit 731f2f6134

View File

@@ -563,6 +563,11 @@ void ProfileStoreComboBox::refreshProfileList_ (Gtk::TreeModel::Row *parentRow,
newSubMenu[methodColumns.label] = (*i)->label;
newSubMenu[methodColumns.profileStoreEntry] = *i;
// HACK: Workaround for bug in Gtk+ 3.18...
Gtk::TreeModel::Row menuHeader = *(refTreeModel->append(newSubMenu->children()));
menuHeader[methodColumns.label] = (*i)->label;
menuHeader[methodColumns.profileStoreEntry] = *i;
refreshProfileList_ (&newSubMenu, (*i)->folderId, entryList);
} else {
refreshProfileList_ (parentRow, (*i)->folderId, entryList);