Changeset 923bcadf10d4814b7cfb10c6f52f0434258ff754
- Timestamp:
- 01/03/09 02:38:04 (4 years ago)
- Author:
- Armin Burgmeier <armin@…>
- Parents:
- c66abc31de85dace6d89600a4638b1993978f0e4
- Children:
- 567ed379efd8466c19f08e63ba4a08cd8d514085
- git-committer:
- Armin Burgmeier <armin@arbur.net> / 2009-01-03T02:38:04Z+0100
- Message:
-
Remember previous host names in direct connection entry
2009-01-02 Armin Burgmeier <armin@…>
- code/util/historyentry.hpp:
- code/util/historyentry.cpp:
- code/util/Makefile.am: Added a HistoryEntry? class which allows
scrolling through past entries in a GtkEntry?, optionally saving and
restoring the history from/to disk.
- code/core/browser.hpp:
- code/core/browser.cpp: Use a history entry for the hostname entry.
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
rc66abc3
|
r923bcad
|
|
| | 1 | 2009-01-02 Armin Burgmeier <armin@arbur.net> |
| | 2 | |
| | 3 | * code/util/historyentry.hpp: |
| | 4 | * code/util/historyentry.cpp: |
| | 5 | * code/util/Makefile.am: Added a HistoryEntry class which allows |
| | 6 | scrolling through past entries in a GtkEntry, optionally saving and |
| | 7 | restoring the history from/to disk. |
| | 8 | |
| | 9 | * code/core/browser.hpp: |
| | 10 | * code/core/browser.cpp: Use a history entry for the hostname entry. |
| | 11 | |
| 1 | 12 | 2008-12-31 Armin Burgmeier <armin@arbur.net> |
| 2 | 13 | |
-
|
rcfae6a6
|
r923bcad
|
|
| 41 | 41 | m_expander(_("_Direct Connection"), true), |
| 42 | 42 | m_hbox(false, 6), |
| 43 | | m_label_hostname(_("Host Name:")) |
| | 43 | m_label_hostname(_("Host Name:")), |
| | 44 | m_entry_hostname(config_filename(GOBBY_CONFIGDIR, "recent_hosts"), 5) |
| 44 | 45 | { |
| 45 | 46 | m_label_hostname.show(); |
| … |
… |
|
| 238 | 239 | sigc::mem_fun(*this, &Browser::on_resolv_error)); |
| 239 | 240 | |
| | 241 | m_entry_hostname.commit(); |
| 240 | 242 | m_entry_hostname.set_text(""); |
| 241 | 243 | |
-
|
r4d4ee96
|
r923bcad
|
|
| 23 | 23 | #include "core/preferences.hpp" |
| 24 | 24 | #include "util/resolv.hpp" |
| | 25 | #include "util/historyentry.hpp" |
| 25 | 26 | |
| 26 | 27 | #include <libinfgtk/inf-gtk-io.h> |
| … |
… |
|
| 130 | 131 | Gtk::HBox m_hbox; |
| 131 | 132 | Gtk::Label m_label_hostname; |
| 132 | | Gtk::Entry m_entry_hostname; |
| | 133 | HistoryEntry m_entry_hostname; |
| 133 | 134 | |
| 134 | 135 | ResolvMap m_resolv_map; |
-
|
ra618792
|
r923bcad
|
|
| 6 | 6 | config.cpp \ |
| 7 | 7 | file.cpp \ |
| | 8 | historyentry.cpp \ |
| 8 | 9 | i18n.cpp \ |
| 9 | 10 | resolv.cpp \ |
| … |
… |
|
| 16 | 17 | defaultaccumulator.hpp \ |
| 17 | 18 | file.hpp \ |
| | 19 | historyentry.hpp \ |
| 18 | 20 | i18n.hpp \ |
| 19 | 21 | resolv.hpp \ |