diff options
| author | Adrian Boguszewski <adrbogus1@student.pg.gda.pl> | 2016-03-11 01:06:39 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2016-03-11 01:06:39 +0000 |
| commit | 43884ced57f56cf41ad2d7fac3a8f5ba87f78276 (patch) | |
| tree | 0710dc639779467aa9140c6933846ba4da17a594 /src/ui/dialog/template-load-tab.h | |
| parent | Displays filename instead of blank string in unnamed palettes (diff) | |
| download | inkscape-43884ced57f56cf41ad2d7fac3a8f5ba87f78276.tar.gz inkscape-43884ced57f56cf41ad2d7fac3a8f5ba87f78276.zip | |
Improvements on the "new from template" dialog
-> greyed buttons when no dialogs selected (bug 1363450)
-> selected template deselects when filtered out
-> filtering down to 1 template selects it
-> selected template keeps looking selected when filtered
Fixed bugs:
- https://launchpad.net/bugs/1363450
(bzr r14698)
Diffstat (limited to 'src/ui/dialog/template-load-tab.h')
| -rw-r--r-- | src/ui/dialog/template-load-tab.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/dialog/template-load-tab.h b/src/ui/dialog/template-load-tab.h index 920ae6ca2..d11c4c77f 100644 --- a/src/ui/dialog/template-load-tab.h +++ b/src/ui/dialog/template-load-tab.h @@ -28,6 +28,7 @@ namespace Inkscape { namespace UI { class TemplateWidget; +class NewFromTemplate; class TemplateLoadTab : public Gtk::HBox { @@ -47,7 +48,7 @@ public: Inkscape::Extension::Effect *tpl_effect; }; - TemplateLoadTab(); + TemplateLoadTab(NewFromTemplate* parent); virtual ~TemplateLoadTab(); virtual void createTemplate(); @@ -95,6 +96,7 @@ private: }; SearchType _current_search_type; + NewFromTemplate* _parent_widget; void _getDataFromNode(Inkscape::XML::Node *, TemplateData &); void _getProceduralTemplates(); |
