summaryrefslogtreecommitdiff
path: root/extra/xfce4-smartbookmark-plugin
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-10 01:12:52 -0800
committerroot <root@rshg054.dnsready.net>2013-02-10 01:12:52 -0800
commit1bb2648cde916ac27d3dd75d7b64a4ddc89787b7 (patch)
tree016bfa1969323404c37dbef29cfc7242a5a8e9f3 /extra/xfce4-smartbookmark-plugin
parente9c244cac8e5dc1c59c7e8b7bc885fef04224b70 (diff)
Sun Feb 10 01:12:35 PST 2013
Diffstat (limited to 'extra/xfce4-smartbookmark-plugin')
-rw-r--r--extra/xfce4-smartbookmark-plugin/fix-config-write.patch11
-rw-r--r--extra/xfce4-smartbookmark-plugin/use-exo-open-instead-of-xfbrowser4.patch37
2 files changed, 0 insertions, 48 deletions
diff --git a/extra/xfce4-smartbookmark-plugin/fix-config-write.patch b/extra/xfce4-smartbookmark-plugin/fix-config-write.patch
deleted file mode 100644
index 0f5a25f4f..000000000
--- a/extra/xfce4-smartbookmark-plugin/fix-config-write.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -upr xfce4-smartbookmark-plugin-0.4.4.orig/src/smartbookmark.c xfce4-smartbookmark-plugin-0.4.4/src/smartbookmark.c
---- xfce4-smartbookmark-plugin-0.4.4.orig/src/smartbookmark.c 2012-11-19 22:24:16.000000000 +0200
-+++ xfce4-smartbookmark-plugin-0.4.4/src/smartbookmark.c 2012-11-19 22:24:42.000000000 +0200
-@@ -365,6 +365,7 @@ static void search_create_options(XfcePa
- search_apply_options_cb(search);
- gtk_widget_destroy(search->opt_dialog);
- xfce_panel_plugin_unblock_menu(plugin);
-+ search_write_config(plugin, search);
- }
-
-
diff --git a/extra/xfce4-smartbookmark-plugin/use-exo-open-instead-of-xfbrowser4.patch b/extra/xfce4-smartbookmark-plugin/use-exo-open-instead-of-xfbrowser4.patch
deleted file mode 100644
index 254382182..000000000
--- a/extra/xfce4-smartbookmark-plugin/use-exo-open-instead-of-xfbrowser4.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- xfce4-smartbookmark-plugin-0.4.4/src/smartbookmark.c
-+++ xfce4-smartbookmark-plugin-0.4.4/src/smartbookmark.c
-@@ -75,18 +75,27 @@ XFCE_PANEL_PLUGIN_REGISTER_INTERNAL(smar
-
- static gboolean do_search(const char *url, const char *keyword)
- {
-+ gchar *argv[] = { "exo-open", "--launch", "WebBrowser", NULL, NULL };
-+ gchar *complete_url;
-+ gboolean retval;
-+ GError *error = NULL;
-+
- DBG ("Do search");
-- gchar *execute;
-- gboolean success;
-- execute = g_strconcat("xfbrowser4 \"", url, NULL);//works better for me
-- //execute = g_strconcat("x-www-browser \"", url, NULL);
-- execute = g_strconcat(execute, keyword, NULL);
-- execute = g_strconcat(execute, "\"", NULL);
-
-- success = exec_command(execute);
-- g_free(execute);
-+ complete_url = g_strconcat(url, keyword, NULL);
-+ argv[3] = complete_url;
-+
-+ retval = g_spawn_async(NULL, (gchar **)argv, NULL,
-+ G_SPAWN_SEARCH_PATH | G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, NULL, &error);
-+
-+ g_free(complete_url);
-+
-+ if (!retval) {
-+ xfce_err("%s", error->message);
-+ g_error_free(error);
-+ }
-
-- return success;
-+ return retval;
- }