summaryrefslogtreecommitdiffstats
path: root/launcher-desktop-files.patch
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@fedoraproject.org>2008-06-18 21:31:13 +0000
committerMatthias Clasen <mclasen@fedoraproject.org>2008-06-18 21:31:13 +0000
commit5107e1895658688b0457672339737c5e6291387d (patch)
treef135c00124c88affbc46a9df4cf5f6d8f94576a4 /launcher-desktop-files.patch
parentece03669e6e7c1713a90f5ad09242db0a24068ae (diff)
downloadgnome-panel-5107e1895658688b0457672339737c5e6291387d.tar.gz
gnome-panel-5107e1895658688b0457672339737c5e6291387d.tar.xz
gnome-panel-5107e1895658688b0457672339737c5e6291387d.zip
Diffstat (limited to 'launcher-desktop-files.patch')
-rw-r--r--launcher-desktop-files.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/launcher-desktop-files.patch b/launcher-desktop-files.patch
index f42379d..27b09fb 100644
--- a/launcher-desktop-files.patch
+++ b/launcher-desktop-files.patch
@@ -18,15 +18,15 @@ diff -up gnome-panel-2.19.92/gnome-panel/panel-ditem-editor.c.launcher-desktop-f
+
+ key_file = g_key_file_new ();
+ if (g_key_file_load_from_file (key_file, uri, 0, NULL)) {
-+ if (panel_util_key_file_get_boolean (key_file, "Terminal", FALSE))
++ if (panel_key_file_get_boolean (key_file, "Terminal", FALSE))
+ gtk_combo_box_set_active (GTK_COMBO_BOX (dialog->priv->type_combo), 1);
+ else
+ gtk_combo_box_set_active (GTK_COMBO_BOX (dialog->priv->type_combo), 0);
+
-+ name = panel_util_key_file_get_locale_string (key_file, "Name");
-+ comment = panel_util_key_file_get_locale_string (key_file, "Comment");
-+ icon = panel_util_key_file_get_locale_string (key_file, "Icon");
-+ exec = panel_util_key_file_get_string (key_file, "Exec");
++ name = panel_key_file_get_locale_string (key_file, "Name");
++ comment = panel_key_file_get_locale_string (key_file, "Comment");
++ icon = panel_key_file_get_locale_string (key_file, "Icon");
++ exec = panel_key_file_get_string (key_file, "Exec");
+
+ gtk_entry_set_text (GTK_ENTRY (dialog->priv->name_entry), name ? name : "");
+ gtk_entry_set_text (GTK_ENTRY (dialog->priv->comment_entry), comment ? comment : "");