2008-05-21 A. Walton <awalton@gnome.org>
* */*.[ch]:
Move all of Nautilus to single Gtk+ includes, because Mitch says so.
Closes Bug #530315.
svn path=/trunk/; revision=14182
2002-03-07 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-horizontal-splitter.c
(nautilus_horizontal_splitter_size_allocate): impl. to
cope with having a paned with no child2, without doing
lots of bogus size re-allocation.
(nautilus_horizontal_splitter_class_init): upd.
(nautilus_horizontal_splitter_pack2): impl, since
gtkpaned relies on the re-size to generate an expose
to re-render it's splitter grabber thing.a
* src/nautilus-sidebar.c
(nautilus_sidebar_set_width): impl. moving all sidebar
preferences here,
(nautilus_sidebar_init): move auto value setup
here from class_init to save possible re-enterancy
issue. Request the size we want for the sidebar,
the pane will under-allocate if neccessary.
Set the old_width to the correct size so we don't
re-render the paned lots as it swiches about.
* src/nautilus-window.c
(nautilus_window_constructed): reflow to simplify,
call sidebar_set_width.
(nautilus_window_set_content_view_widget): use
nautilus_..._pack2 instead of gtk_paned to fix rendering.
2002-03-06 Michael Meeks <michael@ximian.com>
* components/notes/nautilus-notes.c
(make_notes_view): upd.
* components/news/nautilus-news.c
(rss_read_done_callback): parse the RTF, but don't spew
warnings everywhere.
(make_news_view): upd.
* components/throbber/main.c
(cb_create_throbber): impl.
(throbber_object_destroyed, throbber_make_object):
axe cut & paste.
* libnautilus/nautilus-view-standard-main.c
(nautilus_view_create_from_get_type_function):
widen from NautilusView to BonoboObject, this
code has a much wider application.
(make_object): ditto.
* components/hardware/nautilus-hardware-view.c
(nautilus_hardware_view_get_nautilus_view): upd.
* components/throbber/nautilus-throbber.c
(nautilus_throbber_new): kill.
* libnautilus/nautilus-view-standard-main.c
(nautilus_view_standard_main_multi): use gdk_get_display.
* libnautilus-private/nautilus-bonobo-extensions.c
(nautilus_bonobo_activation_register_for_display): impl.
* src/nautilus-application.c
(nautilus_application_startup): use it.
* src/nautilus-window-toolbars.c
(location_change_at_idle_callback),
(throbber_callback): move from nautilus-window.c
(nautilus_window_allow_stop): move this here,
prune redundant sets, simplify property bag
extraction.
* src/nautilus-window.c
(nautilus_window_constructed): move throbber
location changed code out of here.
(nautilus_window_unrealize): no explicit removal
from remote property bag neccessary & upd.
* libnautilus-private/nautilus-metafile-factory.c
(corba_open): reduce complexity.
2002-03-03 Alexander Larsson <alla@lysator.liu.se>
Patch from Diego González <dggonz@yahoo.com>.
* libnautilus-private/nautilus-horizontal-splitter.c:
(splitter_hide), (splitter_show), (splitter_is_hidden),
(nautilus_horizontal_splitter_expand),
(nautilus_horizontal_splitter_hide),
(nautilus_horizontal_splitter_show),
(nautilus_horizontal_splitter_is_hidden):
* libnautilus-private/nautilus-horizontal-splitter.h:
Code to hide and show the sidebar fully.
* src/nautilus-window.c: (nautilus_window_hide_sidebar),
(nautilus_window_show_sidebar), (nautilus_window_sidebar_showing):
Use the new horizontal splitter functions.
* configure.in:
* cut-n-paste-code/widgets/Makefile.am:
* cut-n-paste-code/widgets/e-paned:
* libnautilus-private/Makefile.am:
* libnautilus-private/nautilus-horizontal-splitter.c:
* libnautilus-private/nautilus-horizontal-splitter.h:
* src/nautilus-window.c: (nautilus_window_constructed),
(nautilus_window_set_content_view_widget),
(nautilus_window_hide_sidebar), (nautilus_window_show_sidebar),
(nautilus_window_sidebar_showing):
Remove e-paned.
* configure.in:
* data/Makefile.am:
* data/linksets/
* libnautilus-private/Makefile.am:
* libnautilus-private/nautilus-file-utilities.c:
* libnautilus-private/nautilus-link-set.c:
* libnautilus-private/nautilus-link-set.h:
* src/Makefile.am:
* src/nautilus-link-set-window.c:
* src/nautilus-link-set-window.h:
* src/nautilus-sidebar.c: (metadata_button_callback):
Remove link sets.
* libnautilus-private/nautilus-program-chooser.c:
(launch_mime_capplet_on_ok),
(launch_mime_capplet_and_close_dialog):
* src/nautilus-window-menus.c: (forget_history_if_yes),
(remove_bookmarks_for_uri_if_yes):
Destroy dialogs when done, since GtkDialog doesn't do this for us.
* src/nautilus-preferences-dialog.c: (preferences_dialog_create):
Get rid of close signal handler, since default close handler does
the same thing as a delete_event, which is what we want. We still
might have to do something fancier on a delete_event.
* Lots of files:
More GNOME 2 work. We now compile up to libnautilus-private and
I'm working my way through the files in there. Also changed all
the initialize_class and initialize to class_init and init.
* Makefile.am: Don't build intl since we don't need it the way we
use gettext.
* applets/launcher/Makefile.am: Remove redundant -I$(srcdir).
* applets/preferences-applet/Makefile.am: Remove redundant
-I$(srcdir).
* components/adapter/Makefile.am: Remove redundant -I.
* components/mozilla/Makefile.am: Mark private headers as SOURCES,
not noinst_HEADERS, as suggested by automake book and manual.
* components/news/Makefile.am: Remove unneeded
-I$(top_srcdir)/components/news.
* configure.in: Don't build intl since we don't need it the way we
use gettext.
* libnautilus-adapter/Makefile.am: Remove redundant -I.
* libnautilus-private/Makefile.am: Change -I for new
cut-n-paste-code scheme. Also mark private headers as SOURCES, not
noinst_HEADERS, as suggested by automake book and manual.
* libnautilus/Makefile.am: Remove redundant -I.
* src/Makefile.am: Change -I for new cut-n-paste-code scheme. Also
mark private headers as SOURCES, not noinst_HEADERS, as suggested
by automake book and manual.
* src/file-manager/Makefile.am: Mark private headers as SOURCES,
not noinst_HEADERS, as suggested by automake book and manual.
* check-THANKS.pl: Change Seth's preferred email address.
* cut-n-paste-code/widgets/e-paned/Makefile.am:
* cut-n-paste-code/widgets/gimphwrapbox/Makefile.am:
Don't use -static, since we plan to link
Remove unneeded -I directives now that we handle includes
differently. Also mark private headers as SOURCES, not
noinst_HEADERS, as suggested by automake book and manual.
* cut-n-paste-code/widgets/e-paned/e-hpaned.h:
* cut-n-paste-code/widgets/e-paned/e-vpaned.h:
* libnautilus-private/nautilus-horizontal-splitter.h:
* src/nautilus-complex-search-bar.c:
* src/nautilus-search-bar-criterion.c:
Simpler include scheme for cut-n-paste code.
* libnautilus-extensions/nautilus-horizontal-splitter.h:
New public functions nautilus_horizontal_splitter_expand,
..._collapse, and ..._toggle_position.
* libnautilus-extensions/nautilus-horizontal-splitter.c:
(nautilus_horizontal_splitter_expand): Broken out of
toggle_position, just does the expanding part (or nothing
if already expanded).
(nautilus_horizontal_splitter_collapse): Broken out of
toggle_position, just does the collapsing part (or nothing
if already collapsed).
(nautilus_horizontal_splitter_toggle_position): renamed
from toggle_splitter_position; now calls the broken-out
functions.
(nautilus_horizontal_splitter_button_release): Updated for
name change.
* src/nautilus-window.c: (nautilus_window_show_sidebar):
Call nautilus_horizontal_splitter_expand when showing sidebar.
* components/services/install/command-line/.cvsignore:
* components/services/install/lib/.cvsignore:
Ignore some additional generated files.
* libnautilus-extensions/nautilus-gnome-extensions.h:
* libnautilus-extensions/nautilus-gnome-extensions.c:
Moved stock dialog functions to nautilus-stock-dialogs.[ch].
(nautilus_gnome_canvas_item_request_update_deep),
(nautilus_gnome_canvas_request_update_all),
(nautilus_gnome_canvas_set_scroll_region),
(nautilus_gnome_canvas_set_scroll_region_left_justify):
Added a bunch of functions that were previously private inside
NautilusIconContainer.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_adjustment_set_value),
(nautilus_gtk_adjustment_clamp_value):
Added functions that treat the value range in a GtkAdjustment the
same way scroll bars do, taking the page size into account.
* libnautilus-extensions/nautilus-horizontal-splitter.h:
* libnautilus-extensions/nautilus-horizontal-splitter.c:
(nautilus_horizontal_splitter_initialize),
(toggle_splitter_position),
(nautilus_horizontal_splitter_button_press),
(nautilus_horizontal_splitter_button_release):
Fixed logic so that splitter will only open or close if you both
click and release within the splitter itself.
* libnautilus-extensions/nautilus-icon-private.h:
* libnautilus-extensions/nautilus-icon-container.c:
(icon_toggle_selected): Move icons to front when they are selected.
(set_scroll_region): Moved workaround that sets scroll region to
be large enough to fill the widget allocation into a function in
nautilus-gnome-extensions.h. In the process, I fixed the problem
where it would do the job wrong when the view was zoomed.
(lay_down_icons), (relayout), (reload_icon_positions):
Started work on sharing code between automatic layout of the entire
container and layout of new icons as the arrive.
(nautilus_icon_container_clear), (nautilus_icon_container_add):
Got started on the mechanism for laying out new icons as they arrive
in bunches instead of one at a time.
* libnautilus-extensions/nautilus-icon-dnd.c:
* libnautilus-extensions/nautilus-program-chooser.c:
* libnautilus-extensions/nautilus-program-choosing.c:
* src/file-manager/dfos-xfer.c:
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-error-reporting.c:
* src/nautilus-application.c:
* src/nautilus-location-bar.c:
* src/nautilus-property-browser.c:
* src/nautilus-window-manage-views.c:
* src/nautilus-window-menus.c:
Added includes to source files that use the stock dialogs.
* libnautilus-extensions/nautilus-stock-dialogs.h:
* libnautilus-extensions/nautilus-stock-dialogs.c:
(nautilus_timed_wait_stop), (convert_varargs_to_name_array),
(nautilus_simple_dialog), (turn_on_line_wrap_flag),
(turn_on_line_wrap_flag_callback), (show_ok_box),
(show_yes_no_box), (nautilus_info_dialog),
(nautilus_info_dialog_parented), (nautilus_warning_dialog),
(nautilus_warning_dialog_parented), (nautilus_error_dialog),
(nautilus_error_dialog_parented), (nautilus_yes_no_dialog),
(nautilus_yes_no_dialog_parented):
Moved all the stock dialog code in here.
* src/nautilus-sidebar-title.c: (update_icon): Only display the
icon when it's ready, instead of showing generic document icon
before that time.
(update_title), (update_more_info), (update_emblems),
(update_notes): Added FIXMEs about doing the same with other info.
(nautilus_sidebar_title_button_press_event): Added a FIXME to the
half-baked code in here.
* libnautilus-extensions/nautilus-horizontal-splitter.c:
(nautilus_horizontal_splitter_initialize_class),
(nautilus_horizontal_splitter_initialize),
(nautilus_horizontal_splitter_destroy),
(nautilus_horizontal_splitter_draw),
(nautilus_horizontal_splitter_new):
* libnautilus-extensions/nautilus-horizontal-splitter.h:
Damn, forgot to commit these 2 in the last checkin.