Changeset 24a527a2ffba5e33a2fe7375535d69f3357e4178

Show
Ignore:
Timestamp:
04/08/07 23:45:21 (6 years ago)
Author:
Philipp Kern <phil@…>
Parents:
66412030f4aeae129a0a9dd502638f834481454d
Children:
929e0aadf72efec6f34667829f6b178ad2152301
git-committer:
Philipp Kern <phil@0x539.de> / 2007-04-08T21:45:21Z+0000
Message:

2007-04-08 Philipp Kern <phil@…>

  • src/window.cpp:
  • src/chat.cpp: set urgency hint on window only when chat widget is visible [fixes #256]
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r6641203 r24a527a  
     12007-04-08  Philipp Kern <phil@0x539.de> 
     2 
     3        * src/window.cpp: 
     4        * src/chat.cpp: set urgency hint on window only when chat widget 
     5        is visible [fixes #256] 
     6 
    172007-04-07  Philipp Kern <phil@0x539.de> 
    28 
  • src/chat.cpp

    r6f97101 r24a527a  
    279279 
    280280#ifdef GTKMM_GEQ_28 
    281         if(!m_focus && m_preferences.appearance.urgency_hint) 
     281        if(!m_focus && m_preferences.appearance.urgency_hint && is_visible()) 
    282282                m_parent.set_urgency_hint(true); 
    283283#endif 
  • src/window.cpp

    r852b5ae r24a527a  
    166166 
    167167        show_all_children(); 
    168         if(!show_chat) m_frame_chat.hide(); 
     168        if(!show_chat) m_frame_chat.hide_all(); 
    169169 
    170170        set_title("Gobby"); 
     
    981981        if(m_header.action_window_chat->get_active() ) 
    982982        { 
    983                 m_frame_chat.show(); 
     983                m_frame_chat.show_all(); 
    984984        } 
    985985        else 
    986986        { 
    987                 m_frame_chat.hide(); 
     987                m_frame_chat.hide_all(); 
    988988        } 
    989989}