From 03b0168096bb774a3b844cd0b7bc0d2cd1d4ec9d Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Wed, 20 Jul 2011 22:39:37 +0000 Subject: [PATCH] qasim: included library files. git-svn-id: https://websvn.glenux.net/svn/Upoc/sshfs-mapper/trunk@1703 eaee96b3-f302-0410-b096-c6cfd47f7835 --- bin/qasim-gui.rb | 10 +++++++++- qasim/constants.rb | 3 +++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 qasim/constants.rb diff --git a/bin/qasim-gui.rb b/bin/qasim-gui.rb index 767e6a5..b2a6bc4 100755 --- a/bin/qasim-gui.rb +++ b/bin/qasim-gui.rb @@ -2,6 +2,14 @@ require 'Qt4' +$DEBUG = true +$VERBOSE = true + +require 'pp' +require 'qasim/constants' +require 'qasim/config' +require 'qasim/map' + # QaSiM // Qt Sshfs Mapper def _ str @@ -40,7 +48,7 @@ module Qasim app = Qt::Application.new(ARGV) si = Qt::SystemTrayIcon.new - std_icon = Qt::Icon.new('icons/qasim.svg') + std_icon = Qt::Icon.new( File.join ICON_PATH, "qasim.svg" ) alt_icon = Qt::Icon.new blinking = false diff --git a/qasim/constants.rb b/qasim/constants.rb new file mode 100644 index 0000000..0dcb126 --- /dev/null +++ b/qasim/constants.rb @@ -0,0 +1,3 @@ +module Qasim + ICON_PATH = "icons" +end