From f5991437c3e620708f1701310bd1e67b40ca3b42 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 31 Aug 2009 12:53:52 -0400 Subject: Get EConfig and EEvent hooks working again. There were a number of problems: - Walk the GType tree to find EPluginHook subclasses, instead of just registering the immediate children. - Some EConfig and EEvent subclasses were not being configured properly (particularly the mail and calendar subclasses). - Add preference window pages after the main loop starts to make sure all plugins and plugin hooks are installed first. --- widgets/misc/e-preferences-window.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'widgets/misc/e-preferences-window.c') diff --git a/widgets/misc/e-preferences-window.c b/widgets/misc/e-preferences-window.c index af2d07d871..52bda8eeac 100644 --- a/widgets/misc/e-preferences-window.c +++ b/widgets/misc/e-preferences-window.c @@ -369,6 +369,12 @@ e_preferences_window_add_page (EPreferencesWindow *window, gtk_widget_show (widget); gtk_notebook_append_page (notebook, widget, NULL); + + /* Force GtkIconView to recalculate the text wrap width, + * otherwise we get a really narrow icon list on the left + * side of the preferences window. */ + gtk_icon_view_set_item_width (icon_view, -1); + gtk_widget_queue_resize (GTK_WIDGET (window)); } void -- cgit v1.2.3