pidgin/pixmaps/arrow-up.xpm

Thu, 29 Jun 2017 15:33:29 -0500

author
Mike Ruprecht <cmaiku@gmail.com>
date
Thu, 29 Jun 2017 15:33:29 -0500
changeset 38578
c81f0a8301fe
parent 16274
7d61ad2c489a
permissions
-rw-r--r--

gtkidle: Port XScreensaver to DBus ScreenSaver interfaces

Modern Linux desktops use one of 3 DBus interfaces for querying if
the screensaver is currently active. There's a FreeDesktop one, a
GNOME one, and a KDE one. Rather than querying XScreensaver, which
may not be available, such as with Wayland, this patch ports Pidgin's
idle checking function to use these modern DBus interfaces.

Because Gio includes built-in DBus API, this patch also drops the
guards around pidgin_get_time_idle(), which also re-enables the
Win32 code which wasn't enabled with the previous guards.

/* XPM */
static char * arrow_up_xpm[] = {
"13 16 30 1",
" 	c None",
".	c #5E3667",
"+	c #623C6B",
"@	c #A787A8",
"#	c #603A6A",
"$	c #623B6B",
"%	c #C2A6C1",
"&	c #D4BDD2",
"*	c #BEA2BD",
"=	c #613A6A",
"-	c #C0A5C0",
";	c #D4BCD1",
">	c #D5BED3",
",	c #BEA3BE",
"'	c #C0A5BF",
")	c #BFA3BE",
"!	c #BC9FBB",
"~	c #D5BDD2",
"{	c #D1B8CF",
"]	c #CFB5CC",
"^	c #5C3566",
"/	c #623C6C",
"(	c #C9ACC6",
"_	c #C4A4C1",
":	c #BF9BBB",
"<	c #B992B4",
"[	c #B389AE",
"}	c #AF83AA",
"|	c #B084AB",
"1	c #D3BBD0",
"      .      ",
"     +@#     ",
"    $%&*=    ",
"   $-;>;,=   ",
"  $';>>>;)=  ",
" =!~~{]{~~!= ",
"^^^^/~(~/^^^^",
"    ^~_~^    ",
"    ^&:&^    ",
"    ^&<&^    ",
"    ^&[&^    ",
"    ^&}&^    ",
"    ^&}&^    ",
"    ^&|&^    ",
"    ^1&1^    ",
"    ^^^^^    "};

mercurial