~ubuntu-branches/ubuntu/wily/alltray/wily

« back to all changes in this revision

Viewing changes to src/trayicon.c

  • Committer: Bazaar Package Importer
  • Author(s): Ignace Mouzannar
  • Date: 2010-11-20 16:16:12 UTC
  • mfrom: (2.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20101120161612-12y0wqt6g86fb7hu
Tags: 0.71b-1
* New upstream release. (Closes: #602233)
  - Fixes no windows hiding when using compiz. (Closes: #579503)
* debian/control:
  - Bumped Standards-Version to 3.9.1.
* debian/patches:
  - Removed 01_minor_type.diff as it has been integrated upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
385
385
    
386
386
}
387
387
 
388
 
gboolean icon_window_enter_event(GtkWidget *widget, GdkEventButton * event,
389
 
    gpointer user_data)
390
 
{
391
 
  
392
 
  win_struct *win= (win_struct*) user_data;
393
 
  
394
 
  if (debug) printf ("icon window enter event\n");
395
 
    
396
 
  win->balloon_message_allowed=TRUE;
397
 
 
398
 
  show_balloon (win, win->title, 0);
399
 
  
400
 
  return FALSE;
401
 
 
402
 
}
403
 
 
404
388
void create_tray_and_dock (win_struct *win)
405
389
{
406
390
  
479
463
  g_signal_connect ((gpointer) win->plug, "configure_event",
480
464
                    G_CALLBACK (icon_window_configure_event),
481
465
                    (gpointer) win);
482
 
  
483
 
  
484
 
  g_signal_connect ((gpointer) win->plug, "enter_notify_event",
485
 
                    G_CALLBACK (icon_window_enter_event),
486
 
                    (gpointer) win);
487
 
 
488
466
 
489
467
  dock_window (win->manager_window, win->plug_xlib);
490
468