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
This commit is contained in:
Andy Hertzfeld 2000-12-08 02:08:34 +00:00
parent 5db6736821
commit 40d95bddca
5 changed files with 24 additions and 2 deletions

View file

@ -1,3 +1,12 @@
2000-12-07 Andy Hertzfeld <andy@eazel.com>
* 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
2000-12-07 John Sullivan <sullivan@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

View file

@ -160,6 +160,7 @@ fi
%{prefix}/bin/nautilus-notes
%{prefix}/bin/nautilus-sample-content-view
%{prefix}/bin/nautilus-sidebar-loser
%{prefix}/bin/nautilus-text-view
%{prefix}/bin/run-nautilus
%{prefix}/bin/nautilus-launcher-applet
%{prefix}/idl/*.idl
@ -198,6 +199,7 @@ fi
%{prefix}/share/nautilus/fonts/urw/*.afm
%{prefix}/share/nautilus/fonts/urw/*.pfm
%{prefix}/share/nautilus/linksets/*.xml
%{prefix}/share/nautilus/services/text/*.xml
%{prefix}/share/nautilus/top/.*.xml
%{prefix}/share/nautilus/top/Computer
%{prefix}/share/nautilus/top/Services
@ -235,6 +237,7 @@ fi
%{prefix}/share/oaf/nautilus-notes.oafinfo
%{prefix}/share/oaf/nautilus-sample-content-view.oafinfo
%{prefix}/share/oaf/nautilus-sidebar-loser.oafinfo
%{prefix}/share/oaf/nautilus-text-view.oafinfo
%{prefix}/share/oaf/nautilus-tree-view.oafinfo
%{prefix}/share/oaf/nautilus.oafinfo
%{prefix}/share/gnome/help/nautilus/C/*

View file

@ -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