wok-current rev 17698

Up marlin: Add a patch
author Yuri Pourre <yuripourre@gmail.com>
date Thu Feb 26 22:08:46 2015 -0300 (2015-02-26)
parents da0865241df4
children c611d2ab4b50
files marlin/receipt marlin/stuff/marlin-fix-tests.patch
line diff
     1.1 --- a/marlin/receipt	Tue Feb 24 11:26:21 2015 +0100
     1.2 +++ b/marlin/receipt	Thu Feb 26 22:08:46 2015 -0300
     1.3 @@ -25,6 +25,7 @@
     1.4  
     1.5  	patch -p1 < $stuff/marlin-0.5.patch
     1.6  	patch -p1 < $stuff/marlin-icons.patch
     1.7 +	patch -p1 < $stuff/marlin-fix-tests.patch
     1.8  
     1.9  	mkdir build && cd build &&
    1.10  	cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/marlin/stuff/marlin-fix-tests.patch	Thu Feb 26 22:08:46 2015 -0300
     2.3 @@ -0,0 +1,39 @@
     2.4 +# opened ticket at https://bugs.launchpad.net/marlin/+bug/1404153
     2.5 +--- marlin-0.5/libwidget/tests/tests-pathbar.vala	2015-02-26 21:42:49.328510064 -0300
     2.6 ++++ marlin-0.5/libwidget/tests/tests-pathbar-fixed.vala	2015-02-26 21:42:31.216508618 -0300
     2.7 +@@ -35,7 +35,7 @@
     2.8 +         var bread_entry = new BreadcrumbsEntry();
     2.9 +         assert(bread_entry is BreadcrumbsEntry);
    2.10 +         assert(bread_entry.text == "");
    2.11 +-        Gdk.EventKey event = Gdk.EventKey();
    2.12 ++        Gdk.EventKey event = new Gdk.EventKey();
    2.13 +         event.window = breads.get_window();
    2.14 +         event.keyval = 0x061; /* a */
    2.15 +         bread_entry.key_press_event(event);
    2.16 +@@ -122,7 +122,7 @@
    2.17 +         assert(bread_entry.text == "");
    2.18 +         bread_entry.text = "abdcefghij/";
    2.19 +         bread_entry.cursor = ("abdcefghij/").length;
    2.20 +-        Gdk.EventKey event = Gdk.EventKey();
    2.21 ++        Gdk.EventKey event = new Gdk.EventKey();
    2.22 +         event.state = Gdk.ModifierType.SHIFT_MASK;
    2.23 +         event.window = breads.get_window();
    2.24 +         event.keyval = 0xff51; /* left */
    2.25 +@@ -136,7 +136,7 @@
    2.26 +         var bread_entry = new BreadcrumbsEntry();
    2.27 +         assert(bread_entry is BreadcrumbsEntry);
    2.28 +         assert(bread_entry.text == "");
    2.29 +-        Gdk.EventKey event = Gdk.EventKey();
    2.30 ++        Gdk.EventKey event = new Gdk.EventKey();
    2.31 +         event.window = breads.get_window();
    2.32 +         event.keyval = 0xff08; /* backspace */
    2.33 +         bread_entry.key_press_event(event);
    2.34 +@@ -149,7 +149,7 @@
    2.35 +         BreadcrumbsEntry bread_entry = breads.entry;
    2.36 +         assert(bread_entry is BreadcrumbsEntry);
    2.37 +         assert(bread_entry.text == "");
    2.38 +-        Gdk.EventKey event = Gdk.EventKey();
    2.39 ++        Gdk.EventKey event = new Gdk.EventKey();
    2.40 +         event.window = breads.get_window();
    2.41 +         event.keyval = 0xff08; /* backspace */
    2.42 +         breads.key_press_event(event);