diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2017-02-27 10:53:25 +0100 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2017-02-27 11:41:00 +0000 |
commit | e8ff9f5b488383fba593143fdd81731c7c0c97d0 (patch) | |
tree | 0642f05e290f26da12f147464e2214fb338863be /plugins/pluginifdemo | |
parent | 513eed6871198d025a45ad70aaa50721857c2095 (diff) | |
download | wireshark-e8ff9f5b488383fba593143fdd81731c7c0c97d0.tar.gz |
pluginifdemo: Adjust title texts
Small improvement in the title texts.
Change-Id: Ia413577386dab11f78fd141d6333944beefb5b33
Reviewed-on: https://code.wireshark.org/review/20295
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Reviewed-by: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'plugins/pluginifdemo')
-rw-r--r-- | plugins/pluginifdemo/pluginifdemo.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/pluginifdemo/pluginifdemo.c b/plugins/pluginifdemo/pluginifdemo.c index 548677a80c..deb938fb6e 100644 --- a/plugins/pluginifdemo/pluginifdemo.c +++ b/plugins/pluginifdemo/pluginifdemo.c @@ -86,11 +86,11 @@ proto_register_pluginifdemo(void) ext_toolbar_t * tb = ext_toolbar_register_toolbar("Plugin Interface Demo Toolbar"); - ext_toolbar_add_entry(tb, EXT_TOOLBAR_BUTTON, "Test Button", 0, "Button to press", FALSE, 0, FALSE, 0, toolbar_cb, 0); - ext_toolbar_add_entry(tb, EXT_TOOLBAR_BUTTON, "Test 2 Button", 0, "Button 2 to press", TRUE, 0, FALSE, 0, toolbar_cb, 0); - ext_toolbar_add_entry(tb, EXT_TOOLBAR_BOOLEAN, "Test CheckBox", 0, "CheckBox to Select", FALSE, 0, FALSE, 0, toolbar_cb, 0); - ext_toolbar_add_entry(tb, EXT_TOOLBAR_STRING, "Reg String", "Default String", "Test Testbox", FALSE, 0, TRUE, 0, toolbar_cb, 0); - ext_toolbar_add_entry(tb, EXT_TOOLBAR_STRING, "Test Textbox", "ABC", "Box with Validation", FALSE, 0, FALSE, "^[A-Z]+", toolbar_cb, 0); + ext_toolbar_add_entry(tb, EXT_TOOLBAR_BUTTON, "Button 1", 0, "Button 1 to press", FALSE, 0, FALSE, 0, toolbar_cb, 0); + ext_toolbar_add_entry(tb, EXT_TOOLBAR_BUTTON, "Button 2", 0, "Button 2 to press", TRUE, 0, FALSE, 0, toolbar_cb, 0); + ext_toolbar_add_entry(tb, EXT_TOOLBAR_BOOLEAN, "Checkbox", 0, "Checkbox to Select", FALSE, 0, FALSE, 0, toolbar_cb, 0); + ext_toolbar_add_entry(tb, EXT_TOOLBAR_STRING, "String 1", "Default String", "String without validation", FALSE, 0, TRUE, 0, toolbar_cb, 0); + ext_toolbar_add_entry(tb, EXT_TOOLBAR_STRING, "String 2", "ABC", "String with validation", FALSE, 0, FALSE, "^[A-Z]+", toolbar_cb, 0); GList * entries = 0; entries = ext_toolbar_add_val( entries, "1", "ABCD", FALSE ); entries = ext_toolbar_add_val(entries, "2", "EFG", FALSE ); @@ -100,7 +100,7 @@ proto_register_pluginifdemo(void) entries = ext_toolbar_add_val(entries, "6", "QRS", FALSE ); entries = ext_toolbar_add_val(entries, "7", "TUVW", FALSE ); entries = ext_toolbar_add_val(entries, "8", "XYZ", FALSE ); - ext_toolbar_add_entry(tb, EXT_TOOLBAR_SELECTOR, "Test Selector", 0, "Selector to choose from", FALSE, entries, FALSE, 0, toolbar_cb, 0); + ext_toolbar_add_entry(tb, EXT_TOOLBAR_SELECTOR, "Selector", 0, "Selector to choose from", FALSE, entries, FALSE, 0, toolbar_cb, 0); pluginifdemo_toolbar_register(tb); } |