diff options
author | mdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 18:14:26 +0000 |
---|---|---|
committer | mdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 18:14:26 +0000 |
commit | 2e7b71604ed51772525d9316b45e63347f84ffc5 (patch) | |
tree | b383bb4120db7e23f5111680c2c36e827d9d3e83 /chrome/browser/gtk/task_manager_gtk.h | |
parent | 867e5927e973c3380772ff4c07d43cc58459751c (diff) | |
download | chromium_src-2e7b71604ed51772525d9316b45e63347f84ffc5.zip chromium_src-2e7b71604ed51772525d9316b45e63347f84ffc5.tar.gz chromium_src-2e7b71604ed51772525d9316b45e63347f84ffc5.tar.bz2 |
Linux: set the initial size of the "Page" column in the task manager to fit the dialog.
This keeps that column from forcing the other columns into a scroll bar when a page with a long title is viewed.
BUG=17930
TEST=none
Review URL: http://codereview.chromium.org/173308
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24252 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/task_manager_gtk.h')
-rw-r--r-- | chrome/browser/gtk/task_manager_gtk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/gtk/task_manager_gtk.h b/chrome/browser/gtk/task_manager_gtk.h index f4ebf2a..ee44ab7e 100644 --- a/chrome/browser/gtk/task_manager_gtk.h +++ b/chrome/browser/gtk/task_manager_gtk.h @@ -68,6 +68,10 @@ class TaskManagerGtk : public TaskManagerModelObserver { static void OnResponse(GtkDialog* dialog, gint response_id, TaskManagerGtk* task_manager); + // realize signal handler to set the page column's initial size. + static void OnTreeViewRealize(GtkTreeView* treeview, + TaskManagerGtk* task_manager); + // changed signal handler that is sent when the treeview selection changes. static void OnSelectionChanged(GtkTreeSelection* selection, TaskManagerGtk* task_manager); |