summaryrefslogtreecommitdiff
path: root/mate-panel/panel-ditem-editor.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-09-26 17:51:47 +0300
committermonsta <[email protected]>2017-09-30 12:17:28 +0300
commit6535fefbddb1d2dd6cb93a60789e3a73c57d7fb0 (patch)
tree4db6f6602b3119fbf68b055d61a10e206a1a7bad /mate-panel/panel-ditem-editor.c
parent1e2b86c0e6d940a9b5746b1244181664d905c781 (diff)
downloadmate-panel-6535fefbddb1d2dd6cb93a60789e3a73c57d7fb0.tar.bz2
mate-panel-6535fefbddb1d2dd6cb93a60789e3a73c57d7fb0.tar.xz
make file/folder launchers work again
fixes https://github.com/mate-desktop/mate-panel/issues/590 reverts a part of 7ee450758e4f2bee13aa8ff967a5795a6dcdc91f
Diffstat (limited to 'mate-panel/panel-ditem-editor.c')
-rw-r--r--mate-panel/panel-ditem-editor.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/mate-panel/panel-ditem-editor.c b/mate-panel/panel-ditem-editor.c
index 02916a9f..1961962e 100644
--- a/mate-panel/panel-ditem-editor.c
+++ b/mate-panel/panel-ditem-editor.c
@@ -1637,6 +1637,7 @@ panel_ditem_editor_load_uri (PanelDItemEditor *dialog,
static GtkWidget *
panel_ditem_editor_new_full (GtkWindow *parent,
+ GKeyFile *key_file,
const char *uri,
const char *title,
gboolean type_directory)
@@ -1645,6 +1646,7 @@ panel_ditem_editor_new_full (GtkWindow *parent,
dialog = g_object_new (PANEL_TYPE_DITEM_EDITOR,
"title", title,
+ "keyfile", key_file,
"uri", uri,
"type-directory", type_directory,
NULL);
@@ -1657,19 +1659,21 @@ panel_ditem_editor_new_full (GtkWindow *parent,
GtkWidget *
panel_ditem_editor_new (GtkWindow *parent,
+ GKeyFile *key_file,
const char *uri,
const char *title)
{
- return panel_ditem_editor_new_full (parent, uri,
+ return panel_ditem_editor_new_full (parent, key_file, uri,
title, FALSE);
}
GtkWidget *
panel_ditem_editor_new_directory (GtkWindow *parent,
+ GKeyFile *key_file,
const char *uri,
const char *title)
{
- return panel_ditem_editor_new_full (parent, uri,
+ return panel_ditem_editor_new_full (parent, key_file, uri,
title, TRUE);
}