Commit graph

165 commits

Author SHA1 Message Date
John Sullivan 0d0d327a00 Took out unused variables that my -Wall-free compile didn't notice. 2000-01-03 17:17:06 +00:00
Elliot Lee d2e7371f28 Update copyright notices.
2000-01-03  Elliot Lee  <sopwith@redhat.com>

Update copyright notices.
2000-01-03 16:10:14 +00:00
Elliot Lee 108271b5a7 Update TODO list
Update TODO list
2000-01-03 15:31:40 +00:00
John Sullivan b4d114b95a Create directory for bookmarks if necessary. 1999-12-31 03:44:03 +00:00
John Sullivan d9326fa453 Implemented save/restore bookmarks across sessions. Also changed implementation
of NautilusBookmark to use gchar * instead of GString.
1999-12-31 01:58:06 +00:00
John Sullivan 8eba94a6a7 Linked in GNOME-XML library, which will be used for bookmarks. 1999-12-30 21:33:51 +00:00
John Sullivan f6e05ed476 Forgot to cvs add the new files a moment ago when I checked in. 1999-12-30 19:14:55 +00:00
John Sullivan 553e10a47b Fixed bug with activating bookmarks in any but the first window.
Added working but simple Edit Bookmarks window that allows changing
name & uri, reordering, and deleting bookmarks.
1999-12-30 19:14:07 +00:00
John Sullivan 10b8bbe720 Just separated out the .[ch] notation into full file names from my
earlier entries.
1999-12-30 17:38:45 +00:00
John Sullivan 130f9695d4 Added nautilus_bookmark_copy and fixed g_return_if_fail compile problem. 1999-12-29 16:57:31 +00:00
John Sullivan 10cb529fc9 Just improved the quantity and quality of g_return_if_fail calls. 1999-12-29 01:25:41 +00:00
John Sullivan 17a18859c6 Prevented "Add Bookmark" from adding multiple identical bookmarks; fixed
bug about window count; fixed bug where "Add Bookmark" would crash if a
window had been closed previously.
1999-12-29 00:23:32 +00:00
John Sullivan 0650866570 Undid previous change. It turned out to be a build order dependency problem. 1999-12-28 23:05:23 +00:00
John Sullivan a0e01c4673 Casted away a const to fix the build. 1999-12-28 18:49:05 +00:00
Elliot Lee 83fe21decd Add list of needed metadata.
Add list of needed metadata.
1999-12-28 01:05:00 +00:00
Elliot Lee 66135b53d8 Build the fsextension stuff in.
Build the fsextension stuff in.
1999-12-23 22:35:52 +00:00
Havoc Pennington 7c0e6dc27b hmm, finally add these files :-) 1999-12-23 03:05:50 +00:00
Elliot Lee f9feecb6c4 Add initialization function. Implement scheme mapping. (others to follow
* src/ntl-uri-map.[ch]: Add initialization function. Implement scheme mapping.
(others to follow this)
1999-12-23 00:50:02 +00:00
Elliot Lee 28250149ab Doodling.
Doodling.
1999-12-22 22:58:15 +00:00
Elliot Lee 5eff8c584d Testbed for UIHandler usage. Better error checking, support UIHandler
* components/history/ntl-history-view.c: Testbed for UIHandler usage.
* src/ntl-*view*.c: Better error checking, support UIHandler usage.
* src/ntl-window-msgs.c: Better error checking.
* src/ntl-window.c: Better error checking, plus move menu creation so that UIHandler
usage is easier.
1999-12-22 20:35:04 +00:00
Elliot Lee c1b5430908 Allow passing initial URL on cmdline.
Allow passing initial URL on cmdline.

Try to make web browser work.
1999-12-22 19:02:50 +00:00
Elliot Lee 4994722e58 Add request_progress_change notification
1999-12-21  Elliot Lee  <sopwith@redhat.com>

* idl/nautilus.idl, libnautilus/ntl-view-client.[ch], src/ntl-window*.[ch],
src/ntl-view-frame-svr.c: Add request_progress_change notification

* src/ntl-view-*: Fix/finish various mjs changes: Do the component type abstraction
properly, lose ntl-view-frame-svr.h, add ntl-view-private.h, add various component type
implementations.

* src/ntl-view-frame-svr.h: Add 'extern' so everyone doesn't get their own vepv
variable.
1999-12-21 20:01:42 +00:00
Elliot Lee 11a469a473 Add 'extern' so everyone doesn't get their own vepv variable.
* src/ntl-view-frame-svr.h: Add 'extern' so everyone doesn't get their
  own vepv variable.
1999-12-21 16:36:28 +00:00
Maciej Stachowiak d48f0ba962 Er, missed it. 1999-12-21 03:59:29 +00:00
Maciej Stachowiak 1fed79d7ee Remove request_* calls from public API (they are just an implementation
* src/ntl-view.h: Remove request_* calls from public API (they are
	just an implementation detail of the fact that NautilusView
	implements a Nautilus:ViewFrame CORBA server - the nautilus app
	should not need to call these).

	* src/ntl-view.c: Split all the three way conditional stuff out so
	there is a separate function for each branch of the condition. Not
	a big win yet, but will provide opportunities for more
	refactoring.

	* src/ntl-view-frame-svr.c, ntl-view-frame-svr.h: Move
	implementation of Nautilus:ViewFrame CORBA server here as much as
	possible.
	* src/ntl-view.c: Remove it from here.
	* src/nautilus.h: #include ntl-view-frame-svr.h
	* src/Makefile.am: add ntl-view-frame-svr.[ch] to build.

	* src/ntl-window.c: Add myself to About box (pout).
1999-12-21 03:59:11 +00:00
Maciej Stachowiak 9c9fbb1c48 components/html/ntl-web-browser.c: Fix warnings. 1999-12-21 02:41:41 +00:00
Elliot Lee 78353a733d Add gratuitous "About" box.
Add gratuitous "About" box.
1999-12-21 01:47:28 +00:00
Elliot Lee 82c184431b Add HTML component to build. Make process die when all objects have been
* configure.in, components/Makefile.am: Add HTML component to build.
* components/help/hyperbola-main.c, components/history/ntl-history-view.c: Make process die when
  all objects have been destroyed.
* components/history/ntl-history-view.c: Bug fixes.
* components/html/*.[ch]: Copy glibwww over, write new NautilusViewClient for HTML browsing.
* src/ntl-uri-map.c: Cleanup, and use ntl_web_browser as default HTML display engine.
* src/ntl-view.c: Try to handle Bonobo views for data display.
1999-12-20 23:59:08 +00:00
John Sullivan 27cef034fa The bookmarks menu is now limping along. Add Bookmark works, and the items that
are added work properly. But Edit Bookmarks is still insensitive, so there's no
way to remove items (except by quitting, because the items aren't yet saved and
restored across sessions).
1999-12-20 23:33:36 +00:00
Havoc Pennington d0cfc25efb indentation cleanup 1999-12-20 19:20:20 +00:00
Havoc Pennington 2fad83e469 Check in today's fooling around. I guess I'll drop this line of development
for now though, waiting on the new icon view.

1999-12-19  Havoc Pennington  <hp@pobox.com>

	* src/file-manager/desktop-window.c (desktop_window_realize): turn
		on window decorations for debugging
			(desktop_window_init): debug comment-out the
no-resize policy

	* src/file-manager/desktop-layout.c (desktop_layout_arrange):
		fool with layout routines

				* src/file-manager/desktop-canvas.c
					(desktop_canvas_size_allocate):
debugging border to detect layout screwups

	* src/file-manager/desktop-item.c (icon_realize): set the canvas
		item, oops.
1999-12-19 07:44:16 +00:00
Havoc Pennington 62748a9c8b Hmm, it sort of does something.
1999-12-19  Havoc Pennington  <hp@pobox.com>

	* src/file-manager/desktop-layout.c: don't do an arrangement
		on every change

			* src/file-manager/desktop-canvas.c
				(desktop_canvas_load_desktop_icons): connect
to finished_load and
	arrange the icons when we get it. This is a temporary hack,
		because the DesktopLayout engine isn't progressive yet.

			* src/file-manager/fm-directory-list.c
				(fm_directory_list_class_init): add a
finished_load signal

	* src/file-manager/desktop-window.c (desktop_window_init): for
		now, don't fill the whole screen so we can see gdb.

			* src/file-manager/desktop-item.c: Move user data
accessors into
	the .c file, these are private.
1999-12-19 07:44:16 +00:00
Havoc Pennington a82b8a9b18 Add inline RGB data for default icon. (fm_icon_cache_load_icon): only ref
1999-12-20  Havoc Pennington  <hp@redhat.com>

* src/file-manager/fm-icon-cache.c: Add inline RGB data for
default icon.
(fm_icon_cache_load_icon): only
ref the pixbuf if it exists
(fm_icon_cache_new): add a new fallback special icon set
(fm_icon_cache_load_icon): load fallback if the icon name is ""
1999-12-19 07:44:15 +00:00
Havoc Pennington a1832aff91 return if the icon being set is NULL. This may be fixing a symptom rather
1999-12-20  Havoc Pennington  <hp@redhat.com>

* libnautilus/gnome-icon-container.c (set_kbd_current): return if
the icon being set is NULL. This may be fixing a symptom rather
than a problem.
1999-12-19 07:44:15 +00:00
Elliot Lee 964b702302 Support multiple view types (Nautilus/View, GNOME/Control,
* src/ntl-*.[ch]: Support multiple view types (Nautilus/View, GNOME/Control, GNOME/Embeddable)
* src/ntl-window.[ch]: Add nautilus_window_get_uih()
* idl/*.idl: Reindent.
1999-12-19 07:44:15 +00:00
Havoc Pennington 31a15e17b5 Check in today's fooling around. I guess I'll drop this line of development
for now though, waiting on the new icon view.

1999-12-19  Havoc Pennington  <hp@pobox.com>

	* src/file-manager/desktop-window.c (desktop_window_realize): turn
		on window decorations for debugging
			(desktop_window_init): debug comment-out the
no-resize policy

	* src/file-manager/desktop-layout.c (desktop_layout_arrange):
		fool with layout routines

				* src/file-manager/desktop-canvas.c
					(desktop_canvas_size_allocate):
debugging border to detect layout screwups

	* src/file-manager/desktop-item.c (icon_realize): set the canvas
		item, oops.
1999-12-19 07:44:15 +00:00
Havoc Pennington 75207a4109 Hmm, it sort of does something.
1999-12-19  Havoc Pennington  <hp@pobox.com>

	* src/file-manager/desktop-layout.c: don't do an arrangement
		on every change

			* src/file-manager/desktop-canvas.c
				(desktop_canvas_load_desktop_icons): connect
to finished_load and
	arrange the icons when we get it. This is a temporary hack,
		because the DesktopLayout engine isn't progressive yet.

			* src/file-manager/fm-directory-list.c
				(fm_directory_list_class_init): add a
finished_load signal

	* src/file-manager/desktop-window.c (desktop_window_init): for
		now, don't fill the whole screen so we can see gdb.

			* src/file-manager/desktop-item.c: Move user data
accessors into
	the .c file, these are private.
1999-12-19 07:44:15 +00:00
Havoc Pennington 4c1e7b0338 Hack out the fm-directory-list dependent stuff, I forgot to cvs add and
it's at home. This change should be reverted tonight.
1999-12-19 06:47:22 +00:00
Havoc Pennington a4015a4f9e all compiling again 1999-12-19 06:47:22 +00:00
Havoc Pennington 5e2d0909ff forgot these things 1999-12-19 06:44:28 +00:00
Havoc Pennington 8e279e3c50 sync with home, may not compile, will fix momentarily
1999-12-17  Havoc Pennington  <hp@redhat.com>

        * src/file-manager/fm-directory-view.c: Change to use
	        get_current_icon_cache() (it wasn't ever freeing the icon
cache anyway)

        * src/file-manager/fm-icon-cache.c (fm_get_current_icon_cache):
	        function to get a global icon cache, we will share this throughout
		        the program.
1999-12-19 06:42:54 +00:00
Havoc Pennington 26f7c8b110 new function, loads icons from a given directory - don't get too excited,
1999-12-19  Havoc Pennington  <hp@pobox.com>

	* src/file-manager/desktop-canvas.c
		(desktop_canvas_load_desktop_icons): new function, loads
icons
	from a given directory - don't get too excited, it doesn't yet
		_display_ any icons!

			* src/file-manager/desktop-canvas.h: Add directory
list field.

	* src/file-manager/Makefile.am (gnome_desktop_SOURCES): Add
		fm-directory-list.[hc]
			(libntl_file_manager_la_SOURCES): add fm_directory_list.[hc]

				* src/file-manager/fm-directory-list.h, fm-directory-list.c:
					New files, the non-GUI portion of a
directory listing. Handles
	loading the dir listing and the icons.
1999-12-19 06:25:35 +00:00
Elliot Lee a3b4de8a61 Support multiple view types (Nautilus/View, GNOME/Control,
* src/ntl-*.[ch]: Support multiple view types (Nautilus/View, GNOME/Control, GNOME/Embeddable)
* src/ntl-window.[ch]: Add nautilus_window_get_uih()
* idl/*.idl: Reindent.
1999-12-19 06:25:35 +00:00
Havoc Pennington f401968b58 new function, loads icons from a given directory - don't get too excited,
1999-12-19  Havoc Pennington  <hp@pobox.com>

	* src/file-manager/desktop-canvas.c
		(desktop_canvas_load_desktop_icons): new function, loads
icons
	from a given directory - don't get too excited, it doesn't yet
		_display_ any icons!

			* src/file-manager/desktop-canvas.h: Add directory
list field.

	* src/file-manager/Makefile.am (gnome_desktop_SOURCES): Add
		fm-directory-list.[hc]
			(libntl_file_manager_la_SOURCES): add fm_directory_list.[hc]

				* src/file-manager/fm-directory-list.h, fm-directory-list.c:
					New files, the non-GUI portion of a
directory listing. Handles
	loading the dir listing and the icons.
1999-12-19 06:25:35 +00:00
Havoc Pennington 62eb9ba4be Add inline RGB data for default icon. (fm_icon_cache_load_icon): only ref
1999-12-20  Havoc Pennington  <hp@redhat.com>

* src/file-manager/fm-icon-cache.c: Add inline RGB data for
default icon.
(fm_icon_cache_load_icon): only
ref the pixbuf if it exists
(fm_icon_cache_new): add a new fallback special icon set
(fm_icon_cache_load_icon): load fallback if the icon name is ""
1999-12-19 05:48:58 +00:00
Havoc Pennington 37c6d861b0 sync with home - ChangeLog coming later.
This just makes the global icon cache accessible from outside FMDirectoryView.
1999-12-19 05:48:58 +00:00
Elliot Lee ffb63adc81 Support multiple view types (Nautilus/View, GNOME/Control,
* src/ntl-*.[ch]: Support multiple view types (Nautilus/View, GNOME/Control, GNOME/Embeddable)
* src/ntl-window.[ch]: Add nautilus_window_get_uih()
* idl/*.idl: Reindent.
1999-12-18 02:35:48 +00:00
Maciej Stachowiak 48159840ba Added up, reload, home, stop toolbar buttons. Stop is not implemented yet.
* src/ntl-window.c, src/ntl-window-msgs.c: Added up, reload, home,
stop toolbar buttons. Stop is not implemented yet. Up needs more
thought with respect to various protocols.

* src/ntl-window.c, src/ntl-window.h: Added calls to allow/disallow
some of the toolbar operations.
1999-12-18 02:35:48 +00:00
Havoc Pennington b22bfa642b set the mini icon. (nautilus_window_class_init): init parent_class and
1999-12-17  Havoc Pennington  <hp@redhat.com>

* src/ntl-window.c (nautilus_window_realize): set the mini icon.
(nautilus_window_class_init): init parent_class and install
realize method

* src/ntl-miniicon.c: new files, to set mini icon
1999-12-17 18:00:31 +00:00
Elliot Lee edc7a195a4 Fix warnings Try (unsuccessfully) to get proper icon reflow by calling
* libnautilus/{gdk-extensions.c,gnome-icon-container.c}: Fix warnings
* libnautilus/gnome-icon-container.c: Try (unsuccessfully) to get
  proper icon reflow by calling icon_grid_resize() instead of
  icon_grid_set_visible_width(), in size_allocate().
* src/*.*: Add ntl-app.[ch].
* src/file-manager/desktop-*.c: Fix warnings.
* src/file-manager/fm-directory-view.c: Remove incorrect warning,
  allow turning off use of icon_layout altogether.
1999-12-17 03:06:48 +00:00