Commit Graph

850 Commits

Author SHA1 Message Date
Norbert Warmuth
f072b5cda1 1999-10-06 David Martin <dmartina@usa.net>
* po/POTFILES.in: added gdeskdop-init.c

* po/es.po, es_ES.po: updated


1999-10-06  Norbert Warmuth  <nwarmuth@privat.circular.de>

* gnome/gmain.c, gmain.h: removed disable_root_warning. This variable
wasn't defined anywhere.
1999-10-06 06:33:55 +00:00
Vincent Renardias
a2898e9795 1999-09-30 Vincent Renardias <vincent@ldsol.com>
* gmain.c, gmain.h: add a '--disablerootwarning' flag which
        disable the iritating "You're running gmc as root." dialog box.
        (idealy, that box should also contain a "don't show this
        message again" checkbox; any objection?).
1999-09-30 11:23:22 +00:00
Miguel de Icaza
7347dc591a 1999-09-29 Federico Mena Quintero <federico@redhat.com>
* gcorba.c (corba_activate_server): New function.  Activate the
	POA manager here, when we are actually ready to process requests,
	instead of at the beginning of initialization.

	* gmain.c (create_panels): Call corba_activate_server().
1999-09-29 20:14:43 +00:00
Pablo Saratxaga
7c3c9590ad added danish descriptions 1999-09-28 15:03:05 +00:00
Jorge Godoy
4119c6dae8 Add pt_BR translations 1999-09-24 18:39:46 +00:00
Miguel de Icaza
cf73615d4d 1999-09-22 Federico Mena Quintero <federico@redhat.com>
* gscreen.c (panel_chdir): Clear the lists if the chdir operation
	was not successful.

	* gtkflist.c (gtk_flist_button_press): Only emit the open_row
	signal if we are not on the empty area.
1999-09-22 17:18:07 +00:00
Miguel de Icaza
851413523a 1999-09-22 Federico Mena Quintero <federico@redhat.com>
* gnome-open-dialog.c (gnome_open_dialog_new): Expand the tree
	when we are done generating it.
1999-09-22 16:57:08 +00:00
Miguel de Icaza
b8bb09e58d 1999-09-21 Federico Mena Quintero <federico@redhat.com>
* gdesktop.c (desktop_reload_icons): Do not call x_flush_events()
	when we are done.
1999-09-21 21:24:07 +00:00
Miguel de Icaza
2bded57962 1999-09-21 Federico Mena Quintero <federico@redhat.com>
* gsession.c (create_panel_from_info): The widgets are not created
	yet, so just set the panel->list_type field.
1999-09-21 09:04:50 +00:00
Miguel de Icaza
c10db1f41c 1999-09-21 Federico Mena Quintero <federico@redhat.com>
* gscreen.c (x_create_panel): Do not change the dialog head's
	current pointer.

	* gmain.c (x_init_dlg): Only call x_focus_widget() if there is a
	current widget.
	(non_corba_create_panels): Removed the nasty hack that created a
	dummy panel and destroyed it in the idle loop.  Wheeeeeee!

1999-09-21  Federico Mena Quintero  <federico@redhat.com>

	* dlg.c (init_dlg): Walk the list of widgets only if it exists.
	(dlg_broadcast_msg_to): Use safer list-walking code for if someone
	inserts a widget inside the message broadcast.
1999-09-21 08:09:54 +00:00
Miguel de Icaza
0fbbead100 1999-09-21 Federico Mena Quintero <federico@redhat.com>
* dlg.c (init_dlg): Walk the list of widgets only if it exists.

1999-09-21  Federico Mena Quintero  <federico@redhat.com>

	* gmain.c (x_init_dlg): Only call x_focus_widget() if there is a
	current widget.
1999-09-21 05:50:22 +00:00
Miguel de Icaza
5309648718 1999-09-20 Federico Mena Quintero <federico@redhat.com>
* gdesktop.c (handle_recreate_default_icons): New option to
	re-create the default set of icons.

	* gdesktop-init.c (gdesktop_links_init): Create the link to the
	user's home directory here.
1999-09-21 00:40:21 +00:00
Miguel de Icaza
088cd306b7 ==> ChangeLog <==
1999-09-20  Federico Mena Quintero  <federico@redhat.com>

	* gcorba.c (WindowFactory_get_windows_by_directory): Fill in the
	sequence correctly.

	* gsession.c (load_panel_info): Doh.  Fix test for presence of the
	cwd info.
	(load_session_info): If we could not load the panel info, do not
	insert bogus data in the list.
1999-09-20 23:29:45 +00:00
Miguel de Icaza
b207905d3e 1999-09-20 Federico Mena Quintero <federico@redhat.com>
* gsession.c (load_panel_info): Doh.  Fix test for presence of the
	cwd info.
	(load_session_info): If we could not load the panel info, do not
	insert bogus data in the list.
1999-09-20 22:37:29 +00:00
Miguel de Icaza
248d2ef5cc 1999-09-20 Federico Mena Quintero <federico@redhat.com>
The following is a patch from Volker Braun
	<volker.braun@physik.hu-berlin.de> to fix column resizing in the
	file panels.

	* gcustom-layout.c (custom_layout_apply): Set the
	default_user_format to the new format.

	* gscreen.c (panel_fill_panel_list): Set the column widths
	according to the previously stored values.
	Nuked the old and hideous panel_file_list_configure_contents().
	(panel_file_list_configure): Connect to resize_column in the clist.
	(panel_create_file_list): Do not connect to size_allocate.
	(x_create_panel): Set the column width array for this panel.  Set
	the user format from the default one if it exists.

	* gsession.c (PanelInfo): Added information about column widths
	and the user format.
	(save_panel_info): Save the complete information.
	(load_panel_info): Load the complete information.
	(free_panel_info): Free the user format.
	(idle_create_panels): Set the user format and column widths.

1999-09-20  Federico Mena Quintero  <federico@redhat.com>

	The following is a patch from Volker Braun
	<volker.braun@physik.hu-berlin.de> to fix column resizing in the
	file panels.

	* setup.c (options): Declare the column width option values.
	(save_configure): Save the default user format.
	(load_setup): Load the default user format.

	* panel.h (WPanel): Added a field for the column widths.
1999-09-20 20:03:58 +00:00
Richard Hult
98e99b2c91 Updated Swedish desktop entries. 1999-09-20 17:39:57 +00:00
Miguel de Icaza
04b2dc1b30 Typo fix - Federico 1999-09-20 16:35:42 +00:00
Miguel de Icaza
4317569de1 1999-09-20 Federico Mena Quintero <federico@redhat.com>
* lib/startup.links: Changed the news link to Gnotices

1999-09-19  David Martin <dmartina@usa.net>

	* gtkedit/editcmd.c (edit_print_string): Use unsigned char so that
	8 bit chars from strftime get displayed when inserting date.

	* lib/mc.ext.in: Add entries for bzip2 compressed pages as used in
	Mandrake 6.0. The generic entry for bzip2 moved to the end of the
	file to avoid interferences. In this one I changed the extension check
	to a type check (as used for gzip) which might give problems in some
	systems.
1999-09-20 16:34:38 +00:00
Norbert Warmuth
d836e5a79a 1999-09-19 Andrew V. Samoilov <sav@bcs.zp.ua>
* src/user.c (check_patterns): char* is used instead of char [] in sizeof

* src/util.c (string_perm): prefix named pipes by 'p' and not by `s'


1999-09-19  David Martin <dmartina@usa.net>

* gtkedit/editcmd.c (edit_print_string): Use unsigned char so that
8 bit chars from strftime get displayed when inserting date.

* lib/mc.ext.in: Add entries for bzip2 compressed pages as used in
Mandrake 6.0. The generic entry for bzip2 moved to the end of the
file to avoid interferences. In this one I changed the extension check
to a type check (as used for gzip) which might give problems in some
systems.

* configure.in: Use -Tlatin1 to format man pages when available and
"view" 8 bit chars.


1999-09-19  Norbert Warmuth  <nwarmuth@privat.circular.de>

* gtkedit/edit.h: Include files reordered in order to make it compile with
--with-debug

* gtkedit/editcmd.c (menu_save_mode_cmd): calculate dialog width
dependent on lenght of translated strings to display.

* src/mad.c, mad.h, util.c, util.h: Move mad-functions from util.[ch]
to mad.[ch]

* src/option.c: Include files reordered in order to make it compile with
--with-debug

* src/mad.c (mad_init): New function. Initialize debug FILE pointer to
stderr (moved to a function because not on every system stderr is
a constant).
(mad_set_debug): added const qualifier

* src/main.c (main): call mad_init

* po/*.po: s/defination/definition/

* gnome/Makefile.in ($(MAGICDEV_GENERATED)): Make it compile with $buildir
!= $srcdir.

* vfs/ftpfs.c (ftpfs_set_debug), vfs.h: added const qualifier.

* vfs/mcserv.c: removed definition of mad_strconcat which is also
in mad.c.
1999-09-19 23:09:07 +00:00
Elliot Lee
0f17c3b554 Work with srcdir != builddir. 1999-09-19 19:48:51 +00:00
lauris
7b43b1133f Added Estonian tranlations (et.po, *.desktop, *.directory) 1999-09-17 23:10:54 +00:00
Miguel de Icaza
356209d996 1999-09-17 Federico Mena Quintero <federico@redhat.com>
* smbfs.c: #define NO_CONFIG_H before including the samba
	includes; this way it will not re=define HAVE_LIBREADLINE.  This
	situation sucks.  Should we change the names of the widget.h
	history_*() functions?

1999-09-17  Federico Mena Quintero  <federico@redhat.com>

	* gmain.c (x_init_dlg): Display a warning if the GtkTed code path
	is ever reached.
	(xtoolkit_create_dialog): Likewise.
	(x_add_widget): Likewise.
1999-09-17 20:11:53 +00:00
Owen Taylor
94323db348 1999-09-16 Owen Taylor <otaylor@redhat.com>
* Remove the magicdev autoconf test in favor of just
	including the idl file. Otherwise we have a dependency
	loop between this and magicdev.

1999-09-16  Owen Taylor  <otaylor@redhat.com>

        * gmount.c: Remove the HAVE_MAGICDEV conditional.

	* Makefile.in magicdev.idl: Add the magicdev.idl file
	here to avoid creating dependency loops.
1999-09-17 03:03:32 +00:00
Norbert Warmuth
946ac9b60b This commit mainly adds a password dialog to smbfs. In the Gnome Edition
this dialog doesn't look perfect but at least it doesn't break gmc.


1999-09-14  Norbert Warmuth  <nwarmuth@privat.circular.de>

* gnome/layout: Added the new samba password dialog.

* src/widget.[ch] (input_new): added const qualifier

* src/util.c (wipe_password): Check for NULL.


1999-09-14  Norbert Warmuth  <nwarmuth@privat.circular.de>

* vfs/smbfs.c (various places): Store filenames in memory with the unix
character set and convert it back to the dos character set when filenames
are passed back to the samba server. If samba is configured correctly
this will fix the problems with filenames which contain national characters.

(bucket_set_authinfo): Set domain, username and password which will
be used to log on and authenticate against the samba server and remember this
information on a host/share basis. If set use PASSWD to get the
password. If already authenticated against the host and share use this
information. If already authenticated against host and IPC$ use this
information. If neither of the former is true ask the user how to
log on.

(authinfo_get_authinfo_from_user): New function. Query the user for
domain, username and password to use for authentication.

(authinfo_free): New function. Free memory in authentication structure.

(authinfo_free_all): New function. Free the list used to remember
authentication information.

(authinfo_compare_host_and_share, authinfo_compare_host): New functions.
Helper functions used to search the authentication list.

(authinfo_add): New function. Add one authentication entry to the
authlist.

(authinfo_remove): New function. Remove one entry from the authlist.

(free_bucket): Free memory associated with one bucket.

(smbfs_get_free_bucket): Initialize the complete connection array
with 0. Free the memory allocated for a bucket and initialize the
bucket before reusing it.

(smbfs_open_link): use new functions to get authentication information

(get_stat_info, smbfs_stat): remove unused variables.
1999-09-14 18:20:02 +00:00
Owen Taylor
d42d8d60eb 1999-09-13 Owen Taylor <otaylor@redhat.com>
* Makefile.in (MAGICDEV_OBJS): Built common/stubs
	for magicdev if we found it.

	* gmount.c (automounter_is_running): If we detected
	magicdev support at compile time, use a CORBA query
	to detect if it is running.

	* gcorba.c (WindowFactory_get_windows_by_directory): Set the
	length of the sequence we are returning.

	* gmount.c (setup_devices): is_block_device_mounted expects
	mount point, not device.
1999-09-14 05:21:39 +00:00
Miguel de Icaza
1ccd17c8f3 1999-09-13 Miguel de Icaza <miguel@gnu.org>
* glayout.c: Add C-w for sopwith.
1999-09-14 01:44:59 +00:00
Miguel de Icaza
dfc790ac4e 1999-09-13 Federico Mena Quintero <federico@redhat.com>
* gtkdtree.c (scan_subtree): Do not set the current path here,
	just load the subtree.
	(gtk_dtree_get_row_path): Removed the column argument, since it
	was never used.
	(scan_subtree): Added a path argument that can be calculated
	upstream.
	(gtk_dtree_expand): Compute the path for scan_subtree().
	(gtk_dtree_select_row): Compute the path for scan_subtree(), and
	set the tree's current path here.  This is the right thing;
	setting the current path is completely orthogonal from scanning a
	subtree.
1999-09-13 23:27:18 +00:00
Miguel de Icaza
264287e3a1 Removed dead files - Federico 1999-09-13 21:15:32 +00:00
Miguel de Icaza
4a3609a4f7 1999-09-13 Federico Mena Quintero <federico@redhat.com>
* gtkdtree.c (gtk_dtree_class_init): Sigh.  Create a new signal,
	called "possibly_ungrab", used to request the client to ungrab the
	mouse at the proper time.  This is required because the stupid
	clist button press handler grabs the mouse, and we don't want that.
	(gtk_dtree_select_row): Emit the possibly_ungrab signal here.

	* gscreen.c (panel_tree_drag_motion): Set the
	panel->drag_tree_dragging_over flag.
	(panel_tree_drag_leave): Unset said flag.
	(panel_tree_possibly_ungrab): Ungrab the mouse here.
1999-09-13 20:34:53 +00:00
Owen Taylor
be7b43ab5b 1999-09-11 Owen Taylor <otaylor@redhat.com>
* gcorba.c (Window_close): Fixed typo in cast.
1999-09-12 02:44:11 +00:00
Miguel de Icaza
e13620fca5 1999-09-10 Federico Mena Quintero <federico@redhat.com>
* gmount.c (setup_devices): See if our supported automounter,
	magicdev, is running and only create links for mounted CD-ROMs if
	so.
	(automounter_is_running): For now just return TRUE; we have to
	wait for magicdev to export a CORBA server.

	* gcorba.c (corba_init_server): Initialize the POA here instead of
	in register_servers().
1999-09-10 19:24:57 +00:00
Miguel de Icaza
0f59a02894 1999-09-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gnome-file-property-dialog.c (apply_uid_group_change): Fix more
	broken code.
1999-09-10 19:04:34 +00:00
Pablo Saratxaga
4469b3d705 updated catalan file 1999-09-10 01:36:05 +00:00
Miguel de Icaza
3c37665ce8 1999-09-09 Federico Mena Quintero <federico@redhat.com>
* gcorba.c (WindowFactory_close_invalid_windows): Doh.  Walk the
	list properly, since it may change as we delete windows.
1999-09-10 01:14:29 +00:00
Miguel de Icaza
1dd842ad0b You did not expect *me* to add the file before committing, right? - Federico 1999-09-09 23:48:00 +00:00
Miguel de Icaza
e5c80d6e71 1999-09-09 Federico Mena Quintero <federico@redhat.com>
* gmc-client.c: New file.  This is a small program to which you
	can pass arguments to call the GMC CORBA interface for you.  You
	can do stuff like create a directory window, rescan the desktop,
	etc.
1999-09-09 22:46:54 +00:00
Elliot Lee
620c954fc6 Remove CORBA_GENERATED files in 'make clean'. 1999-09-09 21:23:19 +00:00
Miguel de Icaza
ca6327c290 Sync to desktop - Federico 1999-09-09 16:17:18 +00:00
Miguel de Icaza
77ae49ad81 CORBA overhaul, part 1. This will not compile. HAH. I'm taking it home - Federico 1999-09-09 00:37:02 +00:00
Yukihiro Nakai
e3c47b8cde ja Update from ITANI Eiichoro 1999-09-08 15:32:04 +00:00
Yukihiro Nakai
29047e7d63 ja entry fix from ITANI Eiichiro. 1999-09-08 08:01:41 +00:00
Jonathan Blandford
c2fb5e5320 1999-09-07 <jrb@redhat.com>
* capplets/mime-type/mime-type-capplet.c: Patch added from Iain
	Holmes <iain@webtribe.net> to add the ability to edit mime-type
	extensions.
1999-09-07 19:44:26 +00:00
Miguel de Icaza
5818c1b0ff 1999-09-06 Federico Mena Quintero <federico@redhat.com>
* gtkdtree.c (gtk_dtree_size_allocate): Do the "visibility" test
	the right way.
1999-09-06 22:32:45 +00:00
Miguel de Icaza
544f443121 1999-09-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gtkdtree.c (gtk_dtree_size_allocate): Small change to improve
	the non-tree loading feature of gmc.
1999-09-06 20:56:25 +00:00
Jonathan Blandford
260d9840aa 1999-09-05 <jrb@redhat.com>
* mc.keys.in.in: changed image/x-xcf to be image/x-gimp.  Also,
	associated gimp with the various actions.  This prolly should be
	done distributed with gimp, but it's more useful here.
1999-09-05 06:56:17 +00:00
Zbigniew Chyla
ebb964cadb Added Polish translation 1999-09-03 22:35:26 +00:00
Elliot Lee
7f6dedc188 If help isn't found, display an error message. 1999-09-02 22:57:00 +00:00
Miguel de Icaza
78fa313864 1999-09-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gscreen.c: Added it here too.

	* glayout.c: Add File-new option here

	* gcmd.c (gnome_newfile_cmd): Added new routine.  Invoke when you
	want to create a new file.
1999-09-02 18:31:17 +00:00
Miguel de Icaza
0ac4d17dd9 1999-09-01 Federico Mena Quintero <federico@redhat.com>
* gscreen.c (panel_icon_renamed): Do nothing if the name did not
	change.
1999-09-01 19:28:57 +00:00
Miguel de Icaza
9e2bb07d6e 1999-08-30 Federico Mena Quintero <federico@redhat.com>
* gdnd.c (file_has_drop_action): New function to test whether a
	file has the drop-action metadata or MIME action property.
	(gdnd_validate_action): Take the drop-action metadata/MIME
	property into account.
	(gdnd_can_drop_on_file): New function to see whether a
	non-directory file can take drops.

	* gscreen.c (drop_on_panel): New helper function to drop stuff on
	a panel.  This uses gdnd_can_drop_on_file so that we have the
	correct behavior.  This enables dropping on executables and files
	with the drop-action metadata/MIME property again.
	(panel_icon_list_drag_data_received): Use drop_on_panel().
	(panel_clist_drag_data_received): Use drop_on_panel().  Normalize
	the Y coordinate to the clist_window.
1999-08-30 20:07:33 +00:00