mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-13 03:11:16 +00:00
parent
c001f73f72
commit
b4f88ff319
@ -1,3 +1,6 @@
|
|||||||
|
2009-06-14
|
||||||
|
* Fix XMMS2 related crash (sf.net #2806111 and #2805310, thanks Lassi)
|
||||||
|
|
||||||
2009-06-13
|
2009-06-13
|
||||||
* Added support for $blink
|
* Added support for $blink
|
||||||
* Added support for $to_bytes
|
* Added support for $to_bytes
|
||||||
|
@ -577,17 +577,17 @@
|
|||||||
<option>own_window_type</option>
|
<option>own_window_type</option>
|
||||||
</command>
|
</command>
|
||||||
</term>
|
</term>
|
||||||
<listitem>if own_window is yes, you may specify type normal,
|
<listitem>if own_window is yes, you may specify type
|
||||||
desktop, dock, panel or override (default: normal). Desktop
|
normal, desktop, dock, panel or override (default: normal).
|
||||||
windows are special windows that have no window decorations;
|
Desktop windows are special windows that have no window
|
||||||
are always visible on your desktop; do not appear in your
|
decorations; are always visible on your desktop; do not
|
||||||
pager or taskbar; and are sticky across all workspaces. Panel
|
appear in your pager or taskbar; and are sticky across all
|
||||||
windows reserve space along a desktop edge, just like panels
|
workspaces. Panel windows reserve space along a desktop
|
||||||
and taskbars, preventing maximized windows from overlapping
|
edge, just like panels and taskbars, preventing maximized
|
||||||
them. The edge is chosen based on the alignment
|
windows from overlapping them. The edge is chosen based on
|
||||||
option. Override windows are not under the control of the
|
the alignment option. Override windows are not under the
|
||||||
window manager. Hints are ignored. This type of window can be
|
control of the window manager. Hints are ignored. This type
|
||||||
useful for certain situations.
|
of window can be useful for certain situations.
|
||||||
<para /></listitem>
|
<para /></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
|
@ -458,6 +458,7 @@
|
|||||||
<option>text_and_other_conky_vars</option>
|
<option>text_and_other_conky_vars</option>
|
||||||
</term>
|
</term>
|
||||||
<listitem>Let 'text_and_other_conky_vars' blink on and off.
|
<listitem>Let 'text_and_other_conky_vars' blink on and off.
|
||||||
|
|
||||||
<para /></listitem>
|
<para /></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
|
@ -5199,10 +5199,6 @@ static void generate_text_internal(char *p, int p_max_size,
|
|||||||
#undef mpd_printf
|
#undef mpd_printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef XMMS2
|
|
||||||
free_xmms2();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef MOC
|
#ifdef MOC
|
||||||
#define MOC_PRINT(t, a) \
|
#define MOC_PRINT(t, a) \
|
||||||
snprintf(p, p_max_size, "%s", (moc.t ? moc.t : a))
|
snprintf(p, p_max_size, "%s", (moc.t ? moc.t : a))
|
||||||
|
20
src/xmms2.c
20
src/xmms2.c
@ -249,7 +249,7 @@ int handle_playlist_loaded(xmmsv_t *value, void *p)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void update_xmms2()
|
void update_xmms2(void)
|
||||||
{
|
{
|
||||||
struct information *current_info = &info;
|
struct information *current_info = &info;
|
||||||
|
|
||||||
@ -318,21 +318,3 @@ void update_xmms2()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void free_xmms2()
|
|
||||||
{
|
|
||||||
struct information *current_info = &info;
|
|
||||||
|
|
||||||
current_info->xmms2.conn_state = -1;
|
|
||||||
|
|
||||||
free(current_info->xmms2.artist);
|
|
||||||
free(current_info->xmms2.album);
|
|
||||||
free(current_info->xmms2.title);
|
|
||||||
free(current_info->xmms2.genre);
|
|
||||||
free(current_info->xmms2.comment);
|
|
||||||
free(current_info->xmms2.url);
|
|
||||||
free(current_info->xmms2.date);
|
|
||||||
free(current_info->xmms2.playlist);
|
|
||||||
free(current_info->xmms2.status);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -52,6 +52,5 @@ struct xmms2_s {
|
|||||||
};
|
};
|
||||||
|
|
||||||
void update_xmms2(void);
|
void update_xmms2(void);
|
||||||
void free_xmms2(void);
|
|
||||||
|
|
||||||
#endif /*XMMS2_H_*/
|
#endif /*XMMS2_H_*/
|
||||||
|
Loading…
Reference in New Issue
Block a user