Changeset 1211:13569ecadc75

Show
Ignore:
Timestamp:
07/24/08 00:53:16 (4 months ago)
Author:
Ronny Pfannschmidt <Ronny.Pfannschmidt@…>
Children:
1212:7c90fe5ca475, 1216:5faff2f1277a
Message:

removed some unused imports

Location:
pida/services
Files:
10 modified

Legend:

Unmodified
Added
Removed
  • pida/services/notify/notify.py

    r1202 r1211  
    3232 
    3333from kiwi.ui.objectlist import Column, ObjectList 
    34 from pida.core.environment import get_uidef_path 
    3534from pida.ui.views import PidaView 
    3635from pida.core.commands import CommandsConfig 
  • pida/services/optionsmanager/optionsmanager.py

    r1202 r1211  
    2828# PIDA Imports 
    2929from pida.core.service import Service 
    30 from pida.core.features import FeaturesConfig 
    31 from pida.core.commands import CommandsConfig 
    3230from pida.core.events import EventsConfig 
    3331from pida.core.actions import ActionsConfig 
    34 from pida.core.actions import TYPE_NORMAL, TYPE_MENUTOOL, TYPE_RADIO, TYPE_TOGGLE 
     32from pida.core.actions import TYPE_TOGGLE 
    3533 
    3634from pida.ui.views import PidaGladeView 
  • pida/services/plugins/plugins.py

    r1202 r1211  
    3535from pida.core.events import EventsConfig 
    3636from pida.core.options import OptionsConfig 
    37 from pida.core.actions import ActionsConfig, TYPE_NORMAL, TYPE_MENUTOOL, TYPE_TOGGLE 
     37from pida.core.actions import ActionsConfig, TYPE_TOGGLE 
    3838from pida.utils.gthreads import GeneratorTask, AsyncTask, gcall 
    3939from pida.core.servicemanager import ServiceLoader, ServiceLoadingError 
  • pida/services/rpc/rpc.py

    r368 r1211  
    2626# PIDA Imports 
    2727from pida.core.service import Service 
    28 from pida.core.features import FeaturesConfig 
    29 from pida.core.commands import CommandsConfig 
    30 from pida.core.events import EventsConfig 
    31 from pida.core.actions import ActionsConfig 
    32 from pida.core.actions import TYPE_NORMAL, TYPE_MENUTOOL, TYPE_RADIO, TYPE_TOGGLE 
    33  
    3428from pida.utils.grpc import LocalServerDispatcher 
    3529 
  • pida/services/sessions/sessions.py

    r1204 r1211  
    11# -*- coding: utf-8 -*-  
     2""" 
     3    Sessions Service 
     4    ~~~~~~~~~~~~~~~~ 
    25 
    3 # Copyright (c) 2007 The PIDA Project 
     6    currently this saves the open files to a gconf list 
    47 
    5 #Permission is hereby granted, free of charge, to any person obtaining a copy 
    6 #of this software and associated documentation files (the "Software"), to deal 
    7 #in the Software without restriction, including without limitation the rights 
    8 #to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
    9 #copies of the Software, and to permit persons to whom the Software is 
    10 #furnished to do so, subject to the following conditions: 
     8    .. todo:: 
     9        * window/sudebar/paned positions 
    1110 
    12 #The above copyright notice and this permission notice shall be included in 
    13 #all copies or substantial portions of the Software. 
     11    :license: GPL2 or later 
     12    :copyright: 
     13        * 2007 Ali Afshar 
     14        * 2008 Ronny Pfannschmidt 
     15""" 
    1416 
    15 #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
    16 #IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
    17 #FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
    18 #AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
    19 #LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
    20 #OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 
    21 #SOFTWARE. 
    22  
    23 import os 
    2417import gobject 
    25  
    26 from pida.utils.configobj import ConfigObj 
    27 from tempfile import mkstemp 
    2818 
    2919# PIDA Imports 
    3020from pida.core.service import Service 
    31 from pida.core.features import FeaturesConfig 
    32 from pida.core.commands import CommandsConfig 
    3321from pida.core.events import EventsConfig 
    34 from pida.core.actions import ActionsConfig 
    35 from pida.core.actions import TYPE_NORMAL, TYPE_MENUTOOL, TYPE_RADIO, \ 
    36     TYPE_TOGGLE 
    3722from pida.core.options import OptionsConfig 
    38  
    39 from pida.core.environment import pida_home 
    40  
    41 from pida.ui.views import PidaGladeView 
    4223 
    4324# locale 
     
    10889        else: 
    10990            return 
     91        #XXX: this way is not acceptable, 
     92        #     need find a way to tell editors to open at once 
    11093        gobject.timeout_add(1000, self.load_buffers, files) 
    11194 
  • pida/services/shortcuts/shortcuts.py

    r1170 r1211  
    2727# PIDA Imports 
    2828from pida.core.service import Service 
    29 from pida.core.features import FeaturesConfig 
    30 from pida.core.commands import CommandsConfig 
    31 from pida.core.events import EventsConfig 
    3229from pida.core.actions import ActionsConfig 
    33 from pida.core.actions import TYPE_NORMAL, TYPE_MENUTOOL, TYPE_RADIO, TYPE_TOGGLE 
     30from pida.core.actions import TYPE_TOGGLE 
    3431 
    3532from pida.ui.views import PidaView 
  • pida/services/statusbar/statusbar.py

    r1202 r1211  
    2828# PIDA Imports 
    2929from pida.core.service import Service 
    30 from pida.core.features import FeaturesConfig 
    31 from pida.core.commands import CommandsConfig 
    3230from pida.core.events import EventsConfig 
    3331from pida.core.options import OptionsConfig 
    34 from pida.core.actions import ActionsConfig 
    35 from pida.core.actions import TYPE_NORMAL, TYPE_MENUTOOL, TYPE_RADIO, TYPE_TOGGLE 
    3632 
    3733# locale 
  • pida/services/versioncontrol/versioncontrol.py

    r1179 r1211  
    3434from pida.core.events import EventsConfig 
    3535from pida.core.actions import ActionsConfig 
    36 from pida.core.actions import TYPE_NORMAL, TYPE_MENUTOOL, TYPE_RADIO, TYPE_TOGGLE 
     36from pida.core.actions import TYPE_NORMAL, TYPE_TOGGLE 
    3737 
    3838from pida.ui.views import PidaView, PidaGladeView 
    3939 
    4040from pida.ui.htmltextview import HtmlTextView 
    41 from pida.ui.buttons import create_mini_button 
    4241 
    4342from pida.utils.gthreads import AsyncTask, gcall 
  • pida/services/webbrowser/webbrowser.py

    r1157 r1211  
    3535from pida.core.features import FeaturesConfig 
    3636from pida.core.commands import CommandsConfig 
    37 from pida.core.events import EventsConfig 
    3837from pida.core.actions import ActionsConfig 
    39 from pida.core.actions import TYPE_NORMAL, TYPE_MENUTOOL, TYPE_RADIO, TYPE_TOGGLE 
     38from pida.core.actions import TYPE_NORMAL 
    4039 
    4140from pida.utils.web import fetch_url 
  • pida/services/window/window.py

    r1202 r1211  
    2525# PIDA Imports 
    2626from pida.core.service import Service 
    27 from pida.core.features import FeaturesConfig 
    2827from pida.core.commands import CommandsConfig 
    2928from pida.core.events import EventsConfig 
    3029from pida.core.options import OptionsConfig 
    3130from pida.core.actions import ActionsConfig 
    32 from pida.core.actions import TYPE_NORMAL, TYPE_MENUTOOL, TYPE_RADIO, TYPE_TOGGLE 
     31from pida.core.actions import TYPE_NORMAL, TYPE_TOGGLE 
    3332 
    3433# locale