summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2004-01-04 15:45:56 +0000
committerHans Breuer <hans@src.gnome.org>2004-01-04 15:45:56 +0000
commit5f987629513d5f89f3f2459f3a23d62b548a4b9f (patch)
tree1b55d8b8a3c7f075e791b4c518636416639618b5
parent4c2c3d36ae1f443f0e16c36761961161f15ba07c (diff)
downloadgtk+-5f987629513d5f89f3f2459f3a23d62b548a4b9f.tar.gz
use SWP_NOACTIVATE in gdk_window_set_keep_(above|below) to make DND work
2004-01-04 Hans Breuer <hans@breuer.org> * gdk/win32/gdkwindow-win32.c : use SWP_NOACTIVATE in gdk_window_set_keep_(above|below) to make DND work again. Thanks to Alif Wahid for noticing. * gdk/gdk.def : update externals * gtk/gtkfilesystemwin32.c : adapt to GtkFileSystemIFace changes * gtk/gtk-stock.[hc] gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am gtk/stock-icons/makefile.msc : gtk/stock-icons/stock_harddisk_16.png gtk/stock-icons/stock_harddisk_24.png Harddisk stock icons for file system implementations. Beside FLOPPY and CDROM there is now HARDDISK, probably some GTK_STOCK_NETWORK would be useful, but I could not find one.
-rw-r--r--ChangeLog18
-rw-r--r--ChangeLog.pre-2-1018
-rw-r--r--ChangeLog.pre-2-418
-rw-r--r--ChangeLog.pre-2-618
-rw-r--r--ChangeLog.pre-2-818
-rw-r--r--gdk/gdk.def1
-rw-r--r--gdk/win32/gdkwindow-win32.c4
-rw-r--r--gtk/gtkfilesystemwin32.c200
-rw-r--r--gtk/gtkiconfactory.c4
-rw-r--r--gtk/gtkstock.c1
-rw-r--r--gtk/gtkstock.h1
-rw-r--r--gtk/stock-icons/Makefile.am4
-rw-r--r--gtk/stock-icons/makefile.msc2
-rw-r--r--gtk/stock-icons/stock_harddisk_16.pngbin0 -> 682 bytes
-rw-r--r--gtk/stock-icons/stock_harddisk_24.pngbin0 -> 1278 bytes
15 files changed, 269 insertions, 38 deletions
diff --git a/ChangeLog b/ChangeLog
index fe51060b05..79c8b289b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2004-01-04 Hans Breuer <hans@breuer.org>
+
+ * gdk/win32/gdkwindow-win32.c : use SWP_NOACTIVATE in
+ gdk_window_set_keep_(above|below) to make DND work again.
+ Thanks to Alif Wahid for noticing.
+
+ * gdk/gdk.def : update externals
+
+ * gtk/gtkfilesystemwin32.c : adapt to GtkFileSystemIFace changes
+
+ * gtk/gtk-stock.[hc] gtk/gtkiconfactory.c
+ gtk/stock-icons/Makefile.am gtk/stock-icons/makefile.msc :
+ gtk/stock-icons/stock_harddisk_16.png
+ gtk/stock-icons/stock_harddisk_24.png
+ Harddisk stock icons for file system implementations. Beside
+ FLOPPY and CDROM there is now HARDDISK, probably some
+ GTK_STOCK_NETWORK would be useful, but I could not find one.
+
Sat Jan 3 11:39:42 2004 Manish Singh <yosh@gimp.org>
* gtk/gtkclipboard.c: Update freedesktop.org clipboard doc link.
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index fe51060b05..79c8b289b4 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,21 @@
+2004-01-04 Hans Breuer <hans@breuer.org>
+
+ * gdk/win32/gdkwindow-win32.c : use SWP_NOACTIVATE in
+ gdk_window_set_keep_(above|below) to make DND work again.
+ Thanks to Alif Wahid for noticing.
+
+ * gdk/gdk.def : update externals
+
+ * gtk/gtkfilesystemwin32.c : adapt to GtkFileSystemIFace changes
+
+ * gtk/gtk-stock.[hc] gtk/gtkiconfactory.c
+ gtk/stock-icons/Makefile.am gtk/stock-icons/makefile.msc :
+ gtk/stock-icons/stock_harddisk_16.png
+ gtk/stock-icons/stock_harddisk_24.png
+ Harddisk stock icons for file system implementations. Beside
+ FLOPPY and CDROM there is now HARDDISK, probably some
+ GTK_STOCK_NETWORK would be useful, but I could not find one.
+
Sat Jan 3 11:39:42 2004 Manish Singh <yosh@gimp.org>
* gtk/gtkclipboard.c: Update freedesktop.org clipboard doc link.
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index fe51060b05..79c8b289b4 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,21 @@
+2004-01-04 Hans Breuer <hans@breuer.org>
+
+ * gdk/win32/gdkwindow-win32.c : use SWP_NOACTIVATE in
+ gdk_window_set_keep_(above|below) to make DND work again.
+ Thanks to Alif Wahid for noticing.
+
+ * gdk/gdk.def : update externals
+
+ * gtk/gtkfilesystemwin32.c : adapt to GtkFileSystemIFace changes
+
+ * gtk/gtk-stock.[hc] gtk/gtkiconfactory.c
+ gtk/stock-icons/Makefile.am gtk/stock-icons/makefile.msc :
+ gtk/stock-icons/stock_harddisk_16.png
+ gtk/stock-icons/stock_harddisk_24.png
+ Harddisk stock icons for file system implementations. Beside
+ FLOPPY and CDROM there is now HARDDISK, probably some
+ GTK_STOCK_NETWORK would be useful, but I could not find one.
+
Sat Jan 3 11:39:42 2004 Manish Singh <yosh@gimp.org>
* gtk/gtkclipboard.c: Update freedesktop.org clipboard doc link.
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index fe51060b05..79c8b289b4 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,21 @@
+2004-01-04 Hans Breuer <hans@breuer.org>
+
+ * gdk/win32/gdkwindow-win32.c : use SWP_NOACTIVATE in
+ gdk_window_set_keep_(above|below) to make DND work again.
+ Thanks to Alif Wahid for noticing.
+
+ * gdk/gdk.def : update externals
+
+ * gtk/gtkfilesystemwin32.c : adapt to GtkFileSystemIFace changes
+
+ * gtk/gtk-stock.[hc] gtk/gtkiconfactory.c
+ gtk/stock-icons/Makefile.am gtk/stock-icons/makefile.msc :
+ gtk/stock-icons/stock_harddisk_16.png
+ gtk/stock-icons/stock_harddisk_24.png
+ Harddisk stock icons for file system implementations. Beside
+ FLOPPY and CDROM there is now HARDDISK, probably some
+ GTK_STOCK_NETWORK would be useful, but I could not find one.
+
Sat Jan 3 11:39:42 2004 Manish Singh <yosh@gimp.org>
* gtk/gtkclipboard.c: Update freedesktop.org clipboard doc link.
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index fe51060b05..79c8b289b4 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,21 @@
+2004-01-04 Hans Breuer <hans@breuer.org>
+
+ * gdk/win32/gdkwindow-win32.c : use SWP_NOACTIVATE in
+ gdk_window_set_keep_(above|below) to make DND work again.
+ Thanks to Alif Wahid for noticing.
+
+ * gdk/gdk.def : update externals
+
+ * gtk/gtkfilesystemwin32.c : adapt to GtkFileSystemIFace changes
+
+ * gtk/gtk-stock.[hc] gtk/gtkiconfactory.c
+ gtk/stock-icons/Makefile.am gtk/stock-icons/makefile.msc :
+ gtk/stock-icons/stock_harddisk_16.png
+ gtk/stock-icons/stock_harddisk_24.png
+ Harddisk stock icons for file system implementations. Beside
+ FLOPPY and CDROM there is now HARDDISK, probably some
+ GTK_STOCK_NETWORK would be useful, but I could not find one.
+
Sat Jan 3 11:39:42 2004 Manish Singh <yosh@gimp.org>
* gtk/gtkclipboard.c: Update freedesktop.org clipboard doc link.
diff --git a/gdk/gdk.def b/gdk/gdk.def
index a0739746cb..edc8be5bec 100644
--- a/gdk/gdk.def
+++ b/gdk/gdk.def
@@ -84,6 +84,7 @@ EXPORTS
gdk_display_pointer_is_grabbed
gdk_display_pointer_ungrab
gdk_display_put_event
+ gdk_display_set_double_click_distance
gdk_display_set_double_click_time
gdk_display_set_pointer_hooks
gdk_display_sync
diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c
index c45bbce875..0afe387950 100644
--- a/gdk/win32/gdkwindow-win32.c
+++ b/gdk/win32/gdkwindow-win32.c
@@ -2951,7 +2951,7 @@ gdk_window_set_keep_above (GdkWindow *window, gboolean setting)
if (GDK_WINDOW_IS_MAPPED (window))
{
if (!SetWindowPos(GDK_WINDOW_HWND (window), setting ? HWND_TOPMOST : HWND_NOTOPMOST,
- 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE))
+ 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE))
WIN32_API_FAILED ("SetWindowPos");
}
else
@@ -2971,7 +2971,7 @@ gdk_window_set_keep_below (GdkWindow *window, gboolean setting)
if (GDK_WINDOW_IS_MAPPED (window))
{
if (!SetWindowPos(GDK_WINDOW_HWND (window), setting ? HWND_BOTTOM : HWND_NOTOPMOST,
- 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE))
+ 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE))
WIN32_API_FAILED ("SetWindowPos");
}
else
diff --git a/gtk/gtkfilesystemwin32.c b/gtk/gtkfilesystemwin32.c
index f233ffeb8a..416cbd8eac 100644
--- a/gtk/gtkfilesystemwin32.c
+++ b/gtk/gtkfilesystemwin32.c
@@ -87,6 +87,8 @@ static void gtk_file_system_win32_class_init (GtkFileSystemWin32
static void gtk_file_system_win32_iface_init (GtkFileSystemIface *iface);
static void gtk_file_system_win32_init (GtkFileSystemWin32 *impl);
static void gtk_file_system_win32_finalize (GObject *object);
+
+static GSList * gtk_file_system_win32_list_volumes (GtkFileSystem *file_system);
static GSList * gtk_file_system_win32_list_roots (GtkFileSystem *file_system);
static GtkFileInfo * gtk_file_system_win32_get_root_info (GtkFileSystem *file_system,
const GtkFilePath *path,
@@ -99,6 +101,24 @@ static GtkFileFolder *gtk_file_system_win32_get_folder (GtkFileSystem
static gboolean gtk_file_system_win32_create_folder (GtkFileSystem *file_system,
const GtkFilePath *path,
GError **error);
+
+static void gtk_file_system_win32_volume_free (GtkFileSystem *file_system,
+ GtkFileSystemVolume *volume);
+static GtkFilePath *gtk_file_system_win32_volume_get_base_path (GtkFileSystem *file_system,
+ GtkFileSystemVolume *volume);
+static gboolean gtk_file_system_win32_volume_get_is_mounted (GtkFileSystem *file_system,
+ GtkFileSystemVolume *volume);
+static gboolean gtk_file_system_win32_volume_mount (GtkFileSystem *file_system,
+ GtkFileSystemVolume *volume,
+ GError **error);
+static gchar * gtk_file_system_win32_volume_get_display_name (GtkFileSystem *file_system,
+ GtkFileSystemVolume *volume);
+static GdkPixbuf * gtk_file_system_win32_volume_render_icon (GtkFileSystem *file_system,
+ GtkFileSystemVolume *volume,
+ GtkWidget *widget,
+ gint pixel_size,
+ GError **error);
+
static gboolean gtk_file_system_win32_get_parent (GtkFileSystem *file_system,
const GtkFilePath *path,
GtkFilePath **parent,
@@ -145,13 +165,21 @@ static GtkFileInfo * gtk_file_folder_win32_get_info (GtkFileFolder
static gboolean gtk_file_folder_win32_list_children (GtkFileFolder *folder,
GSList **children,
GError **error);
+
static gchar * filename_from_path (const GtkFilePath *path);
static GtkFilePath * filename_to_path (const gchar *filename);
+
static gboolean filename_is_root (const char *filename);
static GtkFileInfo * filename_get_info (const gchar *filename,
GtkFileInfoType types,
GError **error);
+/* some info kept together for volumes */
+struct _GtkFileSystemVolume
+{
+ gchar *drive;
+ gboolean is_mounted;
+};
/*
* GtkFileSystemWin32
@@ -222,10 +250,17 @@ gtk_file_system_win32_class_init (GtkFileSystemWin32Class *class)
static void
gtk_file_system_win32_iface_init (GtkFileSystemIface *iface)
{
+ iface->list_volumes = gtk_file_system_win32_list_volumes;
iface->list_roots = gtk_file_system_win32_list_roots;
iface->get_folder = gtk_file_system_win32_get_folder;
iface->get_root_info = gtk_file_system_win32_get_root_info;
iface->create_folder = gtk_file_system_win32_create_folder;
+ iface->volume_free = gtk_file_system_win32_volume_free;
+ iface->volume_get_base_path = gtk_file_system_win32_volume_get_base_path;
+ iface->volume_get_is_mounted = gtk_file_system_win32_volume_get_is_mounted;
+ iface->volume_mount = gtk_file_system_win32_volume_mount;
+ iface->volume_get_display_name = gtk_file_system_win32_volume_get_display_name;
+ iface->volume_render_icon = gtk_file_system_win32_volume_render_icon;
iface->get_parent = gtk_file_system_win32_get_parent;
iface->make_path = gtk_file_system_win32_make_path;
iface->parse = gtk_file_system_win32_parse;
@@ -251,7 +286,7 @@ gtk_file_system_win32_finalize (GObject *object)
}
static GSList *
-gtk_file_system_win32_list_roots (GtkFileSystem *file_system)
+gtk_file_system_win32_list_volumes (GtkFileSystem *file_system)
{
gchar drives[26*4];
guint len;
@@ -266,20 +301,43 @@ gtk_file_system_win32_list_roots (GtkFileSystem *file_system)
p = drives;
while ((len = strlen(p)) != 0)
{
- /* skip floppy */
- if (p[0] != 'a' && p[0] != 'b')
- {
- /*FIXME: gtk_file_path_compare() is case sensitive, we are not*/
- p[0] = toupper (p[0]);
- /* needed without the backslash */
- p[2] = '\0';
- list = g_slist_append (list, gtk_file_path_new_dup (p));
- }
- p += len + 1;
+ GtkFileSystemVolume *vol = g_new0 (GtkFileSystemVolume, 1);
+ if (p[0] == 'a' || p[0] == 'b')
+ vol->is_mounted = FALSE; /* skip floppy */
+ else
+ vol->is_mounted = TRUE;
+
+ /*FIXME: gtk_file_path_compare() is case sensitive, we are not*/
+ p[0] = toupper (p[0]);
+ vol->drive = g_strdup (p);
+
+ list = g_slist_append (list, vol);
+
+ p += len + 1;
}
return list;
}
+/* to be removed */
+static GSList *
+gtk_file_system_win32_list_roots (GtkFileSystem *file_system)
+{
+ GSList *volumes, *v;
+ GSList *list = NULL;
+
+ volumes = gtk_file_system_win32_list_volumes (file_system);
+
+ for (v = volumes; v; v = v->next)
+ {
+ GtkFileSystemVolume *vol = v->data;
+
+ if (vol->is_mounted)
+ list = g_slist_append (list, g_strndup (vol->drive, 2));
+ }
+
+ return list;
+}
+
static GtkFileInfo *
gtk_file_system_win32_get_root_info (GtkFileSystem *file_system,
const GtkFilePath *path,
@@ -314,30 +372,6 @@ gtk_file_system_win32_get_root_info (GtkFileSystem *file_system,
gtk_file_info_set_display_name (info, filename);
}
-#if 0 /* it's dead in GtkFileSystemUnix.c, too */
- if (GTK_FILE_INFO_ICON & types)
- {
- switch (dt)
- {
- case DRIVE_REMOVABLE :
- /*gtk_file_info_set_icon_type (info, GTK_STOCK_FLOPPY);*/
- break;
- case DRIVE_CDROM :
- /*gtk_file_info_set_icon_type (info, GTK_STOCK_CDROM);*/
- break;
- case DRIVE_REMOTE :
- /*FIXME: need a network stock icon*/
- case DRIVE_FIXED :
- /*FIXME: need a hard disk stock icon*/
- case DRIVE_RAMDISK :
- /*FIXME: need a ram stock icon
- gtk_file_info_set_icon_type (info, GTK_STOCK_OPEN);*/
- break;
- default :
- g_assert_not_reached ();
- }
- }
-#endif
g_free (filename);
return info;
}
@@ -391,6 +425,100 @@ gtk_file_system_win32_create_folder (GtkFileSystem *file_system,
return result;
}
+static void
+gtk_file_system_win32_volume_free (GtkFileSystem *file_system,
+ GtkFileSystemVolume *volume)
+{
+ g_free (volume->drive);
+ g_free (volume);
+}
+
+static GtkFilePath *
+gtk_file_system_win32_volume_get_base_path (GtkFileSystem *file_system,
+ GtkFileSystemVolume *volume)
+{
+ return (GtkFilePath *) g_strndup (volume->drive, 2);
+}
+
+static gboolean
+gtk_file_system_win32_volume_get_is_mounted (GtkFileSystem *file_system,
+ GtkFileSystemVolume *volume)
+{
+ return volume->is_mounted;
+}
+
+static gboolean
+gtk_file_system_win32_volume_mount (GtkFileSystem *file_system,
+ GtkFileSystemVolume *volume,
+ GError **error)
+{
+ g_set_error (error,
+ GTK_FILE_SYSTEM_ERROR,
+ GTK_FILE_SYSTEM_ERROR_FAILED,
+ _("This file system does not support mounting"));
+ return FALSE;
+}
+
+static gchar *
+gtk_file_system_win32_volume_get_display_name (GtkFileSystem *file_system,
+ GtkFileSystemVolume *volume)
+{
+ gchar display_name[80];
+
+ if (GetVolumeInformation (volume->drive,
+ display_name, sizeof(display_name),
+ NULL, /* serial number */
+ NULL, /* max. component length */
+ NULL, /* fs flags */
+ NULL, 0)) /* fs type like FAT, NTFS */
+ {
+ gchar* real_display_name = g_strconcat (display_name, " (", volume->drive, ")", NULL);
+
+ return real_display_name;
+ }
+ else
+ return g_strdup (volume->drive);
+}
+
+static GdkPixbuf *
+gtk_file_system_win32_volume_render_icon (GtkFileSystem *file_system,
+ GtkFileSystemVolume *volume,
+ GtkWidget *widget,
+ gint pixel_size,
+ GError **error)
+{
+ GtkIconSet *icon_set = NULL;
+ DWORD dt = GetDriveType (volume->drive);
+
+ switch (dt)
+ {
+ case DRIVE_REMOVABLE :
+ icon_set = gtk_style_lookup_icon_set (widget->style, GTK_STOCK_FLOPPY);
+ break;
+ case DRIVE_CDROM :
+ icon_set = gtk_style_lookup_icon_set (widget->style, GTK_STOCK_CDROM);
+ break;
+ case DRIVE_REMOTE :
+ /*FIXME: need a network stock icon*/
+ case DRIVE_FIXED :
+ icon_set = gtk_style_lookup_icon_set (widget->style, GTK_STOCK_HARDDISK);
+ break;
+ case DRIVE_RAMDISK :
+ /*FIXME: need a ram stock icon
+ gtk_file_info_set_icon_type (info, GTK_STOCK_OPEN);*/
+ break;
+ default :
+ g_assert_not_reached ();
+ }
+
+ return gtk_icon_set_render_icon (icon_set,
+ widget->style,
+ gtk_widget_get_direction (widget),
+ GTK_STATE_NORMAL,
+ GTK_ICON_SIZE_BUTTON,
+ widget, NULL);
+}
+
static gboolean
gtk_file_system_win32_get_parent (GtkFileSystem *file_system,
const GtkFilePath *path,
@@ -816,7 +944,7 @@ gtk_file_system_win32_render_icon (GtkFileSystem *file_system,
icon_set = gtk_style_lookup_icon_set (widget->style, GTK_STOCK_CDROM);
break;
case DRIVE_FIXED : /* need a hard disk icon */
- icon_set = gtk_style_lookup_icon_set (widget->style, GTK_STOCK_CDROM);
+ icon_set = gtk_style_lookup_icon_set (widget->style, GTK_STOCK_HARDDISK);
break;
default :
break;
diff --git a/gtk/gtkiconfactory.c b/gtk/gtkiconfactory.c
index 75e74ac121..504ce81350 100644
--- a/gtk/gtkiconfactory.c
+++ b/gtk/gtkiconfactory.c
@@ -534,6 +534,10 @@ get_default_icons (GtkIconFactory *factory)
16, stock_font_16,
24, stock_font_24);
+ add_icon2 (factory, GTK_STOCK_HARDDISK,
+ 16, stock_harddisk_16,
+ 24, stock_harddisk_24);
+
add_icon2 (factory, GTK_STOCK_HELP,
16, stock_help_16,
24, stock_help_24);
diff --git a/gtk/gtkstock.c b/gtk/gtkstock.c
index 5f2f528a49..cd5caed17a 100644
--- a/gtk/gtkstock.c
+++ b/gtk/gtkstock.c
@@ -295,6 +295,7 @@ static const GtkStockItem builtin_items [] =
{ GTK_STOCK_GO_DOWN, N_("_Down"), 0, 0, GETTEXT_PACKAGE },
{ GTK_STOCK_GO_FORWARD, N_("_Forward"), 0, 0, GETTEXT_PACKAGE },
{ GTK_STOCK_GO_UP, N_("_Up"), 0, 0, GETTEXT_PACKAGE },
+ { GTK_STOCK_HARDDISK, N_("_Harddisk"), 0, 0, GETTEXT_PACKAGE },
{ GTK_STOCK_HELP, N_("_Help"), GDK_CONTROL_MASK, 'h', GETTEXT_PACKAGE },
{ GTK_STOCK_HOME, N_("_Home"), 0, 0, GETTEXT_PACKAGE },
{ GTK_STOCK_INDEX, N_("_Index"), 0, 0, GETTEXT_PACKAGE },
diff --git a/gtk/gtkstock.h b/gtk/gtkstock.h
index 3af41b0574..9985a18b73 100644
--- a/gtk/gtkstock.h
+++ b/gtk/gtkstock.h
@@ -96,6 +96,7 @@ void gtk_stock_item_free (GtkStockItem *item);
#define GTK_STOCK_GO_DOWN "gtk-go-down"
#define GTK_STOCK_GO_FORWARD "gtk-go-forward"
#define GTK_STOCK_GO_UP "gtk-go-up"
+#define GTK_STOCK_HARDDISK "gtk-harddisk"
#define GTK_STOCK_HELP "gtk-help"
#define GTK_STOCK_HOME "gtk-home"
#define GTK_STOCK_INDEX "gtk-index"
diff --git a/gtk/stock-icons/Makefile.am b/gtk/stock-icons/Makefile.am
index 94e0b8e6eb..68aca14ad4 100644
--- a/gtk/stock-icons/Makefile.am
+++ b/gtk/stock-icons/Makefile.am
@@ -45,6 +45,8 @@ IMAGES = \
stock_first_24.png \
stock_font_16.png \
stock_font_24.png \
+ stock_harddisk_16.png \
+ stock_harddisk_24.png \
stock_help_16.png \
stock_help_24.png \
stock_home_16.png \
@@ -181,6 +183,8 @@ VARIABLES3 = \
stock_font_24 $(srcdir)/stock_font_24.png \
stock_help_16 $(srcdir)/stock_help_16.png \
stock_help_24 $(srcdir)/stock_help_24.png \
+ stock_harddisk_16 $(srcdir)/stock_harddisk_16.png \
+ stock_harddisk_24 $(srcdir)/stock_harddisk_24.png \
stock_home_16 $(srcdir)/stock_home_16.png \
stock_home_24 $(srcdir)/stock_home_24.png \
stock_index_24 $(srcdir)/stock_index_24.png \
diff --git a/gtk/stock-icons/makefile.msc b/gtk/stock-icons/makefile.msc
index 055a560595..2a0c8f79da 100644
--- a/gtk/stock-icons/makefile.msc
+++ b/gtk/stock-icons/makefile.msc
@@ -47,6 +47,8 @@ VARIABLES = \
stock_font_24 stock_font_24.png \
stock_help_16 stock_help_16.png \
stock_help_24 stock_help_24.png \
+ stock_harddisk_16 stock_harddisk_16.png \
+ stock_harddisk_24 stock_harddisk_24.png \
stock_home_16 stock_home_16.png \
stock_home_24 stock_home_24.png \
stock_index_24 stock_index_24.png \
diff --git a/gtk/stock-icons/stock_harddisk_16.png b/gtk/stock-icons/stock_harddisk_16.png
new file mode 100644
index 0000000000..af068e82de
--- /dev/null
+++ b/gtk/stock-icons/stock_harddisk_16.png
Binary files differ
diff --git a/gtk/stock-icons/stock_harddisk_24.png b/gtk/stock-icons/stock_harddisk_24.png
new file mode 100644
index 0000000000..52cd43ab3e
--- /dev/null
+++ b/gtk/stock-icons/stock_harddisk_24.png
Binary files differ