Commit graph

590 commits

Author SHA1 Message Date
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
Elliot Lee 8c729d0d10 Add --enable-more-warnings and --enable-fatal-warnings switches. Add
* configure.in: Add --enable-more-warnings and --enable-fatal-warnings switches.
* src/ntl-uri-map.c: Add comment about functionality-in-waiting.
1999-12-15 19:07:14 +00:00
Darin Adler e66ad3393a Rolled out my change. I was confused. Elliot had this fixed
already but I forgot to "make install".
1999-12-15 18:51:32 +00:00
Darin Adler 7d7defac6c Fixed overflow problem caused by gint16 local variable. 1999-12-15 18:39:11 +00:00
Darin Adler e445831a3d Fixed callback that caused bad cast when a URL was typed in. 1999-12-15 17:48:29 +00:00
Darin Adler 92eedb52f7 Changed to compile with the latest gnome-vfs. 1999-12-15 17:37:22 +00:00
Elliot Lee 75c39c67c1 Fix size_allocate.
* libnautilus/gtkscrollframe.c: Fix size_allocate.
1999-12-15 17:12:41 +00:00
Maciej Stachowiak ee886b6331 a const char* can't be passed where a gchar* is expected.
* src/ntl-uri-map.c (nautilus_navinfo_new): a const char* can't be
	passed where a gchar* is expected.
1999-12-15 04:08:36 +00:00
Darin Adler 025cf15b76 Turned on more warnings; fixed all warnings. 1999-12-15 03:09:45 +00:00
Elliot Lee 80bfd80a13 Restructure the whole NautilusWindow code for sanity's sake.
* src/*.c: Restructure the whole NautilusWindow code for sanity's sake.

* src/ntl-uri-map.[ch]: Instead of just passing in various pieces of information about
  the old URL, pass in the Nautilus_NavigationInfo that has to be kept around anyways.

* idl/nautilus.idl: Allow a selection to be multiple URI's.
1999-12-15 00:57:04 +00:00
Darin Adler 7bc3340f5a Ignore more generated files. 1999-12-15 00:04:42 +00:00
John Sullivan 389b49b49e Reordered code to fix bug where "View as blank space" option menu wasn't sizing
itself correctly; also changed its text and grayed it out to make it obvious
that it isn't working.
1999-12-14 23:07:44 +00:00
Elliot Lee 0e11f0e3f5 Add icons
* configure.in, Makefile.am, icons/: Add icons

* src/file-manager/fm-directory-view.c: Everything goes inside the scroll-frame, not the
view itself.
1999-12-14 19:46:16 +00:00
Elliot Lee 65c2e7dd64 Switch from imlib to pixbuf. Import from gnome-fm. Add a 'main_window'
* libnautils/g*.[ch]: Switch from imlib to pixbuf.
* src/file-manager: Import from gnome-fm.
* idl/nautilus.idl: Add a 'main_window' attribute on a ViewFrame, so that views can talk
to the main window.
1999-12-13 22:44:06 +00:00
Elliot Lee d28d40ef89 Add a convenience function for setting the label.
* libnautilus/ntl-meta-view.[ch]: Add a convenience function for
setting the label.

* Throughout: Rename the meta view "description" property to "label",
which more accurately describes its use.

* components/help: Start turning hyperbola into component.
1999-12-10 07:00:00 +00:00
Elliot Lee 13a02a8e9c Start migration from gnome-fm.
Start migration from gnome-fm.
1999-12-10 00:52:54 +00:00
Elliot Lee b91e363766 src/explorer-location-bar.[ch]: Copy over from gnome-fm, change signal to
src/explorer-location-bar.[ch]:
	Copy over from gnome-fm, change signal to include new URI.
src/ntl-window.c:
	Make NautilusWindow use it.
1999-12-09 06:32:28 +00:00
Elliot Lee 24997abbdd Basic framework is there. Now for URL resolution and loading.
Basic framework is there. Now for URL resolution and loading.
1999-12-06 00:49:57 +00:00