From 3fd1434b04bfe8d42aedbb81b72414565ffa505c Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Fri, 14 Dec 2007 01:02:42 +0000 Subject: [PATCH] tweak path to icon --- plugins/FlexRSS/plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/FlexRSS/plugin.py b/plugins/FlexRSS/plugin.py index b2f738929..8b2fed292 100644 --- a/plugins/FlexRSS/plugin.py +++ b/plugins/FlexRSS/plugin.py @@ -1145,9 +1145,10 @@ class plugin_FlexRSS: def configure_ui_show_toolbar_button(self): if self.toolbar_button == None: import gtk + import os icon = gtk.Image() - icon.set_from_file(self.path + "/FlexRSS.png") + icon.set_from_file(os.path.join(self.path, "FlexRSS.png")) self.toolbar_button = gtk.ToolButton(icon_widget=icon, label="FlexRSS") self.toolbar_button.connect("clicked", self.configure_cb_toolbar_clicked) self.interface.toolbar.add(self.toolbar_button)