af54201b3f
- Trim Makefile header - Use USE_PKGCONFIG - Adjust dependencies in USE_XFCE - Add patch, which replaces Debian's bugzilla by FreshPorts Approved by: rene, miwi (mentors, implicit)
28 lines
1.3 KiB
C
28 lines
1.3 KiB
C
--- ./src/smartbookmark.c.orig 2013-01-03 21:18:38.000000000 +0000
|
|
+++ ./src/smartbookmark.c 2013-01-21 20:08:22.000000000 +0000
|
|
@@ -183,9 +183,9 @@
|
|
box = gtk_vbox_new(FALSE, 0);
|
|
|
|
/* default options */
|
|
- search->url = "http://bugs.debian.org/";
|
|
- search->label_text = "BTS";
|
|
- search->size = 5;
|
|
+ search->url = "http://www.freshports.org/search.php?query=";
|
|
+ search->label_text = "FreshPorts";
|
|
+ search->size = 12;
|
|
search->hide_label = FALSE;
|
|
/* read config file options */
|
|
filename = xfce_panel_plugin_save_location(plugin, TRUE);
|
|
@@ -255,9 +255,9 @@
|
|
if( (rcfile = xfce_rc_simple_open(filename, TRUE) ))
|
|
{
|
|
xfce_rc_set_group(rcfile, NULL);
|
|
- search->url = g_strdup(xfce_rc_read_entry(rcfile,"url","http://bugs.debian.org/"));
|
|
- search->label_text = g_strdup(xfce_rc_read_entry(rcfile,"value","DBS"));
|
|
- search->size = xfce_rc_read_int_entry(rcfile, "size", 5);
|
|
+ search->url = g_strdup(xfce_rc_read_entry(rcfile,"url","http://www.freshports.org/search.php?query="));
|
|
+ search->label_text = g_strdup(xfce_rc_read_entry(rcfile,"value","FreshPorts"));
|
|
+ search->size = xfce_rc_read_int_entry(rcfile, "size", 12);
|
|
search->hide_label = xfce_rc_read_bool_entry(rcfile, "hidelabel", FALSE);
|
|
}
|
|
}
|