Commit Graph

660 Commits

Author SHA1 Message Date
Pavel Roskin
556394cfc2 * gcmd.c (gnome_about_cmd): Update copyright years. 2001-08-21 06:00:12 +00:00
Pavel Roskin
fd1b39152b * application.x-gnumeric.desktop: Remove, it's unused.
* gimp.image.desktop: Likewise.
* Makefile.in: Remove references to *.desktop files.
2001-08-21 04:59:38 +00:00
Pavel Roskin
c4146f8fce * Makefile.in: Move i18n part of EXTRALIBS to INTLLIBS. Use
INTLLIBS when linking gmc-client.
Reported by Christian Schaller <Uraeus@linuxrising.org>
2001-08-20 16:55:35 +00:00
Pavel Roskin
a0406a1c94 * gdesktop-icon.c: Include "global.h".
* gdesktop-prefs.c: Likewise.
* gsession.c: Likewise.
2001-08-19 17:16:25 +00:00
Pavel Roskin
16d997d349 * gcorba.c: Include "global.h".
* gdesktop-init.c: Don't include <libgnome/libgnome.h>.
* gprint.c: Likewise.
* gdnd.c: Don't include <gdk/gdkprivate.h>.
* gmount.c (option_has_user) [!MOUNTED_GETMNTENT1]: Disable,
it's usused.
2001-08-19 16:28:02 +00:00
Pavel Roskin
045202d3ff * gmc-window.c: Remove.
* gmc-window.h: Likewise.
* Makefile.in: Remove gmc-window.c and gmc-window.h.
2001-08-12 04:23:47 +00:00
Pavel Roskin
581b7157b8 * gnome.TODO: Remove already fixed problem in the find dialog. 2001-08-10 08:33:04 +00:00
Pavel Roskin
ad3d69dfbb * gnome-open-dialog.c (get_presorted_from): Don't use PATH_MAX. 2001-08-07 18:51:58 +00:00
Pavel Roskin
a819801617 * gicon.c (get_default_icon): Don't call is_exe for symlinks. 2001-08-04 00:33:27 +00:00
Abel Cheung
75295cb026 Added mc.hint.zh_TW.Big5 into lib/Makefile.am . 2001-08-02 23:09:50 +00:00
Pavel Roskin
12018b03a6 * gmain.h: Fix declaration of gnome_init_panels(). 2001-07-30 15:45:00 +00:00
Pavel Roskin
8f09a060e0 * gmain.c (x_init_dlg): Don't install handler for "delete_event"
if DLG_GNOME_APP flag is set.
* gview.c (gview_quit): Check view_ok_to_quit().
(quit_view): Likewise.
2001-07-29 02:32:30 +00:00
Pavel Roskin
054b273045 * gmc-chargrid.c: Try 14-point clean and monospaced fonts
before resorting to "fixed".
2001-07-27 23:47:25 +00:00
Pavel Roskin
33fdf19ded * gfind.c (find_file): Add missing break. 2001-07-27 23:29:41 +00:00
Pavel Roskin
7f0c460355 * gdesktop.c (desktop_create_url): Accept new parameter
is_template.  Use mc_mkstemps() is it's TRUE.  Change all
callers.
* gcmd.c (gnome_new_link): Don't calculate the filename, trust
desktop_create_url() to do it.
* gdnd.c (drop_url_on_directory): Likewise.  Add support for
drag and drop from Mozilla.
2001-07-27 19:38:31 +00:00
Pavel Roskin
6db8e6158c * gfind.c (get_list_info): Get row number as argument. Return
boolean - FALSE if cannot find the row.  Calculate line number.
Change all callers.
(find_do_view_edit): Simplify.  Get line number as argument.
(find_do_view): Close the dialog because it's modal and prevents
user from interacting with other windows.
(find_do_edit): Likewise.
(setup_gui): Enable panelize button.  Improve look.
(find_panelize): New function.  Implement panelize.
(find_file): Add support for view, edit and panelize commands.
(do_find): Likewise.  Simplify.
(add_to_list): Block "select_row" signal until data is set.
2001-07-26 23:32:54 +00:00
Pavel Roskin
b734c85b0a * gfind.c (GFindDlg): Add last_dir_row field for the last
directory row.
(add_to_list): Last argument is now boolean, FALSE for files,
TRUE for directories.  Change all callers.  Use item data for
the row of the last directory.
(select_row): Enable `view' and `edit' buttons for files only,
`change' button for all entries.
(setup_gui): Set selection mode to GTK_SELECTION_BROWSE.  Make
`change' button inactive.  Don't hide `view' and `edit' buttons.
(get_list_info): Look up directory using list item data.
2001-07-26 19:49:11 +00:00
Pavel Roskin
67dbee53ed * gfind.c (find_parameters): Fix behavior of the Enter key.
Select initial values in the text entries.
2001-07-26 17:56:07 +00:00
Pavel Roskin
6a7a2252a3 * glayout.c (create_new_menu): Calculate last position in the
menu before using it.
2001-07-25 18:27:42 +00:00
Pavel Roskin
3543e015f4 * gutil.c: Remove broken child management.
(my_system): Fix file modes for standard descriptors.
2001-07-24 23:07:26 +00:00
Pavel Roskin
b502ddc39f * glayout.c (create_new_menu): Use fixed meny position instead
of gnome_app_find_menu_pos() - the later is not reliable and
breaks in many locales.
2001-07-24 20:01:40 +00:00
Pavel Roskin
04b5b06919 * gconf.h: Remove some unused defines. 2001-07-20 22:05:00 +00:00
Pavel Roskin
d3b48bfdb2 * gmc-client.c (main): Use translations from the "mc" domain. 2001-07-20 15:27:46 +00:00
Pavel Roskin
2e136f7ec9 * gfind.c (setup_gui): Register destroy handler.
(find_destroy): New function.  Unregister idle task if needed.
(find_do_chdir): Don't unregister idle task.
(find_do_again): Likewise.
(find_do_panelize): Likewise.
2001-07-20 06:07:27 +00:00
Pavel Roskin
ae5de08b1d * gfind.c (insert_file) : Join with find_add_match().
(find_do_edit): Put g_status_label into a box to work around
what appears to be a bug in gtk-1.2.10.
2001-07-20 05:17:08 +00:00
Pavel Roskin
7f952351c0 * gscreen.c (x_fill_panel): Use g_get_current_dir(). 2001-07-18 03:42:09 +00:00
Pavel Roskin
94df09e2a6 * glayout.c (gnome_exit): Position message boxes near the
current panel.
2001-07-17 03:48:21 +00:00
Pavel Roskin
f1984dd70d * gutil.c (port_shutdown_extra_fds): Remove, it's unused.
(exec_direct): Likewise.
* gconf.h: Remove declaration of port_shutdown_extra_fds().
2001-07-16 23:40:35 +00:00
Pavel Roskin
b2c12031c0 * gfind.c: Move most static variables to a structure, use it
in signal callbacks.  All dependencies adjusted.  Don't truncate
filenames.
2001-07-16 21:37:47 +00:00
Pavel Roskin
0841b4d586 * gfind.c (run_process): Interpret "Ok" button as "Cancel".
Set g_find_dlg to NULL if it has been closed.
(kill_gui): Don't destroy already destroyed dialog.
(find_file): Onle read directory and filename if needed.
(do_find): Break loop on B_EXIT.
2001-07-16 02:45:46 +00:00
Pavel Roskin
76c41d4726 * gscreen.c (panel_tree_button_release): New function, opens a
new window on middle click.
(panel_create_tree_view): Bind panel_tree_button_release() to
"button_release_event".
2001-07-16 00:05:50 +00:00
Pavel Roskin
0116e5aea3 * gmain.c (xtoolkit_create_dialog): Don't use "layout" - abort instead.
* layout: Remove.
* Makefile: Remove all references to file `layout'.
2001-07-15 07:23:36 +00:00
Pavel Roskin
0f9a3493ad * gnome/gdialogs.c [WITH_SMBFS] (vfs_smb_get_authinfo): New
function implementing SMB password dialog.
2001-07-15 07:06:35 +00:00
Pavel Roskin
74f034e8d4 * gmain.c (gmc_window_setup_from_panel): Fix crash when called
early, before the panel is created.
2001-07-15 06:25:16 +00:00
Pavel Roskin
2f9f1bb380 * gfind.c: New file - copied from find.c. Reindent, remove
unneeded parts.  Rewrite find_parameters() to use GNOME dialog.
* layout: Remove usused entries.
* Makefile.in: Use gfind.c, not find.c.
2001-07-14 21:14:01 +00:00
Pavel Roskin
4323c0004a * gdesktop.c (create_desktop_dir): If ~/Desktop doesn't exist
make it a symlink to ~/.gnome-desktop.
From Ximian patches.
2001-07-12 18:23:53 +00:00
Pavel Roskin
aeb7fe73c2 * gnome-open-dialog.c (gnome_open_dialog_get_tree): Don't set
styles for lines and expanders - use default tree settings.
From Ximian patches.
2001-07-12 18:14:06 +00:00
Pavel Roskin
1da081a1d5 * Makefile.in (EXTRALIBS): Add @LIBICONV@. 2001-07-12 15:07:50 +00:00
Andrew V. Samoilov
de551a2035 ;) 2001-07-12 05:45:54 +00:00
Pavel Roskin
8432d4dd4a * gdialogs.c: Use g_snprintf() instead of snprintf().
* gnome-file-property-dialog.c: Likewise.
* gprefs.c: Likewise.
2001-07-11 15:14:45 +00:00
Pavel Roskin
c2560cf2a6 * gscreen.c (panel_icon_list_select_icon): This function doesn't
get GDK_BUTTON_RELEASE, so move middle button processing ...
(panel_icon_list_button_release): ... here.
* gtkflist.c (gtk_flist_button_release): Open new window if the
middle button is released and DnD is not attempted.
2001-07-10 18:18:09 +00:00
Pavel Roskin
f69f94f442 * gtkdtree.c: Include alloca.h if available.
From Dan McNichol <mcnichol@austin.ibm.com>.
2001-07-10 03:18:28 +00:00
Pavel Roskin
78ab72b19f * gdesktop-prefs.c (create_mini_icons): Warning fix.
* gdialogs.c (file_mask_dialog): Likewise.
* gdnd.c (gdnd_validate_action): Likewise.
* gscreen.c (panel_drag_data_delete): Likewise.
(panel_tree_check_auto_expand): Likewise.
2001-07-09 15:37:31 +00:00
Pavel Roskin
98938f0035 * Makefile.in: Move here gnome-specific definitions from
../Make.common.in.
2001-07-06 21:13:01 +00:00
Pavel Roskin
44700b7f69 * gmc-chargrid.c: Include <config.h>. 2001-06-26 15:14:01 +00:00
Pavel Roskin
3c6cf84881 * gkey.c: Include the contents of xslint.c.
* Makefile.in (OOBJS): Remove xslint.o.
2001-06-26 15:01:35 +00:00
Pavel Roskin
d6ec3110bd * gcorba.h (poa): Declare extern. 2001-06-25 19:09:48 +00:00
Pavel Roskin
93125ecb19 * gtree.c: Remove.
* gtree.h: Likewise.
* gmenu.h: Likewise.
* Makefile.in: Changes for the above.
(OOBJS): Remove command.o.
* glayout.c: Remove command_prompt - it's unused.
* gmain.c (non_corba_create_panels): Don't create cmdline.
2001-06-19 00:54:51 +00:00
Pavel Roskin
4b3c6a0893 * Makefile.in (OOBJS): Remove fsusage.o and mountlist.o.
* gmain.h: Remove dead declaration of x_show_info().
2001-06-18 22:26:45 +00:00
Pavel Roskin
5717c2c03b Typo fix in the last entry. Tabified. 2001-06-17 04:36:29 +00:00