Add gimp_statusbar_set_shell()

Reconnect signals when a new shell is set; reorganize internal code to
not set up permanent connections to one specific shell.
This commit is contained in:
Michael Natterer
2009-09-24 09:35:34 +02:00
parent 571cdd47ed
commit 82aa4084ab
2 changed files with 40 additions and 9 deletions

View File

@ -73,6 +73,8 @@ struct _GimpStatusbarClass
GType gimp_statusbar_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_statusbar_new (GimpDisplayShell *shell);
void gimp_statusbar_set_shell (GimpStatusbar *statusbar,
GimpDisplayShell *shell);
gboolean gimp_statusbar_get_visible (GimpStatusbar *statusbar);
void gimp_statusbar_set_visible (GimpStatusbar *statusbar,