}
}
- if (self->frame)
+ /* set the default icon onto the window
+ in theory, this could be a race, but if a window doesn't set an icon
+ or removes it entirely, it's not very likely it is going to set one
+ right away afterwards */
+ if (self->nicons == 0) {
+ RrPixel32 *icon = ob_rr_theme->def_win_icon;
+
+ data = g_new(guint32, 48*48+2);
+ data[0] = data[1] = 48;
+ for (i = 0; i < 48*48; ++i)
+ data[i+2] = (((icon[i] >> RrDefaultAlphaOffset) & 0xff) << 24) +
+ (((icon[i] >> RrDefaultRedOffset) & 0xff) << 16) +
+ (((icon[i] >> RrDefaultGreenOffset) & 0xff) << 8) +
+ (((icon[i] >> RrDefaultBlueOffset) & 0xff) << 0);
+ PROP_SETA32(self->window, net_wm_icon, cardinal, data, 48*48+2);
+ g_free(data);
+ } else if (self->frame)
+ /* don't draw the icon empty if we're just setting one now anyways,
+ we'll get the property change any second */
frame_adjust_icon(self->frame);
}
msgstr ""
"Project-Id-Version: Openbox 3.3\n"
"Report-Msgid-Bugs-To: http://bugzilla.icculus.org\n"
-"POT-Creation-Date: 2007-04-24 03:05-0400\n"
+"POT-Creation-Date: 2007-04-24 11:39-0400\n"
"PO-Revision-Date: 2004-01-25 20:41+0100\n"
"Last-Translator: David Majà Martínez <davidmaja@gmail.com>\n"
"Language-Team: catalan\n"
msgstr ""
"Project-Id-Version: Openbox 3.3\n"
"Report-Msgid-Bugs-To: http://bugzilla.icculus.org\n"
-"POT-Creation-Date: 2007-04-24 03:05-0400\n"
+"POT-Creation-Date: 2007-04-24 11:39-0400\n"
"PO-Revision-Date: 2006-06-11 10:41+0200\n"
"Last-Translator: Sebastian Vahl <svahl@web.de>\n"
"Language-Team: <de@li.org>\n"
msgstr ""
"Project-Id-Version: openbox 3.4.0\n"
"Report-Msgid-Bugs-To: http://bugzilla.icculus.org\n"
-"POT-Creation-Date: 2007-04-24 03:05-0400\n"
-"PO-Revision-Date: 2007-04-24 03:05-0400\n"
+"POT-Creation-Date: 2007-04-24 11:39-0400\n"
+"PO-Revision-Date: 2007-04-24 11:39-0400\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
msgstr ""
"Project-Id-Version: openbox 3.4.0\n"
"Report-Msgid-Bugs-To: http://bugzilla.icculus.org\n"
-"POT-Creation-Date: 2007-04-24 03:05-0400\n"
-"PO-Revision-Date: 2007-04-24 03:05-0400\n"
+"POT-Creation-Date: 2007-04-24 11:39-0400\n"
+"PO-Revision-Date: 2007-04-24 11:39-0400\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
msgstr ""
"Project-Id-Version: Openbox 3.3\n"
"Report-Msgid-Bugs-To: http://bugzilla.icculus.org\n"
-"POT-Creation-Date: 2007-04-24 03:05-0400\n"
+"POT-Creation-Date: 2007-04-24 11:39-0400\n"
"PO-Revision-Date: 2005-03-25 09:31+0100\n"
"Last-Translator: Miguel Calleja Gómez <mcg79@lycos.es>\n"
"Language-Team: None\n"
msgstr ""
"Project-Id-Version: openbox 3.3\n"
"Report-Msgid-Bugs-To: http://bugzilla.icculus.org\n"
-"POT-Creation-Date: 2007-04-24 03:05-0400\n"
+"POT-Creation-Date: 2007-04-24 11:39-0400\n"
"PO-Revision-Date: 2005-03-15 21:29+0200\n"
"Last-Translator: Pauli Virtanen <pauli.virtanen@hut.fi>\n"
"Language-Team: Finnish <fi@li.org>\n"
msgstr ""
"Project-Id-Version: Openbox 3.2\n"
"Report-Msgid-Bugs-To: http://bugzilla.icculus.org\n"
-"POT-Creation-Date: 2007-04-24 03:05-0400\n"
+"POT-Creation-Date: 2007-04-24 11:39-0400\n"
"PO-Revision-Date: 2004-06-11 23:06+0200\n"
"Last-Translator: Julien Louis <leonptitlouis@wanadoo.fr>\n"
"Language-Team: French <traduc@traduc.org>\n"
msgstr ""
"Project-Id-Version: Openbox 3.3\n"
"Report-Msgid-Bugs-To: http://bugzilla.icculus.org\n"
-"POT-Creation-Date: 2007-04-24 03:05-0400\n"
+"POT-Creation-Date: 2007-04-24 11:39-0400\n"
"PO-Revision-Date: 2006-09-05 16:45+0100\n"
"Last-Translator: Daniel Radetic <drade@boobah.info>\n"
"Language-Team: None\n"
msgstr ""
"Project-Id-Version: Openbox 3.0\n"
"Report-Msgid-Bugs-To: http://bugzilla.icculus.org\n"
-"POT-Creation-Date: 2007-04-24 03:05-0400\n"
+"POT-Creation-Date: 2007-04-24 11:39-0400\n"
"PO-Revision-Date: 2003-11-20 15:00+0900\n"
"Last-Translator: Yukihiro Nakai <nakai@gnome.gr.jp>\n"
"Language-Team: Japanese <ja@li.org>\n"
msgstr ""
"Project-Id-Version: openbox 3.2\n"
"Report-Msgid-Bugs-To: http://bugzilla.icculus.org\n"
-"POT-Creation-Date: 2007-04-24 03:05-0400\n"
+"POT-Creation-Date: 2007-04-24 11:39-0400\n"
"PO-Revision-Date: 2004-03-29 18:33:39+0200\n"
"Last-Translator: Øyvind Albrigtsen\n"
"Language-Team: None\n"
msgstr ""
"Project-Id-Version: Openbox 3.2\n"
"Report-Msgid-Bugs-To: http://bugzilla.icculus.org\n"
-"POT-Creation-Date: 2007-04-24 03:05-0400\n"
+"POT-Creation-Date: 2007-04-24 11:39-0400\n"
"PO-Revision-Date: 2004-09-07 21:17+0200\n"
"Last-Translator: Madej <madej@afn.no-ip.org>\n"
"Language-Team: NONE\n"
msgstr ""
"Project-Id-Version: Openbox 3.3\n"
"Report-Msgid-Bugs-To: http://bugzilla.icculus.org\n"
-"POT-Creation-Date: 2007-04-24 03:05-0400\n"
+"POT-Creation-Date: 2007-04-24 11:39-0400\n"
"PO-Revision-Date: 2004-03-29 18:33:39+0200\n"
"Last-Translator: Gonçalo Ferreira <gonsas@gmail.com>\n"
"Language-Team: None\n"
msgstr ""
"Project-Id-Version: openbox 3.2\n"
"Report-Msgid-Bugs-To: http://bugzilla.icculus.org\n"
-"POT-Creation-Date: 2007-04-24 03:05-0400\n"
+"POT-Creation-Date: 2007-04-24 11:39-0400\n"
"PO-Revision-Date: 2004-04-23 13:00+0300\n"
"Last-Translator: Alexey Remizov <alexey@remizov.pp.ru>\n"
"Language-Team: Russian <gnome-cyr@gnome.org>\n"
msgstr ""
"Project-Id-Version: Openbox-3.3rc2\n"
"Report-Msgid-Bugs-To: http://bugzilla.icculus.org\n"
-"POT-Creation-Date: 2007-04-24 03:05-0400\n"
+"POT-Creation-Date: 2007-04-24 11:39-0400\n"
"PO-Revision-Date: 2006-08-25 00:52+0200\n"
"Last-Translator: Jozef Riha <jose1711@gmail.com\n"
"Language-Team: Slovak <LL@li.org>\n"
msgstr ""
"Project-Id-Version: openbox 3.3\n"
"Report-Msgid-Bugs-To: http://bugzilla.icculus.org\n"
-"POT-Creation-Date: 2007-04-24 03:05-0400\n"
+"POT-Creation-Date: 2007-04-24 11:39-0400\n"
"PO-Revision-Date: 2004-03-29 18:33:39+0200\n"
"Last-Translator: Mikael Magnusson <mikachu@icculus.org>\n"
"Language-Team: None\n"
msgstr ""
"Project-Id-Version: openbox 3.3rc2\n"
"Report-Msgid-Bugs-To: http://bugzilla.icculus.org\n"
-"POT-Creation-Date: 2007-04-24 03:05-0400\n"
+"POT-Creation-Date: 2007-04-24 11:39-0400\n"
"PO-Revision-Date: 2006-03-01 12:00+0800\n"
"Last-Translator: Wei-Lun Chao <william.chao@ossii.com.tw>\n"
"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"