diff options
author | Jörg Mayer <jmayer@loplof.de> | 2011-07-19 17:40:23 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2011-07-19 17:40:23 +0000 |
commit | 21adeb2cfcec203035fa255a20455d126cd45165 (patch) | |
tree | 637fe3e8a30bf3aa9296c170d7c38dbaeea2a869 /gtk/uat_gui.c | |
parent | 40cc0b57a150c20eede8e0d87362606d20df1b8a (diff) |
Back out parts of 38112, as pointed out by Stig Bj\370rlykke:
The changes in profile_dlg.c, uat_gui.c and new_packet_list.c does not
work. The tooltip is not displayed, and it's not possible to get the
context menu from a column header in the packet list.
...
I guess gtk_tree_view_column_get_widget() does not return
column->button, which is the widget we use.
svn path=/trunk/; revision=38117
Diffstat (limited to 'gtk/uat_gui.c')
-rw-r--r-- | gtk/uat_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/uat_gui.c b/gtk/uat_gui.c index 484495a449..e6a36aa372 100644 --- a/gtk/uat_gui.c +++ b/gtk/uat_gui.c @@ -914,7 +914,7 @@ static GtkWidget* uat_window(void* u) { gtk_tree_view_column_set_sizing(column,GTK_TREE_VIEW_COLUMN_AUTOSIZE); gtk_tree_view_append_column (rep->list, column); if (f[colnum].desc != NULL) - gtk_widget_set_tooltip_text(gtk_tree_view_column_get_widget(column), f[colnum].desc); + gtk_widget_set_tooltip_text(column->button, f[colnum].desc); /* gtk_clist_set_column_title(GTK_CLIST(rep->clist), colnum, f[colnum].title); |