X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Faweather-gui.c;h=93d9e947447f82228c64082f2fe46d65b5087b04;hp=be6ed5b94ea753fe8d0e0ab62a126dd15b91a731;hb=a460b41527a09a681bc0ca4e161aec2cc1efab3d;hpb=b6ef934425e0d137606209d91b239c3cec472a3a diff --git a/src/aweather-gui.c b/src/aweather-gui.c index be6ed5b..93d9e94 100644 --- a/src/aweather-gui.c +++ b/src/aweather-gui.c @@ -536,6 +536,7 @@ void aweather_gui_attach_plugin(AWeatherGui *self, const gchar *name) GtkWidget *body = gis_plugin_get_config(plugin); gtk_notebook_append_page(GTK_NOTEBOOK(config), body, tab); gtk_widget_show_all(config); + gis_opengl_redraw(self->opengl); } void aweather_gui_deattach_plugin(AWeatherGui *self, const gchar *name) { @@ -552,4 +553,5 @@ void aweather_gui_deattach_plugin(AWeatherGui *self, const gchar *name) gtk_notebook_remove_page(GTK_NOTEBOOK(config), i); } gis_plugins_unload(self->plugins, name); + gis_opengl_redraw(self->opengl); }