diff options
author | John Harper <jsh@eazel.com> | 2000-12-22 22:57:28 +0000 |
---|---|---|
committer | John Harper <jsh@src.gnome.org> | 2000-12-22 22:57:28 +0000 |
commit | 1b76518ed6486501f25b07abfbc60e489e5345fd (patch) | |
tree | e7b54ef57a7c1c9c63f8f474c056a0457cda6bc9 /src/nautilus-shell-interface.idl | |
parent | 632ba58da933a54f5d43e33cba6be4546948cc1d (diff) | |
download | nautilus-1b76518ed6486501f25b07abfbc60e489e5345fd.tar.gz |
reviewed by: Darin Adler <darin@eazel.com>
2000-12-21 John Harper <jsh@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Work to allow geometry of initial window to be specified on
command line. Fixes bug #5135
* src/nautilus-shell.c (open_window): new arg `geometry'. When
non-null, use nautilus_gtk_window_set_initial_geometry_from_string
to affect the geometry of the unmapped window
(corba_open_default_window, corba_open_windows): new arg,
`geometry', passed to open_window () if a non-null string
* src/nautilus-shell-interface.idl (open_windows,
open_default_window): added `geometry' parameter. Pass a
zero-length string to show no specified geometry
* src/nautilus-main.c (main): new option `--geometry=GEOMETRY'.
Pass the value to nautilus_application_startup (). This option
is only allowed when no more than one URI is given on the
command line (to prevent multiple windows appearing on top of
one another)
* src/nautilus-application.c, src/nautilus-application.h
(nautilus_application_startup): added parameter `geometry', a
string describing the geometry to give any created windows
* src/nautilus-first-time-druid.c (druid_finished): pass null
geometry parameter to nautilus_application_startup ()
* libnautilus/nautilus-gdk-extensions.c,
libnautilus/nautilus-gdk-extensions.h
(NautilusGdkGeometryFlags, nautilus_gdk_parse_geometry): a
wrapper for XParseGeometry () and associated bit definitions.
Required since gnome_parse_geometry () offers no reliable way
of detecting which of the geometry components were parsed
successfully
* libnautilus/nautilus-gtk-extensions.c,
libnautilus/nautilus-gtk-extensions.h
(nautilus_gtk_window_set_initial_geometry): takes an extra
parameter, a NautilusGdkGeometryFlags value specifying which of
the geometry parameters are valid
(nautilus_gtk_window_set_initial_geometry_from_string): changed
to allow the geometry string to specify one or both of position
and dimensions. Also doesn't use g_return_if_fail to test for
validity of input string (since it may come from the user),
instead just use the parseable parts of the geometry string
Diffstat (limited to 'src/nautilus-shell-interface.idl')
-rw-r--r-- | src/nautilus-shell-interface.idl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nautilus-shell-interface.idl b/src/nautilus-shell-interface.idl index 3b9d982ba..1856fd9b7 100644 --- a/src/nautilus-shell-interface.idl +++ b/src/nautilus-shell-interface.idl @@ -9,8 +9,8 @@ module Nautilus { interface Shell : ::Bonobo::Unknown { - oneway void open_windows (in URIList uris); - oneway void open_default_window (); + oneway void open_windows (in URIList uris, in string geometry); + oneway void open_default_window (in string geometry); oneway void start_desktop (); oneway void stop_desktop (); oneway void quit (); |