aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/ibus-anthy/files/patch-setup_main.py
blob: d430dc8c7dc589e882eed53dfb0f9a299eb6c064 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- setup/main.py.orig  2012-04-02 08:48:25.111727456 +0900
+++ setup/main.py   2012-04-02 08:51:09.382726912 +0900
@@ -71,7 +71,7 @@
         # glade 'icon_name' property has a custom scaling and it seems
         # to be difficult to show the complicated small icon in metacity.
         # This can add the pixbuf without scaling.
-        anthydir = path.dirname(path.dirname(__file__))
+        anthydir = "@@LOCALBASE@@/share/ibus-anthy"
         if not anthydir:
             anthydir = '/usr/share/ibus-anthy'
         icon_path = path.join(anthydir, 'icons', 'ibus-anthy.png')