Commit graph

234 commits

Author SHA1 Message Date
John Sullivan
d8db69e05c Started pushing code from fm-directory-view into subclasses. Also renamed
a private function in ntl-window.c.
2000-01-12 00:19:33 +00:00
Darin Adler
32f075751e Made the index panel use NautilusBackground. 2000-01-12 00:08:20 +00:00
John Sullivan
8c92ececd0 Added nautilus_gtk_signal_connect_free_data, and deployed it. 2000-01-11 22:12:23 +00:00
John Sullivan
3e6324f15a The content view type menu now works (can switch between Icons and List views) 2000-01-11 21:29:35 +00:00
Darin Adler
737b238103 Fixed typos and oversights in Maciej's check-in.
He didn't compile his changes :-(
2000-01-11 20:53:40 +00:00
Maciej Stachowiak
2dcd5c3f91 Redo signals the conventional way, to avoid array size mismatches in the
* libnautilus/ntl-view-frame.c, libnautilus/ntl-view-frame.h: Redo
	signals the conventional way, to avoid array size mismatches in
	the future.
2000-01-11 19:57:07 +00:00
Maciej Stachowiak
5fd8689456 Redo signals the conventional way, to avoid array size mismatches in the
* libnautilus/ntl-view-frame.c: Redo signals the conventional way,
	to avoid array size mismatches in the future.
2000-01-11 19:55:49 +00:00
Maciej Stachowiak
13bcd4f1e3 Added another TODO item I remembered. 2000-01-11 17:27:03 +00:00
Maciej Stachowiak
1feebd336e Some documentation on the nautilus architecture including a block diagram
* docs/architecture.txt: Some documentation on the nautilus
	architecture including a block diagram and some conrol flow
	explanations. Needs editing for both style and technical
	completeness/accuracy, but it's a start.
2000-01-11 06:31:00 +00:00
Maciej Stachowiak
8ea96d1d5b Reorder code so "context_click" is actually emitted on a button 3 press.
* libnautilus/gnome-icon-container.c (handle_icon_button_press):
	Reorder code so "context_click" is actually emitted on a button 3
	press.
2000-01-11 05:47:40 +00:00
Maciej Stachowiak
54ff776ebe Changed FMDirectoryView to use a NautilusViewFrame rather than inheriting
* src/file-manager/fm-main.c,
	src/file-manager/fm-directory-view.c,
	src/file-manager/fm-directory-view.h: Changed FMDirectoryView to
	use a NautilusViewFrame rather than inheriting from one.
2000-01-11 04:10:50 +00:00
Maciej Stachowiak
8306cde9ba Fixed marshall type for "stop_location_change" signal. How could this ever
* libnautilus/ntl-view-frame.c (nautilus_view_frame_class_init):
	Fixed marshall type for "stop_location_change" signal. How could
	this ever have worked?
2000-01-11 04:09:00 +00:00
Maciej Stachowiak
0f3e13fe55 Once an appropriate component type is found, do not keep looping.
* src/ntl-view.c (nautilus_view_load_client): Once an appropriate
	component type is found, do not keep looping.
2000-01-11 03:33:22 +00:00
John Sullivan
bba4e340d6 First steps at splitting directory view into two classes (icon view & list view) 2000-01-11 03:26:17 +00:00
Maciej Stachowiak
d9d61b5271 Fixed mismatch between declared signal array size and actual number of
* libnautilus/ntl-view-frame.c, libnautilus/ntl-view-frame.c:
	Fixed mismatch between declared signal array size and actual
	number of signals (this should still be rewritten to follow proper
	style).
2000-01-11 02:12:49 +00:00
Maciej Stachowiak
3d3e02b1f8 Added Eazel copyright to files I've changed non-trivially.
* libnautilus/ntl-content-view-frame.c,
	libnautilus/ntl-content-view-frame.h,
	libnautilus/ntl-meta-view-frame.c,
	libnautilus/ntl-meta-view-frame.h, libnautilus/ntl-view-frame.c,
	libnautilus/ntl-view-frame.h, src/ntl-app.c,
	src/ntl-view-bonobo-control.c, src/ntl-view-bonobo-subdoc.c,
	src/ntl-view-frame-svr.c, src/ntl-view-nautilus.c,
	src/ntl-view-private.h, src/ntl-view.c, src/ntl-view.h,
	src/ntl-window-msgs.c, src/ntl-window-msgs.h,
	src/ntl-window-state.c, src/ntl-window.c, src/ntl-window.h,
	src/file-manager/fm-directory-view.c,
	src/file-manager/fm-directory-view.h, src/file-manager/fm-main.c:
	Added Eazel copyright to files I've changed non-trivially.
2000-01-11 02:09:14 +00:00
Darin Adler
7d8e258233 Put in workaround for basename problem. 2000-01-11 00:13:07 +00:00
Maciej Stachowiak
0018d98d48 Renamed from libnautilus/ntl-view-client.c, libnautilus/ntl-view-client.h,
* libnautilus/ntl-view-frame.c, libnautilus/ntl-view-frame.h,
	libnautilus/ntl-content-view-frame.c,
	libnautilus/ntl-content-view-frame.h,
	libnautilus/ntl-meta-view-frame.c,
	libnautilus/ntl-meta-view-frame.h: Renamed from
	libnautilus/ntl-view-client.c, libnautilus/ntl-view-client.h,
	libnautilus/ntl-content-view-client.c,
	libnautilus/ntl-content-view-client.h,
	libnautilus/ntl-meta-view-client.c,
	libnautilus/ntl-meta-view-client.h.
	* libnautilus/Makefile.am, libnautilus/libnautilus.h: reflect this
	renaming.
2000-01-10 22:54:18 +00:00
Darin Adler
e0ad656046 Got rid of the race condition in the existing code and cleaned up the
state machine a bit. The new code separates the state of the nautilus
window from the state of the content view, which makes things a bit
simpler.
2000-01-10 22:12:46 +00:00
Elliot Lee
fbd68ec58d use libcanvas_pixbuf 2000-01-10 21:28:40 +00:00
John Sullivan
3d953577f6 Added some of the framework for supporting multiple content views for the same
uri.
2000-01-10 20:17:13 +00:00
Darin Adler
c912e1ef33 Added NautilusBackground class, string functions that allow NULL, made
gradient functions allow NULL and treat it as an empty string, added
gdk_color_parse variants that have a default color, cleanup of
NautilusIndexPanel, and some other minor stuff.
2000-01-10 19:52:24 +00:00
John Sullivan
c5864f0483 Check for NULL filename 2000-01-10 16:36:00 +00:00
Maciej Stachowiak
bdd9fc25b2 Ignore ntl-file-manager rather than libntl-file-manager.la
* src/file-manager/.cvsignore: Ignore ntl-file-manager rather than
libntl-file-manager.la
2000-01-10 10:14:00 +00:00
Maciej Stachowiak
9950e1f3bf Made file manager view a CORBA server that lives in a separate
executable:

	* src/file-manager/fm-main.c: New file which includes main()
	function and basic framework to make the file manager an
	executable CORBA server.
	* src/file-manager/ntl-file-manager.goad: gnorba activation file
	for the file manager.
	* src/file-manager/Makefile.am: Build ntl-file-manager as an
	executable rather than a library. Add fm-main.c to build. Install
	ntl-file-manager.goad. Link in appropriate libraries.
	* src/ntl-app.c: Remove nautilus_make_object() and other vestiges
	of the attempt to be a CORBA server for file manager view objects.
	* src/nautilus.gnorba: Removed.
	* nautilus-self-check-functions.c: Remove call to test of
	functions now in the separate ntl-file-manager executable.
	* src/Makefile.am: Don't try to link in file manager. Don't try to
	install nautilus.goad.
2000-01-10 10:03:24 +00:00
Maciej Stachowiak
873ec64531 Added missing CORBA_exception_init() call.
* src/ntl-main.c (main): Added missing CORBA_exception_init() call.
2000-01-10 10:00:48 +00:00
Maciej Stachowiak
78106a7394 Rename NautilusViewClient to NautilusViewFrame, NautilusContentViewClient
* libnautilus/ntl-view-client.c, libnautilus/ntl-view-client.h,
	libnautilus/ntl-content-view-client.c,
	libnautilus/ntl-content-view-client.h,
	libnautilus/ntl-meta-view-client.c,
	libnautilus/ntl-meta-view-client.h,: Rename NautilusViewClient to
	NautilusViewFrame, NautilusContentViewClient to
	NautilusContentViewFrame, and NautilusMetaViewClient to
	NautilusMetaViewFrame.
	* components/help/hyperbola-nav-tree.c,
	components/history/ntl-history-view.c,
	components/html/ntl-web-browser.c,
	components/websearch/ntl-web-search.c, src/ntl-app.c,
	src/file-manager/fm-directory-view.c,
	src/file-manager/fm-directory-view.h: Reflect the above renaming.
2000-01-10 08:37:41 +00:00
Andy Hertzfeld
1cfc709b61 made dropping a color on the index panel work (it doesn't save the
made dropping a color on the index panel work (it doesn't save the
       metadata yet, though)
2000-01-10 03:36:30 +00:00
Elliot Lee
ee76fdd9b2 fix segfault 2000-01-09 17:16:52 +00:00
Maciej Stachowiak
23a5e32703 Added some more thoughts on things to do. 2000-01-09 12:01:57 +00:00
Maciej Stachowiak
edbde50943 Added .deps, .libs, ntl-web-search 2000-01-09 11:48:16 +00:00
Andy Hertzfeld
63a4bfebed changed the way the index panel gets notified of location changes
changed the way the index panel gets notified of location changes
	restructured code that populates the index panel
	made the title use the largest font that fits
2000-01-08 00:28:43 +00:00
John Sullivan
9d0a6860f8 Made there be just one About window, and added a utility function for
presenting a window to the user regardless of its current state.
2000-01-07 21:48:58 +00:00
John Sullivan
076e9575fa Bookmarks window now saves and restores its size & position within and
across sessions. And to think I only had to modify 7 files!
2000-01-07 17:20:39 +00:00
Elliot Lee
37a083b05b Fix warnings. Add Andy.
Fix warnings.
Add Andy.
2000-01-07 13:50:43 +00:00
Elliot Lee
dd07e53fc1 *** empty log message *** 2000-01-07 13:50:35 +00:00
Andy Hertzfeld
bef22f0096 initial bare bones implementation of index panel
initial bare bones implementation of index panel
2000-01-07 07:00:34 +00:00
Darin Adler
313469f413 Moved self-check framework into libnautilus. Added functions so each
check will report if it fails instead of just aborting.

Added new functions to manage a string that specifies a color or
gradient, and added tests for the new functions.
2000-01-07 00:07:34 +00:00
Elliot Lee
5abab532aa Fix previous commit.
Fix previous commit.
2000-01-06 22:50:51 +00:00
John Sullivan
7e08264ebd Added nautilus_app_exiting call, home of right-before-quitting code. 2000-01-06 22:32:52 +00:00
Elliot Lee
632b23993c bugfix 2000-01-06 19:19:47 +00:00
Elliot Lee
19c9e26029 Relayout when size changes.
Relayout when size changes.
2000-01-06 17:19:13 +00:00
Andy Hertzfeld
56cfd59aad made the location bar draggable by removing LOCKED flag to be consistent
made the location bar draggable by removing LOCKED flag to be
	 consistent with the other bars
2000-01-06 17:09:04 +00:00
Elliot Lee
145a5c4a67 Eliminate gratuitous scroll bars.
* libnautilus/gnome-icon-container.c: Eliminate gratuitous scroll bars.
2000-01-06 16:03:42 +00:00
Elliot Lee
1d3c1001cd Bug fixes.
Bug fixes.
2000-01-06 15:35:22 +00:00
John Sullivan
e8657633b3 Eliminated compiler warnings. 2000-01-06 15:23:17 +00:00
Elliot Lee
69f10655b5 Implement preferences for which meta-views to always load with a page.
* src/ntl-prefs.c, src/ntl-uri-map.c: Implement preferences for
which meta-views to always load with a page. Loading doesn't seem to quite work.
* src/ntl-window.c, src/ntl-view.c: Try to fix a crash that
happens when going to a new page, and a meta view is being
destroyed in the process. Still crashes.
2000-01-06 03:32:17 +00:00
Maciej Stachowiak
2be9c5cc7e Fix warning.
* src/ntl-uri-map.c (nautilus_navinfo_free): Fix warning.
2000-01-06 03:19:38 +00:00
Elliot Lee
348154665c Update for gdk-pixbuf changes.
Update for gdk-pixbuf changes.
2000-01-06 00:59:03 +00:00
Elliot Lee
056744597a Forgot this one.
Forgot this one.
2000-01-05 23:21:51 +00:00