Bug 87974

Summary: Option to hide "Contacts" list header
Product: [Applications] kopete Reporter: Marcin Orlowski <carlos-spam>
Component: Contact listAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 0.9.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: shot.jpg

Description Marcin Orlowski 2004-08-24 21:57:24 UTC
Version:           0.9.0 (using KDE 3.3.0,  (3.1))
Compiler:          gcc version 3.3.4 (Debian 1:3.3.4-7)
OS:                Linux (i686) release 2.6.7

Since I don't sort my contact list and I know that the tree below shows my contacts, I no longer find "Contacts" list header useful in main kopete's window. I'd like to have an option to get this header row removed/hided to save some spaces (at least one contact extra with the same window height).
Comment 1 Marcin Orlowski 2004-08-24 22:01:19 UTC
Created attachment 7255 [details]
shot.jpg

Just to make sure you get what UI element I was talking about ;)
Comment 2 Olivier Goffart 2004-08-27 21:08:23 UTC
It should not be in an option, but should be removed totaly.
Comment 3 Olivier Goffart 2004-08-28 08:58:39 UTC
CVS commit by ogoffart: 

Hide the header of the contactlist view (which only contains "Contacts")

CCMAIL: 87974-done@bugs.kde.org

It will be fixed in KDE 3.4,  but should we backport to KDE 3.3.1 ?


  M +2 -1      kopetecontactlistview.cpp   1.109


--- kdenetwork/kopete/kopete/contactlist/kopetecontactlistview.cpp  #1.108:1.109
@@ -433,5 +433,6 @@ KopeteContactListView::KopeteContactList
                  this, SLOT( slotDropped( QDropEvent *, QListViewItem *, QListViewItem * ) ) );
 
-        addColumn( i18n( "Contacts" ), 0 );
+        addColumn( i18n( "Contacts" ), 0 );  //add an unique colums to add every contact
+        header()->hide(); // and hide the ugly header which show the single word  "Contacts"
 
         setAutoOpen( true );


Comment 4 Marcin Orlowski 2004-08-28 12:40:35 UTC
As for if it should be removed permanently or by user option - I don't really need this header but can bet others may like it. Adding new menu option to show/hide this won't hurt anyone and would satisfy everyone interested. Thanks for quick response.
Comment 5 Stephan Kulow 2004-08-28 23:59:16 UTC
please backport if you feel like it
Comment 6 Olivier Goffart 2004-08-29 08:56:24 UTC
CVS commit by ogoffart: 

Backport the hide header fix
CCMAIL: 87974@bugs.kde.org
That mean this header will be hidden in KDE 3.3.1


  M +2 -1      kopetecontactlistview.cpp   1.108.2.1


--- kdenetwork/kopete/kopete/contactlist/kopetecontactlistview.cpp  #1.108:1.108.2.1
@@ -433,5 +433,6 @@ KopeteContactListView::KopeteContactList
                  this, SLOT( slotDropped( QDropEvent *, QListViewItem *, QListViewItem * ) ) );
 
-        addColumn( i18n( "Contacts" ), 0 );
+        addColumn( i18n( "Contacts" ), 0 );  //add an unique colums to add every contact
+        header()->hide(); // and hide the ugly header which show the single word  "Contacts"
 
         setAutoOpen( true );