[geany/geany-plugins] f57314: projectorganizer: Load project even if sidebar isn't realized
git-noreply at xxxxx
Tue Jul 14 14:12:26 UTC 2015
Author: Jiří Techet <techet at gmail.com>
Committer: Jiří Techet <techet at gmail.com>
Date: Tue, 14 Jul 2015 14:12:26 UTC
projectorganizer: Load project even if sidebar isn't realized
Project organizer's sidebar tab isn't realized also when the initial
sidebar tab differs from the projectorganizer tab in which case the tree
isn't created until we switch to the projectorganizer tab.
This in general isn't a problem but some functions like "find project
file" rely on the existence of the tree model and don't work without
it (which happens before the first switch to the project organizer tab).
7 lines changed, 3 insertions(+), 4 deletions(-)
@@ -1220,11 +1220,10 @@ void prjorg_sidebar_update(gboolean reload)
/* we get color information only after the sidebar is realized -
- * postpone reload if this is not the case yet */
- if (gtk_widget_get_realized(s_toolbar))
+ * perform reload later if this is not the case yet */
+ if (!gtk_widget_get_realized(s_toolbar))
s_pending_reload = TRUE;
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits