mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-12 02:43:42 +03:00
Initialize dentry->geometry -mig
This commit is contained in:
parent
f5670b549d
commit
391f08d9e5
@ -769,15 +769,16 @@ desktop_create_directory_entry (char *dentry_path, char *pathname, char *short_n
|
||||
GnomeDesktopEntry *dentry;
|
||||
|
||||
dentry = xmalloc (sizeof (GnomeDesktopEntry), "dcde");
|
||||
dentry->name = g_strdup (short_name);
|
||||
dentry->comment = NULL;
|
||||
dentry->tryexec = NULL;
|
||||
dentry->exec = g_strdup (pathname);
|
||||
dentry->icon = gnome_unconditional_pixmap_file ("gnome-folder.png");
|
||||
dentry->docpath = NULL;
|
||||
dentry->type = g_strdup ("Directory");
|
||||
dentry->name = g_strdup (short_name);
|
||||
dentry->comment = NULL;
|
||||
dentry->tryexec = NULL;
|
||||
dentry->exec = g_strdup (pathname);
|
||||
dentry->icon = gnome_unconditional_pixmap_file ("gnome-folder.png");
|
||||
dentry->docpath = NULL;
|
||||
dentry->type = g_strdup ("Directory");
|
||||
dentry->location = g_strdup (dentry_path);
|
||||
|
||||
dentry->geometry = NULL;
|
||||
|
||||
gnome_desktop_entry_save (dentry);
|
||||
desktop_load_from_dentry (dentry);
|
||||
}
|
||||
|
@ -1,5 +1,4 @@
|
||||
All:
|
||||
- Intenrationalization
|
||||
- It crashes
|
||||
- It leaks objects.
|
||||
- argp handling.
|
||||
|
Loading…
x
Reference in New Issue
Block a user