Commit graph

67 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
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 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 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 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 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 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 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 a4015a4f9e all compiling again 1999-12-19 06:47:22 +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
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
John Sullivan 4e06f3a887 Fixed evil // comments I added earlier; Added beginnings of Bookmarks menu. 1999-12-17 02:11:21 +00:00
Havoc Pennington 8ebbd3a628 lookup signum before it's first used.
1999-12-16  Havoc Pennington  <hp@redhat.com>

* src/ntl-window-state.c (nautilus_window_save_state): lookup
signum before it's first used.

* src/file-manager/desktop-layout.c: new layout module, not yet
done

* src/file-manager/desktop-canvas.c (desktop_canvas_init): Create
the right-click menu.

* src/file-manager/desktop-menu.c (desktop_menu_new): New module
to stick the right-click menu code in
1999-12-17 01:37:12 +00:00
Maciej Stachowiak 7048ea0af4 Enabled multiple main windows and new window menu entry. In the
process replaced url with uri where appropriate and added
nautilus_window_get_requested_uri accessor.
1999-12-17 01:03:09 +00:00
Maciej Stachowiak b7dd3b28a6 Put meta-views on the right. 1999-12-16 23:10:22 +00:00
Darin Adler 04b3c26530 Added new graphics routines.
Tried to make clicking on a file work better.
1999-12-16 22:45:54 +00:00
Elliot Lee e97c47c231 Now works. Duplicate the URI being requested, since we don't know what the
* components/history/ntl-history-view.c: Now works.
* src/ntl-uri-map.c: Duplicate the URI being requested, since we
don't know what the lifetime of the original value will be.
* src/ntl-window.c: Use the paned instead of hbox, use create_menus_with_data instead.
* src/file-manager: Misc warning fixes.
* src/gtkscrollframe.c: Try to get rid of scrollbar chopping.
1999-12-16 22:11:49 +00:00
John Sullivan 9e591b009a Fixed bug where Back button failed due to lack of data pointer. Also
added a bunch of not-yet-implemented standard menus and menu items.
1999-12-16 21:33:06 +00:00
Maciej Stachowiak 42c3b5d301 Quiet some warnings. 1999-12-16 21:08:40 +00:00
Havoc Pennington 4838d5fa4e warning fixes
1999-12-16  Havoc Pennington  <hp@redhat.com>

* src/file-manager/gnome-desktop.c (main): warning fixes

* src/file-manager/desktop-canvas.c
(desktop_canvas_update_background): start actually honoring
background settings.

* src/file-manager/fm-icon-cache.c: add copyright and Emacs magic.

* src/file-manager/fm-icon-cache.h (fm_icon_cache_get_icon): Run
egtk-format-protos on these prototypes, add copyright and Emacs magic
1999-12-16 21:04:03 +00:00
Havoc Pennington e0138e85e5 Added API for controlling the background, so we can connect that to the
1999-12-16  Havoc Pennington  <hp@redhat.com>

* src/file-manager/desktop-canvas.h: Added API for controlling the
background, so we can connect that to the IDL interface.

* src/file-manager/desktop-canvas.h: New file

* src/file-manager/desktop-window.h: tweaks

* idl/gnome-desktop.idl: Change BackgroundInfo to not be a union.
1999-12-16 20:39:12 +00:00
John Sullivan cdbead7e78 Changed a recently-introduced assertion to a warning, and temporarily
allowed warnings to be non-fatal even when NAUTILUS_DEBUG is defined.
This allows us to continue working on Nautilus until the vfs problem
about directory iterating is fixed.
1999-12-16 18:23:11 +00:00
Elliot Lee c7382d0df3 Translate strings.
1999-12-16  Elliot Lee  <sopwith@redhat.com>

	* components/help/hyperbola-nav-tree.c: Translate strings.

	* components/history/ntl-history-view.c: Bug fixes, use API
 	function for setting meta-view label.

	* libnautilus/ntl-meta-view-client.[ch]:
 	s/meta_view_set_label/meta_view_client_set_label/

	* src/ntl-uri-map.c: Use history view instead of help view as the
 	default meta view for now.

	* src/ntl-window.c: As per the comment that was removed from
 	ntl-window.c, gnome_app_install_menu_hints() needs to be called
 	_after_ statusbar creation

	* src/file-manager/fm-directory-view.c: Add more debugging assertions
	and messages.
1999-12-16 07:49:40 +00:00
John Sullivan faecc8f6b5 Rearranged toolbar & location bar; added rudiments of menu bar. 1999-12-16 00:53:55 +00:00
Elliot Lee 2161e0fee8 Warning fixes throughout. Use $(WERROR) in Makefiles to get -Werror.
* Warning fixes throughout.
* Use $(WERROR) in Makefiles to get -Werror.
1999-12-16 00:43:12 +00:00
Darin Adler 5797b1bf7a Fixed some warnings. 1999-12-16 00:02:40 +00:00
Elliot Lee a4a7dc95ac Turn on compilation of hyperbola component. Compile and run. Create & set
* components/Makefile.am: Turn on compilation of hyperbola component.
* components/help/*: Compile and run.
* libnautilus/ntl-meta-view-client.c: Create & set the property bag if it doesn't exist.
* src/ntl-uri-map.c: Load the hyperbola nav tree component as a test meta view.
* src/ntl-view.c: Fill in NULL fields with empty strings, so that ORBit doesn't segfault.
* src/ntl-window-msgs.c: When creating new meta views, they should
be meta views and not content views (cut & paste error).
* src/file-manager/fm-directory-view.c: Don't redisplay every time a new entry comes in.
1999-12-15 23:47:34 +00:00
Darin Adler 0dee7ad32e Changed warning switches. Fixed bugs found when opening an icon and
using the history buttons. Improved selection info display in status bar.
1999-12-15 21:55:17 +00:00
Andy Hertzfeld 84ae5f6492 made the initial path be the user's home directory.
made the initial path be the user's home directory.
1999-12-15 20:08:25 +00:00