Nicer back/forward implementation -miguel

This commit is contained in:
Miguel de Icaza 1998-04-09 05:05:14 +00:00
parent e0c843048c
commit 2f0f1be529
6 changed files with 148 additions and 134 deletions

View File

@ -29,6 +29,7 @@
#define PORT_HAS_DISPLAY_MINI_INFO 1 #define PORT_HAS_DISPLAY_MINI_INFO 1
#define PORT_WANTS_ARGP 1 #define PORT_WANTS_ARGP 1
#define PORT_WIDGET_WANTS_HISTORY 0 #define PORT_WIDGET_WANTS_HISTORY 0
#define PORT_HAS_UPDATE_MARKS 1
#define mi_getch() fprintf (stderr, "mi_getch is not implemented in this port\n") #define mi_getch() fprintf (stderr, "mi_getch is not implemented in this port\n")
#define frontend_run_dlg(x) gtkrundlg_event (x) #define frontend_run_dlg(x) gtkrundlg_event (x)

View File

@ -101,7 +101,7 @@ panel_file_list_set_row_colors (GtkCList *cl, int row, int color_pair)
} }
void void
panel_update_marks (WPanel *panel) x_panel_update_marks (WPanel *panel)
{ {
gtk_widget_set_sensitive (panel->fwd_b, panel->dir_history->next ? 1 : 0); gtk_widget_set_sensitive (panel->fwd_b, panel->dir_history->next ? 1 : 0);
gtk_widget_set_sensitive (panel->back_b, panel->dir_history->prev ? 1 : 0); gtk_widget_set_sensitive (panel->back_b, panel->dir_history->prev ? 1 : 0);
@ -155,7 +155,6 @@ x_fill_panel (WPanel *panel)
select_item (panel); select_item (panel);
gtk_clist_thaw (GTK_CLIST (cl)); gtk_clist_thaw (GTK_CLIST (cl));
free (texts); free (texts);
panel_update_marks (panel);
} }
static void static void

266
po/mc.pot
View File

@ -1,6 +1,6 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Date: 1998-04-08 23:41:26-0500\n" "Date: 1998-04-09 00:04:49-0500\n"
"From: Miguel de Icaza,computo,622-4680 <miguel@metropolis.nuclecu.unam.mx>\n" "From: Miguel de Icaza,computo,622-4680 <miguel@metropolis.nuclecu.unam.mx>\n"
"Content-Type: text/plain; charset=\n" "Content-Type: text/plain; charset=\n"
"Xgettext-Options: --default-domain=mc --directory=.. --add-comments --keyword=_ --keyword=N_ --files-from=./POTFILES.in\n" "Xgettext-Options: --default-domain=mc --directory=.. --add-comments --keyword=_ --keyword=N_ --files-from=./POTFILES.in\n"
@ -573,11 +573,11 @@ msgstr ""
msgid "&Save mode..." msgid "&Save mode..."
msgstr "" msgstr ""
#: edit/editmenu.c:243 edit/editmenu.c:252 src/main.c:1299 #: edit/editmenu.c:243 edit/editmenu.c:252 src/main.c:1303
msgid "&Layout..." msgid "&Layout..."
msgstr "" msgstr ""
#: edit/editmenu.c:262 edit/editmenu.c:271 edit/editmenu.c:388 src/chmod.c:174 src/chown.c:131 src/main.c:1330 #: edit/editmenu.c:262 edit/editmenu.c:271 edit/editmenu.c:388 src/chmod.c:174 src/chown.c:131 src/main.c:1334
msgid " File " msgid " File "
msgstr "" msgstr ""
@ -589,11 +589,11 @@ msgstr ""
msgid " Sear/Repl " msgid " Sear/Repl "
msgstr "" msgstr ""
#: edit/editmenu.c:265 edit/editmenu.c:274 edit/editmenu.c:438 src/main.c:1331 #: edit/editmenu.c:265 edit/editmenu.c:274 edit/editmenu.c:438 src/main.c:1335
msgid " Command " msgid " Command "
msgstr "" msgstr ""
#: edit/editmenu.c:266 edit/editmenu.c:275 src/main.c:1332 #: edit/editmenu.c:266 edit/editmenu.c:275 src/main.c:1336
msgid " Options " msgid " Options "
msgstr "" msgstr ""
@ -753,7 +753,7 @@ msgstr ""
msgid "Error initialising editor.\n" msgid "Error initialising editor.\n"
msgstr "" msgstr ""
#: edit/editwidget.c:910 gnome/glayout.c:263 src/help.c:812 src/main.c:1661 src/screen.c:2187 src/screen.c:2221 src/tree.c:1451 src/view.c:1978 #: edit/editwidget.c:910 gnome/glayout.c:263 src/help.c:812 src/main.c:1665 src/screen.c:2187 src/screen.c:2221 src/tree.c:1451 src/view.c:1978
msgid "Help" msgid "Help"
msgstr "" msgstr ""
@ -781,11 +781,11 @@ msgstr ""
msgid "Delete" msgid "Delete"
msgstr "" msgstr ""
#: edit/editwidget.c:919 src/main.c:1663 #: edit/editwidget.c:919 src/main.c:1667
msgid "PullDn" msgid "PullDn"
msgstr "" msgstr ""
#: edit/editwidget.c:920 gnome/gview.c:280 src/help.c:824 src/main.c:1664 src/view.c:1980 src/view.c:2000 #: edit/editwidget.c:920 gnome/gview.c:280 src/help.c:824 src/main.c:1668 src/view.c:1980 src/view.c:2000
msgid "Quit" msgid "Quit"
msgstr "" msgstr ""
@ -2018,7 +2018,7 @@ msgstr ""
msgid "Content: " msgid "Content: "
msgstr "" msgstr ""
#: src/find.c:158 src/main.c:1195 src/main.c:1216 #: src/find.c:158 src/main.c:1199 src/main.c:1220
msgid "&Tree" msgid "&Tree"
msgstr "" msgstr ""
@ -2533,115 +2533,116 @@ msgstr ""
msgid " Do you really want to quit the Midnight Commander? " msgid " Do you really want to quit the Midnight Commander? "
msgstr "" msgstr ""
#: src/main.c:1192 src/main.c:1213 #. NOTICE: hotkeys specified here are overriden in menubar_paint_idx (alex)
#: src/main.c:1196 src/main.c:1217
msgid "&Listing mode..." msgid "&Listing mode..."
msgstr "" msgstr ""
#: src/main.c:1193 src/main.c:1214 #: src/main.c:1197 src/main.c:1218
msgid "&Quick view C-x q" msgid "&Quick view C-x q"
msgstr "" msgstr ""
#: src/main.c:1194 src/main.c:1215 #: src/main.c:1198 src/main.c:1219
msgid "&Info C-x i" msgid "&Info C-x i"
msgstr "" msgstr ""
#: src/main.c:1197 src/main.c:1218 #: src/main.c:1201 src/main.c:1222
msgid "&Sort order..." msgid "&Sort order..."
msgstr "" msgstr ""
#: src/main.c:1199 src/main.c:1220 #: src/main.c:1203 src/main.c:1224
msgid "&Filter..." msgid "&Filter..."
msgstr "" msgstr ""
#: src/main.c:1202 src/main.c:1223 #: src/main.c:1206 src/main.c:1227
msgid "&Network link..." msgid "&Network link..."
msgstr "" msgstr ""
#: src/main.c:1203 src/main.c:1224 #: src/main.c:1207 src/main.c:1228
msgid "FT&P link..." msgid "FT&P link..."
msgstr "" msgstr ""
#: src/main.c:1207 src/main.c:1228 #: src/main.c:1211 src/main.c:1232
msgid "&Drive... M-d" msgid "&Drive... M-d"
msgstr "" msgstr ""
#: src/main.c:1209 src/main.c:1230 #: src/main.c:1213 src/main.c:1234
msgid "&Rescan C-r" msgid "&Rescan C-r"
msgstr "" msgstr ""
#: src/main.c:1234 #: src/main.c:1238
msgid "&User menu F2" msgid "&User menu F2"
msgstr "" msgstr ""
#: src/main.c:1235 #: src/main.c:1239
msgid "&View F3" msgid "&View F3"
msgstr "" msgstr ""
#: src/main.c:1236 #: src/main.c:1240
msgid "&Filtered view M-!" msgid "&Filtered view M-!"
msgstr "" msgstr ""
#: src/main.c:1237 #: src/main.c:1241
msgid "&Edit F4" msgid "&Edit F4"
msgstr "" msgstr ""
#: src/main.c:1238 #: src/main.c:1242
msgid "&Copy F5" msgid "&Copy F5"
msgstr "" msgstr ""
#: src/main.c:1239 #: src/main.c:1243
msgid "c&Hmod C-x c" msgid "c&Hmod C-x c"
msgstr "" msgstr ""
#: src/main.c:1241 #: src/main.c:1245
msgid "&Link C-x l" msgid "&Link C-x l"
msgstr "" msgstr ""
#: src/main.c:1242 #: src/main.c:1246
msgid "&SymLink C-x s" msgid "&SymLink C-x s"
msgstr "" msgstr ""
#: src/main.c:1243 #: src/main.c:1247
msgid "edit s&Ymlink C-x C-s" msgid "edit s&Ymlink C-x C-s"
msgstr "" msgstr ""
#: src/main.c:1244 #: src/main.c:1248
msgid "ch&Own C-x o" msgid "ch&Own C-x o"
msgstr "" msgstr ""
#: src/main.c:1245 #: src/main.c:1249
msgid "&Advanced chown " msgid "&Advanced chown "
msgstr "" msgstr ""
#: src/main.c:1247 #: src/main.c:1251
msgid "&Rename/Move F6" msgid "&Rename/Move F6"
msgstr "" msgstr ""
#: src/main.c:1248 #: src/main.c:1252
msgid "&Mkdir F7" msgid "&Mkdir F7"
msgstr "" msgstr ""
#: src/main.c:1249 #: src/main.c:1253
msgid "&Delete F8" msgid "&Delete F8"
msgstr "" msgstr ""
#: src/main.c:1250 #: src/main.c:1254
msgid "&Quick cd M-c" msgid "&Quick cd M-c"
msgstr "" msgstr ""
#: src/main.c:1252 #: src/main.c:1256
msgid "select &Group M-+" msgid "select &Group M-+"
msgstr "" msgstr ""
#: src/main.c:1253 #: src/main.c:1257
msgid "u&Nselect group M-\\" msgid "u&Nselect group M-\\"
msgstr "" msgstr ""
#: src/main.c:1254 #: src/main.c:1258
msgid "reverse selec&Tion M-*" msgid "reverse selec&Tion M-*"
msgstr "" msgstr ""
#: src/main.c:1256 #: src/main.c:1260
msgid "e&Xit F10" msgid "e&Xit F10"
msgstr "" msgstr ""
@ -2649,111 +2650,112 @@ msgstr ""
#. * as a panel still has some problems, I have not yet finished #. * as a panel still has some problems, I have not yet finished
#. * the WTree widget port, sorry. #. * the WTree widget port, sorry.
#. #.
#: src/main.c:1265 #: src/main.c:1269
msgid "&Directory tree" msgid "&Directory tree"
msgstr "" msgstr ""
#: src/main.c:1266 #: src/main.c:1270
msgid "&Find file M-?" msgid "&Find file M-?"
msgstr "" msgstr ""
#: src/main.c:1268 #: src/main.c:1272
msgid "s&Wap panels C-u" msgid "s&Wap panels C-u"
msgstr "" msgstr ""
#: src/main.c:1269 #: src/main.c:1273
msgid "switch &Panels on/off C-o" msgid "switch &Panels on/off C-o"
msgstr "" msgstr ""
#: src/main.c:1271 #: src/main.c:1275
msgid "&Compare directories C-x d" msgid "&Compare directories C-x d"
msgstr "" msgstr ""
#: src/main.c:1272 #: src/main.c:1276
msgid "e&Xternal panelize C-x !" msgid "e&Xternal panelize C-x !"
msgstr "" msgstr ""
#: src/main.c:1274 #: src/main.c:1278
msgid "show directory s&Izes" msgid "show directory s&Izes"
msgstr "" msgstr ""
#: src/main.c:1277 #: src/main.c:1281
msgid "command &History" msgid "command &History"
msgstr "" msgstr ""
#: src/main.c:1278 #: src/main.c:1282
msgid "di&Rectory hotlist C-\\" msgid "di&Rectory hotlist C-\\"
msgstr "" msgstr ""
#: src/main.c:1280 #: src/main.c:1284
msgid "&Active VFS list C-x a" msgid "&Active VFS list C-x a"
msgstr "" msgstr ""
#: src/main.c:1283 #: src/main.c:1287
msgid "&Background jobs C-x j" msgid "&Background jobs C-x j"
msgstr "" msgstr ""
#: src/main.c:1287 #: src/main.c:1291
msgid "&Undelete files (ext2fs only)" msgid "&Undelete files (ext2fs only)"
msgstr "" msgstr ""
#: src/main.c:1290 #: src/main.c:1294
msgid "&Listing format edit" msgid "&Listing format edit"
msgstr "" msgstr ""
#: src/main.c:1292 #: src/main.c:1296
msgid "&Extension file edit" msgid "&Extension file edit"
msgstr "" msgstr ""
#: src/main.c:1293 #: src/main.c:1297
msgid "&Menu file edit" msgid "&Menu file edit"
msgstr "" msgstr ""
#: src/main.c:1298 #. Must keep in sync with the constants in menu_cmd
#: src/main.c:1302
msgid "&Configuration..." msgid "&Configuration..."
msgstr "" msgstr ""
#: src/main.c:1300 #: src/main.c:1304
msgid "c&Onfirmation..." msgid "c&Onfirmation..."
msgstr "" msgstr ""
#: src/main.c:1301 #: src/main.c:1305
msgid "&Display bits..." msgid "&Display bits..."
msgstr "" msgstr ""
#: src/main.c:1303 #: src/main.c:1307
msgid "learn &Keys..." msgid "learn &Keys..."
msgstr "" msgstr ""
#: src/main.c:1306 #: src/main.c:1310
msgid "&Virtual FS..." msgid "&Virtual FS..."
msgstr "" msgstr ""
#: src/main.c:1309 #: src/main.c:1313
msgid "&Save setup" msgid "&Save setup"
msgstr "" msgstr ""
#: src/main.c:1325 src/main.c:1327 #: src/main.c:1329 src/main.c:1331
msgid " Left " msgid " Left "
msgstr "" msgstr ""
#: src/main.c:1327 #: src/main.c:1331
msgid " Above " msgid " Above "
msgstr "" msgstr ""
#: src/main.c:1335 src/main.c:1337 #: src/main.c:1339 src/main.c:1341
msgid " Right " msgid " Right "
msgstr "" msgstr ""
#: src/main.c:1337 #: src/main.c:1341
msgid " Below " msgid " Below "
msgstr "" msgstr ""
#: src/main.c:1398 #: src/main.c:1402
msgid " Information " msgid " Information "
msgstr "" msgstr ""
#: src/main.c:1399 #: src/main.c:1403
msgid "" msgid ""
" Using the fast reload option may not reflect the exact \n" " Using the fast reload option may not reflect the exact \n"
" directory contents. In this cases you'll need to do a \n" " directory contents. In this cases you'll need to do a \n"
@ -2761,141 +2763,141 @@ msgid ""
" the details. " " the details. "
msgstr "" msgstr ""
#: src/main.c:1662 src/screen.c:2188 src/screen.c:2222 #: src/main.c:1666 src/screen.c:2188 src/screen.c:2222
msgid "Menu" msgid "Menu"
msgstr "" msgstr ""
#: src/main.c:1876 #: src/main.c:1880
msgid "Thank you for using GNU Midnight Commander" msgid "Thank you for using GNU Midnight Commander"
msgstr "" msgstr ""
#: src/main.c:2222 #: src/main.c:2226
msgid "with mouse support on xterm%s.\n" msgid "with mouse support on xterm%s.\n"
msgstr "" msgstr ""
#: src/main.c:2223 #: src/main.c:2227
msgid " and the Linux console" msgid " and the Linux console"
msgstr "" msgstr ""
#: src/main.c:2314 #: src/main.c:2318
msgid "The TERM environment variable is unset!\n" msgid "The TERM environment variable is unset!\n"
msgstr "" msgstr ""
#: src/main.c:2561 #: src/main.c:2565
msgid "Library directory for the Midnight Commander: %s\n" msgid "Library directory for the Midnight Commander: %s\n"
msgstr "" msgstr ""
#: src/main.c:2566 #: src/main.c:2570
msgid "Option -m is obsolete. Please look at Display Bits... in the Option's menu\n" msgid "Option -m is obsolete. Please look at Display Bits... in the Option's menu\n"
msgstr "" msgstr ""
#: src/main.c:2629 #: src/main.c:2633
msgid "[DEVEL-ONLY: Debug the background code]" msgid "[DEVEL-ONLY: Debug the background code]"
msgstr "" msgstr ""
#: src/main.c:2632 #: src/main.c:2636
msgid "Create command file to set default directory upon exit." msgid "Create command file to set default directory upon exit."
msgstr "" msgstr ""
#: src/main.c:2634 #: src/main.c:2638
msgid "Force color mode." msgid "Force color mode."
msgstr "" msgstr ""
#: src/main.c:2635 #: src/main.c:2639
msgid "Specify colors (use --help-colors to get a list)." msgid "Specify colors (use --help-colors to get a list)."
msgstr "" msgstr ""
#: src/main.c:2637 #: src/main.c:2641
msgid "[DEVEL-ONLY: Debug the subshell." msgid "[DEVEL-ONLY: Debug the subshell."
msgstr "" msgstr ""
#: src/main.c:2639 #: src/main.c:2643
msgid "Startup the internal editor." msgid "Startup the internal editor."
msgstr "" msgstr ""
#: src/main.c:2640 #: src/main.c:2644
msgid "Shows this help message." msgid "Shows this help message."
msgstr "" msgstr ""
#: src/main.c:2641 #: src/main.c:2645
msgid "Help on how to specify colors." msgid "Help on how to specify colors."
msgstr "" msgstr ""
#: src/main.c:2643 #: src/main.c:2647
msgid "Log ftpfs commands to the file." msgid "Log ftpfs commands to the file."
msgstr "" msgstr ""
#: src/main.c:2645 #: src/main.c:2649
msgid "Prints out the configured paths." msgid "Prints out the configured paths."
msgstr "" msgstr ""
#: src/main.c:2647 #: src/main.c:2651
msgid "Force black and white display." msgid "Force black and white display."
msgstr "" msgstr ""
#: src/main.c:2648 #: src/main.c:2652
msgid "Disable mouse support." msgid "Disable mouse support."
msgstr "" msgstr ""
#: src/main.c:2650 #: src/main.c:2654
msgid "Force the concurrent subshell mode" msgid "Force the concurrent subshell mode"
msgstr "" msgstr ""
#: src/main.c:2651 #: src/main.c:2655
msgid "Disable the concurrent subshell mode." msgid "Disable the concurrent subshell mode."
msgstr "" msgstr ""
#: src/main.c:2652 #: src/main.c:2656
msgid "Force subshell execution." msgid "Force subshell execution."
msgstr "" msgstr ""
#: src/main.c:2654 #: src/main.c:2658
msgid "At exit, print the last working directory." msgid "At exit, print the last working directory."
msgstr "" msgstr ""
#: src/main.c:2655 #: src/main.c:2659
msgid "Reset softkeys (HP terminals only) to their terminfo/termcap default." msgid "Reset softkeys (HP terminals only) to their terminfo/termcap default."
msgstr "" msgstr ""
#: src/main.c:2656 #: src/main.c:2660
msgid "Disables verbose operation (for slow terminals)." msgid "Disables verbose operation (for slow terminals)."
msgstr "" msgstr ""
#: src/main.c:2658 #: src/main.c:2662
msgid "Use simple symbols for line drawing." msgid "Use simple symbols for line drawing."
msgstr "" msgstr ""
#: src/main.c:2663 #: src/main.c:2667
msgid "Activate support for the TERMCAP variable." msgid "Activate support for the TERMCAP variable."
msgstr "" msgstr ""
#: src/main.c:2665 #: src/main.c:2669
msgid "Report versionand configuration options." msgid "Report versionand configuration options."
msgstr "" msgstr ""
#: src/main.c:2666 #: src/main.c:2670
msgid "Start up into the viewer mode." msgid "Start up into the viewer mode."
msgstr "" msgstr ""
#: src/main.c:2667 #: src/main.c:2671
msgid "Force xterm mouse support and screen save/restore" msgid "Force xterm mouse support and screen save/restore"
msgstr "" msgstr ""
#: src/main.c:2736 #: src/main.c:2740
msgid "[this dir] [other dir]" msgid "[this dir] [other dir]"
msgstr "" msgstr ""
#: src/main.c:2977 #: src/main.c:2981
msgid "" msgid ""
"Couldn't open tty line. You have to run mc without the -P flag.\n" "Couldn't open tty line. You have to run mc without the -P flag.\n"
"On some systems you may want to run # `which mc`\n" "On some systems you may want to run # `which mc`\n"
msgstr "" msgstr ""
#: src/main.c:3065 #: src/main.c:3069
msgid " Notice " msgid " Notice "
msgstr "" msgstr ""
#: src/main.c:3066 #: src/main.c:3070
msgid "" msgid ""
" The Midnight Commander configuration files \n" " The Midnight Commander configuration files \n"
" are now stored in the ~/.mc directory, the \n" " are now stored in the ~/.mc directory, the \n"
@ -3116,7 +3118,7 @@ msgstr ""
msgid " %s bytes in %d file%s" msgid " %s bytes in %d file%s"
msgstr "" msgstr ""
#: gnome/gscreen.c:1155 src/screen.c:661 #: gnome/gscreen.c:1154 src/screen.c:661
msgid "<readlink failed>" msgid "<readlink failed>"
msgstr "" msgstr ""
@ -3128,7 +3130,7 @@ msgstr ""
msgid " Do you really want to execute? " msgid " Do you really want to execute? "
msgstr "" msgstr ""
#: gnome/glayout.c:197 gnome/gscreen.c:361 src/screen.c:2189 src/screen.c:2223 #: gnome/glayout.c:197 gnome/gscreen.c:360 src/screen.c:2189 src/screen.c:2223
msgid "View" msgid "View"
msgstr "" msgstr ""
@ -3647,7 +3649,7 @@ msgstr ""
#. We connect_object_after to the items so that we can destroy #. We connect_object_after to the items so that we can destroy
#. * the menu at the proper time. #. * the menu at the proper time.
#. #.
#: gnome/gdesktop.c:712 gnome/gscreen.c:357 #: gnome/gdesktop.c:712 gnome/gscreen.c:356
msgid "Properties" msgid "Properties"
msgstr "" msgstr ""
@ -3655,7 +3657,7 @@ msgstr ""
msgid "Open with..." msgid "Open with..."
msgstr "" msgstr ""
#: gnome/gdesktop.c:832 gnome/gscreen.c:313 #: gnome/gdesktop.c:832 gnome/gscreen.c:312
msgid "Enter extra arguments:" msgid "Enter extra arguments:"
msgstr "" msgstr ""
@ -3952,123 +3954,123 @@ msgstr ""
msgid "Select icon" msgid "Select icon"
msgstr "" msgstr ""
#: gnome/gscreen.c:312 #: gnome/gscreen.c:311
msgid " Open with..." msgid " Open with..."
msgstr "" msgstr ""
#: gnome/gscreen.c:359 #: gnome/gscreen.c:358
msgid "Open" msgid "Open"
msgstr "" msgstr ""
#: gnome/gscreen.c:360 #: gnome/gscreen.c:359
msgid "Open with" msgid "Open with"
msgstr "" msgstr ""
#: gnome/gscreen.c:362 #: gnome/gscreen.c:361
msgid "View unfiltered" msgid "View unfiltered"
msgstr "" msgstr ""
#: gnome/gscreen.c:364 #: gnome/gscreen.c:363
msgid "Link..." msgid "Link..."
msgstr "" msgstr ""
#: gnome/gscreen.c:365 #: gnome/gscreen.c:364
msgid "Symlink..." msgid "Symlink..."
msgstr "" msgstr ""
#: gnome/gscreen.c:366 #: gnome/gscreen.c:365
msgid "Edit symlink..." msgid "Edit symlink..."
msgstr "" msgstr ""
#: gnome/gscreen.c:374 #: gnome/gscreen.c:373
msgid "Copy..." msgid "Copy..."
msgstr "" msgstr ""
#: gnome/gscreen.c:375 #: gnome/gscreen.c:374
msgid "Rename/move.." msgid "Rename/move.."
msgstr "" msgstr ""
#: gnome/gscreen.c:376 #: gnome/gscreen.c:375
msgid "Delete..." msgid "Delete..."
msgstr "" msgstr ""
#: gnome/gscreen.c:963 #: gnome/gscreen.c:962
msgid "All files" msgid "All files"
msgstr "" msgstr ""
#: gnome/gscreen.c:965 #: gnome/gscreen.c:964
msgid "Archives and compressed files" msgid "Archives and compressed files"
msgstr "" msgstr ""
#: gnome/gscreen.c:967 #: gnome/gscreen.c:966
msgid "RPM/DEB files" msgid "RPM/DEB files"
msgstr "" msgstr ""
#: gnome/gscreen.c:969 #: gnome/gscreen.c:968
msgid "Text/Document files" msgid "Text/Document files"
msgstr "" msgstr ""
#: gnome/gscreen.c:971 #: gnome/gscreen.c:970
msgid "HTML and SGML files" msgid "HTML and SGML files"
msgstr "" msgstr ""
#: gnome/gscreen.c:973 #: gnome/gscreen.c:972
msgid "Postscript and PDF files" msgid "Postscript and PDF files"
msgstr "" msgstr ""
#: gnome/gscreen.c:975 #: gnome/gscreen.c:974
msgid "Spreadsheet files" msgid "Spreadsheet files"
msgstr "" msgstr ""
#: gnome/gscreen.c:977 #: gnome/gscreen.c:976
msgid "Image files" msgid "Image files"
msgstr "" msgstr ""
#: gnome/gscreen.c:980 #: gnome/gscreen.c:979
msgid "Video/animation files" msgid "Video/animation files"
msgstr "" msgstr ""
#: gnome/gscreen.c:982 #: gnome/gscreen.c:981
msgid "Audio files" msgid "Audio files"
msgstr "" msgstr ""
#: gnome/gscreen.c:984 #: gnome/gscreen.c:983
msgid "C program files" msgid "C program files"
msgstr "" msgstr ""
#: gnome/gscreen.c:986 #: gnome/gscreen.c:985
msgid "C++ program files" msgid "C++ program files"
msgstr "" msgstr ""
#: gnome/gscreen.c:988 #: gnome/gscreen.c:987
msgid "Objective-C program files" msgid "Objective-C program files"
msgstr "" msgstr ""
#: gnome/gscreen.c:990 #: gnome/gscreen.c:989
msgid "Scheme program files" msgid "Scheme program files"
msgstr "" msgstr ""
#: gnome/gscreen.c:992 #: gnome/gscreen.c:991
msgid "Assembler program files" msgid "Assembler program files"
msgstr "" msgstr ""
#: gnome/gscreen.c:994 #: gnome/gscreen.c:993
msgid "Misc. program files" msgid "Misc. program files"
msgstr "" msgstr ""
#: gnome/gscreen.c:996 #: gnome/gscreen.c:995
msgid "Font files" msgid "Font files"
msgstr "" msgstr ""
#: gnome/gscreen.c:1121 #: gnome/gscreen.c:1120
msgid "Search: " msgid "Search: "
msgstr "" msgstr ""
#: gnome/gscreen.c:1131 #: gnome/gscreen.c:1130
msgid " %s bytes in %d file%s" msgid " %s bytes in %d file%s"
msgstr "" msgstr ""
#: gnome/gscreen.c:1201 #: gnome/gscreen.c:1200
msgid "Filter" msgid "Filter"
msgstr "" msgstr ""

View File

@ -934,6 +934,8 @@ directory_history_add (WPanel * panel, char *s)
} }
panel->dir_history = panel->dir_history->next; panel->dir_history = panel->dir_history->next;
panel->dir_history->text = strdup (s); panel->dir_history->text = strdup (s);
panel_update_marks (panel);
} }
int do_panel_cd (WPanel *panel, char *new_dir, enum cd_enum cd_type); int do_panel_cd (WPanel *panel, char *new_dir, enum cd_enum cd_type);
@ -945,6 +947,7 @@ directory_history_next (WPanel * panel)
return; return;
if (do_panel_cd (panel, panel->dir_history->next->text, cd_exact)) if (do_panel_cd (panel, panel->dir_history->next->text, cd_exact))
panel->dir_history = panel->dir_history->next; panel->dir_history = panel->dir_history->next;
panel_update_marks (panel);
} }
void void
@ -954,6 +957,7 @@ directory_history_prev (WPanel * panel)
return; return;
if (do_panel_cd (panel, panel->dir_history->prev->text, cd_exact)) if (do_panel_cd (panel, panel->dir_history->prev->text, cd_exact))
panel->dir_history = panel->dir_history->prev; panel->dir_history = panel->dir_history->prev;
panel_update_marks (panel);
} }
void void

View File

@ -240,6 +240,7 @@ void x_unselect_item (WPanel *panel);
sortfn *get_sort_fn (char *name); sortfn *get_sort_fn (char *name);
int panel_callback (Dlg_head *h, WPanel *panel, int msg, int par); int panel_callback (Dlg_head *h, WPanel *panel, int msg, int par);
void update_one_panel_widget (WPanel *panel, int force_update, char *current_file); void update_one_panel_widget (WPanel *panel, int force_update, char *current_file);
void panel_update_marks (WPanel *panel);
void directory_history_next (WPanel * panel); void directory_history_next (WPanel * panel);
void directory_history_prev (WPanel * panel); void directory_history_prev (WPanel * panel);

View File

@ -2441,3 +2441,10 @@ panel_event (Gpm_Event *event, WPanel *panel)
} }
#endif #endif
void
panel_update_marks (WPanel *panel)
{
#ifdef PORT_HAS_UPDATE_MARKS
x_panel_update_marks (panel);
#endif
}