Branch: refs/heads/master
Home: https://github.com/synfig/synfig
Commit: 6f0e9cfb6d1e900c7a3fe25fe996a0fc4deeb9ed
https://github.com/synfig/synfig/commit/6f0e9cfb6d1e900c7a3fe25fe996a0fc4deeb9ed
Author: Rodolfo Ribeiro Gomes <[email protected]>
Date: 2019-07-30 (Tue, 30 Jul 2019)
Changed paths:
M synfig-studio/src/gui/dialogs/canvasoptions.cpp
M synfig-studio/src/gui/resourcehelper.h
Log Message:
-----------
minor fixes
Commit: f4955112391bd06a0b252cd21611a69df5e4ff13
https://github.com/synfig/synfig/commit/f4955112391bd06a0b252cd21611a69df5e4ff13
Author: Rodolfo Ribeiro Gomes <[email protected]>
Date: 2019-07-30 (Tue, 30 Jul 2019)
Changed paths:
M synfig-studio/src/gui/mainwindow.cpp
M synfig-studio/src/gui/mainwindow.h
Log Message:
-----------
move custom widget type registrations into a new method
Commit: 025eec22c849c45d3c9e1fa295459033702ed069
https://github.com/synfig/synfig/commit/025eec22c849c45d3c9e1fa295459033702ed069
Author: Rodolfo Ribeiro Gomes <[email protected]>
Date: 2019-07-30 (Tue, 30 Jul 2019)
Changed paths:
M synfig-studio/src/gui/mainwindow.cpp
M synfig-studio/src/gui/widgets/widget_time.cpp
M synfig-studio/src/gui/widgets/widget_time.h
M synfig-studio/ui/synfig-catalog.xml
Log Message:
-----------
Widget_Time now supports GtkBuilder
Guide how to add a new custom widget in gtkmm:
1. The constructor should explicitly declare class name, eg.
Glib::ObjectBase("widget_time")
2. There should be a constructor based on C-object version, eg.
Widget_Time::Widget_Time(BaseObjectType* cobject) :
3. The class must have a Glib C-object wrapper, eg.
Widget_Time::wrap_new(...)
4. The class must have a custom type register method, eg.
Widget_Time::register(...)
(it registers wrapper via Glib::wrap_register(...) )
5. Finally, C-object wrapper must be registered in Glib before usage
MainWindow::register_custom_widget_types()
see:
6. And for being accessible via Glade, add it to a catalog:
synfig-studio/ui/synfig-catalog.xml
(the class name in catalog must be prefixed by
"gtkmm__CustomObject_" followed by the name chosen in step 1)
7. Test catalog validation:
xmllint --dtdvalid glade-catalog.dtd --noout
synfig-studio/ui/synfig-catalog.xml
(DTD is usually in /usr/share/glade/catalogs/glade-catalog.dtd)
Commit: 9207c07d523e93766aef84b210dc66319087be68
https://github.com/synfig/synfig/commit/9207c07d523e93766aef84b210dc66319087be68
Author: Rodolfo Ribeiro Gomes <[email protected]>
Date: 2019-07-30 (Tue, 30 Jul 2019)
Changed paths:
M synfig-studio/po/POTFILES.in
M synfig-studio/src/gui/canvasview.cpp
M synfig-studio/src/gui/dialogs/dialog_preview.cpp
M synfig-studio/src/gui/dialogs/dialog_preview.h
M synfig-studio/ui/Makefile.am
A synfig-studio/ui/preview_options.ui
Log Message:
-----------
Preview Settings Dialog now uses GtkBuilder
PS:
When 'porting' a dialog to GtkBuilder:
1. Now the toplevel window (the dialog class) is instanced
via GtkBuilder, it should be explicitly freed by caller.
This one was already correctly free, but several dialogs are
not originally stored via pointers, so...
2. Don't forget to add it to synfig-studio/ui/Makefile.am and
to synfig-studio/po/POTFILES.in
(I don't know how should be done for CMake)
3. Don't forget to add the .ui file to repository... as I did
Commit: 7e89bcffd5a00cd05e58124930143342059709c1
https://github.com/synfig/synfig/commit/7e89bcffd5a00cd05e58124930143342059709c1
Author: Konstantin Dmitriev <[email protected]>
Date: 2019-08-02 (Fri, 02 Aug 2019)
Changed paths:
M synfig-studio/po/POTFILES.in
M synfig-studio/src/gui/canvasview.cpp
M synfig-studio/src/gui/dialogs/canvasoptions.cpp
M synfig-studio/src/gui/dialogs/dialog_preview.cpp
M synfig-studio/src/gui/dialogs/dialog_preview.h
M synfig-studio/src/gui/mainwindow.cpp
M synfig-studio/src/gui/mainwindow.h
M synfig-studio/src/gui/resourcehelper.h
M synfig-studio/src/gui/widgets/widget_time.cpp
M synfig-studio/src/gui/widgets/widget_time.h
M synfig-studio/ui/Makefile.am
A synfig-studio/ui/preview_options.ui
M synfig-studio/ui/synfig-catalog.xml
Log Message:
-----------
Merge PR #900: Preview Settings dialog via GtkBuilder
Compare: https://github.com/synfig/synfig/compare/d6c980ade774...7e89bcffd5a0
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl