Bug 87974 - Option to hide "Contacts" list header
Summary: Option to hide "Contacts" list header
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: Contact list (show other bugs)
Version: 0.9.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-24 21:57 UTC by Marcin Orlowski
Modified: 2004-08-29 08:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
shot.jpg (5.81 KB, image/jpeg)
2004-08-24 22:01 UTC, Marcin Orlowski
Details

Note You need to log in before you can comment on or make changes to this bug.
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 );