]> git.pld-linux.org Git - packages/libglade.git/commitdiff
- stolen from RH
authortrojan <trojan@pld-linux.org>
Fri, 24 May 2002 11:51:35 +0000 (11:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libglade-clist-gettext.patch -> 1.1
    libglade-fixquote.patch -> 1.1

libglade-clist-gettext.patch [new file with mode: 0644]
libglade-fixquote.patch [new file with mode: 0644]

diff --git a/libglade-clist-gettext.patch b/libglade-clist-gettext.patch
new file mode 100644 (file)
index 0000000..60ce2b6
--- /dev/null
@@ -0,0 +1,11 @@
+--- libglade-0.17/glade/glade-gtk.c.clist-gettext      Tue Apr 16 10:30:00 2002
++++ libglade-0.17/glade/glade-gtk.c    Tue Apr 16 10:30:48 2002
+@@ -289,7 +289,7 @@
+                       }
+                       if (label) {
+                               gtk_clist_set_column_title (GTK_CLIST(w), col,
+-                                                          label);
++                                                          _(label));
+                               /* get the GtkLabel, which is a child
+                                * of the alignment widget used as
+                                * title. */
diff --git a/libglade-fixquote.patch b/libglade-fixquote.patch
new file mode 100644 (file)
index 0000000..2bf11a1
--- /dev/null
@@ -0,0 +1,11 @@
+--- libglade-0.16/libglade-xgettext.fixquote   Mon Aug 20 12:22:54 2001
++++ libglade-0.16/libglade-xgettext    Mon Aug 20 12:37:59 2001
+@@ -104,6 +104,8 @@
+                               fp.write(p)
+                               length = length + 1 + len(p)
+                       fp.write(' */\n')
++                      str = string.replace (str, '\\', '\\\\')
++                      str = string.replace (str, '"', '\\"')
+                       if '\n' in str:
+                               fp.write('  _(""\n')
+                               lines = string.split(str, '\n')
This page took 0.083217 seconds and 4 git commands to generate.