diff options
author | Andy Hertzfeld <andy@src.gnome.org> | 2000-12-08 02:08:34 +0000 |
---|---|---|
committer | Andy Hertzfeld <andy@src.gnome.org> | 2000-12-08 02:08:34 +0000 |
commit | 40d95bddca01bdb596e77c5e6f0b9d9dae03debb (patch) | |
tree | 34937f93048a6d603f75079a7e2067a760e93f64 /src/nautilus-window-toolbars.c | |
parent | 5db6736821e2e96fe9c85d613d06cedda361cea3 (diff) | |
download | nautilus-40d95bddca01bdb596e77c5e6f0b9d9dae03debb.tar.gz |
added nautilus-text-view files to spec file
* nautilus.spec.in:
added nautilus-text-view files to spec file
* src/nautilus-window-toolbars.c: (theme_changed_callback):
fixed bug 4982, throbber mispositioned when theme changes,
by toggling the toolbar's visibility when the theme changes
Diffstat (limited to 'src/nautilus-window-toolbars.c')
-rw-r--r-- | src/nautilus-window-toolbars.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/nautilus-window-toolbars.c b/src/nautilus-window-toolbars.c index fd3ee0792..649596b1d 100644 --- a/src/nautilus-window-toolbars.c +++ b/src/nautilus-window-toolbars.c @@ -345,8 +345,18 @@ allocate_throbber (void) static void theme_changed_callback (gpointer callback_data) { - set_up_toolbar_images (NAUTILUS_WINDOW (callback_data)); - set_up_throbber_frame_type (NAUTILUS_WINDOW (callback_data)); + NautilusWindow *window; + + window = NAUTILUS_WINDOW (callback_data); + + set_up_toolbar_images (window); + set_up_throbber_frame_type (window); + + /* if the toolbar is visible, toggle it's visibility to force a relayout */ + if (nautilus_window_tool_bar_showing (window)) { + nautilus_window_hide_tool_bar (window); + nautilus_window_show_tool_bar (window); + } } static void |