Commit Graph

567 Commits

Author SHA1 Message Date
Pavel Roskin
fbb0467538 * Makefile.in: don't do anything with *.inc - they are gone 2000-08-23 19:43:30 +00:00
Pavel Roskin
7e589ca66a * Makefile.in: don't use info.o, chmod.o, chown.o, achown.o,
@XCURSES@ and option.o
2000-08-22 22:10:38 +00:00
Jonathan Blandford
a7e8f34f9e 2000-08-21 Jonathan Blandford <jrb@redhat.com>
* gmount.c (create_device_link): Fix memory leak.  Also, make sure
	the icon is dead before making the link.  This is necessary in
	case your metadata database gets fubarred.
2000-08-21 20:16:25 +00:00
Miguel de Icaza
15942add41 2000-08-08 Miguel de Icaza <miguel@gnu.org>
* gdesktop.c (new_terminal): Add patch from Duncan Mak to use the
	gnome terminal factory server
2000-08-08 17:00:14 +00:00
Pavel Roskin
e7e783c4aa gpopup2.h: Removed
gtree.h: Added prototype for sync_tree()
2000-08-03 22:17:59 +00:00
Andrew V. Samoilov
a454ff5648 2000-07-17 Andrew V. Samoilov <sav@bcs.zp.ua>
* gdesktop-init.c (desktop_init_at): fname released after use
	(desktop_load_init_from): don't release icon if it is null
	(gdesktop_links_init): ditto
2000-07-17 10:26:01 +00:00
Jonathan Blandford
451c2af563 create and add an icon to the trashcan 2000-07-03 18:25:45 +00:00
Jacob Berkman
cea7247da1 2000-06-20 Jacob Berkman <jacob@helixcode.com>
* gtkdtree.c (gtk_dtree_construct):
	* gscreen.c (panel_create_tree_view): don't set the tree's line
	style

	* gprefs.[ch] (create_prop_box): only set the parent if the parent
	exists
	(create_prop_box): only show the custom tab if we have a parent
	panel
	(gnome_configure_box_with_desktop): add a param for optionally
	doing the desktop prefs
	(gnome_configure_box): wrap the other function

	* gdesktop.c (set_desktop_icons): show icon properties
	(desktop_popup_items): add an item to configure icons
2000-06-20 19:42:15 +00:00
Jonathan Blandford
97c053032e 2000-06-16 Jonathan Blandford <jrb@redhat.com>
* gpopup2.c (handle_empty_trash): Finished trash can.  Now I just
	need an icon.

2000-06-15  Jonathan Blandford  <jrb@redhat.com>

	* gpopup2.c: Add "Move to Trash" as an option to the popup menu.
	Also, "Empty Trash" as appropriate.

	* gscreen.c (file_list_popup): Removed New File command.  It
	wasn't working, and didn't do anything useful, anyways.  Added
	"Empty Trash" to the options for the menu.
2000-06-16 18:16:44 +00:00
arik
98a682d32f Jacob the all-knowing all-seeing eye found a bug which Ian and Arik (masters of all things gdb) scorched...
fixed recreate desktop icons in gdesktop-init.c:(desktop_load_init_from)
2000-05-24 17:27:09 +00:00
Miguel de Icaza
4f7b979572 2000-05-15 Andrew Post <apost@cbmi.upmc.edu>
* gdesktop.c (get_icon_snap_pos): Icons no longer count themselves
	in the slot count.

	* gdesktop.c (desktop_reload_icons): Icons are no longer
	auto-arranged every time the user logs in (or in IceWM, the weird
	icon focusing problems are fixed). An old and broken version of
	the snap-to-grid patch was committed to CVS, causing these
	problems.
2000-05-15 17:29:02 +00:00
Andreas Hyden
46dae4a8ef application.x-gnumeric.desktop: Added Swedish translation 2000-05-14 18:05:01 +00:00
Andreas Hyden
6efdedeb06 gimp.image.desktop: Added Swedish translation 2000-05-14 18:03:14 +00:00
Miguel de Icaza
b028900fdd 2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add macro %k it is block file name
       Add macro %e it is error file name
       Add macro %i it is cursor column indent of spaces, only for edit
       Add macro %y, it is syntax of current file in editor, only for edit
       Add condition y , it is syntax pattern of current file in edit
       Add macro %x it is extension of current file
       Add macro %m it is current menu filename

2000-05-04  Valery Kornienkov  <vlk@dimavb.st.simbirsk.su>

	* gtkedit/editcmd.c: Modify External Formatter (was C indent formatter) .
	Autocreate a scripts in home, from templates /usr/lib/mc/edit.indent.rc,
	edit.ispell.rc, etc. Remove leading and trailing spaces into _(""),
	(the message of David H. Martin <dmartina@usa.net>)

2000-05-05  Valery Kornienkov  <vlk@dimavb.st.simbirsk.su>

	* src/user.c:	Add condition (x filename) into mc.menu .
			for "Open next a free console" and like.

2000-05-04  Valery Kornienkov  <vlk@dimavb.st.simbirsk.su>

	src/user.c: fix segfault in chunk_alloc of glibc, when into condition
	of .mnu we have quoted space. (~.mc/menu: + f \.\ test$).

2000-05-04  Valery Kornienkov  <vlk@dimavb.st.simbirsk.su>

	* gtkedit/edit.c:
       Add ability user edit menus: system: /usr/lib/mc/cedit.menu,
	* gtkedit/editmenu.c:        home: ~/.cedit.menu, local: .cedit.menu
	Marked block is access now from an user edit menu
	Access ~/.cedit/cooledit.block for insert to cursor place from
	user edit menu.
	Created system cedit.menu

2000-05-04  Valery Kornienkov  <vlk@dimavb.st.simbirsk.su>

    	* gtkedit/editdraw.c:
	Improved a status string of cool editor for best understand,
	and to add char,hex view.

2000-05-04 Richard Hestilow <hestgray@ionet.net>

	* gnome/gdesktop.c: Fixes snap to grid.
2000-05-09 01:18:27 +00:00
Jacob Berkman
129ee42014 2000-05-06 Jacob Berkman <jacob@helixcode.com>
* gsession.c (session_set_restart): restart with priority 40 so we show
	up in the splash screen
2000-05-06 09:48:28 +00:00
jpr
3751f88716 2000-04-23 JP Rosevear <jpr@arcavia.com>
* gview.c (view): Constify file parameter to match prototype and
	fix build problem.
2000-04-24 18:56:53 +00:00
Pavel Machek
b9469e1e0f Allow i18n of error msg. 2000-04-18 08:55:59 +00:00
Jacob Berkman
9c591de27b 2000-04-04 Jacob and Miguee, The Debugging Machines <debugging_machines@helixcode.com>
* gdesktop.c (click_proxy_button_press): Federico should make sure
	he releases the server grab before he starts pooping up menus on
	the desktop.
2000-04-05 03:17:19 +00:00
Miguel de Icaza
073044cd9c 2000-03-13 Miguel de Icaza <miguel@helixcode.com>
* gaction.c (gmc_open_filename): Usae open.flags to determine
	whether we need a terminal.
	(gmc_open_filename): Fix the logic to make it work properly with
	.desktop and .kdelnk files.
2000-03-18 13:07:12 +00:00
Pavel Machek
3282214b18 Running without icons was not too good idea... 2000-02-02 17:10:49 +00:00
Pavel Machek
4a1dcb109b Fix segfault introduced with --nodesktop 2000-01-31 15:29:33 +00:00
Pavel Machek
8dcb55ce88 2000-02-01 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
* gicon.c (gicon_init): make missing icons non-fatal error

        * gmain.c, gdesktop.c: added option not to display desktop icons
2000-01-31 15:05:23 +00:00
Miguel de Icaza
075ccc0046 2000-01-26 Federico Mena Quintero <federico@helixcode.com>
* idl/FileManager.idl (Desktop): Added arrange_icons() method and
	an ArrangeType enum.
2000-01-25 10:30:53 +00:00
Miguel de Icaza
6028fd42da 2000-01-02 Federico Mena Quintero <federico@helixcode.com>
* gaction.c (gmc_open_filename): Use gnome_mime_needsterminal()
	instead of gnome_mime_type_or_default().  This was a thinko.
	Thanks to Aaron Lehmann <aaronl@vitelus.com> for pointing this
	out.
2000-01-03 16:39:00 +00:00
Matthias Warkus
137cb9d4b5 Added icons. 1999-12-28 11:19:42 +00:00
Miguel de Icaza
38fd84c470 1999-11-29 Federico Mena Quintero <federico@redhat.com>
* gdesktop.c (desktop_arrange_icons): Return immediately if there
	are no icons in the desktop.  BUGFIX: bugs.gnome.org #3789.
	(desktop_popup): Desensitize the "arrange icons" commands if there
	are no icons in the desktop.
1999-11-29 21:17:14 +00:00
Pavel Machek
82b8ed4aa5 1999-11-01 Pavel Machek <pavel@ucw.cz>
* make_thumb.c: close symlink hole

       * *.c: add return_val_if_fail, it is better than crashing. Sorry
       about that *image = NULL, but gcc should be able to optimize
       out in non-debugging case.
1999-11-01 16:30:49 +00:00
Miguel de Icaza
d818919b23 1999-10-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdesktop-init.c (desktop_init_at): Put an equal sign between the
	option and the rest.
1999-10-27 20:04:25 +00:00
Miguel de Icaza
1b0a9eaae1 1999-10-20 Federico Mena Quintero <federico@redhat.com>
* gdesktop.c (text_changed): Do not try to rename the file if the
	name did not change.  BUGFIX: GNOME bug tracker #2851.
1999-10-21 00:36:10 +00:00
Jonathan Blandford
cf94f9ae21 1999-10-06 Jonathan Blandford <jrb@redhat.com>
* gpopup2.c (create_actions): Now the Mount/Unmount/Eject device
	code will be lumped together with the other MIME_ACTIONS, even
	thought they're not controlled there.
1999-10-06 19:23:16 +00:00
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
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
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
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