aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/supported_protos_dlg.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-01-22 18:27:18 +0000
committerGerald Combs <gerald@wireshark.org>2013-01-22 18:27:18 +0000
commit6ef1fc5002e8ed04019e81f236d4978010b0dfdb (patch)
tree1ababab774a91fa1cd79ee279c660714030f18f6 /ui/gtk/supported_protos_dlg.c
parent394b6c1c00395d463897bee86c416bec8b173b7f (diff)
GTK+:
Get rid of user-hostile behavior. In the layout preferences pane 2 & 3 radio buttons overrode the user's selection if a duplicate item was selected. Now we assume that the user knows what he or she is doing and steal duplicate selections from the other panes. Qt: Match the new GTK+ behavior in the layout preferences. Add padding around the layout images. Add toolbar style preferences to the Appearance pane (instead of the layout pane). All: Remove the selection mode and scrollbar placement prefs and mark them obsolete as recently discussed on -dev. Adjust the layout images yet again after more Awful Monitor Testing. svn path=/trunk/; revision=47214
Diffstat (limited to 'ui/gtk/supported_protos_dlg.c')
-rw-r--r--ui/gtk/supported_protos_dlg.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ui/gtk/supported_protos_dlg.c b/ui/gtk/supported_protos_dlg.c
index 62ff363973..632839cced 100644
--- a/ui/gtk/supported_protos_dlg.c
+++ b/ui/gtk/supported_protos_dlg.c
@@ -131,14 +131,6 @@ void supported_cb(GtkWidget *w _U_, gpointer data _U_)
GTK_SHADOW_IN);
gtk_box_pack_start(GTK_BOX(dfilter_vb), txt_scrollw, TRUE, TRUE, 0);
dfilter_text = gtk_text_view_new();
- if (prefs.gui_scrollbar_on_right) {
- gtk_scrolled_window_set_placement(GTK_SCROLLED_WINDOW(txt_scrollw),
- GTK_CORNER_TOP_LEFT);
- }
- else {
- gtk_scrolled_window_set_placement(GTK_SCROLLED_WINDOW(txt_scrollw),
- GTK_CORNER_TOP_RIGHT);
- }
gtk_text_view_set_editable(GTK_TEXT_VIEW(dfilter_text), FALSE);
set_supported_text(dfilter_text, DFILTER_SUPPORTED);
gtk_container_add(GTK_CONTAINER(txt_scrollw), dfilter_text);