Compare commits
28 Commits
Author | SHA1 | Date |
---|---|---|
Kolan Sh | bb985a96e0 | |
Kolan Sh | 6553736aab | |
Kolan Sh | 3b362ef7f9 | |
Kolan Sh | 9aca644b7c | |
Kolan Sh | f798be983a | |
Kolan Sh | 35d8b59df4 | |
Kolan Sh | 6efa22c4c8 | |
Kolan Sh | 5a872acd87 | |
Kolan Sh | 7f11e70f32 | |
Kolan Sh | 2763b3ef30 | |
Kolan Sh | 755a69fd9e | |
Kolan Sh | c36a3be5cd | |
Kolan Sh | 514c36efd4 | |
Kolan Sh | c0a61031a9 | |
Kolan Sh | 0d3aa990aa | |
Kolan Sh | 086006a0fe | |
Kolan Sh | 0fce33dfc6 | |
Kolan Sh | 601b2eb303 | |
Kolan Sh | b0b4b986cd | |
Kolan Sh | 41b1dcac0e | |
Kolan Sh | 0e3639fdfd | |
Kolan Sh | d6a149e040 | |
Kolan Sh | 8f3ccf2d6e | |
Kolan Sh | 2096c19f2b | |
Kolan Sh | e9522144f2 | |
Kolan Sh | e8578fb018 | |
Kolan Sh | fea1168533 | |
Kolan Sh | 38ef905dde |
|
@ -7,7 +7,7 @@ SET (PROJECT_DESCRIPTION "LAview Desktop Application.")
|
||||||
|
|
||||||
SET (MAJOR 1)
|
SET (MAJOR 1)
|
||||||
SET (MINOR 1)
|
SET (MINOR 1)
|
||||||
SET (PATCH 1)
|
SET (PATCH 5)
|
||||||
|
|
||||||
LIST (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/backbone)
|
LIST (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/backbone)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: laview-desktop\n"
|
"Project-Id-Version: laview-desktop\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2016-01-27 04:50+0300\n"
|
"POT-Creation-Date: 2016-02-14 15:22+0300\n"
|
||||||
"PO-Revision-Date: 2015-10-24 20:19+0300\n"
|
"PO-Revision-Date: 2015-10-24 20:19+0300\n"
|
||||||
"Last-Translator: <backbone@backbone.ws>\n"
|
"Last-Translator: <backbone@backbone.ws>\n"
|
||||||
"Language-Team: German\n"
|
"Language-Team: German\n"
|
||||||
|
@ -25,77 +25,69 @@ msgstr ""
|
||||||
msgid "It is too lazy to select a directory each time..."
|
msgid "It is too lazy to select a directory each time..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:58
|
#: src/MainWindow.vala:64
|
||||||
msgid "We're ready, Commander! Select or create a template. :-)"
|
msgid "We're ready, Commander! Select or create a template. :-)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:76 src/MainWindow.vala:120 src/MainWindow.vala:194
|
#: src/MainWindow.vala:82 src/MainWindow.vala:125 src/MainWindow.vala:199
|
||||||
#: src/MainWindow.vala:212 src/MainWindow.vala:312
|
#: src/MainWindow.vala:217 src/MainWindow.vala:255 src/MainWindow.vala:321
|
||||||
msgid "Error"
|
msgid "Error"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:84
|
#: src/MainWindow.vala:90
|
||||||
msgid "Select templates"
|
msgid "Select templates"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:86 src/MainWindow.vala:268
|
#: src/MainWindow.vala:92 src/MainWindow.vala:281
|
||||||
msgid "_Cancel"
|
msgid "_Cancel"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:87
|
#: src/MainWindow.vala:93
|
||||||
msgid "_Open"
|
msgid "_Open"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:166
|
#: src/MainWindow.vala:171
|
||||||
msgid "After composing all objects print the document."
|
msgid "After composing all objects print the document."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:248
|
#: src/MainWindow.vala:261
|
||||||
msgid "Document analized, select an object and set it's properties."
|
msgid "Document analized, select an object and set it's properties."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:253
|
#: src/MainWindow.vala:266
|
||||||
msgid "Press 'Properties' button to compose the object."
|
msgid "Press 'Properties' button to compose the object."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:262
|
#: src/MainWindow.vala:275
|
||||||
msgid "Prepare the document first! >;-]"
|
msgid "Prepare the document first! >;-]"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:266
|
#: src/MainWindow.vala:279
|
||||||
msgid "Select destination"
|
msgid "Select destination"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:269
|
#: src/MainWindow.vala:282
|
||||||
msgid "_Save"
|
msgid "_Save"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:305
|
#: src/MainWindow.vala:314
|
||||||
msgid "bytes of"
|
msgid "bytes of"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:306
|
#: src/MainWindow.vala:315
|
||||||
msgid "bytes copied/saved"
|
msgid "bytes copied/saved"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:309
|
#: src/MainWindow.vala:318
|
||||||
msgid "Save/Copy operation complete! :-)"
|
msgid "Save/Copy operation complete! :-)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/main.vala:33
|
#: src/main.vala:64 src/main.vala:83
|
||||||
msgid "Show the application's version"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/main.vala:52
|
|
||||||
msgid "[FILE]"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/main.vala:64
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Error: %s\n"
|
msgid "Error: %s\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/main.vala:65
|
#: src/main.vala:84
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Run '%s --help' to see a full list of available command line options.\n"
|
msgid "Run '%s --help' to see a full list of available command line options.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -137,89 +129,81 @@ msgid "Common"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:10
|
#: ui/glade/laview-desktop.glade.h:10
|
||||||
msgid "Protocol Plugins"
|
msgid "Object plugins"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:11
|
#: ui/glade/laview-desktop.glade.h:11
|
||||||
msgid "Protocol plugins"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:12
|
|
||||||
msgid "Data Plugins"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:13
|
|
||||||
msgid "Data plugins"
|
msgid "Data plugins"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:14
|
#: ui/glade/laview-desktop.glade.h:12
|
||||||
msgid "LAview Desktop"
|
msgid "LAview Desktop"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:15
|
#: ui/glade/laview-desktop.glade.h:13
|
||||||
msgid "_Template"
|
msgid "_Template"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:16
|
#: ui/glade/laview-desktop.glade.h:14
|
||||||
msgid "_Document"
|
msgid "_Document"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:17
|
#: ui/glade/laview-desktop.glade.h:15
|
||||||
msgid "_Application"
|
msgid "_Application"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:18
|
#: ui/glade/laview-desktop.glade.h:16
|
||||||
msgid "_Help"
|
msgid "_Help"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:19
|
#: ui/glade/laview-desktop.glade.h:17
|
||||||
msgid "Create a new template"
|
msgid "Create a new template"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:20
|
#: ui/glade/laview-desktop.glade.h:18
|
||||||
msgid "Open a template"
|
msgid "Open a template"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:21
|
#: ui/glade/laview-desktop.glade.h:19
|
||||||
msgid "Change selected template"
|
msgid "Change selected template"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:22
|
#: ui/glade/laview-desktop.glade.h:20
|
||||||
msgid "Delete selected template"
|
msgid "Delete selected template"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:23
|
#: ui/glade/laview-desktop.glade.h:21
|
||||||
msgid "Document object preparing"
|
msgid "Document object preparing"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:24
|
#: ui/glade/laview-desktop.glade.h:22
|
||||||
msgid "View and print the document"
|
msgid "View and print the document"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:25
|
#: ui/glade/laview-desktop.glade.h:23
|
||||||
msgid "Edit the result document"
|
msgid "Edit the result document"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:26
|
#: ui/glade/laview-desktop.glade.h:24
|
||||||
msgid "Save the document as..."
|
msgid "Save the document as..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:27
|
#: ui/glade/laview-desktop.glade.h:25
|
||||||
msgid "Application preferences"
|
msgid "Application preferences"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:28
|
#: ui/glade/laview-desktop.glade.h:26
|
||||||
msgid "Help and reference"
|
msgid "Help and reference"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:29
|
#: ui/glade/laview-desktop.glade.h:27
|
||||||
msgid "Close the application"
|
msgid "Close the application"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:30
|
#: ui/glade/laview-desktop.glade.h:28
|
||||||
msgid "Templates"
|
msgid "Templates"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:31
|
#: ui/glade/laview-desktop.glade.h:29
|
||||||
msgid "Document Objects"
|
msgid "Document Objects"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: laview-desktop\n"
|
"Project-Id-Version: laview-desktop\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2016-01-27 04:50+0300\n"
|
"POT-Creation-Date: 2016-02-14 15:22+0300\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -25,77 +25,69 @@ msgstr ""
|
||||||
msgid "It is too lazy to select a directory each time..."
|
msgid "It is too lazy to select a directory each time..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:58
|
#: src/MainWindow.vala:64
|
||||||
msgid "We're ready, Commander! Select or create a template. :-)"
|
msgid "We're ready, Commander! Select or create a template. :-)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:76 src/MainWindow.vala:120 src/MainWindow.vala:194
|
#: src/MainWindow.vala:82 src/MainWindow.vala:125 src/MainWindow.vala:199
|
||||||
#: src/MainWindow.vala:212 src/MainWindow.vala:312
|
#: src/MainWindow.vala:217 src/MainWindow.vala:255 src/MainWindow.vala:321
|
||||||
msgid "Error"
|
msgid "Error"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:84
|
#: src/MainWindow.vala:90
|
||||||
msgid "Select templates"
|
msgid "Select templates"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:86 src/MainWindow.vala:268
|
#: src/MainWindow.vala:92 src/MainWindow.vala:281
|
||||||
msgid "_Cancel"
|
msgid "_Cancel"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:87
|
#: src/MainWindow.vala:93
|
||||||
msgid "_Open"
|
msgid "_Open"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:166
|
#: src/MainWindow.vala:171
|
||||||
msgid "After composing all objects print the document."
|
msgid "After composing all objects print the document."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:248
|
#: src/MainWindow.vala:261
|
||||||
msgid "Document analized, select an object and set it's properties."
|
msgid "Document analized, select an object and set it's properties."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:253
|
#: src/MainWindow.vala:266
|
||||||
msgid "Press 'Properties' button to compose the object."
|
msgid "Press 'Properties' button to compose the object."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:262
|
#: src/MainWindow.vala:275
|
||||||
msgid "Prepare the document first! >;-]"
|
msgid "Prepare the document first! >;-]"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:266
|
#: src/MainWindow.vala:279
|
||||||
msgid "Select destination"
|
msgid "Select destination"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:269
|
#: src/MainWindow.vala:282
|
||||||
msgid "_Save"
|
msgid "_Save"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:305
|
#: src/MainWindow.vala:314
|
||||||
msgid "bytes of"
|
msgid "bytes of"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:306
|
#: src/MainWindow.vala:315
|
||||||
msgid "bytes copied/saved"
|
msgid "bytes copied/saved"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/MainWindow.vala:309
|
#: src/MainWindow.vala:318
|
||||||
msgid "Save/Copy operation complete! :-)"
|
msgid "Save/Copy operation complete! :-)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/main.vala:33
|
#: src/main.vala:64 src/main.vala:83
|
||||||
msgid "Show the application's version"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/main.vala:52
|
|
||||||
msgid "[FILE]"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/main.vala:64
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Error: %s\n"
|
msgid "Error: %s\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/main.vala:65
|
#: src/main.vala:84
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Run '%s --help' to see a full list of available command line options.\n"
|
msgid "Run '%s --help' to see a full list of available command line options.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -137,89 +129,81 @@ msgid "Common"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:10
|
#: ui/glade/laview-desktop.glade.h:10
|
||||||
msgid "Protocol Plugins"
|
msgid "Object plugins"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:11
|
#: ui/glade/laview-desktop.glade.h:11
|
||||||
msgid "Protocol plugins"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:12
|
|
||||||
msgid "Data Plugins"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:13
|
|
||||||
msgid "Data plugins"
|
msgid "Data plugins"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:14
|
#: ui/glade/laview-desktop.glade.h:12
|
||||||
msgid "LAview Desktop"
|
msgid "LAview Desktop"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:15
|
#: ui/glade/laview-desktop.glade.h:13
|
||||||
msgid "_Template"
|
msgid "_Template"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:16
|
#: ui/glade/laview-desktop.glade.h:14
|
||||||
msgid "_Document"
|
msgid "_Document"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:17
|
#: ui/glade/laview-desktop.glade.h:15
|
||||||
msgid "_Application"
|
msgid "_Application"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:18
|
#: ui/glade/laview-desktop.glade.h:16
|
||||||
msgid "_Help"
|
msgid "_Help"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:19
|
#: ui/glade/laview-desktop.glade.h:17
|
||||||
msgid "Create a new template"
|
msgid "Create a new template"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:20
|
#: ui/glade/laview-desktop.glade.h:18
|
||||||
msgid "Open a template"
|
msgid "Open a template"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:21
|
#: ui/glade/laview-desktop.glade.h:19
|
||||||
msgid "Change selected template"
|
msgid "Change selected template"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:22
|
#: ui/glade/laview-desktop.glade.h:20
|
||||||
msgid "Delete selected template"
|
msgid "Delete selected template"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:23
|
#: ui/glade/laview-desktop.glade.h:21
|
||||||
msgid "Document object preparing"
|
msgid "Document object preparing"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:24
|
#: ui/glade/laview-desktop.glade.h:22
|
||||||
msgid "View and print the document"
|
msgid "View and print the document"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:25
|
#: ui/glade/laview-desktop.glade.h:23
|
||||||
msgid "Edit the result document"
|
msgid "Edit the result document"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:26
|
#: ui/glade/laview-desktop.glade.h:24
|
||||||
msgid "Save the document as..."
|
msgid "Save the document as..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:27
|
#: ui/glade/laview-desktop.glade.h:25
|
||||||
msgid "Application preferences"
|
msgid "Application preferences"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:28
|
#: ui/glade/laview-desktop.glade.h:26
|
||||||
msgid "Help and reference"
|
msgid "Help and reference"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:29
|
#: ui/glade/laview-desktop.glade.h:27
|
||||||
msgid "Close the application"
|
msgid "Close the application"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:30
|
#: ui/glade/laview-desktop.glade.h:28
|
||||||
msgid "Templates"
|
msgid "Templates"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:31
|
#: ui/glade/laview-desktop.glade.h:29
|
||||||
msgid "Document Objects"
|
msgid "Document Objects"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -7,7 +7,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: laview-desktop\n"
|
"Project-Id-Version: laview-desktop\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2016-01-27 04:50+0300\n"
|
"POT-Creation-Date: 2016-02-14 15:22+0300\n"
|
||||||
"PO-Revision-Date: 2015-10-24 20:19+0300\n"
|
"PO-Revision-Date: 2015-10-24 20:19+0300\n"
|
||||||
"Last-Translator: <backbone@backbone.ws>\n"
|
"Last-Translator: <backbone@backbone.ws>\n"
|
||||||
"Language-Team: Russian\n"
|
"Language-Team: Russian\n"
|
||||||
|
@ -26,77 +26,69 @@ msgstr "Директория для сохранения pdf файлов (по
|
||||||
msgid "It is too lazy to select a directory each time..."
|
msgid "It is too lazy to select a directory each time..."
|
||||||
msgstr "Слишком лениво выбирать каждый раз директорию для сохранения..."
|
msgstr "Слишком лениво выбирать каждый раз директорию для сохранения..."
|
||||||
|
|
||||||
#: src/MainWindow.vala:58
|
#: src/MainWindow.vala:64
|
||||||
msgid "We're ready, Commander! Select or create a template. :-)"
|
msgid "We're ready, Commander! Select or create a template. :-)"
|
||||||
msgstr "Мы готовы, Командир! Выберите или создайте шаблон. :-)"
|
msgstr "Мы готовы, Командир! Выберите или создайте шаблон. :-)"
|
||||||
|
|
||||||
#: src/MainWindow.vala:76 src/MainWindow.vala:120 src/MainWindow.vala:194
|
#: src/MainWindow.vala:82 src/MainWindow.vala:125 src/MainWindow.vala:199
|
||||||
#: src/MainWindow.vala:212 src/MainWindow.vala:312
|
#: src/MainWindow.vala:217 src/MainWindow.vala:255 src/MainWindow.vala:321
|
||||||
msgid "Error"
|
msgid "Error"
|
||||||
msgstr "Ошибка"
|
msgstr "Ошибка"
|
||||||
|
|
||||||
#: src/MainWindow.vala:84
|
#: src/MainWindow.vala:90
|
||||||
msgid "Select templates"
|
msgid "Select templates"
|
||||||
msgstr "Выберите шаблоны"
|
msgstr "Выберите шаблоны"
|
||||||
|
|
||||||
#: src/MainWindow.vala:86 src/MainWindow.vala:268
|
#: src/MainWindow.vala:92 src/MainWindow.vala:281
|
||||||
msgid "_Cancel"
|
msgid "_Cancel"
|
||||||
msgstr "_Отмена"
|
msgstr "_Отмена"
|
||||||
|
|
||||||
#: src/MainWindow.vala:87
|
#: src/MainWindow.vala:93
|
||||||
msgid "_Open"
|
msgid "_Open"
|
||||||
msgstr "_Открыть"
|
msgstr "_Открыть"
|
||||||
|
|
||||||
#: src/MainWindow.vala:166
|
#: src/MainWindow.vala:171
|
||||||
msgid "After composing all objects print the document."
|
msgid "After composing all objects print the document."
|
||||||
msgstr "После компоновки всех объектов напечатайте документ."
|
msgstr "После компоновки всех объектов напечатайте документ."
|
||||||
|
|
||||||
#: src/MainWindow.vala:248
|
#: src/MainWindow.vala:261
|
||||||
msgid "Document analized, select an object and set it's properties."
|
msgid "Document analized, select an object and set it's properties."
|
||||||
msgstr "Документ проанализирован, выберите объект и установите его свойства."
|
msgstr "Документ проанализирован, выберите объект и установите его свойства."
|
||||||
|
|
||||||
#: src/MainWindow.vala:253
|
#: src/MainWindow.vala:266
|
||||||
msgid "Press 'Properties' button to compose the object."
|
msgid "Press 'Properties' button to compose the object."
|
||||||
msgstr "Нажмите кнопку 'Свойства' для компоновки объекта."
|
msgstr "Нажмите кнопку 'Свойства' для компоновки объекта."
|
||||||
|
|
||||||
#: src/MainWindow.vala:262
|
#: src/MainWindow.vala:275
|
||||||
msgid "Prepare the document first! >;-]"
|
msgid "Prepare the document first! >;-]"
|
||||||
msgstr "Сначала подготовьте документ! >;-]"
|
msgstr "Сначала подготовьте документ! >;-]"
|
||||||
|
|
||||||
#: src/MainWindow.vala:266
|
#: src/MainWindow.vala:279
|
||||||
msgid "Select destination"
|
msgid "Select destination"
|
||||||
msgstr "Выберите назначение"
|
msgstr "Выберите назначение"
|
||||||
|
|
||||||
#: src/MainWindow.vala:269
|
#: src/MainWindow.vala:282
|
||||||
msgid "_Save"
|
msgid "_Save"
|
||||||
msgstr "_Сохранить"
|
msgstr "_Сохранить"
|
||||||
|
|
||||||
#: src/MainWindow.vala:305
|
#: src/MainWindow.vala:314
|
||||||
msgid "bytes of"
|
msgid "bytes of"
|
||||||
msgstr "байт из"
|
msgstr "байт из"
|
||||||
|
|
||||||
#: src/MainWindow.vala:306
|
#: src/MainWindow.vala:315
|
||||||
msgid "bytes copied/saved"
|
msgid "bytes copied/saved"
|
||||||
msgstr "байт скопировано/сохранено"
|
msgstr "байт скопировано/сохранено"
|
||||||
|
|
||||||
#: src/MainWindow.vala:309
|
#: src/MainWindow.vala:318
|
||||||
msgid "Save/Copy operation complete! :-)"
|
msgid "Save/Copy operation complete! :-)"
|
||||||
msgstr "Операция сохранения/копирования завершена! :-)"
|
msgstr "Операция сохранения/копирования завершена! :-)"
|
||||||
|
|
||||||
#: src/main.vala:33
|
#: src/main.vala:64 src/main.vala:83
|
||||||
msgid "Show the application's version"
|
|
||||||
msgstr "Показать версию приложения"
|
|
||||||
|
|
||||||
#: src/main.vala:52
|
|
||||||
msgid "[FILE]"
|
|
||||||
msgstr "[ФАЙЛ]"
|
|
||||||
|
|
||||||
#: src/main.vala:64
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Error: %s\n"
|
msgid "Error: %s\n"
|
||||||
msgstr "Ошибка: %s\n"
|
msgstr "Ошибка: %s\n"
|
||||||
|
|
||||||
#: src/main.vala:65
|
#: src/main.vala:84
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Run '%s --help' to see a full list of available command line options.\n"
|
msgid "Run '%s --help' to see a full list of available command line options.\n"
|
||||||
msgstr "Запустите '%s --help', чтобы увидеть весь список доступных опций.\n"
|
msgstr "Запустите '%s --help', чтобы увидеть весь список доступных опций.\n"
|
||||||
|
@ -138,89 +130,81 @@ msgid "Common"
|
||||||
msgstr "Общие"
|
msgstr "Общие"
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:10
|
#: ui/glade/laview-desktop.glade.h:10
|
||||||
msgid "Protocol Plugins"
|
msgid "Object plugins"
|
||||||
msgstr "Плагины протоколов"
|
msgstr "Плагины объектов"
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:11
|
#: ui/glade/laview-desktop.glade.h:11
|
||||||
msgid "Protocol plugins"
|
|
||||||
msgstr "Плагины протоколов"
|
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:12
|
|
||||||
msgid "Data Plugins"
|
|
||||||
msgstr "Плагины данных"
|
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:13
|
|
||||||
msgid "Data plugins"
|
msgid "Data plugins"
|
||||||
msgstr "Плагины данных"
|
msgstr "Плагины данных"
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:14
|
#: ui/glade/laview-desktop.glade.h:12
|
||||||
msgid "LAview Desktop"
|
msgid "LAview Desktop"
|
||||||
msgstr "Рабочее окно LAview"
|
msgstr "Рабочее окно LAview"
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:15
|
#: ui/glade/laview-desktop.glade.h:13
|
||||||
msgid "_Template"
|
msgid "_Template"
|
||||||
msgstr "_Шаблон"
|
msgstr "_Шаблон"
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:16
|
#: ui/glade/laview-desktop.glade.h:14
|
||||||
msgid "_Document"
|
msgid "_Document"
|
||||||
msgstr "_Документ"
|
msgstr "_Документ"
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:17
|
#: ui/glade/laview-desktop.glade.h:15
|
||||||
msgid "_Application"
|
msgid "_Application"
|
||||||
msgstr "_Приложение"
|
msgstr "_Приложение"
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:18
|
#: ui/glade/laview-desktop.glade.h:16
|
||||||
msgid "_Help"
|
msgid "_Help"
|
||||||
msgstr "_Помощь"
|
msgstr "_Помощь"
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:19
|
#: ui/glade/laview-desktop.glade.h:17
|
||||||
msgid "Create a new template"
|
msgid "Create a new template"
|
||||||
msgstr "Создать новый шаблон"
|
msgstr "Создать новый шаблон"
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:20
|
#: ui/glade/laview-desktop.glade.h:18
|
||||||
msgid "Open a template"
|
msgid "Open a template"
|
||||||
msgstr "Открыть шаблон"
|
msgstr "Открыть шаблон"
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:21
|
#: ui/glade/laview-desktop.glade.h:19
|
||||||
msgid "Change selected template"
|
msgid "Change selected template"
|
||||||
msgstr "Изменить выбранный шаблон"
|
msgstr "Изменить выбранный шаблон"
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:22
|
#: ui/glade/laview-desktop.glade.h:20
|
||||||
msgid "Delete selected template"
|
msgid "Delete selected template"
|
||||||
msgstr "Удалить выбранный шаблон"
|
msgstr "Удалить выбранный шаблон"
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:23
|
#: ui/glade/laview-desktop.glade.h:21
|
||||||
msgid "Document object preparing"
|
msgid "Document object preparing"
|
||||||
msgstr "Подготовка объекта документа"
|
msgstr "Подготовка объекта документа"
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:24
|
#: ui/glade/laview-desktop.glade.h:22
|
||||||
msgid "View and print the document"
|
msgid "View and print the document"
|
||||||
msgstr "Просмотр и печать документа"
|
msgstr "Просмотр и печать документа"
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:25
|
#: ui/glade/laview-desktop.glade.h:23
|
||||||
msgid "Edit the result document"
|
msgid "Edit the result document"
|
||||||
msgstr "Редактировать полученный документ"
|
msgstr "Редактировать полученный документ"
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:26
|
#: ui/glade/laview-desktop.glade.h:24
|
||||||
msgid "Save the document as..."
|
msgid "Save the document as..."
|
||||||
msgstr "Сохранить документ как..."
|
msgstr "Сохранить документ как..."
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:27
|
#: ui/glade/laview-desktop.glade.h:25
|
||||||
msgid "Application preferences"
|
msgid "Application preferences"
|
||||||
msgstr "Параметры приложения"
|
msgstr "Параметры приложения"
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:28
|
#: ui/glade/laview-desktop.glade.h:26
|
||||||
msgid "Help and reference"
|
msgid "Help and reference"
|
||||||
msgstr "Помощь и справка"
|
msgstr "Помощь и справка"
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:29
|
#: ui/glade/laview-desktop.glade.h:27
|
||||||
msgid "Close the application"
|
msgid "Close the application"
|
||||||
msgstr "Закрыть приложение"
|
msgstr "Закрыть приложение"
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:30
|
#: ui/glade/laview-desktop.glade.h:28
|
||||||
msgid "Templates"
|
msgid "Templates"
|
||||||
msgstr "Шаблоны"
|
msgstr "Шаблоны"
|
||||||
|
|
||||||
#: ui/glade/laview-desktop.glade.h:31
|
#: ui/glade/laview-desktop.glade.h:29
|
||||||
msgid "Document Objects"
|
msgid "Document Objects"
|
||||||
msgstr "Объекты документа"
|
msgstr "Объекты документа"
|
||||||
|
|
|
@ -8,15 +8,16 @@ namespace LAview.Desktop {
|
||||||
public class AboutDialogWindow {
|
public class AboutDialogWindow {
|
||||||
AboutDialog dialog;
|
AboutDialog dialog;
|
||||||
|
|
||||||
public AboutDialogWindow (Window parent) throws Error {
|
public AboutDialogWindow (Gtk.Application application, Window parent) throws Error {
|
||||||
var builder = new Builder ();
|
var builder = new Builder ();
|
||||||
builder.add_from_file (AppDirs.ui_dir + "/laview-desktop.glade");
|
builder.add_from_file (AppDirs.ui_dir + "/laview-desktop.glade");
|
||||||
builder.connect_signals (this);
|
builder.connect_signals (this);
|
||||||
|
|
||||||
dialog = builder.get_object ("aboutdialog_window") as AboutDialog;
|
dialog = builder.get_object ("aboutdialog_window") as AboutDialog;
|
||||||
dialog.set_destroy_with_parent (true);
|
dialog.destroy_with_parent = true;
|
||||||
dialog.set_transient_for (parent);
|
dialog.transient_for = parent;
|
||||||
dialog.set_modal (true);
|
dialog.modal = true;
|
||||||
|
dialog.application = application;
|
||||||
dialog.delete_event.connect ((source) => {return true;});
|
dialog.delete_event.connect ((source) => {return true;});
|
||||||
|
|
||||||
dialog.version = @" $(Config.VERSION_MAJOR).$(Config.VERSION_MINOR).$(Config.VERSION_PATCH)";
|
dialog.version = @" $(Config.VERSION_MAJOR).$(Config.VERSION_MINOR).$(Config.VERSION_PATCH)";
|
||||||
|
|
|
@ -9,5 +9,8 @@ namespace LAview.Desktop {
|
||||||
settings = new AppSettings();
|
settings = new AppSettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void terminate () {
|
||||||
|
core = null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@ namespace LAview.Desktop {
|
||||||
*/
|
*/
|
||||||
public class MainWindow {
|
public class MainWindow {
|
||||||
|
|
||||||
Window window;
|
ApplicationWindow window;
|
||||||
PreferencesDialog pref_dialog;
|
PreferencesDialog pref_dialog;
|
||||||
AboutDialogWindow about_dialog;
|
AboutDialogWindow about_dialog;
|
||||||
SubprocessDialog subprocess_dialog;
|
SubprocessDialog subprocess_dialog;
|
||||||
|
@ -17,12 +17,12 @@ namespace LAview.Desktop {
|
||||||
TreeView treeview_templates;
|
TreeView treeview_templates;
|
||||||
TreeView treeview_objects;
|
TreeView treeview_objects;
|
||||||
|
|
||||||
public MainWindow () throws Error {
|
public MainWindow (Gtk.Application application) throws Error {
|
||||||
var builder = new Builder ();
|
var builder = new Builder ();
|
||||||
builder.add_from_file (AppDirs.ui_dir + "/laview-desktop.glade");
|
builder.add_from_file (AppDirs.ui_dir + "/laview-desktop.glade");
|
||||||
builder.connect_signals (this);
|
builder.connect_signals (this);
|
||||||
|
|
||||||
window = builder.get_object ("main_window") as Window;
|
window = builder.get_object ("main_window") as ApplicationWindow;
|
||||||
statusbar = builder.get_object ("statusbar") as Statusbar;
|
statusbar = builder.get_object ("statusbar") as Statusbar;
|
||||||
liststore_templates = builder.get_object ("liststore_templates") as Gtk.ListStore;
|
liststore_templates = builder.get_object ("liststore_templates") as Gtk.ListStore;
|
||||||
liststore_doc_objects = builder.get_object ("liststore_objects") as Gtk.ListStore;
|
liststore_doc_objects = builder.get_object ("liststore_objects") as Gtk.ListStore;
|
||||||
|
@ -31,11 +31,17 @@ namespace LAview.Desktop {
|
||||||
window.title = "LAview Desktop"
|
window.title = "LAview Desktop"
|
||||||
+ @" $(Config.VERSION_MAJOR).$(Config.VERSION_MINOR).$(Config.VERSION_PATCH)";
|
+ @" $(Config.VERSION_MAJOR).$(Config.VERSION_MINOR).$(Config.VERSION_PATCH)";
|
||||||
|
|
||||||
pref_dialog = new PreferencesDialog (window);
|
pref_dialog = new PreferencesDialog (application, window);
|
||||||
subprocess_dialog = new SubprocessDialog (window);
|
subprocess_dialog = new SubprocessDialog (application, window);
|
||||||
about_dialog = new AboutDialogWindow (window);
|
about_dialog = new AboutDialogWindow (application, window);
|
||||||
|
|
||||||
fill_liststore_templates ();
|
fill_liststore_templates ();
|
||||||
|
|
||||||
|
application.app_menu = builder.get_object ("menubar") as MenuModel;
|
||||||
|
application.menubar = builder.get_object ("main_toolbar") as MenuModel;
|
||||||
|
window.application = application;
|
||||||
|
|
||||||
|
window.destroy.connect (() => { window.application.quit (); });
|
||||||
}
|
}
|
||||||
|
|
||||||
void fill_liststore_templates () {
|
void fill_liststore_templates () {
|
||||||
|
@ -86,14 +92,13 @@ namespace LAview.Desktop {
|
||||||
_("_Cancel"), ResponseType.CANCEL,
|
_("_Cancel"), ResponseType.CANCEL,
|
||||||
_("_Open"), ResponseType.ACCEPT);
|
_("_Open"), ResponseType.ACCEPT);
|
||||||
chooser.select_multiple = true;
|
chooser.select_multiple = true;
|
||||||
FileFilter filter = new FileFilter ();
|
chooser.filter = new FileFilter ();
|
||||||
chooser.set_filter (filter);
|
chooser.filter.add_mime_type ("application/x-tex");
|
||||||
filter.add_mime_type ("application/x-tex");
|
chooser.filter.add_mime_type ("application/x-latex");
|
||||||
filter.add_mime_type ("application/x-latex");
|
chooser.filter.add_mime_type ("application/x-lyx");
|
||||||
filter.add_mime_type ("application/x-lyx");
|
chooser.filter.add_pattern ("*.tex");
|
||||||
filter.add_pattern ("*.tex");
|
chooser.filter.add_pattern ("*.latex");
|
||||||
filter.add_pattern ("*.latex");
|
chooser.filter.add_pattern ("*.lyx");
|
||||||
filter.add_pattern ("*.lyx");
|
|
||||||
|
|
||||||
if (chooser.run () == ResponseType.ACCEPT) {
|
if (chooser.run () == ResponseType.ACCEPT) {
|
||||||
var paths = chooser.get_filenames ();
|
var paths = chooser.get_filenames ();
|
||||||
|
@ -156,16 +161,26 @@ namespace LAview.Desktop {
|
||||||
return indices;
|
return indices;
|
||||||
}
|
}
|
||||||
|
|
||||||
[CCode (instance_pos = -1)]
|
void compose_object () {
|
||||||
public void action_compose_activate (Gtk.Action action) {
|
|
||||||
var t_indices = get_template_indices ();
|
var t_indices = get_template_indices ();
|
||||||
var o_indices = get_objects_indices ();
|
var o_indices = get_objects_indices ();
|
||||||
if (t_indices.length != 0 && o_indices.length != 0) {
|
if (t_indices.length != 0 && o_indices.length != 0)
|
||||||
AppCore.core.compose_object (t_indices[0], o_indices[0]);
|
AppCore.core.compose_object (t_indices[0], o_indices[0]);
|
||||||
}
|
|
||||||
statusbar_show (_("After composing all objects print the document."));
|
statusbar_show (_("After composing all objects print the document."));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[CCode (instance_pos = -1)]
|
||||||
|
public void action_compose_activate (Gtk.Action action) {
|
||||||
|
compose_object();
|
||||||
|
}
|
||||||
|
|
||||||
|
[CCode (instance_pos = -1)]
|
||||||
|
public void objects_activated (Gtk.TreeView treeview,
|
||||||
|
Gtk.TreePath path,
|
||||||
|
Gtk.TreeViewColumn column) {
|
||||||
|
compose_object();
|
||||||
|
}
|
||||||
|
|
||||||
[CCode (instance_pos = -1)]
|
[CCode (instance_pos = -1)]
|
||||||
public void action_edit_result_activate (Gtk.Action action) {
|
public void action_edit_result_activate (Gtk.Action action) {
|
||||||
var indices = get_template_indices();
|
var indices = get_template_indices();
|
||||||
|
@ -237,12 +252,20 @@ namespace LAview.Desktop {
|
||||||
public void templates_cursor_changed (Gtk.TreeView treeview) {
|
public void templates_cursor_changed (Gtk.TreeView treeview) {
|
||||||
var indices = get_template_indices ();
|
var indices = get_template_indices ();
|
||||||
if (indices.length != 0) {
|
if (indices.length != 0) {
|
||||||
var doc_objects = AppCore.core.get_objects_list (indices[0]);
|
try {
|
||||||
liststore_doc_objects.clear();
|
var doc_objects = AppCore.core.get_objects_list (indices[0]);
|
||||||
Gtk.TreeIter iter = Gtk.TreeIter();
|
liststore_doc_objects.clear();
|
||||||
foreach (var t in doc_objects) {
|
Gtk.TreeIter iter = Gtk.TreeIter();
|
||||||
liststore_doc_objects.append (out iter);
|
foreach (var t in doc_objects) {
|
||||||
liststore_doc_objects.set (iter, 0, t);
|
liststore_doc_objects.append (out iter);
|
||||||
|
liststore_doc_objects.set (iter, 0, t);
|
||||||
|
}
|
||||||
|
} catch (Error err) {
|
||||||
|
var msg = new MessageDialog (window, DialogFlags.MODAL, MessageType.ERROR,
|
||||||
|
ButtonsType.CLOSE, _("Error")+@": $(err.message).");
|
||||||
|
msg.response.connect ((response_id) => { msg.destroy (); } );
|
||||||
|
msg.show ();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
statusbar_show (_("Document analized, select an object and set it's properties."));
|
statusbar_show (_("Document analized, select an object and set it's properties."));
|
||||||
|
@ -268,14 +291,13 @@ namespace LAview.Desktop {
|
||||||
_("_Cancel"), ResponseType.CANCEL,
|
_("_Cancel"), ResponseType.CANCEL,
|
||||||
_("_Save"), ResponseType.ACCEPT);
|
_("_Save"), ResponseType.ACCEPT);
|
||||||
chooser.select_multiple = false;
|
chooser.select_multiple = false;
|
||||||
FileFilter filter = new FileFilter ();
|
chooser.filter = new FileFilter ();
|
||||||
chooser.set_filter (filter);
|
chooser.filter.add_mime_type ("application/pdf");
|
||||||
filter.add_mime_type ("application/pdf");
|
chooser.filter.add_pattern ("*.pdf");
|
||||||
filter.add_pattern ("*.pdf");
|
|
||||||
|
|
||||||
// set folder
|
// set folder
|
||||||
if (AppCore.settings.pdf_save_path != "")
|
if (AppCore.settings.pdf_save_path != "")
|
||||||
chooser.set_current_folder(AppCore.settings.pdf_save_path);
|
chooser.set_current_folder (AppCore.settings.pdf_save_path);
|
||||||
|
|
||||||
// set current pdf file name or select an existance one
|
// set current pdf file name or select an existance one
|
||||||
var template_name = AppCore.core.get_template_path_by_index (indices[0]);
|
var template_name = AppCore.core.get_template_path_by_index (indices[0]);
|
||||||
|
@ -314,5 +336,10 @@ namespace LAview.Desktop {
|
||||||
|
|
||||||
chooser.close ();
|
chooser.close ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[CCode (instance_pos = -1)]
|
||||||
|
public void action_quit_activate (Gtk.Action action) {
|
||||||
|
window.destroy();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,50 +8,47 @@ namespace LAview.Desktop {
|
||||||
public class PreferencesDialog {
|
public class PreferencesDialog {
|
||||||
Dialog dialog;
|
Dialog dialog;
|
||||||
Gtk.ListStore liststore_data;
|
Gtk.ListStore liststore_data;
|
||||||
Gtk.ListStore liststore_protocols;
|
Gtk.ListStore liststore_objects;
|
||||||
FileChooserButton filechooserbutton_lyx;
|
FileChooserButton filechooserbutton_lyx;
|
||||||
FileChooserButton filechooserbutton_pdflatex;
|
FileChooserButton filechooserbutton_pdflatex;
|
||||||
|
|
||||||
public PreferencesDialog (Window parent) throws Error {
|
public PreferencesDialog (Gtk.Application application, Window parent) throws Error {
|
||||||
var builder = new Builder ();
|
var builder = new Builder ();
|
||||||
builder.add_from_file (AppDirs.ui_dir + "/laview-desktop.glade");
|
builder.add_from_file (AppDirs.ui_dir + "/laview-desktop.glade");
|
||||||
builder.connect_signals (this);
|
builder.connect_signals (this);
|
||||||
|
|
||||||
dialog = builder.get_object ("preferences_window") as Dialog;
|
dialog = builder.get_object ("preferences_window") as Dialog;
|
||||||
dialog.set_transient_for (parent);
|
dialog.transient_for = parent;
|
||||||
dialog.set_modal (true);
|
dialog.modal = true;
|
||||||
|
//dialog.application = application;
|
||||||
dialog.delete_event.connect ((source) => {return true;});
|
dialog.delete_event.connect ((source) => {return true;});
|
||||||
liststore_data = builder.get_object ("liststore_data") as Gtk.ListStore;
|
liststore_data = builder.get_object ("liststore_data") as Gtk.ListStore;
|
||||||
liststore_protocols = builder.get_object ("liststore_protocols") as Gtk.ListStore;
|
liststore_objects = builder.get_object ("liststore_protocol_objects") as Gtk.ListStore;
|
||||||
filechooserbutton_lyx = builder.get_object ("filechooserbutton_lyx") as FileChooserButton;
|
filechooserbutton_lyx = builder.get_object ("filechooserbutton_lyx") as FileChooserButton;
|
||||||
filechooserbutton_pdflatex = builder.get_object ("filechooserbutton_pdflatex") as FileChooserButton;
|
filechooserbutton_pdflatex = builder.get_object ("filechooserbutton_pdflatex") as FileChooserButton;
|
||||||
|
|
||||||
fill_liststore_data ();
|
fill_liststore_data ();
|
||||||
fill_liststore_protocols ();
|
fill_liststore_objects ();
|
||||||
|
|
||||||
filechooserbutton_lyx.set_filename (AppCore.core.lyx_path);
|
filechooserbutton_lyx.set_filename (AppCore.core.lyx_path);
|
||||||
filechooserbutton_pdflatex.set_filename (AppCore.core.pdflatex_path);
|
filechooserbutton_pdflatex.set_filename (AppCore.core.pdflatex_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
void fill_liststore_data () {
|
void fill_liststore_data () {
|
||||||
var data_plugins = AppCore.core.get_data_plugins ();
|
|
||||||
|
|
||||||
liststore_data.clear();
|
liststore_data.clear();
|
||||||
TreeIter iter = TreeIter();
|
TreeIter iter = TreeIter();
|
||||||
foreach (var p in data_plugins.entries) {
|
foreach (var p in AppCore.core.data_plugins.entries) {
|
||||||
liststore_data.append (out iter);
|
liststore_data.append (out iter);
|
||||||
liststore_data.set (iter, 0, p.value.get_readable_name ());
|
liststore_data.set (iter, 0, p.value.get_readable_name ());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void fill_liststore_protocols () {
|
void fill_liststore_objects () {
|
||||||
var protocol_plugins = AppCore.core.get_protocol_plugins ();
|
liststore_objects.clear();
|
||||||
|
|
||||||
liststore_protocols.clear();
|
|
||||||
TreeIter iter = TreeIter();
|
TreeIter iter = TreeIter();
|
||||||
foreach (var p in protocol_plugins.entries) {
|
foreach (var p in AppCore.core.object_plugins.entries) {
|
||||||
liststore_protocols.append (out iter);
|
liststore_objects.append (out iter);
|
||||||
liststore_protocols.set (iter, 0, p.value.get_readable_name ());
|
liststore_objects.set (iter, 0, p.value.get_readable_name ());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,5 +7,8 @@ namespace LAview.Desktop {
|
||||||
resource = Resource.load (resource_file);
|
resource = Resource.load (resource_file);
|
||||||
resource._register();
|
resource._register();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void terminate () {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,14 +13,15 @@ namespace LAview.Desktop {
|
||||||
|
|
||||||
public delegate void PostProcessDelegate ();
|
public delegate void PostProcessDelegate ();
|
||||||
|
|
||||||
public SubprocessDialog (Window parent) throws Error {
|
public SubprocessDialog (Gtk.Application application, Window parent) throws Error {
|
||||||
var builder = new Builder ();
|
var builder = new Builder ();
|
||||||
builder.add_from_file (AppDirs.ui_dir + "/laview-desktop.glade");
|
builder.add_from_file (AppDirs.ui_dir + "/laview-desktop.glade");
|
||||||
builder.connect_signals (this);
|
builder.connect_signals (this);
|
||||||
|
|
||||||
dialog = builder.get_object ("subprocess_dialog") as Dialog;
|
dialog = builder.get_object ("subprocess_dialog") as Dialog;
|
||||||
dialog.set_transient_for (parent);
|
dialog.transient_for = parent;
|
||||||
dialog.set_modal (true);
|
dialog.modal = true;
|
||||||
|
//dialog.application = application;
|
||||||
dialog.delete_event.connect ((source) => {return true;});
|
dialog.delete_event.connect ((source) => {return true;});
|
||||||
textview_stderrout = builder.get_object ("textview_stderrout") as TextView;
|
textview_stderrout = builder.get_object ("textview_stderrout") as TextView;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,43 +4,6 @@ namespace LAview.Desktop {
|
||||||
|
|
||||||
using Gtk;
|
using Gtk;
|
||||||
|
|
||||||
/**
|
|
||||||
* Resolve a path beginning with "~"
|
|
||||||
* Look at: https://github.com/ssokolow/gvrun/blob/master/process_runner.vala#L86
|
|
||||||
*/
|
|
||||||
#if (linux || UNIX || __unix__)
|
|
||||||
static string expand_tilde (string path) {
|
|
||||||
if (!path.has_prefix ("~")) return path; // Just pass paths through if they don't start with ~
|
|
||||||
|
|
||||||
// Split the ~user portion from the path (Use / for the path if not present)
|
|
||||||
string parts[2];
|
|
||||||
if (!(Path.DIR_SEPARATOR_S in path)) {
|
|
||||||
parts = { path.substring(1), Path.DIR_SEPARATOR_S };
|
|
||||||
} else {
|
|
||||||
string trimmed = path.substring(1);
|
|
||||||
parts = trimmed.split(Path.DIR_SEPARATOR_S, 2);
|
|
||||||
}
|
|
||||||
warn_if_fail(parts.length == 2);
|
|
||||||
|
|
||||||
// Handle both "~" and "~user" forms
|
|
||||||
string home_path;
|
|
||||||
if (parts[0] == "") {
|
|
||||||
home_path = Environment.get_variable("HOME") ?? Environment.get_home_dir();
|
|
||||||
} else {
|
|
||||||
unowned Posix.Passwd _pw = Posix.getpwnam(parts[0]);
|
|
||||||
home_path = (_pw == null) ? null : _pw.pw_dir;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Fail safely if we couldn't look up a homedir
|
|
||||||
if (home_path == null) {
|
|
||||||
warning("Could not get homedir for user: %s", parts[0].length > 0 ? parts[0] : "<current user>");
|
|
||||||
return path;
|
|
||||||
} else {
|
|
||||||
return home_path + Path.DIR_SEPARATOR_S + parts[1];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Open document.
|
* Open document.
|
||||||
* Idea borrowed from: https://github.com/ssokolow/gvrun/blob/master/process_runner.vala
|
* Idea borrowed from: https://github.com/ssokolow/gvrun/blob/master/process_runner.vala
|
||||||
|
@ -51,7 +14,7 @@ namespace LAview.Desktop {
|
||||||
foreach (var opener in OPENERS) {
|
foreach (var opener in OPENERS) {
|
||||||
if (Environment.find_program_in_path (opener) != null) {
|
if (Environment.find_program_in_path (opener) != null) {
|
||||||
try {
|
try {
|
||||||
string[] argv = { opener, expand_tilde (path) };
|
string[] argv = { opener, path };
|
||||||
Process.spawn_async(null, argv, null, SpawnFlags.SEARCH_PATH, null, null);
|
Process.spawn_async(null, argv, null, SpawnFlags.SEARCH_PATH, null, null);
|
||||||
} catch (SpawnError err) {
|
} catch (SpawnError err) {
|
||||||
var msg = new MessageDialog (parent_window, DialogFlags.MODAL, MessageType.ERROR,
|
var msg = new MessageDialog (parent_window, DialogFlags.MODAL, MessageType.ERROR,
|
||||||
|
|
|
@ -4,7 +4,7 @@ namespace LAview.Desktop {
|
||||||
|
|
||||||
using Gtk, LAview.Desktop;
|
using Gtk, LAview.Desktop;
|
||||||
|
|
||||||
namespace CommandlineOptions {
|
/*namespace CommandlineOptions {
|
||||||
// bool no_startup_progress = false;
|
// bool no_startup_progress = false;
|
||||||
// string data_dir = null;
|
// string data_dir = null;
|
||||||
bool show_version = false;
|
bool show_version = false;
|
||||||
|
@ -38,34 +38,52 @@ namespace LAview.Desktop {
|
||||||
|
|
||||||
return entries;
|
return entries;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
void main (string[] args) {
|
|
||||||
|
|
||||||
try {
|
public class LAviewDesktopApp : Gtk.Application {
|
||||||
|
|
||||||
AppDirs.init (args);
|
MainWindow main_window;
|
||||||
AppCore.init (args);
|
|
||||||
Resources.init (args);
|
|
||||||
|
|
||||||
Gtk.init_with_args (ref args, _("[FILE]"), CommandlineOptions.get_options (), GETTEXT_PACKAGE);
|
public LAviewDesktopApp () {
|
||||||
|
Object(application_id: "ws.backbone.laview.desktop",
|
||||||
// Internationalization
|
flags: ApplicationFlags.FLAGS_NONE);
|
||||||
Intl.bindtextdomain (GETTEXT_PACKAGE, AppDirs.locale_dir);
|
|
||||||
Intl.bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
|
||||||
|
|
||||||
var main_window = new MainWindow ();
|
|
||||||
main_window.show_all ();
|
|
||||||
|
|
||||||
Gtk.main ();
|
|
||||||
|
|
||||||
} catch (Error e) {
|
|
||||||
stderr.printf (_("Error: %s\n"), e.message);
|
|
||||||
stderr.printf (_("Run '%s --help' to see a full list of available command line options.\n"), args[0]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
AppDirs.terminate();
|
~LAviewDesktopApp () {
|
||||||
|
Resources.terminate ();
|
||||||
|
AppCore.terminate ();
|
||||||
|
AppDirs.terminate ();
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
protected override void activate () {
|
||||||
|
try {
|
||||||
|
main_window = new MainWindow (this);
|
||||||
|
main_window.show_all ();
|
||||||
|
} catch (Error e) {
|
||||||
|
stderr.printf (_("Error: %s\n"), e.message);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static int main (string[] args) {
|
||||||
|
try {
|
||||||
|
AppDirs.init (args);
|
||||||
|
AppCore.init (args);
|
||||||
|
Resources.init (args);
|
||||||
|
//Gtk.init_with_args (ref args, _("[FILE]"), CommandlineOptions.get_options (), GETTEXT_PACKAGE);
|
||||||
|
|
||||||
|
// Internationalization
|
||||||
|
Intl.bindtextdomain (GETTEXT_PACKAGE, AppDirs.locale_dir);
|
||||||
|
Intl.bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
||||||
|
|
||||||
|
var app = new LAviewDesktopApp ();
|
||||||
|
return app.run (args);
|
||||||
|
|
||||||
|
} catch (Error e) {
|
||||||
|
stderr.printf (_("Error: %s\n"), e.message);
|
||||||
|
stderr.printf (_("Run '%s --help' to see a full list of available command line options.\n"), args[0]);
|
||||||
|
return e.code;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- Generated with glade 3.18.3 -->
|
<!-- Generated with glade 3.19.0 -->
|
||||||
<interface domain="laview-desktop-@MAJOR@">
|
<interface domain="laview-desktop-@MAJOR@">
|
||||||
<requires lib="gtk+" version="3.16"/>
|
<requires lib="gtk+" version="3.16"/>
|
||||||
<object class="GtkAboutDialog" id="aboutdialog_window">
|
<object class="GtkAboutDialog" id="aboutdialog_window">
|
||||||
|
@ -41,65 +41,83 @@
|
||||||
<object class="GtkActionGroup" id="actiongroup_main">
|
<object class="GtkActionGroup" id="actiongroup_main">
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkAction" id="action_new">
|
<object class="GtkAction" id="action_new">
|
||||||
<property name="icon_name">drive-optical</property>
|
<property name="stock_id">gtk-new</property>
|
||||||
<property name="always_show_image">True</property>
|
<property name="always_show_image">True</property>
|
||||||
<signal name="activate" handler="laview_desktop_main_window_action_new_activate" swapped="no"/>
|
<signal name="activate" handler="laview_desktop_main_window_action_new_activate" swapped="no"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkAction" id="action_open">
|
<object class="GtkAction" id="action_open">
|
||||||
|
<property name="stock_id">gtk-open</property>
|
||||||
<property name="always_show_image">True</property>
|
<property name="always_show_image">True</property>
|
||||||
<signal name="activate" handler="laview_desktop_main_window_action_open_activate" swapped="no"/>
|
<signal name="activate" handler="laview_desktop_main_window_action_open_activate" swapped="no"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkAction" id="action_edit_template">
|
<object class="GtkAction" id="action_edit_template">
|
||||||
|
<property name="label" translatable="yes">_Template</property>
|
||||||
|
<property name="stock_id">gtk-edit</property>
|
||||||
<property name="always_show_image">True</property>
|
<property name="always_show_image">True</property>
|
||||||
<signal name="activate" handler="laview_desktop_main_window_action_edit_template_activate" swapped="no"/>
|
<signal name="activate" handler="laview_desktop_main_window_action_edit_template_activate" swapped="no"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkAction" id="action_delete">
|
<object class="GtkAction" id="action_delete">
|
||||||
|
<property name="stock_id">gtk-delete</property>
|
||||||
<property name="always_show_image">True</property>
|
<property name="always_show_image">True</property>
|
||||||
<signal name="activate" handler="laview_desktop_main_window_action_delete_activate" swapped="no"/>
|
<signal name="activate" handler="laview_desktop_main_window_action_delete_activate" swapped="no"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkAction" id="action_prepare">
|
<object class="GtkAction" id="action_prepare">
|
||||||
|
<property name="stock_id">gtk-properties</property>
|
||||||
<property name="always_show_image">True</property>
|
<property name="always_show_image">True</property>
|
||||||
<signal name="activate" handler="laview_desktop_main_window_action_compose_activate" swapped="no"/>
|
<signal name="activate" handler="laview_desktop_main_window_action_compose_activate" swapped="no"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkAction" id="action_print">
|
<object class="GtkAction" id="action_print">
|
||||||
|
<property name="stock_id">gtk-print</property>
|
||||||
<property name="always_show_image">True</property>
|
<property name="always_show_image">True</property>
|
||||||
<signal name="activate" handler="laview_desktop_main_window_action_print_activate" swapped="no"/>
|
<signal name="activate" handler="laview_desktop_main_window_action_print_activate" swapped="no"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkAction" id="action_ref">
|
<object class="GtkAction" id="action_ref">
|
||||||
|
<property name="stock_id">gtk-help</property>
|
||||||
<property name="always_show_image">True</property>
|
<property name="always_show_image">True</property>
|
||||||
<signal name="activate" handler="laview_desktop_main_window_action_ref_activate" swapped="no"/>
|
<signal name="activate" handler="laview_desktop_main_window_action_ref_activate" swapped="no"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkAction" id="action_preferences">
|
<object class="GtkAction" id="action_preferences">
|
||||||
|
<property name="stock_id">gtk-preferences</property>
|
||||||
<property name="always_show_image">True</property>
|
<property name="always_show_image">True</property>
|
||||||
<signal name="activate" handler="laview_desktop_main_window_action_preferences_activate" swapped="no"/>
|
<signal name="activate" handler="laview_desktop_main_window_action_preferences_activate" swapped="no"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkAction" id="action_edit_result">
|
<object class="GtkAction" id="action_edit_result">
|
||||||
|
<property name="label" translatable="yes">_Document</property>
|
||||||
|
<property name="stock_id">gtk-edit</property>
|
||||||
<property name="always_show_image">True</property>
|
<property name="always_show_image">True</property>
|
||||||
<signal name="activate" handler="laview_desktop_main_window_action_edit_result_activate" swapped="no"/>
|
<signal name="activate" handler="laview_desktop_main_window_action_edit_result_activate" swapped="no"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkAction" id="action_saveas">
|
<object class="GtkAction" id="action_saveas">
|
||||||
|
<property name="stock_id">gtk-save</property>
|
||||||
<property name="always_show_image">True</property>
|
<property name="always_show_image">True</property>
|
||||||
<signal name="activate" handler="laview_desktop_main_window_action_saveas_activate" swapped="no"/>
|
<signal name="activate" handler="laview_desktop_main_window_action_saveas_activate" swapped="no"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkAction" id="action_quit">
|
||||||
|
<property name="stock_id">gtk-quit</property>
|
||||||
|
<property name="always_show_image">True</property>
|
||||||
|
<signal name="activate" handler="laview_desktop_main_window_action_quit_activate" swapped="no"/>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
</object>
|
</object>
|
||||||
<object class="GtkFileFilter" id="filefilter_open">
|
<object class="GtkFileFilter" id="filefilter_open">
|
||||||
<patterns>
|
<patterns>
|
||||||
|
@ -119,7 +137,7 @@
|
||||||
<column type="gchararray"/>
|
<column type="gchararray"/>
|
||||||
</columns>
|
</columns>
|
||||||
</object>
|
</object>
|
||||||
<object class="GtkListStore" id="liststore_protocols">
|
<object class="GtkListStore" id="liststore_protocol_objects">
|
||||||
<columns>
|
<columns>
|
||||||
<!-- column-name name -->
|
<!-- column-name name -->
|
||||||
<column type="gchararray"/>
|
<column type="gchararray"/>
|
||||||
|
@ -269,16 +287,16 @@
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="shadow_type">in</property>
|
<property name="shadow_type">in</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkTreeView" id="treeview_protocols">
|
<object class="GtkTreeView" id="treeview_protocol_objects">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="model">liststore_protocols</property>
|
<property name="model">liststore_protocol_objects</property>
|
||||||
<child internal-child="selection">
|
<child internal-child="selection">
|
||||||
<object class="GtkTreeSelection" id="treeview-selection5"/>
|
<object class="GtkTreeSelection" id="treeview-selection5"/>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkTreeViewColumn" id="treeviewcolumn3">
|
<object class="GtkTreeViewColumn" id="treeviewcolumn3">
|
||||||
<property name="title" translatable="yes">Protocol Plugins</property>
|
<property name="title" translatable="yes">Object plugins</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkCellRendererText" id="cellrenderertext2"/>
|
<object class="GtkCellRendererText" id="cellrenderertext2"/>
|
||||||
<attributes>
|
<attributes>
|
||||||
|
@ -305,7 +323,7 @@
|
||||||
<object class="GtkLabel" id="label2">
|
<object class="GtkLabel" id="label2">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="label" translatable="yes">Protocol plugins</property>
|
<property name="label" translatable="yes">Object plugins</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="position">1</property>
|
<property name="position">1</property>
|
||||||
|
@ -332,7 +350,7 @@
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkTreeViewColumn" id="treeviewcolumn4">
|
<object class="GtkTreeViewColumn" id="treeviewcolumn4">
|
||||||
<property name="title" translatable="yes">Data Plugins</property>
|
<property name="title" translatable="yes">Data plugins</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkCellRendererText" id="cellrenderertext3"/>
|
<object class="GtkCellRendererText" id="cellrenderertext3"/>
|
||||||
<attributes>
|
<attributes>
|
||||||
|
@ -382,14 +400,13 @@
|
||||||
<column type="gchararray"/>
|
<column type="gchararray"/>
|
||||||
</columns>
|
</columns>
|
||||||
</object>
|
</object>
|
||||||
<object class="GtkWindow" id="main_window">
|
<object class="GtkApplicationWindow" id="main_window">
|
||||||
<property name="width_request">640</property>
|
<property name="width_request">640</property>
|
||||||
<property name="height_request">480</property>
|
<property name="height_request">480</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="margin_top">3</property>
|
<property name="margin_top">3</property>
|
||||||
<property name="border_width">4</property>
|
<property name="border_width">4</property>
|
||||||
<property name="title" translatable="yes">LAview Desktop</property>
|
<property name="title" translatable="yes">LAview Desktop</property>
|
||||||
<signal name="destroy" handler="gtk_main_quit" swapped="no"/>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox" id="main_vbox">
|
<object class="GtkBox" id="main_vbox">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
@ -420,6 +437,7 @@
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
<property name="use_stock">True</property>
|
<property name="use_stock">True</property>
|
||||||
<property name="always_show_image">True</property>
|
<property name="always_show_image">True</property>
|
||||||
|
<accelerator key="n" signal="activate" modifiers="GDK_CONTROL_MASK"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
|
@ -432,6 +450,7 @@
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
<property name="use_stock">True</property>
|
<property name="use_stock">True</property>
|
||||||
<property name="always_show_image">True</property>
|
<property name="always_show_image">True</property>
|
||||||
|
<accelerator key="o" signal="activate" modifiers="GDK_CONTROL_MASK"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
|
@ -444,6 +463,7 @@
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
<property name="use_stock">True</property>
|
<property name="use_stock">True</property>
|
||||||
<property name="always_show_image">True</property>
|
<property name="always_show_image">True</property>
|
||||||
|
<accelerator key="e" signal="activate" modifiers="GDK_CONTROL_MASK"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
|
@ -456,6 +476,7 @@
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
<property name="use_stock">True</property>
|
<property name="use_stock">True</property>
|
||||||
<property name="always_show_image">True</property>
|
<property name="always_show_image">True</property>
|
||||||
|
<accelerator key="Delete" signal="activate"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
|
@ -469,12 +490,13 @@
|
||||||
<object class="GtkImageMenuItem" id="menuitem_quit">
|
<object class="GtkImageMenuItem" id="menuitem_quit">
|
||||||
<property name="label">gtk-quit</property>
|
<property name="label">gtk-quit</property>
|
||||||
<property name="use_action_appearance">False</property>
|
<property name="use_action_appearance">False</property>
|
||||||
|
<property name="related_action">action_quit</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
<property name="use_stock">True</property>
|
<property name="use_stock">True</property>
|
||||||
<property name="always_show_image">True</property>
|
<property name="always_show_image">True</property>
|
||||||
<signal name="activate" handler="gtk_main_quit" swapped="no"/>
|
<accelerator key="q" signal="activate" modifiers="GDK_CONTROL_MASK"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
@ -503,6 +525,7 @@
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
<property name="use_stock">True</property>
|
<property name="use_stock">True</property>
|
||||||
<property name="always_show_image">True</property>
|
<property name="always_show_image">True</property>
|
||||||
|
<accelerator key="r" signal="activate" modifiers="GDK_CONTROL_MASK"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
|
@ -515,6 +538,7 @@
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
<property name="use_stock">True</property>
|
<property name="use_stock">True</property>
|
||||||
<property name="always_show_image">True</property>
|
<property name="always_show_image">True</property>
|
||||||
|
<accelerator key="p" signal="activate" modifiers="GDK_CONTROL_MASK"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
|
@ -539,6 +563,7 @@
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
<property name="use_stock">True</property>
|
<property name="use_stock">True</property>
|
||||||
<property name="always_show_image">True</property>
|
<property name="always_show_image">True</property>
|
||||||
|
<accelerator key="s" signal="activate" modifiers="GDK_CONTROL_MASK"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
@ -593,6 +618,8 @@
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
<property name="use_stock">True</property>
|
<property name="use_stock">True</property>
|
||||||
<property name="always_show_image">True</property>
|
<property name="always_show_image">True</property>
|
||||||
|
<accelerator key="F1" signal="activate"/>
|
||||||
|
<accelerator key="h" signal="activate" modifiers="GDK_CONTROL_MASK"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
|
@ -625,7 +652,7 @@
|
||||||
<property name="toolbar_style">both</property>
|
<property name="toolbar_style">both</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton" id="toolbutton_new">
|
<object class="GtkToolButton" id="toolbutton_new">
|
||||||
<property name="use_action_appearance">False</property>
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="related_action">action_new</property>
|
<property name="related_action">action_new</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
|
@ -640,7 +667,7 @@
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton" id="toolbutton_open">
|
<object class="GtkToolButton" id="toolbutton_open">
|
||||||
<property name="use_action_appearance">False</property>
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="related_action">action_open</property>
|
<property name="related_action">action_open</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
|
@ -655,7 +682,7 @@
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton" id="toolbutton_edit_template">
|
<object class="GtkToolButton" id="toolbutton_edit_template">
|
||||||
<property name="use_action_appearance">False</property>
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="related_action">action_edit_template</property>
|
<property name="related_action">action_edit_template</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
|
@ -671,7 +698,7 @@
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton" id="toolbutton_delete">
|
<object class="GtkToolButton" id="toolbutton_delete">
|
||||||
<property name="use_action_appearance">False</property>
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="related_action">action_delete</property>
|
<property name="related_action">action_delete</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
|
@ -696,7 +723,7 @@
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton" id="toolbutton_prepare">
|
<object class="GtkToolButton" id="toolbutton_prepare">
|
||||||
<property name="use_action_appearance">False</property>
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="related_action">action_prepare</property>
|
<property name="related_action">action_prepare</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
|
@ -711,7 +738,7 @@
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton" id="toolbutton_print">
|
<object class="GtkToolButton" id="toolbutton_print">
|
||||||
<property name="use_action_appearance">False</property>
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="related_action">action_print</property>
|
<property name="related_action">action_print</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
|
@ -726,7 +753,7 @@
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton" id="toolbutton_edit_result">
|
<object class="GtkToolButton" id="toolbutton_edit_result">
|
||||||
<property name="use_action_appearance">False</property>
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="related_action">action_edit_result</property>
|
<property name="related_action">action_edit_result</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
|
@ -742,7 +769,7 @@
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton" id="toolbutton_saveas">
|
<object class="GtkToolButton" id="toolbutton_saveas">
|
||||||
<property name="use_action_appearance">False</property>
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="related_action">action_saveas</property>
|
<property name="related_action">action_saveas</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
|
@ -767,7 +794,7 @@
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton" id="toolbutton_preferences">
|
<object class="GtkToolButton" id="toolbutton_preferences">
|
||||||
<property name="use_action_appearance">False</property>
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="related_action">action_preferences</property>
|
<property name="related_action">action_preferences</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
|
@ -782,7 +809,7 @@
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton" id="toolbutton_ref">
|
<object class="GtkToolButton" id="toolbutton_ref">
|
||||||
<property name="use_action_appearance">False</property>
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="related_action">action_ref</property>
|
<property name="related_action">action_ref</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
|
@ -807,12 +834,13 @@
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton" id="toolbutton_quit">
|
<object class="GtkToolButton" id="toolbutton_quit">
|
||||||
|
<property name="use_action_appearance">True</property>
|
||||||
|
<property name="related_action">action_quit</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="tooltip_text" translatable="yes">Close the application</property>
|
<property name="tooltip_text" translatable="yes">Close the application</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
<property name="stock_id">gtk-quit</property>
|
<property name="stock_id">gtk-quit</property>
|
||||||
<signal name="clicked" handler="gtk_main_quit" swapped="no"/>
|
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="expand">False</property>
|
<property name="expand">False</property>
|
||||||
|
@ -982,6 +1010,7 @@
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="model">liststore_objects</property>
|
<property name="model">liststore_objects</property>
|
||||||
<signal name="cursor-changed" handler="laview_desktop_main_window_objects_cursor_changed" swapped="no"/>
|
<signal name="cursor-changed" handler="laview_desktop_main_window_objects_cursor_changed" swapped="no"/>
|
||||||
|
<signal name="row-activated" handler="laview_desktop_main_window_objects_activated" swapped="no"/>
|
||||||
<child internal-child="selection">
|
<child internal-child="selection">
|
||||||
<object class="GtkTreeSelection" id="treeview-selection_objects"/>
|
<object class="GtkTreeSelection" id="treeview-selection_objects"/>
|
||||||
</child>
|
</child>
|
||||||
|
|
Loading…
Reference in New Issue