mirror of https://github.com/MidnightCommander/mc
1999-02-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
* Makefile.in (ICONS): Added i-fifo.png to the list of icons. * gicon.c (gicon_init): Load the proper FIFO and socket icons. (gnome_file_entry_color): Return the proper icon for FIFOs. * i-fifo.png: Added this file, and made i-sock.png be the right image (thanks, Tigert!).
This commit is contained in:
parent
c7cf201682
commit
2352737144
|
@ -1,5 +1,13 @@
|
|||
1999-02-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* Makefile.in (ICONS): Added i-fifo.png to the list of icons.
|
||||
|
||||
* gicon.c (gicon_init): Load the proper FIFO and socket icons.
|
||||
(gnome_file_entry_color): Return the proper icon for FIFOs.
|
||||
|
||||
* i-fifo.png: Added this file, and made i-sock.png be the right
|
||||
image (thanks, Tigert!).
|
||||
|
||||
* gscreen.c (ILIST_FROM_SW): New macro to extract the icon list
|
||||
from the scrolled window.
|
||||
(panel_create_icon_display): Create a scrolled window and put the
|
||||
|
|
|
@ -93,6 +93,7 @@ ICONS = \
|
|||
i-regular.png \
|
||||
i-core.png \
|
||||
i-sock.png \
|
||||
i-fifo.png \
|
||||
i-chardev.png \
|
||||
i-blockdev.png \
|
||||
i-stalled.png
|
||||
|
|
|
@ -28,6 +28,7 @@ static GdkImlibImage *icon_view_symlink;
|
|||
static GdkImlibImage *icon_view_regular;
|
||||
static GdkImlibImage *icon_view_core;
|
||||
static GdkImlibImage *icon_view_sock;
|
||||
static GdkImlibImage *icon_view_fifo;
|
||||
static GdkImlibImage *icon_view_char_dev;
|
||||
static GdkImlibImage *icon_view_block_dev;
|
||||
static GdkImlibImage *icon_view_stalled;
|
||||
|
@ -66,6 +67,7 @@ gicon_init (void)
|
|||
icon_view_regular = gicon_stock_load ("i-regular.png");
|
||||
icon_view_core = gicon_stock_load ("i-core.png");
|
||||
icon_view_sock = gicon_stock_load ("i-sock.png");
|
||||
icon_view_fifo = gicon_stock_load ("i-fifo.png");
|
||||
icon_view_char_dev = gicon_stock_load ("i-chardev.png");
|
||||
icon_view_block_dev = gicon_stock_load ("i-blockdev.png");
|
||||
icon_view_stalled = gicon_stock_load ("i-stalled.png");
|
||||
|
@ -77,6 +79,7 @@ gicon_init (void)
|
|||
icon_view_regular == NULL ||
|
||||
icon_view_core == NULL ||
|
||||
icon_view_sock == NULL ||
|
||||
icon_view_fifo == NULL ||
|
||||
icon_view_char_dev == NULL ||
|
||||
icon_view_block_dev == NULL ||
|
||||
icon_view_stalled == NULL){
|
||||
|
@ -155,7 +158,7 @@ gnome_file_entry_color (file_entry *fe)
|
|||
return icon_view_block_dev;
|
||||
|
||||
if (S_ISFIFO (mode))
|
||||
return icon_view_sock;
|
||||
return icon_view_fifo;
|
||||
|
||||
if (is_exe (mode))
|
||||
return icon_view_executable;
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
BIN
gnome/i-sock.png
BIN
gnome/i-sock.png
Binary file not shown.
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.1 KiB |
Loading…
Reference in New Issue