summaryrefslogtreecommitdiff
path: root/libnautilus
diff options
context:
space:
mode:
authorSeth Nickell <seth@eazel.com>2000-09-12 02:01:33 +0000
committerSeth Nickell <seth@src.gnome.org>2000-09-12 02:01:33 +0000
commit45d4936a1466cc781bdf398db461b6f4a89c269c (patch)
treed25904248a3c84e0269dc0f830f4c84cac9f2f37 /libnautilus
parentcfc75de6e9bc899fe24bdc26616d47739a906ef9 (diff)
downloadnautilus-45d4936a1466cc781bdf398db461b6f4a89c269c.tar.gz
Add checks to fix things on Solaris regarding mounting, environment
2000-09-11 Seth Nickell <seth@eazel.com> * configure.in: Add checks to fix things on Solaris regarding mounting, environment variables, and fonts. Added tests for compiler warning flags that are not supported with all versions of GCC. * helper-utilities/authenticate/nautilus-authenticate-pam.c: (pam_conversion_func): Remove "const" from system call for compatibility with Solaris. * libnautilus-extensions/nautilus-file.c: (get_id_from_digit_string): uid_t != int, so change functions converting from string to uid_t to deal with greater bit uids properly. * libnautilus-extensions/nautilus-glib-extensions.h: * libnautilus-extensions/nautilus-glib-extensions.c: (nautilus_g_setenv), (nautilus_g_unsetenv): Add system gnostic functions for setting and removing variables from the environment. * libnautilus-extensions/nautilus-scalable-font.c: (initialize_global_stuff_if_needed): Temporary fix to deal with the absence of "RedHat-style" font paths on Solaris and Debian whilst font paths are still hard-coded. * libnautilus-extensions/nautilus-volume-monitor.c: (nautilus_volume_monitor_get_volume_name), (nautilus_volume_monitor_volume_is_mounted), (mount_volumes_update_is_mounted), (mnttab_add_mount_volume), (mntent_add_mount_volume), (find_volumes): Rewrite sections to use the appropriate Solaris mounting functions if Linux-style mount/umount/mount-table manipulation functions are not available. * libnautilus/nautilus-view-component.idl: * src/nautilus-view-frame-corba.c: * src/nautilus-zoomable-frame-corba.c: (impl_Nautilus_ZoomableFrame_report_zoom_level_changed): Change doubles to floats to work around an ORBit problem on Solaris wherein doubles are not correctly aligned. * src/file-manager/fm-desktop-icon-view.c: remove gratuitous linux specific header inclusion * src/nautilus-first-time-druid.c: (set_http_proxy): * src/nautilus-main.c: (main): * src/nautilus-shell.c: (corba_restart): (impl_Nautilus_ViewFrame_report_load_progress): Changed "setenv" and "unsetenv" calls to use nautilus_g_setenv and nautilus_g_unsetenv. * src/nautilus-window-manage-views.c: (report_sidebar_panel_failure_to_user): Add better error message to sidebar failures where it can't figure out which sidebar failed. Done in order to fix null string being passed to dialogue function which segfaulted Nautilus on Solaris. Yes children, your Nautilus will now run and frollick in the green, green pasture of the multi-cpu UltraSparc.
Diffstat (limited to 'libnautilus')
-rw-r--r--libnautilus/nautilus-view-component.idl18
1 files changed, 11 insertions, 7 deletions
diff --git a/libnautilus/nautilus-view-component.idl b/libnautilus/nautilus-view-component.idl
index 6a830e541..0a1f10eb0 100644
--- a/libnautilus/nautilus-view-component.idl
+++ b/libnautilus/nautilus-view-component.idl
@@ -90,15 +90,16 @@ module Nautilus {
* indicates that.
*/
oneway void report_load_underway ();
- oneway void report_load_progress (in double fraction_done);
+ /* FIXME: bug 2974 this was a double, but ORBit/Solaris is broken */
+ oneway void report_load_progress (in float fraction_done);
oneway void report_load_complete ();
oneway void report_load_failed ();
/* Called by a view component to change the title. */
oneway void set_title (in string new_title);
};
-
- typedef double ZoomLevel;
+ /* FIXME: bug 2974 this was a double, but ORBit/Solaris is broken */
+ typedef float ZoomLevel;
typedef sequence<ZoomLevel> ZoomLevelList;
/* The interface for something zoomable. Nautilus looks for
@@ -109,11 +110,13 @@ module Nautilus {
*/
interface Zoomable : ::Bonobo::Unknown {
/* Set this attribute to make the thing zoom. */
- attribute double zoom_level;
+ /* FIXME: bug 2974 this was a double, but ORBit/Solaris is broken */
+ attribute float zoom_level;
/* Information about the type of zooming that's supported. */
- readonly attribute double min_zoom_level;
- readonly attribute double max_zoom_level;
+ /* FIXME: bug 2974 these were doubles, but ORBit/Solaris is broken */
+ readonly attribute float min_zoom_level;
+ readonly attribute float max_zoom_level;
readonly attribute boolean is_continuous;
readonly attribute ZoomLevelList preferred_zoom_levels;
@@ -133,7 +136,8 @@ module Nautilus {
* its own or due to calls from the zoomable interface).
*/
interface ZoomableFrame : ::Bonobo::Unknown {
- oneway void report_zoom_level_changed (in double zoom_level);
+ /* FIXME: bug 2974 this was a double, but ORBit/Solaris is broken */
+ oneway void report_zoom_level_changed (in float zoom_level);
};
/* The specifications for a history list item. The structure