| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Most of these are forgotten :'s and similar details
which gtk-doc now warns about.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the interface for GtkWidgets that can be associated with an
action on a GtkAppicationWindow or associated GtkApplication.
It essentially features 'action-name' and 'action-target' properties
with some associated convenience API.
This interface is implemented by GtkButton and GtkToolButton.
https://bugzilla.gnome.org/show_bug.cgi?id=667394
|
|
|
|
|
| |
There's really no reason the icon widget must be a GtkMisc. You might
want to use e.g. a GtkSpinner.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This was not handled consistently, but the default handler
does useful things, so we should always chain up.
|
| |
|
|
|
|
| |
Because it's FALSE in virtually all use cases.
|
| |
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=623603
|
| |
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=623845
|
| |
|
|
|
|
|
| |
This completes the patch of
commit b8ec73a52fe3dc3012db78f45bfcafa2cb3e14ae
|
|
|
|
|
| |
Reported by Hernando Torque here:
https://bugzilla.gnome.org/show_bug.cgi?id=616851
|
|
|
|
|
|
| |
The default value of the icon-spacing style property was 0, which
is just not good. Themes are of course free to change this anyway.
Bug 610381.
|
|
|
|
| |
Bug #608162.
|
|
|
|
|
|
|
|
| |
The Gtk-custom.c file in gir-repository contained a number of
introspection annotations. Merge those into the GTK source files.
Some documentation was moved from the tmpl/ files to accomodate
the addition of annotations.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Either g_type_register_static_simple (used by G_DEFINE_TYPE_EXTENDED)
and G_IMPLEMENT_INTERFACE use automatic variables for GTypeInfo and
GInterfaceInfo structs, while tutorials and source code often use
static variables. This commit consistently adopts the former method.
https://bugzilla.gnome.org/show_bug.cgi?id=600158
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=599446
|
| |
| |
| |
| |
| |
| | |
GAIL is not able to retrieve the correct button name alone, so it must be set in gtktoolbutton.c
https://bugzilla.gnome.org/show_bug.cgi?id=597596
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
* gtk/gtktoolshell.c: Added vfuncs to get/set ellipsize, text-orientation,
text-alignment and size-group plus getter/setters to invoke these vfuncs.
* gtk/gtktoolitem.[h|c]: Added getters and setters to get/set these from the
parent GtkToolShell. This is in the style of the existing "properties".
* gtk/gtktoolbutton.c: Updated to use the extra properties.
* docs/reference/gtk/gtk-sections.txt
* gtk/gtk.symbols: Updated to mention the new functions.
These new "properties" are used by GtkToolPalette.
|
|
|
|
|
|
|
|
|
|
| |
* gtk/gtk.symbols:
* gtk/gtkactivatable.[hc]: Rename gtk_activatable_reset to
gtk_activatable_sync_action_properties, since the previous name
was deemed too generic. Update all implementations.
svn path=/trunk/; revision=22389
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gtk/gtkaction.c (gtk_action_[un]block_activate_from): Block
the action.
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activatable_reset):
* gtk/gtktogglebutton. (gtk_toggle_button_activatable_reset):
* gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_activatable_reset):
Work with non-toggle actions without complaining.
* gtk/gtktoolbutton.c (gtk_tool_button_activatable_update): Updating
the icon-name should not remove the label.
* gtk/gtkimagemenuitem.c (activatable_update_icon_name): Also
update the image when the icon name is set to NULL.
svn path=/trunk/; revision=22290
|
|
|
|
| |
svn path=/trunk/; revision=22218
|
|
|
|
| |
svn path=/trunk/; revision=22210
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rework the way actions and proxies interact, to make the
interaction less ad hoc, more extensible, and better suited
for support in GUI builders like glade.
To be used as a proxy, a widget must now implement the
GtkActivatable interface, and GtkActivatable implementations
are responsible for syncing their appearance with the action
and for activating the action.
All the widgets that are commonly used as proxies implement
GtkActivatable now.
Patch by Tristan van Berkom.
* gtk/gtkactivatable.[hc]: The GtkActivatable interface.
* gtk/gtkbutton.c:
* gtk/gtktogglebutton.c:
* gtk/gtktoolitem.c:
* gtk/gtktoolbutton.c:
* gtk/gtktoggletoolbutton.c:
* gtk/gtkmenuitem.c:
* gtk/gtkcheckmenuitem.c:
* gtk/gtkimagemenuitem.c:
* gtk/gtkradiomenuitem.c:
* gtk/gtkrecentchooserprivate.h:
* gtk/gtkrecentchooser.c:
* gtk/gtkrecentchooserdefault.c:
* gtk/gtkrecentchoosermenu.c: Implement GtkActivatable.
* gtk/gtkaction.[hc]: Move appearance synchronization to
GtkActivatable implementations.
* gtk/gtkradioaction.c:
* gtk/gtkrecentaction.c:
* gtk/gtktoggleaction.c:
* gtk/gtkactiongroup.c: Adapt.
* gtk/gtk.h: Include gtkactivatable.h
* gtk/gtk.symbols: Add new functions
svn path=/trunk/; revision=22195
|
|
|
|
|
|
|
|
|
|
| |
* gtk/gtktoolbutton.c: Properly create a menu proxy from a GIcon.
Patch by Christian Persch
* tests/testtoolbar.c: Add an example with a GIcon
svn path=/trunk/; revision=22084
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-21 Johan Dahlin <jdahlin@async.com.br>
* *.[ch]: Include "config.h" instead of <config.h>
Command used:
find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
Rubberstamped by Mitch and Tim
svn path=/trunk/; revision=20669
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-17 Michael Natterer <mitch@imendio.com>
* gtk/gtkbindings.c (gtk_binding_entry_add_signal):
* gtk/gtktoolbutton.c (gtk_tool_button_get_type):
* examples/gtkdial/gtkdial.h (gtk_dial_get_type):
s/GtkType/GType/
svn path=/trunk/; revision=20436
|
|
|
|
|
|
|
|
|
| |
* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
Improve appearance of "both vertical" mode toolbuttons.
Patch by Peter Johanson
svn path=/trunk/; revision=20365
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-06 Michael Natterer <mitch@imendio.com>
* gtk/gtkcontainer.c
* gtk/gtkexpander.c
* gtk/gtkframe.c
* gtk/gtklabel.c
* gtk/gtkmain.c
* gtk/gtkmenu.c
* gtk/gtkmenuitem.c
* gtk/gtkmenushell.c
* gtk/gtknotebook.c
* gtk/gtkseparatortoolitem.c
* gtk/gtksocket.c
* gtk/gtktextlayout.c
* gtk/gtktoggletoolbutton.c
* gtk/gtktoolbutton.c
* gtk/gtktoolitem.c
* gtk/gtktree.c
* gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
"GTK_IS_FOO (foo)".
svn path=/trunk/; revision=19481
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-06 Johan Dahlin <johan@gnome.org>
* gtk/gtkcellrenderercombo.c:
(gtk_cell_renderer_combo_get_property),
(gtk_cell_renderer_combo_set_property):
* gtk/gtkcombobox.c: (gtk_combo_box_set_property):
* gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
* gtk/gtknotebook.c: (gtk_notebook_set_property):
* gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
* gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
(gtk_text_buffer_get_property):
* gtk/gtktextview.c: (gtk_text_view_set_property):
* gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
* gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
(gtk_tool_button_get_property):
* gtk/gtktoolitem.c: (gtk_tool_item_set_property),
(gtk_tool_item_get_property):
* gtk/gtktreeview.c: (gtk_tree_view_set_property):
* gtk/gtkwidget.c: (gtk_widget_set_property):
* gtk/gtkwindow.c: (gtk_window_set_property):
Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
Fixes #5075
svn path=/trunk/; revision=19311
|
|
|
|
| |
svn path=/trunk/; revision=17228
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-01-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktoolbar.c:
* gtk/gtktoolitem.c:
* gtk/gtktoolbutton.c: Rearrange things so that setting
multiple properties causes not more than a single
reconstruction of the contents.
* gtk/gtkaction.c (connect_proxy): Set all tool button
properties in one go.
svn path=/trunk/; revision=17227
|
|
|
|
|
|
| |
2006-10-08 Matthias Clasen <mclasen@redhat.com>
* Apply a cleanup patch by Kjartan Maraas (#341812)
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-07-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaction.c:
* gtk/gtkiconview.c:
* gtk/gtkprintbackend.c:
* gtk/gtkprintoperation-unix.c:
* gtk/gtkscrolledwindow.c:
* gtk/gtktoolbar.c: Fix some typos with inline property
docs. (#347065, John Finlay)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-06-20 Matthias Clasen <mclasen@redhat.com>
Fix handling of stock items without icons in action-based
ui. (#342458, Callum McKenzie)
* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full): Set
the stock id even if there is no icon for it.
* gtk/gtkaction.c (connect_proxy):
* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Only
construct a stock icon if the stock item has an icon.
|
|
|
|
|
|
|
| |
2006-06-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktoolbutton.c (gtk_tool_button_style_set): Give
GtkToolButton the same treatment.
|
|
|
|
|
|
|
|
|
|
|
| |
2006-06-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktoolbutton.c (gtk_tool_button_class_init): Add
an icon-spacing style property for the same purpose.
* gtk/gtkbutton.c (gtk_button_class_init): Add an image-spacing
style property that allows to adjust the spacing between image
and label in button. (#320431, James Moger)
|
| |
|