Mailinglist Archive: yast-devel (105 mails)

< Previous Next >
Re: [yast-devel] yast2-qt Title Bar Enhancements
  • From: Katarina Machalkova <kmachalkova@xxxxxxx>
  • Date: Tue, 30 Sep 2008 17:13:48 +0200
  • Message-id: <200809301713.48453.kmachalkova@xxxxxxx>

* Is there any special reason, why .yast2.desktop agent configuration is
copy-pasted to Wizard?

I did it analog to SetDesktopIcon. Is there a cleaner way?

Ah, I see, there is one more place in Wizard where .yast2.desktop agent is
invoked in this way. I did some code archaeology and found this:

---cut---
r32132 | mvidner | 2006-08-03 14:54:07 +0200 (Čt, 03 srp 2006) | 3 lines

Start-up speed-up: don't read all deskt-up files to find our icon.
Thanks to Michael Meeks for profiling.

---/cut---

:-) :-)
So we don't use ini-agent here because it reads all available desktop files to
find a specific bit of information from a single one of them ... shouldn't we
fix the agent instead?

B.
--
\\\\\ Katarina Machalkova
\\\\\\\__o YaST developer
__\\\\\\\'/_ & hedgehog painter
< Previous Next >