Commit Graph

20194 Commits

Author SHA1 Message Date
Cody Russell
c59a059551 remove some temporary code 2010-04-16 14:17:50 -05:00
Cody Russell
a3ffbcacba add widget names so they can be accessed from the theme 2010-04-16 14:17:50 -05:00
Cody Russell
4bba6ac660 fix title setting bug 2010-04-16 14:17:50 -05:00
Cody Russell
ceec85b195 fix GtkPlug to always force cs-decorations off 2010-04-16 14:17:50 -05:00
Cody Russell
0358e0d7f7 remove the rgba stuff for now for firefox; temp hack for is_client_side_decorated 2010-04-16 14:17:50 -05:00
Cody Russell
b1ad5235b9 check for both ->client_side_decorated && ->decorated; motion/click only when not maximized 2010-04-16 14:17:50 -05:00
Cody Russell
ad24eb34d5 remove unnecessary change 2010-04-16 14:17:50 -05:00
Cody Russell
3cb8bc456b allocate bin.child's x-position and height by MAX(title height, box height) 2010-04-16 14:17:50 -05:00
Cody Russell
72c57c1b64 fix a mistake in gtkwindow.h 2010-04-16 14:17:50 -05:00
Cody Russell
52276a1402 add container::remove interface 2010-04-16 14:17:50 -05:00
Cody Russell
c284f256c7 button event handlers 2010-04-16 14:17:50 -05:00
Cody Russell
4a3a775aac add buttons 2010-04-16 14:17:50 -05:00
Cody Russell
842e7a216e remove frame event stuff 2010-04-16 14:17:50 -05:00
Cody Russell
cab5f6e0d8 cursor support 2010-04-16 14:17:50 -05:00
Cody Russell
0e6e52c19b remove compute_child_allocation from GtkWindowClass 2010-04-16 14:17:50 -05:00
Cody Russell
50bcb86e64 differentiate between N edge and title in button_press_event 2010-04-16 14:17:49 -05:00
Cody Russell
0051be4ead simple window resizing 2010-04-16 14:17:49 -05:00
Kristian Høgsberg
906020a222 Invalidate window on size_allocate so we redraw correctly 2010-04-16 14:17:49 -05:00
Cody Russell
c84c994a51 check for GDK_DECOR_BORDER before calculating frame size, use style properties for frame sizes 2010-04-16 14:17:49 -05:00
Kristian Høgsberg
e7a8c9da41 Move drawing to gtkstyle.c, use colors from style 2010-04-16 14:17:49 -05:00
Kristian Høgsberg
5d9a615c49 Offset path by half a pixel so we get a nice thin line. 2010-04-16 14:17:49 -05:00
Cody Russell
a741c53d23 check for -1 before setting 2010-04-16 14:17:49 -05:00
Cody Russell
f77ee8dfa6 fix warnings, remove unneeded code 2010-04-16 14:17:49 -05:00
Cody Russell
3bc6bb7632 remove #include "gtkwindow-decorate.h" 2010-04-16 14:17:49 -05:00
Cody Russell
8f7bcc1a44 remove gtkwindow-decorate.[ch] 2010-04-16 14:17:49 -05:00
Cody Russell
2e632ce7e2 put title label in an hbox 2010-04-16 14:17:49 -05:00
Cody Russell
5a6b67b522 remove some old stuff 2010-04-16 14:17:49 -05:00
Cody Russell
fbd4043137 fix sizing and other random changes 2010-04-16 14:17:49 -05:00
Cody Russell
f8f39cd397 temporary window painting 2010-04-16 14:17:49 -05:00
Cody Russell
00a9aaa68c remove unnecessary event propagation from gtk_window_expose 2010-04-16 14:17:49 -05:00
Cody Russell
ac23bb2577 size_allocate improvements 2010-04-16 14:17:49 -05:00
Cody Russell
eacf3b4e8f fix window title 2010-04-16 14:17:49 -05:00
Cody Russell
70760bcca0 do stuff in GtkWindow 2010-04-16 14:17:49 -05:00
Cody Russell
1c0e449cbe container stuff 2010-04-16 14:17:49 -05:00
Cody Russell
4f750e2bec title label widget 2010-04-16 14:17:49 -05:00
Cody Russell
d0a8a7268c wip 2010-04-16 14:17:49 -05:00
Cody Russell
895c8bb951 fixes for sizing 2010-04-16 14:17:49 -05:00
Cody Russell
b418df3d9a wip 2010-04-16 14:17:48 -05:00
Carlos Garnacho
123cf65d4f Also resize GTK_WIDGET (window)->window on size_allocate. 2010-04-16 14:17:48 -05:00
Carlos Garnacho
aa4ccd354c Fix typo. 2010-04-16 14:17:48 -05:00
Cody Russell
87d2a51f56 work in progress 2010-04-16 14:17:48 -05:00
Stefan Kost
d4a159d488 [docs] improve docs for gtk_accelerator_parse().
Link to gdk_keyval_from_name() and give example for non obvious accelerator
strings.
2010-04-16 21:30:47 +03:00
Javier Jardón
edfcc3dd41 [docs] Fix GtkWidget and GtkFileChooser documentation
gtk-doc version >= 1.14 is more strict, It produces valid xml
if the source is valid.
2010-04-15 22:58:39 +02:00
Javier Jardón
06f66c185a Fix compilation warning: set a default case in switchs 2010-04-15 21:10:32 +02:00
Javier Jardón
8cde95bc5f Fix compilation warning: remove unused variable 2010-04-15 16:19:42 +02:00
Andika Triwidada
6680266093 Updated Indonesian translation 2010-04-15 20:32:58 +07:00
Michael Natterer
9cac8f23d5 gdk: remove convert_coords_to_child()
and use the new public gdk_window_coords_from_parent().
2010-04-15 13:16:17 +02:00
Michael Natterer
878cde53d0 gdk: use gdk_window_is_offscreen() instead of checking manually 2010-04-15 13:08:47 +02:00
Michael Natterer
ece97b2359 Bug 615162 - Fix tooltips on offscreen widgets
Fix the "widget under pointer" logic and keyboard tooltip positioning
to do the right thing on offscreen widgets.
2010-04-15 13:03:43 +02:00
Michael Natterer
fdf936b5ad gtk: fixes for offscreen widgets
Fix gtk_widget_translate_coordinates() and
_gtk_widget_synthesize_crossing() so they work in hierarchies with
offscreen widgets.
2010-04-15 13:02:04 +02:00