1999-02-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
* new_icons/Makefile.in (ALLICONS): Added Tigert's new icons for PS and EPS files. Thanks, Tigert! 1999-02-12 Federico Mena Quintero <federico@nuclecu.unam.mx> * mc.metadata.in: Added a regexp for EPS files. * mc.keys.in.in: Use Tigert's new icon for Postscript files. Possible FIXME: are there different MIME types for PS and EPS files?
Этот коммит содержится в:
родитель
2bdb98051d
Коммит
3b6b98dc2f
@ -1,3 +1,8 @@
|
||||
1999-02-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* new_icons/Makefile.in (ALLICONS): Added Tigert's new icons for
|
||||
PS and EPS files. Thanks, Tigert!
|
||||
|
||||
1999-02-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* configure.in (CCOPTS): Drop the prefix auto-detection.
|
||||
|
@ -1,3 +1,11 @@
|
||||
1999-02-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* mc.metadata.in: Added a regexp for EPS files.
|
||||
|
||||
* mc.keys.in.in: Use Tigert's new icon for Postscript files.
|
||||
Possible FIXME: are there different MIME types for PS and EPS
|
||||
files?
|
||||
|
||||
1999-02-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gdesktop-icon.c (set_icon): Do not destroy the image if it is
|
||||
|
@ -36,7 +36,8 @@ enum {
|
||||
F_NOTDIR = 1 << 4, /* Applies to non-directories */
|
||||
F_DICON = 1 << 5, /* Applies only to desktop icons */
|
||||
F_NOTDEV = 1 << 6, /* Applies to non-devices only (ie. reg, lnk, dir) */
|
||||
F_ADVANCED = 1 << 7 /* Only appears in advanced mode */
|
||||
F_ADVANCED = 1 << 7, /* Only appears in advanced mode */
|
||||
F_ACTIONS = 1 << 8 /* Special marker for the position of MIME actions */
|
||||
};
|
||||
|
||||
/* typedefs */
|
||||
@ -47,7 +48,6 @@ struct action {
|
||||
};
|
||||
|
||||
/* Multiple File commands */
|
||||
static void panel_action_open_with (GtkWidget *widget, WPanel *panel);
|
||||
static void handle_open (GtkWidget *widget, WPanel *panel);
|
||||
static void handle_view (GtkWidget *widget, WPanel *panel);
|
||||
static void handle_view_unfiltered (GtkWidget *widget, WPanel *panel);
|
||||
@ -75,9 +75,10 @@ extern int we_can_afford_the_speed;
|
||||
static struct action file_actions[] = {
|
||||
{ N_("Open"), F_NOTDEV, handle_open },
|
||||
{ "", F_NOTDEV, NULL },
|
||||
{ "", F_ACTIONS, NULL },
|
||||
{ N_("Open with..."), F_REGULAR | F_SINGLE, handle_open_with },
|
||||
{ N_("View"), F_REGULAR | F_SINGLE, handle_view },
|
||||
{ N_("View Unfiltered"), F_REGULAR | F_ADVANCED | F_SINGLE, handle_view_unfiltered },
|
||||
{ N_("View Unfiltered"), F_REGULAR | F_ADVANCED | F_SINGLE, handle_view_unfiltered },
|
||||
{ N_("Edit"), F_REGULAR | F_SINGLE, handle_edit },
|
||||
{ "", F_REGULAR | F_SINGLE, NULL },
|
||||
{ N_("Copy..."), F_ALL, handle_copy },
|
||||
@ -308,28 +309,13 @@ gpopup_do_popup2 (GdkEventButton *event, WPanel *panel)
|
||||
return i;
|
||||
}
|
||||
|
||||
static void
|
||||
panel_action_open_with (GtkWidget *widget, WPanel *panel)
|
||||
{
|
||||
char *command;
|
||||
|
||||
command = input_expand_dialog (_(" Open with..."),
|
||||
_("Enter extra arguments:"),
|
||||
panel->dir.list [panel->selected].fname);
|
||||
if (!command)
|
||||
return;
|
||||
|
||||
execute (command);
|
||||
g_free (command);
|
||||
}
|
||||
|
||||
static void
|
||||
handle_open (GtkWidget *widget, WPanel *panel)
|
||||
{
|
||||
if (do_enter (panel))
|
||||
return;
|
||||
|
||||
panel_action_open_with (widget, panel);
|
||||
handle_open_with (widget, panel);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -373,14 +359,13 @@ static void
|
||||
handle_properties (GtkWidget *widget, WPanel *panel)
|
||||
{
|
||||
gint retval;
|
||||
file_entry *fe = &panel->dir.list [panel->selected];
|
||||
char *full_name = concat_dir_and_file (panel->cwd, fe->fname);
|
||||
file_entry *fe;
|
||||
char *full_name;
|
||||
GtkWidget *dlg;
|
||||
|
||||
#if 0
|
||||
if (item_properties (GTK_WIDGET (CLIST_FROM_SW (panel->list)), full_name, NULL) != 0)
|
||||
reread_cmd ();
|
||||
#endif
|
||||
fe = &panel->dir.list [panel->selected];
|
||||
full_name = concat_dir_and_file (panel->cwd, fe->fname);
|
||||
|
||||
dlg = gnome_file_property_dialog_new (full_name, we_can_afford_the_speed);
|
||||
gnome_dialog_set_parent (GNOME_DIALOG (dlg),
|
||||
GTK_WINDOW (gtk_widget_get_toplevel (panel->ministatus)));
|
||||
@ -399,7 +384,7 @@ handle_open_with (GtkWidget *widget, WPanel *panel)
|
||||
{
|
||||
char *command;
|
||||
|
||||
command = input_expand_dialog (_(" Open with..."),
|
||||
command = input_expand_dialog (_("Open with"),
|
||||
_("Enter extra arguments:"),
|
||||
panel->dir.list [panel->selected].fname);
|
||||
if (!command)
|
||||
@ -428,29 +413,8 @@ handle_edit_symlink (GtkWidget *widget, WPanel *panel)
|
||||
edit_symlink_cmd ();
|
||||
}
|
||||
|
||||
static void
|
||||
handle_display_properties (GtkWidget *widget, WPanel *panel)
|
||||
{
|
||||
/* FIXME */
|
||||
g_warning ("FIXME: implement popup_handle_display_properties()");
|
||||
}
|
||||
|
||||
static void
|
||||
handle_rescan (GtkWidget *widget, WPanel *panel)
|
||||
{
|
||||
reread_cmd ();
|
||||
}
|
||||
|
||||
static void
|
||||
handle_arrange_icons (GtkWidget *widget, WPanel *panel)
|
||||
{
|
||||
/* FIXME */
|
||||
g_warning ("FIXME: implement popup_handle_arrange_icons()");
|
||||
}
|
||||
|
||||
static void
|
||||
handle_logout (GtkWidget *widget, WPanel *panel)
|
||||
{
|
||||
/* FIXME */
|
||||
g_warning ("FIXME: implement popup_handle_logout()");
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ application/x-tex:
|
||||
|
||||
application/postscript:
|
||||
open=gv %f
|
||||
icon-filename=@icondir@/postscript.xpm
|
||||
icon-filename=@icondir@/gnome-application-postscript.png
|
||||
|
||||
application/x-object-file:
|
||||
icon-filename=@icondir@/o.xpm
|
||||
|
@ -77,6 +77,7 @@ regex: \.m(es)$
|
||||
icon-filename=@icondir@/man.xpm
|
||||
|
||||
regex: \.ps$
|
||||
icon-filename=@icondir@/postscript.xpm
|
||||
icon-filename=@icondir@/gnome-application-postscript.png
|
||||
|
||||
|
||||
regex: \.eps$
|
||||
icon-filename=@icondir@/gnome-application-encapsulated-postscript.png
|
||||
|
@ -13,37 +13,39 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
#
|
||||
|
||||
DISTICONS = Makefile.in $(ALLICONS)
|
||||
ALLICONS = \
|
||||
gnome-image-bmp.png \
|
||||
gnome-image-generic.png \
|
||||
gnome-image-gif.png \
|
||||
gnome-image-ief.png \
|
||||
gnome-image-jpeg.png \
|
||||
gnome-image-pbm.png \
|
||||
gnome-image-pgm.png \
|
||||
gnome-image-png.png \
|
||||
gnome-image-pnm.png \
|
||||
gnome-image-ppm.png \
|
||||
gnome-image-ras.png \
|
||||
gnome-image-rgb.png \
|
||||
gnome-image-tga.png \
|
||||
gnome-image-tiff.png \
|
||||
gnome-image-xbm.png \
|
||||
gnome-image-xpm.png \
|
||||
gnome-image-xwd.png \
|
||||
gnome-pack-deb.png \
|
||||
gnome-pack-rpm.png \
|
||||
gnome-video-mpeg.png \
|
||||
gnome-video-quicktime.png \
|
||||
gnome-video-x-msvideo.png \
|
||||
gnome-text-html.png \
|
||||
gnome-http-url.png \
|
||||
gnome-image-generic.png \
|
||||
gnome-application-x-c-header.png \
|
||||
gnome-application-x-c-source.png \
|
||||
gnome-application-x-cc-source.png \
|
||||
gnome-package.png \
|
||||
gnome-compressed.png \
|
||||
ALLICONS = \
|
||||
gnome-image-bmp.png \
|
||||
gnome-image-generic.png \
|
||||
gnome-image-gif.png \
|
||||
gnome-image-ief.png \
|
||||
gnome-image-jpeg.png \
|
||||
gnome-image-pbm.png \
|
||||
gnome-image-pgm.png \
|
||||
gnome-image-png.png \
|
||||
gnome-image-pnm.png \
|
||||
gnome-image-ppm.png \
|
||||
gnome-image-ras.png \
|
||||
gnome-image-rgb.png \
|
||||
gnome-image-tga.png \
|
||||
gnome-image-tiff.png \
|
||||
gnome-image-xbm.png \
|
||||
gnome-image-xpm.png \
|
||||
gnome-image-xwd.png \
|
||||
gnome-pack-deb.png \
|
||||
gnome-pack-rpm.png \
|
||||
gnome-video-mpeg.png \
|
||||
gnome-video-quicktime.png \
|
||||
gnome-video-x-msvideo.png \
|
||||
gnome-text-html.png \
|
||||
gnome-http-url.png \
|
||||
gnome-image-generic.png \
|
||||
gnome-application-encapsulated_postscript.png \
|
||||
gnome-application-postscript.png \
|
||||
gnome-application-x-c-header.png \
|
||||
gnome-application-x-c-source.png \
|
||||
gnome-application-x-cc-source.png \
|
||||
gnome-package.png \
|
||||
gnome-compressed.png \
|
||||
gnome-core.png
|
||||
|
||||
all:
|
||||
|
Двоичные данные
new_icons/gnome-application-encapsulated_postscript.png
Обычный файл
Двоичные данные
new_icons/gnome-application-encapsulated_postscript.png
Обычный файл
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 1.8 KiB |
Двоичные данные
new_icons/gnome-application-postscript.png
Обычный файл
Двоичные данные
new_icons/gnome-application-postscript.png
Обычный файл
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 1.8 KiB |
Загрузка…
x
Ссылка в новой задаче
Block a user