Commit graph

25196 commits

Author SHA1 Message Date
Andy Hertzfeld 3b781046af made dragging within a window actually move the canvas item correctly, and
made dragging within a window actually move the canvas item correctly,
	and set the stage for copying between directories
2000-01-16 01:23:46 +00:00
John Sullivan 798b52bb8d Fixed deadly typo (g_free that should have been g_list_free) 2000-01-15 00:50:27 +00:00
John Sullivan 89896e51a7 Finished refactoring FMDirectoryView code into two subclasses. 2000-01-15 00:43:48 +00:00
Darin Adler daa6131835 Made it stop in the debugger for a g_warning, but not abort if the
debugger is not running.
2000-01-14 23:55:54 +00:00
Darin Adler b7c1294461 Turned on gradients for backgrounds. 2000-01-14 23:36:00 +00:00
Darin Adler 8190453e91 Changed to use gnome_vfs_uri_extract_short_name. 2000-01-14 20:52:05 +00:00
Darin Adler 4a8e99789c Added code to load and save metadata. 2000-01-14 19:36:38 +00:00
John Sullivan 38e733fe7d Lots more work pushing code from FMDirectoryView into subclasses. Almost
done now!
2000-01-14 02:04:00 +00:00
John Sullivan fa043157af Defined and deployed macros for signals that must be overridden by
subclass; also deployed Darin's other boilerplate-reducing macros
in fm-directory-view-icons.c and fm-directory-view-list.c
2000-01-13 19:49:33 +00:00
John Sullivan 35d40686c3 More work pushing fm_directory_view code into subclasses. 2000-01-13 01:56:47 +00:00
John Sullivan 43fb5cbcd3 Made option menu say "View as Icons" (e.g.) instead of just "Icons" 2000-01-12 16:53:55 +00:00
Andy Hertzfeld f0e609795c added a debug menu and it's first item that shows the color picker
added a debug menu and it's first item that shows the color picker
2000-01-12 04:56:59 +00:00
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