1998-05-21 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gscreen.c (load_dnd_icons): Remove the code and the icons that we had here privately. Use new gnome-stock functionality instead.
Этот коммит содержится в:
родитель
3c06d7ee5e
Коммит
f7851d17c2
@ -1,3 +1,9 @@
|
|||||||
|
1998-05-21 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* gscreen.c (load_dnd_icons): Remove the code and the icons that
|
||||||
|
we had here privately. Use new gnome-stock functionality
|
||||||
|
instead.
|
||||||
|
|
||||||
1998-05-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
1998-05-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
* gscreen.c (panel_drag_request): All of the drag_request code is
|
* gscreen.c (panel_drag_request): All of the drag_request code is
|
||||||
|
@ -51,12 +51,7 @@ GNOMEHDRS = \
|
|||||||
gblist.h
|
gblist.h
|
||||||
|
|
||||||
ICONS = \
|
ICONS = \
|
||||||
$(srcdir)/directory-ok.xpm \
|
|
||||||
$(srcdir)/directory.xpm \
|
$(srcdir)/directory.xpm \
|
||||||
$(srcdir)/multi.xpm \
|
|
||||||
$(srcdir)/multi-ok.png \
|
|
||||||
$(srcdir)/not.png \
|
|
||||||
$(srcdir)/multi-ok.xpm \
|
|
||||||
$(srcdir)/i-directory.png \
|
$(srcdir)/i-directory.png \
|
||||||
$(srcdir)/i-executable.png \
|
$(srcdir)/i-executable.png \
|
||||||
$(srcdir)/i-symlink.png \
|
$(srcdir)/i-symlink.png \
|
||||||
|
@ -1077,16 +1077,16 @@ load_dnd_icons (void)
|
|||||||
GdkPoint hotspot = { 5, 5 };
|
GdkPoint hotspot = { 5, 5 };
|
||||||
|
|
||||||
if (!drag_directory)
|
if (!drag_directory)
|
||||||
drag_directory = load_transparent_image ("not.png");
|
drag_directory = gnome_stock_transparent_window (GNOME_STOCK_PIXMAP_NOT, NULL);
|
||||||
|
|
||||||
if (!drag_directory_ok)
|
if (!drag_directory_ok)
|
||||||
drag_directory_ok = load_transparent_image ("directory.xpm");
|
drag_directory_ok = gnome_stock_transparent_window (GNOME_STOCK_PIXMAP_NEW, NULL);
|
||||||
|
|
||||||
if (!drag_multiple)
|
if (!drag_multiple)
|
||||||
drag_multiple = load_transparent_image ("not.png");
|
drag_multiple = gnome_stock_transparent_window (GNOME_STOCK_PIXMAP_NOT, NULL);
|
||||||
|
|
||||||
if (!drag_multiple_ok)
|
if (!drag_multiple_ok)
|
||||||
drag_multiple_ok = load_transparent_image ("multi-ok.png");
|
drag_multiple_ok = gnome_stock_transparent_window (GNOME_STOCK_PIXMAP_MULTIPLE, NULL);
|
||||||
|
|
||||||
if (drag_directory && drag_directory_ok)
|
if (drag_directory && drag_directory_ok)
|
||||||
gdk_dnd_set_drag_shape (drag_directory->window, &hotspot,
|
gdk_dnd_set_drag_shape (drag_directory->window, &hotspot,
|
||||||
|
@ -262,3 +262,4 @@ make_transparent_window (char *file)
|
|||||||
|
|
||||||
return window;
|
return window;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user