| Trees | Indices | Help |
|
|---|
|
|
|
|||
| HashDigest | |||
| ServersXMLHandler | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
log = logging.getLogger('gajim.gtkgui_helpers')
|
|||
gtk_icon_theme = gtk.icon_theme_get_default()
|
|||
HAS_PYWIN32 = False
|
|||
screen_w = gtk.gdk.screen_width()
|
|||
screen_h = gtk.gdk.screen_height()
|
|||
GUI_DIR = os.path.join(gajim.DATA_DIR, 'gui')
|
|||
Imports: xml, gtk, glib, gobject, pango, os, sys, logging, i18n, gajim, vcard, dialogs, win32file, win32con, pywintypes, helpers
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Return the current virtual desktop for given window NOTE: Window is a GDK window. |
Moves GTK window to current virtual desktop if it is not in the current virtual desktop NOTE: Window is a GDK window. |
Return True if file is locked NOTE: Windows only. |
|
|
Check if jid has cached avatar and if that avatar is valid image (can be shown) Returns None if there is no image in vcard/ Returns 'ask' if cached vcard should not be used (user changed his vcard, so we have new sha) or if we don't have the vcard |
GTK starts counting months from 0, so January is 0 but Python's time start from 1, so align to Python NOTE: Month MUST be an integer. |
|
|
|
Choose between avatar image and default image Returns full path to the avatar image if it exists, otherwise returns full path to the image. generic must be with extension and suffix without |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
log
|
gtk_icon_theme
|
HAS_PYWIN32
|
screen_w
|
screen_h
|
GUI_DIR
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 12 02:06:28 2010 | http://epydoc.sourceforge.net |