summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fixupstackTristan Van Berkom2014-11-212-15/+6
|
* Adding 3.14 and 3.16 version targets to the GTK+ pluginTristan Van Berkom2014-11-212-36/+62
| | | | | | | | | | Updated GTK+ widget catalog for new properties and signals Updated for GTK+ 3.14 and 3.16 (so far), this patch also modifies the scrolled window editor to place the overlay-scrollbars property nicely into the custom editor. Also set GtkSidebar target version 3.16 (we dont encode odd numbers here)
* Updated Greek translationDimitris Spingos2014-11-211-596/+771
|
* Updated Portuguese translationDuarte Loreto2014-11-211-2760/+4878
|
* Update TODOMatthias Clasen2014-11-211-1/+0
|
* Updated Spanish translationDaniel Mustieles2014-11-211-559/+694
|
* Fix a typoMatthias Clasen2014-11-211-1/+1
|
* Stack switcher improvementsMatthias Clasen2014-11-101-1/+5
| | | | | Mark the title property as translatable, and prevent the stack property from showing up twice in the editor.
* Set a title for new stack pagesMatthias Clasen2014-11-101-3/+4
| | | | This makes them show up in a connect stack switcher.
* Many GtkStack fixesMatthias Clasen2014-11-103-23/+480
| | | | | | Implement all of the required adaptor functions, add a virtual 'page' property and use it instead of visible-child-name to switch between the pages to edit.
* Support GtkSidebar as wellMatthias Clasen2014-11-105-0/+5
|
* Make stack switching work from the treeMatthias Clasen2014-11-101-5/+66
| | | | This is identical to what glade is already doing for notebooks.
* Add editors for GtkStack and GtkStackSwitcherMatthias Clasen2014-11-1011-2/+664
|
* Support GtkStack and GtkStackSwitcherMatthias Clasen2014-11-1010-1/+147
| | | | | | | These widgets are in GTK+ since 3.12, time that glade starts supporting them. https://bugzilla.gnome.org/show_bug.cgi?id=738480
* Avoid box stuff leaking through for the color chooserMatthias Clasen2014-11-101-1/+12
|
* Updated POTFILES.inPiotr Drąg2014-11-101-5/+8
|
* Added Kazakh translationBaurzhan Muftakhidinov2014-11-092-0/+7778
|
* Plug a placeholder leak in the box adaptorMatthias Clasen2014-11-071-2/+0
| | | | | | | | | | | gtk_widget_destroy() is not the right counterpart for g_object_ref(), and it is useless anyway to do a ref-unref pair around gtk_container_remove(), so just drop this. This fix makes the placeholder instance count go down again when shrinking the size of a box. https://bugzilla.gnome.org/show_bug.cgi?id=739751
* Switch to a single size property for GtkHeaderBarheaderbarMatthias Clasen2014-11-073-183/+125
| | | | | | | | | | | Having separate start-/end-size properties is nice because it makes intuitive sense, but unfortunately, the actual headerbar child properties (position, pack-type) are not sufficient to fully reconstruct the needed placeholders. This is causing anomalies and possibly crashes with undo/redo. For now, keep things working the same way they do in boxes: placeholders are always in pack-start, and only actual children can be moved to pack-end.
* GtkHeaderBar: Improving child add/remove/replace supportTristan Van Berkom2014-11-071-69/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | o Removed misguided code block in ->add_child() The said code block assumes that any placeholder being added should be added at the end 'if' anything is at the start. This big block of code makes things seem to work if you happened to save the file with one placeholder on each side (sneaky), however just breaks down when you save more than one placeholder at the beginning. In any case, the number of placeholders should be synchronized to the "start-size" / "end-size" properties (minus the number of real children which should be placed according to their "position" packing property). o Removed destructive calls to gtk_widget_destroy(), widgets are not destroyed unless the project is finalized or the final reference to them is part of a GladeCommand that is being cleared from the undo/redo stack o Ensure that the replacement placeholder added when ->remove_child() is called has the special child type set if it's the title widget (not sure if this is needed, but it doesnt hurt).
* GtkHeaderBar: Fixed property sensitivity issuesTristan Van Berkom2014-11-073-51/+98
| | | | | | | | | | | | | The custom editor was calling glade_widget_property_set_sensitive() directly which does not work with undo/redo. Cleaned up the editor and adaptor so that the editor issues commands and the adaptor->set_property() adjusts property sensitivity when 'show-close-button' and 'use-custom-title' properties change. Also some minor changes to the gtk+.xml.in, no need for the decoration layout property to be optional really, since the property is a string and will not be saved if it's not set.
* Fixes for actionsMatthias Clasen2014-11-072-42/+154
| | | | | | Make add/remove slot work without crashing. Turn 'add slot' into a widget action, and don't offer 'remove slot' for the custom title placeholder.
* Redo sensitivity handlingMatthias Clasen2014-11-073-15/+46
| | | | And ignore show-close-button.
* Coding style cleanupsMatthias Clasen2014-11-071-36/+52
|
* Add a headerbar editorMatthias Clasen2014-11-077-3/+562
| | | | | Among other things, this lets us undoably remove a custom title widget.
* Initial GtkHeaderBar supportMatthias Clasen2014-11-077-1/+370
| | | | | | | | | Add support for GtkHeaderBar. Based on a patch by John Stowers. This allows setting custom titles, and adding multiple children at either end of the header bar. Repositioning children is not really working, due to limitations of the GtkHeaderBar API. https://bugzilla.gnome.org/show_bug.cgi?id=700914
* Added return if fail warningTristan Van Berkom2014-11-071-2/+1
| | | | | In glade_gtk_container_replace_child(), warn if the passed 'current' widget is not a direct child of 'container'.
* GladeCommand: Experimental - properly record child type for removal commands.Tristan Van Berkom2014-11-051-26/+66
| | | | | | | | | This seems to be working well but might cause problems (let's call it a red flag if things go wrong and we need to bisect), it fixes drag & drop undo/redo for GtkExpander (Drag and drop the expander label into the expander content and undo/redo/undo/redo, this was broken, and this commit fixes that and also improves things for the currently experimental headerbar support).
* Change Finnish translation team web page to l10n.gnome.orgTimo Jyrinki2014-11-031-1/+1
|
* Update TODOMatthias Clasen2014-11-011-0/+1
|
* Update TODOMatthias Clasen2014-11-011-0/+2
|
* Update TODOMatthias Clasen2014-11-011-2/+0
|
* Bug 739310 - Removed rampant '>' from gtk+.xml.inTristan Van Berkom2014-10-291-1/+0
|
* Move use-center-child to the box editorMatthias Clasen2014-10-273-23/+114
| | | | This makes adding and removing center widgets undoable.
* Add GtkBox center-widget supportMatthias Clasen2014-10-272-2/+93
| | | | | | | In 3.12, GtkBox gained support for a centered child. With this patch, glade supports this too. https://bugzilla.gnome.org/show_bug.cgi?id=738473
* Updated POTFILES.inPiotr Drąg2014-10-261-0/+1
|
* glade-gtk-widget.c: Minor fix for 'add_parent' actionsearchbarTristan Van Berkom2014-10-261-7/+2
| | | | | | | | Previous implementation assumes that the parent widget can be retrieved with gtk_widget_get_parent(), use glade_widget_get_parent() instead and trust the project datamodel instead, as the logical widget hierarchy may not be exactly the truth, as is the case for a searchbar child.
* glade-gtk-searchbar.c: Avoid critical warnings when loading searchbarsTristan Van Berkom2014-10-261-1/+4
| | | | | | Changed glade_gtk_search_bar_add_child() to not make the assumption that a current "child" widget exists, which it doesnt at project load time (until one is actually loaded).
* Add a get_children function for GtkSearchBarMatthias Clasen2014-10-252-0/+12
| | | | | This is needed to make saving children of GtkSearchBar work. gtk_container_forall is sdaly broken for many containers.
* Searchbar: Ignore some propertiesMatthias Clasen2014-10-252-1/+5
| | | | | | | Don't apply the search-mode and show-close-button properties in the embedded view, since it would be confusing to have the search bar just 'disappear'. We do save these properties, so it is possible to set them up for the actual application.
* Support GtkSearchBarMatthias Clasen2014-10-257-0/+125
| | | | | | | This widget has been around since 3.10, high time that glade starts supporting it. https://bugzilla.gnome.org/show_bug.cgi?id=738493
* Updated Spanish translationDaniel Mustieles2014-10-241-20/+41
|
* Depend on GTK+ 3.15csdTristan Van Berkom2014-10-233-36/+1
| | | | | Avoid GTK_CHECK_VERSION ifdefs working around the absense of gtk_window_get_titlebar().
* glade-gtk-window.c: Reuse translatable stringTristan Van Berkom2014-10-231-6/+5
| | | | Avoid the possibility of translatable string redundancy.
* Use proper mechanisms to deal with dependent propertiesMatthias Clasen2014-10-222-7/+26
| | | | | Make desensitizing of title, decorated and hide-titlebar-when-maximized part of the undo history, and also reset them to their default values.
* GladeWindowEditor: Added custom control for client side decorationsMatthias Clasen2014-10-223-51/+162
| | | | | | | | | This is needed so that when the command is issued, it can also include the child deletion as a part of the command group. When a window is using CSD, mark the title, decoration and hide-when-maximized editors as insensitive, since they affect non-CSD decorations.
* Support CSD windowsMatthias Clasen2014-10-222-0/+146
| | | | | | | | This patch adds support for the titlebar slot in GtkWindow. The rendering of windows with csd titlebar is somewhat broken in glade. https://bugzilla.gnome.org/show_bug.cgi?id=700914
* Updated Spanish translationDaniel Mustieles2014-10-201-110/+102
|
* Add some more items to the TODOMatthias Clasen2014-10-181-0/+13
|
* osx: Use current gtk-mac-integration APIPhilip Chimento2014-10-122-19/+26
| | | | | | | | | | | The #ifdef'd block did not compile at all because it used the old API from gtk-mac-integration, and because it used GtkBuilder when the surrounding code had been ported to use widget templates. This fixes up the use of the API and adds a few widget variables to GladeWindowPrivate which have to be bound to the template. https://bugzilla.gnome.org/show_bug.cgi?id=738339