Hi,
 
 I looked at tasklist.c, and I think an other function like 
wnck_task_compare_alphabetically, should be created called something like 
wnck_task_compare_by_startup_time, which will compare the task by the time in 
which they were started. For such a function to work the startup time would 
need to be saved. Probably in the WnckTask(?). If it is not already there(?). I 
see that the WnckTask already have two time stamps 'guint32 dnd_timestamp' and 
'gdouble glow_start_time'. However I can't figure out what exactly they are. 
From their names it looks like the time of a drag and drop, and the time of 
glowing(?), which isn't startup time. Please give me a hint what they are, and 
if the startup time already is somewhere. An other thing that would be required 
is to select which function will be used, in the configuration file, and to 
have a function that accept this configuration and select by it either the 
alphabetic function or the by startup time function to be passed to the sorting 
algorithm. That if the current behavior would be kept as optional behavior. 
There are lots of question marks above, I hope some replies would clear it out 
for me. 
 
 Regards
  
 -----Original Message-----
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: desktop-devel-list@gnome.org
 Sent: Mon, 2 Apr 2007 7:21 PM
 Subject: Re: can I cancel the sort on grouped items in the taskbar?
 
  El lun, 02-04-2007 a las 08:49 -0400, [EMAIL PROTECTED] escribió:
> can I cancel the sort on grouped items in the taskbar?

No; it's hardcoded :(

> Reasoning: I remember spatially where is what. Currently my grouped
> web browser windows are switching places with each other every time I
> move between tabs (and the window title change). And so I can't
> remember what is where, and have to open all my windows one by one and
> search the opened tabs. In an other popular OS, for comparison there
> is no sorting, and there I remember what is where according to its
> place in the group list, and so I don't have to search all windows
> each time I look at a different tab.

Good point.  You may want to try creating a little patch.  The sorting
happens in libwnck/libwnck/tasklist.c --- look for where
wnck_task_compare_alphabetically() is used; it's only used where the
windows within a group are sorted.

  Federico

   
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.
_______________________________________________
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Reply via email to