aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/prefs_dlg.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-01-03 01:02:30 +0000
committerGerald Combs <gerald@wireshark.org>2013-01-03 01:02:30 +0000
commit430e97c866dc2baec48a8eb253f31906b65f250c (patch)
treeb345ec93c6238e1f5980b9cb3751b0f804d60e12 /ui/gtk/prefs_dlg.h
parent98c8897f262981376f01dfccfc1a14d1dbeca08f (diff)
Move the font preferences to the colors pane and change its name to
"Font and Colors". Use a GtkFontButton to select the font and update the sample text accordingly. Instead of attempting to resize the sample color text (which didn't appear to work) scroll to the text that matches the current combo box selection. svn path=/trunk/; revision=46909
Diffstat (limited to 'ui/gtk/prefs_dlg.h')
-rw-r--r--ui/gtk/prefs_dlg.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/ui/gtk/prefs_dlg.h b/ui/gtk/prefs_dlg.h
index 433ec5b43b..440443ce87 100644
--- a/ui/gtk/prefs_dlg.h
+++ b/ui/gtk/prefs_dlg.h
@@ -26,8 +26,8 @@
#define __PREFS_DLG_H__
/** @defgroup prefs_group Preferences
- *
- * All GUI related preferences things. Please note, that some GUI related things
+ *
+ * All GUI related preferences things. Please note, that some GUI related things
* are saved in the recent file, which is processed in recent.h.
*
* The Preference dialog has the following page submodules:
@@ -38,8 +38,8 @@
ui [ label="User Interface" URL="\ref prefs_gui.h"];
layout [ label="UI: Layout" URL="\ref prefs_layout.h"];
columns [ label="UI: Columns" URL="\ref prefs_column.h"];
- font [ label="UI: Font" URL="\ref prefs_gui.h"];
- colors [ label="UI: Colors" URL="\ref prefs_stream.h"];
+ font [ label="UI: Font" URL="\ref prefs_font_colors.h"];
+ colors [ label="UI: Colors" URL="\ref prefs_font_colors.h"];
capture [ label="Capture" URL="\ref prefs_capture.h"];
print [ label="Printing" URL="\ref prefs_print.h"];
nameres [ label="Name resolution" URL="\ref prefs_nameres.h"];
@@ -71,14 +71,14 @@ typedef enum {
} PREFS_PAGE_E;
/** Show the preferences dialog.
- *
+ *
* @param widget parent widget (unused)
* @param data unused
*/
extern void prefs_cb(GtkWidget *widget, gpointer data);
/** Show the preferences dialog in given page.
- *
+ *
* @param widget parent widget (unused)
* @param data unused
* @param prefs_page page to show
@@ -86,7 +86,7 @@ extern void prefs_cb(GtkWidget *widget, gpointer data);
extern void prefs_page_cb(GtkWidget *widget, gpointer data, PREFS_PAGE_E prefs_page);
/** Show the protocol properties dialog.
- *
+ *
* @param widget parent widget (unused)
* @param data unused
*/
@@ -119,7 +119,7 @@ extern GtkWidget *create_preference_radio_buttons(GtkWidget *main_tb, int table_
const enum_val_t *enumvals, gint current_val);
/** Get the currently selected value from a radio button.
- *
+ *
* @param button the button from create_preference_radio_buttons()
* @param enumvals the same enum vals as in create_preference_radio_buttons()
* @return the index of the currently selected item
@@ -141,7 +141,7 @@ extern GtkWidget *create_preference_option_menu(GtkWidget *main_tb, int table_ro
const enum_val_t *enumvals, gint current_val);
/** Get the currently selected value from an option menu.
- *
+ *
* @param optmenu the option menu from create_preference_option_menu()
* @param enumvals the same enum vals as in create_preference_option_menu()
* @return the index of the currently selected item