Michael Natterer
3a0afce509
gtk: remove "gboolean homogeneous" from gtk_box_new()
...
Because it's FALSE in virtually all use cases.
2010-10-31 19:22:28 +01:00
Javier Jardón
a9894d4cf4
Use gtk_box_new() instead gtk_[v|h]box_new()
2010-10-30 05:22:58 +02:00
Matthias Clasen
630b2c58b4
Fix initial size allocation with child widgets
...
On some cases, it would take a resize of the window for children
to 'jump into place'.
https://bugzilla.gnome.org/show_bug.cgi?id=633500
2010-10-29 21:15:13 -04:00
Matthias Clasen
b04bceb47e
Remove resize grip handling from GtkStatusbar
...
We remove the resize grip from GtkStatusbar, but keep the code
that makes the content avoid the grip, and adapt it to GtkWindow
grips.
The gtk_status_bar_set/get_has_resize_grip() functions and related
properties are removed.
2010-10-08 02:14:19 -04:00
Javier Jardón
eac1959d2c
Move destroy signal to GtkWidget
...
Also make GtkWidget derive from GInitiallyUnowned
2010-09-26 22:18:18 -04:00
Benjamin Otte
1d3f6b30b0
API: Rename gtk_cairo_paint_*() to gtk_paint_*()
...
Large patch, but just renaming.
Indentation should still mostly be correct because I took care of
keeping the indentation for this function name.
2010-09-26 15:11:42 +02:00
Benjamin Otte
299d533376
statusbar: Port to draw vfunc
2010-09-26 15:11:37 +02:00
Matthias Clasen
e0aa12eb0a
Tons of transfer annotations
2010-09-21 00:18:11 -04:00
Javier Jardón
1e5d7c0225
Use GtkFooPrivate instead GtkFooPriv
2010-08-27 04:48:23 +02:00
Javier Jardón
4847b9a940
gtk/gtkstatusbar.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Carlos Garcia Campos
76267f9d06
Add _gtk_box_get_children() internal function
...
https://bugzilla.gnome.org/show_bug.cgi?id=625300
2010-08-05 09:51:15 +02:00
Javier Jardón
82efd2d92f
Do not use GtkBoxChild in GtkStatusBar
...
https://bugzilla.gnome.org/show_bug.cgi?id=624397
2010-07-20 02:35:49 +02:00
Javier Jardón
9114c4c410
gtkstatusbar: Move public members to private structure
2010-07-13 19:40:50 +02:00
Javier Jardón
3a10216dd0
Use accessor functions to acces GtkContainer
2010-07-13 19:40:46 +02:00
Javier Jardón
a46c1eba64
Use accessor functions to access GtkBox
2010-07-13 19:40:45 +02:00
Javier Jardón
0a07e9733b
gtk/: fully remove gtkalias hacks
...
https://bugzilla.gnome.org/show_bug.cgi?id=623845
2010-07-10 02:51:26 +02:00
Matthias Clasen
e17b9f282f
Get rid of templates that gtk-doc touches during distcheck
...
In an attempt to make distcheck not touch any files under source
control.
2010-06-08 19:48:15 -04:00
Garrett Regier
2e4a066cd0
Bug 611709 - Add gtk_statusbar_remove_all
2010-06-02 17:50:28 +02:00
Javier Jardón
32b9aeaadd
Don't use GTK_WIDGET_STATE in internal code anymore
...
Use gtk_widget_get/set_state() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-09 02:40:17 +01:00
Javier Jardón
16a59ad912
Deprecate widget flag: GTK_WIDGET_REALIZED
...
Use gtk_widget_get_realized() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-03 20:41:05 +01:00
Javier Jardón
1fe7d3cefd
Deprecate widget flag: GTK_WIDGET_MAPPED
...
Use gtk_widget_get_mapped() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-03 20:19:03 +01:00
Javier Jardón
214a023e91
Deprecate widget flag: GTK_WIDGET_VISIBLE
...
Use gtk_widget_get_visible() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 07:52:07 +01:00
Javier Jardón
a27d5a2c9e
Deprecate widget flag: GTK_WIDGET_IS_SENSITIVE
...
Use gtk_widget_is_sensitive() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 05:32:51 +01:00
Christian Dywan
0bc6680564
Implement gtk_statusbar_get_message_area and "message_area" child
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=594535
2009-11-12 18:57:37 +01:00
Matthias Clasen
9660bfe9da
Fix issues with resize handles
...
The resize handles were not correctly redrawn and not positioned
correctly, initially.
2009-07-24 00:47:09 -04:00
Christian Dywan
61c3e66e2c
Bug 555387 – Changing the sensitivity of a statusbar
...
mistakenly requires a display
* gtk/gtkstatusbar.c (set_grip_cursor): Only change the cursor
of the resize grip if there is a grip window.
svn path=/trunk/; revision=21605
2008-10-08 02:02:50 +00:00
Michael Natterer
e18d3c6fd3
consistently chain up using GTK_FOO_CLASS(parent_class)->bar(instance)
...
2008-08-12 Michael Natterer <mitch@imendio.com>
* gtk/*.c: consistently chain up using
GTK_FOO_CLASS(parent_class)->bar(instance) instead of
(*GTK_FOO_CLASS(parent_class))->bar(instance).
svn path=/trunk/; revision=21085
2008-08-12 09:06:34 +00:00
Sven Neumann
1b34902d33
gtk/gtkscale.c gtk/gtkscrolledwindow.c gtk/gtksocket.c gtk/gtkspinbutton.c
...
2008-08-08 Sven Neumann <sven@gimp.org>
* gtk/gtkscale.c
* gtk/gtkscrolledwindow.c
* gtk/gtksocket.c
* gtk/gtkspinbutton.c
* gtk/gtkstatusbar.c
* gtk/gtkstatusicon.c: use canonical signal names.
svn path=/trunk/; revision=21046
2008-08-08 14:36:41 +00:00
Cody Russell
57223c9a05
Revert name change
...
svn path=/trunk/; revision=20724
2008-07-01 22:57:50 +00:00
Cody Russell
fce9c8b7d4
Practically everything changed.
...
2008-06-30 Cody Russell <bratsche@gnome.org>
* Practically everything changed.
Change all references of GIMP Toolkit (and variations of it)
to GTK+ Toolkit, showing no mercy at all to our beloved
ancestry. (#540529 )
svn path=/trunk/; revision=20709
2008-06-30 23:01:56 +00:00
Johan Dahlin
d97cdbdf53
Include "config.h" instead of <config.h> Command used: find -name
...
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-22 14:28:52 +00:00
Michael Natterer
02fd7ba040
gtk/gtkcellrenderer.c gtk/gtkcellrendererpixbuf.c
...
2008-05-19 Michael Natterer <mitch@imendio.com>
* gtk/gtkcellrenderer.c
* gtk/gtkcellrendererpixbuf.c
* gtk/gtkcellrenderertoggle.c
* gtk/gtkimagemenuitem.c
* gtk/gtkmenutoolbutton.c
* gtk/gtkoptionmenu.c
* gtk/gtkstatusbar.c
* gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
svn path=/trunk/; revision=20112
2008-05-19 14:15:34 +00:00
Michael Natterer
ac6c371997
gtk/gtkcellview.c gtk/gtklabel.c gtk/gtklayout.c gtk/gtklist.c
...
2008-02-07 Michael Natterer <mitch@imendio.com>
* gtk/gtkcellview.c
* gtk/gtklabel.c
* gtk/gtklayout.c
* gtk/gtklist.c
* gtk/gtkmenu.c
* gtk/gtkmenushell.c
* gtk/gtkmisc.c
* gtk/gtkoptionmenu.c
* gtk/gtkplug.c
* gtk/gtkpreview.c
* gtk/gtkprogress.c
* gtk/gtkradiomenuitem.c
* gtk/gtkscale.c
* gtk/gtkscrolledwindow.c
* gtk/gtksocket.c: remove g_return_if_fail() from private
functions and virtual function implementations.
svn path=/trunk/; revision=19492
2008-02-07 16:59:42 +00:00
Xan Lopez
89664f543d
Take into account modifications of the inner frame for has_extra_children.
...
svn path=/trunk/; revision=19245
2007-12-26 11:32:47 +00:00
Xan Lopez
a374f81b88
We always chain to the parent size_allocate, no need to do this.
...
svn path=/trunk/; revision=19244
2007-12-26 11:32:16 +00:00
Yevgen Muntyan
1a534510aa
missing #include <ctype.h>.
...
2007-05-23 Yevgen Muntyan <muntyan@tamu.edu>
* gtk/gtkprintunixdialog.c: missing #include <ctype.h>.
* gtk/gtkhandlebox.c (gtk_handle_box_paint):
* gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers):
* gtk/gtkstatusbar.c (gtk_statusbar_get_context_id):
* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path):
* gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request):
* gtk/gtkpreview.c (gtk_preview_finalize):
* gtk/gtknotebook.c (gtk_notebook_set_group_id):
* tests/testnotebookdnd.c (window_creation_function):
* tests/testiconview.c (do_popup_menu):
Fixed some compiler warnings (#440689 ).
svn path=/trunk/; revision=17898
2007-05-23 15:06:03 +00:00
Christian Persch
f55cccb696
No need to allocate a guint; just stuff the ID into the pointer directly.
...
2007-05-02 Christian Persch <chpe@gnome.org>
* gtk/gtkstatusbar.c: (gtk_statusbar_get_context_id),
(gtk_statusbar_expose_event): No need to allocate a guint; just stuff
the ID into the pointer directly. Bug #434865 .
svn path=/trunk/; revision=17758
2007-05-01 22:22:49 +00:00
Matthias Clasen
d0f4ffaf38
Move docs inline and expand them a bit.
...
2007-01-07 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkstatusbar.sgml: Move docs inline and
expand them a bit.
svn path=/trunk/; revision=17100
2007-01-07 05:34:40 +00:00
Matthias Clasen
571f4ff972
Don't install cursors on insensitive widgets. ( #358864 , Jan Schampera)
...
2006-12-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.c:
* gtk/gtklabel.c:
* gtk/gtkpaned.c:
* gtk/gtkstatusbar.c:
* gtk/gtktextview.c: Don't install cursors on insensitive
widgets. (#358864 , Jan Schampera)
svn path=/trunk/; revision=16983
2006-12-31 00:36:03 +00:00
Christian Persch
a20da20873
Don't assume statusbar->label is the statusbar's frame's child when
...
2006-12-25 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
Don't assume statusbar->label is the statusbar's frame's child when
shrinking the size allocation when the grip is shown. Bug #372452 .
2006-12-25 12:12:10 +00:00
Matthias Clasen
07e7719441
Apply a cleanup patch by Kjartan Maraas ( #341812 )
...
2006-10-08 Matthias Clasen <mclasen@redhat.com>
* Apply a cleanup patch by Kjartan Maraas (#341812 )
2006-10-08 05:07:55 +00:00
Matthias Clasen
113f364a37
More of the same
2006-05-14 04:25:34 +00:00
Matthias Clasen
f26aad1916
Boilerplate reduction
2006-05-02 23:56:43 +00:00
Tim Janik
eed3357e6c
ported memchunk uses to g_slice, so the code compiles again.
...
Tue Dec 6 10:32:17 2005 Tim Janik <timj@gtk.org>
* gtk/gtkstatusbar.c: ported memchunk uses to g_slice, so the code
compiles again.
2005-12-06 09:34:27 +00:00
Matthias Clasen
463aab93dd
Various cleanups. ( #315360 , Kjartan Maraas)
...
2005-09-13 Matthias Clasen <mclasen@redhat.com>
* gtk/*.c: Various cleanups. (#315360 , Kjartan Maraas)
2005-09-13 19:57:42 +00:00
Matthias Clasen
94eec04267
Intern some more strings.
...
2005-09-01 Matthias Clasen <mclasen@redhat.com>
* gdk/*.c: Intern some more strings.
* gtk/gtkintl.h:
* gtk/*.c: Define an I_() macro and use it instead of the
bulky g_intern_static_string().
2005-09-01 05:11:46 +00:00
Matthias Clasen
c09cc89317
Intern type names in code generated by glib-mkenums, too.
...
2005-08-31 Matthias Clasen <mclasen@redhat.com>
* gdk/Makefile.am:
* gtk/Makefile.am: Intern type names in code generated by
glib-mkenums, too.
* gtk/*.c:
* gdk/x11/*.c:
* gdk/*.c: Intern type names before registering the type to avoid
unnecessary copies.
2005-08-31 16:53:43 +00:00
Matthias Clasen
cd5028315a
Be a bit more careful to not shrink the label to a negative width.
...
2005-07-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Be
a bit more careful to not shrink the label to a negative
width. (#311175 , Thomas Vander Stichele)
2005-07-21 19:10:48 +00:00
Matthias Clasen
9cde596b73
Only shrink the label if we need to. ( #169390 , Felix Riemann)
...
2005-05-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only shrink
the label if we need to. (#169390 , Felix Riemann)
2005-05-16 04:54:35 +00:00
Matthias Clasen
4c28ce0877
Use canonical names for g_object_notify() as well.
...
2005-03-26 Matthias Clasen <mclasen@redhat.com>
* gtk/*.c:
* gdk/gdkdisplaymanager.c:
Use canonical names for g_object_notify() as well.
2005-03-26 05:49:15 +00:00