Changeset a5d878cdc4363738db31c771dace7c14c4c75d3b
- Timestamp:
- 11/28/10 12:31:20 (2 years ago)
- Author:
- Nikita Zlobin <cook60020tmp@…>
- Children:
- e8f9b6b02ee1b13c36af920f47f12b3c129cd498
- Parents:
- 9e0b65484828b2b33db73d5324959df28b8d120d
- git-author:
- Nikita Zlobin <cook60020tmp@mail.ru> / 2010-11-28T15:14:43Z+0500
- git-committer:
- Nikita Zlobin <cook60020tmp@mail.ru> / 2010-11-28T15:31:20Z+0500
- Message:
-
gladish: Move help text from code to separate text file
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
ref3a389
|
ra5d878c
|
|
| 32 | 32 | #include "../proxies/room_proxy.h" |
| 33 | 33 | #include "../common/catdup.h" |
| | 34 | #include "../common/file.h" |
| 34 | 35 | |
| 35 | 36 | struct graph_view |
| … |
… |
|
| 52 | 53 | GtkWidget * g_view_label; |
| 53 | 54 | |
| 54 | | const char * g_view_label_text = |
| 55 | | "If you've started ladish for the first time, you should:\n\n" |
| 56 | | " 1. Create a new studio (in the menu, Studio -> New Studio)\n" |
| 57 | | " 2. Configure JACK (in the menu, Tools -> Configure JACK)\n" |
| 58 | | " 3. Start the studio (in the menu, Studio -> Start Studio)\n" |
| 59 | | " 4. Start apps (in the menu, Application -> Run)\n" |
| 60 | | " 5. Connect their ports by click & drag on canvas\n" |
| 61 | | " 6. Save the studio (in the menu, Studio -> Save Studio)\n"; |
| | 55 | const char * g_view_label_text = NULL; |
| 62 | 56 | |
| 63 | 57 | void view_init(void) |
| 64 | 58 | { |
| | 59 | g_view_label_text = read_file_contents(DATA_DIR "/help/default.txt"); |
| | 60 | |
| 65 | 61 | g_main_scrolledwin = GTK_SCROLLED_WINDOW(get_gtk_builder_widget("main_scrolledwin")); |
| 66 | 62 | INIT_LIST_HEAD(&g_views); |
-
|
r9e0b654
|
ra5d878c
|
|
| 547 | 547 | # GtkBuilder UI definitions (XML) |
| 548 | 548 | bld.install_files('${DATA_DIR}', 'gui/gladish.ui') |
| 549 | | |
| | 549 | |
| | 550 | # Help text |
| | 551 | bld.install_files('${DATA_DIR}/help', 'gui/help/default.txt') |
| | 552 | |
| 550 | 553 | bld.install_files('${PREFIX}/bin', 'ladish_control', chmod=0755) |
| 551 | 554 | |