Changeset 40f94d4a045758474f9a9271472edb600ca5b459
- Timestamp:
- 09/07/08 20:24:21 (5 years ago)
- Author:
- Armin Burgmeier <armin@…>
- Parents:
- 575ced84a12ab4a4a6eab26db761acba29e33b47
- Children:
- fef8f20f82dd51db6ebe46a38ba58e219e8b7185
- git-committer:
- Armin Burgmeier <armin@arbur.net> / 2008-09-07T20:24:21Z+0200
- Message:
-
Set user active only for currently shown document
2008-09-07 Armin Burgmeier <armin@…>
- inc/commands/folder-commands.hpp:
- src/commands/folder-commands.cpp: Added FolderCommands? class,
setting user status according to currently activated document in
folder.
- src/core/folder.cpp: Make sure signal_document_added is emitted
before the first emission of signal_document_changed for the new
document.
- inc/commands/Makefile.am:
- src/commands/Makefile.am: Added new files to the build.
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r575ced8
|
r40f94d4
|
|
| | 1 | 2008-09-07 Armin Burgmeier <armin@arbur.net> |
| | 2 | |
| | 3 | * inc/commands/folder-commands.hpp: |
| | 4 | * src/commands/folder-commands.cpp: Added FolderCommands class, |
| | 5 | setting user status according to currently activated document in |
| | 6 | folder. |
| | 7 | |
| | 8 | * src/core/folder.cpp: Make sure signal_document_added is emitted |
| | 9 | before the first emission of signal_document_changed for the new |
| | 10 | document. |
| | 11 | |
| | 12 | * inc/window.hpp: |
| | 13 | * src/window.cpp: Instantiate FolderCommands. |
| | 14 | |
| | 15 | * inc/commands/Makefile.am: |
| | 16 | * src/commands/Makefile.am: Added new files to the build. |
| | 17 | |
| 1 | 18 | 2008-08-27 Armin Burgmeier <armin@arbur.net> |
| 2 | 19 | |
-
|
r092ccc3
|
r40f94d4
|
|
| 16 | 16 | and a way to re-show the former two. |
| 17 | 17 | - hue-only color selector |
| | 18 | - Set session title as initial file name in Save As filechooser |
| | 19 | - drag+drop-bare tabs |
| 18 | 20 | |
| 19 | 21 | These things need to be implemented in infinote, but again would be nice |
-
|
r092ccc3
|
r40f94d4
|
|
| 5 | 5 | edit-commands.hpp \ |
| 6 | 6 | file-commands.hpp \ |
| | 7 | folder-commands.hpp \ |
| 7 | 8 | help-commands.hpp \ |
| 8 | 9 | view-commands.hpp |
-
|
r092ccc3
|
r40f94d4
|
|
| 25 | 25 | #include "commands/browser-commands.hpp" |
| 26 | 26 | #include "commands/browser-context-commands.hpp" |
| | 27 | #include "commands/folder-commands.hpp" |
| 27 | 28 | #include "commands/file-commands.hpp" |
| 28 | 29 | #include "commands/edit-commands.hpp" |
| … |
… |
|
| 95 | 96 | BrowserCommands m_commands_browser; |
| 96 | 97 | BrowserContextCommands m_commands_browser_context; |
| | 98 | FolderCommands m_commands_folder; |
| 97 | 99 | FileCommands m_commands_file; |
| 98 | 100 | EditCommands m_commands_edit; |
-
|
r092ccc3
|
r40f94d4
|
|
| 6 | 6 | edit-commands.cpp \ |
| 7 | 7 | file-commands.cpp \ |
| | 8 | folder-commands.cpp \ |
| 8 | 9 | help-commands.cpp \ |
| 9 | 10 | view-commands.cpp |
-
|
r3bb782a9
|
r40f94d4
|
|
| 261 | 261 | m_preferences, m_lang_manager)); |
| 262 | 262 | window->show(); |
| | 263 | m_signal_document_added.emit(*window); |
| 263 | 264 | |
| 264 | 265 | TabLabel* tablabel = Gtk::manage(new TabLabel(*window, title)); |
| … |
… |
|
| 273 | 274 | record(session, title); |
| 274 | 275 | |
| 275 | | m_signal_document_added.emit(*window); |
| 276 | 276 | return *window; |
| 277 | 277 | } |
-
|
r092ccc3
|
r40f94d4
|
|
| 37 | 37 | m_commands_browser_context(*this, m_browser, m_file_chooser, |
| 38 | 38 | m_operations, m_preferences), |
| | 39 | m_commands_folder(m_folder), |
| 39 | 40 | m_commands_file(*this, m_header, m_browser, m_folder, m_file_chooser, |
| 40 | 41 | m_operations, m_info_storage, m_preferences), |