mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Accept dashes in demo titles.
2005-07-12 Matthias Clasen <mclasen@redhat.com> * demos/gtk-demo/geninclude.pl.in: Accept dashes in demo titles.
This commit is contained in:
parent
44eb8d265a
commit
d3f9744fdd
@ -1,3 +1,7 @@
|
||||
2005-07-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* demos/gtk-demo/geninclude.pl.in: Accept dashes in demo titles.
|
||||
|
||||
2005-07-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/theme-bits/decompose-bits.c:
|
||||
|
@ -1,3 +1,7 @@
|
||||
2005-07-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* demos/gtk-demo/geninclude.pl.in: Accept dashes in demo titles.
|
||||
|
||||
2005-07-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/theme-bits/decompose-bits.c:
|
||||
|
@ -1,3 +1,7 @@
|
||||
2005-07-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* demos/gtk-demo/geninclude.pl.in: Accept dashes in demo titles.
|
||||
|
||||
2005-07-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/theme-bits/decompose-bits.c:
|
||||
|
@ -35,7 +35,7 @@ for $file (@ARGV) {
|
||||
|
||||
# generate a list of 'parent names'
|
||||
foreach $href (@demos) {
|
||||
if ($href->{"title"} =~ m|^([\w\s]+)/[\w\s]+$|) {
|
||||
if ($href->{"title"} =~ m|^([-\w\s]+)/[-\w\s]+$|) {
|
||||
my $parent_name = $1;
|
||||
my $do_next = 0;
|
||||
|
||||
@ -77,7 +77,7 @@ if (defined @parents) {
|
||||
next;
|
||||
}
|
||||
|
||||
if ($demos[$j]{"title"} =~ m|^$parents[$i]/([\w\s]+)$|) {
|
||||
if ($demos[$j]{"title"} =~ m|^$parents[$i]/([-\w\s]+)$|) {
|
||||
if ($first) {
|
||||
$first = 0;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user