diff options
| author | Steve Price <steve@FreeBSD.org> | 2001-02-26 05:23:40 +0000 |
|---|---|---|
| committer | Steve Price <steve@FreeBSD.org> | 2001-02-26 05:23:40 +0000 |
| commit | 61d18b441ea9314e00c4b6330cc825de794c6a60 (patch) | |
| tree | 543eaddf7b58b1500458bf891e7b6efdd5c169fd /x11-fm/vide/files/patch-ac | |
| parent | 251624ffe21d43e04f264c1bab046eda22c7e44d (diff) | |
Update to version 0.5.
PR: 25294
Submitted by: Sergei Gnezdov <sergeiga@yahoo.com>
Diffstat (limited to 'x11-fm/vide/files/patch-ac')
| -rw-r--r-- | x11-fm/vide/files/patch-ac | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/x11-fm/vide/files/patch-ac b/x11-fm/vide/files/patch-ac deleted file mode 100644 index 951885707603..000000000000 --- a/x11-fm/vide/files/patch-ac +++ /dev/null @@ -1,73 +0,0 @@ ---- src/vide.c.orig Thu May 11 03:04:39 2000 -+++ src/vide.c Sat Jun 17 15:19:25 2000 -@@ -224,6 +224,9 @@ - - getcwd(current_dir, sizeof(current_dir)); - -+ /* i18n support */ -+ gtk_set_locale(); -+ - /* Set up handler for sigchild so that we don't get zombies */ - new_action.sa_handler = received_sigchild; - sigemptyset (&new_action.sa_mask); -@@ -243,7 +246,7 @@ - gdk_color_parse ("yellow", &TAG_COLOR); - gdk_color_parse ("wheat", &DRAG_HILIGHT); - COMMAND_TEXT_FONT = -- gdk_font_load ("-adobe-courier-medium-r-normal-*-12-*-*-*-*-*-*-*"); -+ gdk_fontset_load ("-adobe-courier-medium-r-normal-*-12-*-*-*-*-*-*-*,*"); - - cfg.filetypes = NULL; - cfg.bookmarks = NULL; -@@ -259,7 +262,7 @@ - cfg.confirm_delete = TRUE; // not used - cfg.confirm_overwrite = TRUE; // not used - cfg.start_with_cwd = FALSE; -- strncpy (cfg.viewer_command, "rxvt -e vim", -+ strncpy (cfg.viewer_command, "xterm -e vi", - sizeof (cfg.viewer_command)); - cfg.window_width = 640; - cfg.window_height = 480; -@@ -268,7 +271,7 @@ - cfg.divide_popup_menu = FALSE; // not used - cfg.dir_history_max_length = 15; - cfg.command_history_max_length = 10; -- strncpy (cfg.xterm_command, "rxvt", sizeof (cfg.xterm_command)); -+ strncpy (cfg.xterm_command, "xterm", sizeof (cfg.xterm_command)); - chdir (getenv ("HOME")); - getcwd (app.left_view.dir, PATH_MAX); - strncpy (app.right_view.dir, app.left_view.dir, PATH_MAX); -@@ -280,9 +283,9 @@ - { - /* Setup some default filetypes */ - add_filetype ("jpeg,jpg,png,xpm,gif", "xv,gimp", "Image Files"); -- add_filetype ("c,cpp,h,pl,java, py", "x vim", "Source Code Files"); -+ add_filetype ("c,cpp,h,pl,java, py", "x vi", "Source Code Files"); - add_filetype ("o,so,a", "x nm %f | less", "Object Files"); -- add_filetype ("htm,html,php", "netscape,x vim", "HTML Documents"); -+ add_filetype ("htm,html,php", "netscape,x vi", "HTML Documents"); - add_filetype ("tar.gz,tgz", "x tar xzvf %f ,x tar tzvf %f | less", - "Gzipped Tarballs"); - add_filetype("zip, Z", "x unzip %f", "Zip"); -@@ -310,7 +313,7 @@ - gchar trash_com[128]; - gchar memo_com[128]; - g_snprintf (trash_com, 128, "mv %%f %s", cfg.trash); -- g_snprintf (memo_com, 128, "rxvt -e vim %s/memo", cfg.config_dir); -+ g_snprintf (memo_com, 128, "xterm -e vi %s/memo", cfg.config_dir); - - add_user_command (" ", "NULL"); - add_user_command ("Memo", memo_com); -@@ -332,9 +335,9 @@ - } - if(!read_command_mode_file()) - { -- add_command("mutt", "exe rxvt -e mutt"); -- add_command("ps", "exe rxvt -e top"); -- add_command("vi", "exe rxvt -e vim"); -+ add_command("mutt", "exe xterm -e mutt"); -+ add_command("ps", "exe xterm -e top"); -+ add_command("vi", "exe xterm -e vi"); - add_command("Backup", "/~$"); - add_command("touch", "exe touch %{Name of new file.}"); - } |
