summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--org.handhelds.familiar/packages/dillo/dillo2-0.6.6/no-title-prefix.patch34
-rw-r--r--org.handhelds.familiar/packages/dillo/dillo2_0.6.6.bb3
2 files changed, 36 insertions, 1 deletions
diff --git a/org.handhelds.familiar/packages/dillo/dillo2-0.6.6/no-title-prefix.patch b/org.handhelds.familiar/packages/dillo/dillo2-0.6.6/no-title-prefix.patch
new file mode 100644
index 0000000..79d4eb6
--- /dev/null
+++ b/org.handhelds.familiar/packages/dillo/dillo2-0.6.6/no-title-prefix.patch
@@ -0,0 +1,34 @@
+--- dillo-0.6.6/src/interface.c.orig 2006-10-21 00:38:41.000000000 +0200
++++ dillo-0.6.6/src/interface.c 2006-10-21 00:39:25.000000000 +0200
+@@ -598,7 +598,7 @@
+ gtk_window_add_accel_group(GTK_WINDOW(bw->main_window), bw->accel_group);
+
+ /* set window title */
+- g_snprintf(buf, 64, "Version %s", VERSION);
++ g_snprintf(buf, 64, "Dillo Version %s", VERSION);
+ a_Interface_set_page_title(bw, buf);
+
+ box1 = gtk_vbox_new(FALSE, 0);
+@@ -804,19 +804,14 @@
+ }
+
+ /*
+- * Set the title of the browser window to start with "Dillo: "
+- * prepended to it.
++ * Set the title of the browser window
++ * "Dillo: " prefix removed in compliance with modern standards
+ */
+ void a_Interface_set_page_title(BrowserWindow *bw, char *title)
+ {
+- GString *buf;
+-
+ g_return_if_fail (bw != NULL && title != NULL);
+
+- buf = g_string_new("");
+- g_string_sprintfa(buf, "Dillo: %s", title);
+- gtk_window_set_title(GTK_WINDOW(bw->main_window), buf->str);
+- g_string_free(buf, TRUE);
++ gtk_window_set_title(GTK_WINDOW(bw->main_window), title);
+ }
+
+ /*
diff --git a/org.handhelds.familiar/packages/dillo/dillo2_0.6.6.bb b/org.handhelds.familiar/packages/dillo/dillo2_0.6.6.bb
index d5b74fd..5847a0c 100644
--- a/org.handhelds.familiar/packages/dillo/dillo2_0.6.6.bb
+++ b/org.handhelds.familiar/packages/dillo/dillo2_0.6.6.bb
@@ -2,7 +2,7 @@ SECTION = "x11/network"
DESCRIPTION = "Lightweight gtk+2 browser."
LICENSE = "GPL"
PRIORITY = "optional"
-PR = "r1"
+PR = "r2"
DEPENDS = "gtk+"
RDEPENDS = "gdk-pixbuf-loader-xpm"
@@ -10,6 +10,7 @@ RDEPENDS = "gdk-pixbuf-loader-xpm"
SRC_URI="http://www.dillo.org/download/dillo-${PV}.tar.gz \
file://gtk2.patch;patch=1;pnum=1 \
file://fix_about_syntax.patch;patch=1;pnum=1 \
+ file://no-title-prefix.patch;patch=1;pnum=1 \
file://dillo.desktop \
file://dillo.png \
file://dillorc"