Package: jstest-gtk / 0.1.1~git20140501-1

datadir.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Specify full path for joystick icon
Author: Miriam Ruiz <miriam@debian.org>
Forwarded: no

--- jstest-gtk-0.1.0.orig/src/joystick_list_widget.cpp
+++ jstest-gtk-0.1.0/src/joystick_list_widget.cpp
@@ -123,7 +123,7 @@
   for(std::vector<JoystickDescription>::const_iterator i = joysticks.begin(); i != joysticks.end(); ++i)
     {
       Gtk::ListStore::iterator it = device_list->append();
-      (*it)[DeviceListColumns::instance().icon] = Gdk::Pixbuf::create_from_file("data/generic.png");
+      (*it)[DeviceListColumns::instance().icon] = Gdk::Pixbuf::create_from_file("/usr/share/jstest-gtk/data/generic.png");
       (*it)[DeviceListColumns::instance().path] = i->filename;
 
       std::ostringstream out;