summaryrefslogtreecommitdiff
path: root/ui/gtk/dcerpc_stat.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2015-02-15 13:58:39 -0500
committerBill Meier <wmeier@newsguy.com>2015-02-15 19:02:30 +0000
commitbfde04b845485c5ebf0a9bed15392cf9f0c47374 (patch)
tree7a5ef55dbc0bf4163aa1eacc9c3964ea46b58f8b /ui/gtk/dcerpc_stat.c
parent7229c54ae95c7cb6bf0637a1eb21ceeed53dc28d (diff)
downloadwireshark-bfde04b845485c5ebf0a9bed15392cf9f0c47374.tar.gz
ui/gtk/*.c: Add editor modelines; As needed: Fix indentation
Change-Id: I8cd9d9fe5f12c284f46b8f725766f681faccd753 Reviewed-on: https://code.wireshark.org/review/7138 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'ui/gtk/dcerpc_stat.c')
-rw-r--r--ui/gtk/dcerpc_stat.c37
1 files changed, 25 insertions, 12 deletions
diff --git a/ui/gtk/dcerpc_stat.c b/ui/gtk/dcerpc_stat.c
index a674464d73..099c2133d7 100644
--- a/ui/gtk/dcerpc_stat.c
+++ b/ui/gtk/dcerpc_stat.c
@@ -517,7 +517,7 @@ void gtk_dcerpcstat_cb(GtkAction *action _U_, gpointer user_data _U_)
GtkWidget *vers_label, *vers_combo_box;
GtkWidget *filter_box, *filter_bt;
GtkWidget *bbox, *start_button, *cancel_button;
- GtkCellRenderer *cell_renderer;
+ GtkCellRenderer *cell_renderer;
#if 0
GtkTreeIter program_first_item_iter;
#endif
@@ -565,17 +565,17 @@ void gtk_dcerpcstat_cb(GtkAction *action _U_, gpointer user_data _U_)
(to show the children) but is "insensitive": ie: cannot be selected.
(dcerpcstat_add_program_to_menu() does the actual work to add entries
to the combo box).
- XXX: A simpler alternative might be to just do away with all the two-level
- complexity and just use a standard ws_combo_box... even though the
- list of "program names" is quite large.
- XXX: The gtkrc file distributed with Windows Wireshark has the
- "appears-as-list" GtkComboBox style property set to 1 and thus
- on Windows the entries for this combo box will appear as a tree-view.
- The default is 0(FALSE). In this case the the combo box entries will
- display as a menu with sub-menus.
- A possibility would be to set "appears-as-list" to 0 just for this
- particular combo box on Windows so that the entries will appear as a
- menu even on Windows).
+ XXX: A simpler alternative might be to just do away with all the two-level
+ complexity and just use a standard ws_combo_box... even though the
+ list of "program names" is quite large.
+ XXX: The gtkrc file distributed with Windows Wireshark has the
+ "appears-as-list" GtkComboBox style property set to 1 and thus
+ on Windows the entries for this combo box will appear as a tree-view.
+ The default is 0(FALSE). In this case the the combo box entries will
+ display as a menu with sub-menus.
+ A possibility would be to set "appears-as-list" to 0 just for this
+ particular combo box on Windows so that the entries will appear as a
+ menu even on Windows).
*/
prog_combo_box = ws_combo_box_new_text_and_pointer_full(&cell_renderer);
{
@@ -725,3 +725,16 @@ register_tap_listener_gtkdcerpcstat(void)
{
register_stat_tap_ui(&dcerpcstat_ui, NULL);
}
+
+/*
+ * Editor modelines - http://www.wireshark.org/tools/modelines.html
+ *
+ * Local variables:
+ * c-basic-offset: 8
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * End:
+ *
+ * vi: set shiftwidth=8 tabstop=8 noexpandtab:
+ * :indentSize=8:tabSize=8:noTabs=false:
+ */