forked from osmocom/wireshark
Put the scrollbar for the scrolled window containing the CList in the
preferences dialog where the user specified, and register that scrolled window so that if the preference is changed the scrollbar moves. svn path=/trunk/; revision=4025
This commit is contained in:
parent
aa5c21f247
commit
0adf5001dc
|
@ -1,7 +1,7 @@
|
||||||
/* prefs_dlg.c
|
/* prefs_dlg.c
|
||||||
* Routines for handling preferences
|
* Routines for handling preferences
|
||||||
*
|
*
|
||||||
* $Id: prefs_dlg.c,v 1.27 2001/10/13 07:47:30 guy Exp $
|
* $Id: prefs_dlg.c,v 1.28 2001/10/13 07:56:27 guy Exp $
|
||||||
*
|
*
|
||||||
* Ethereal - Network traffic analyzer
|
* Ethereal - Network traffic analyzer
|
||||||
* By Gerald Combs <gerald@ethereal.com>
|
* By Gerald Combs <gerald@ethereal.com>
|
||||||
|
@ -307,6 +307,8 @@ prefs_cb(GtkWidget *w, gpointer dummy) {
|
||||||
ct_sb = gtk_scrolled_window_new(NULL, NULL);
|
ct_sb = gtk_scrolled_window_new(NULL, NULL);
|
||||||
gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(ct_sb),
|
gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(ct_sb),
|
||||||
GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
|
GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
|
||||||
|
set_scrollbar_placement_scrollw(ct_sb, prefs.gui_scrollbar_on_right);
|
||||||
|
remember_scrolled_window(ct_sb);
|
||||||
gtk_container_add(GTK_CONTAINER(top_hb), ct_sb);
|
gtk_container_add(GTK_CONTAINER(top_hb), ct_sb);
|
||||||
gtk_widget_show(ct_sb);
|
gtk_widget_show(ct_sb);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue