[PATCH] partial fix to gnome-desktop-edit-item
- From: Diego González <dggonz yahoo com>
- To: gnome desktop <desktop-devel-list gnome org>
- Subject: [PATCH] partial fix to gnome-desktop-edit-item
- Date: 02 Apr 2002 12:32:08 +0200
hi
This patch fixes the gnome-desktop-edit-item program distributed with
gnome-panel, there is still a problem that i have no idea how to solve:
after creating an item the program doesn't quit sometimes, it gets stuck
in while destroying the dialog (i think), putting some printfs around
fixes the problem but i don't know how to solve it in a good way.
Diego
Index: gnome-panel/menu-ditem.c
===================================================================
RCS file: /cvs/gnome/gnome-panel/gnome-panel/menu-ditem.c,v
retrieving revision 1.4
diff -u -r1.4 menu-ditem.c
--- gnome-panel/menu-ditem.c 26 Mar 2002 04:19:39 -0000 1.4
+++ gnome-panel/menu-ditem.c 2 Apr 2002 10:29:22 -0000
@@ -450,7 +450,7 @@
}
/* assume we are making a new file */
- name = g_strdup (gnome_desktop_item_get_string (ditem, GNOME_DESKTOP_ITEM_NAME));
+ name = g_strdup (gnome_desktop_item_get_localestring (ditem, GNOME_DESKTOP_ITEM_NAME));
validate_for_filename (name);
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-panel/ChangeLog,v
retrieving revision 1.428
diff -u -r1.428 ChangeLog
--- ChangeLog 1 Apr 2002 18:51:52 -0000 1.428
+++ ChangeLog 2 Apr 2002 10:29:22 -0000
@@ -1,3 +1,8 @@
+2202-04-02 Diego González <dggonz yahoo com>
+
+ * gnome-panel/menu-ditem.c (really_add_new_menu_item):
+ fix how the filename for the launcher is obtained.
+
2002-04-01 Mark McLoughlin <mark skynet ie>
* configure.in: Version 1.5.16
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]