summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* gtk-demo: add semikolon to make it build againMichael Natterer2012-05-271-1/+2
|
* Make gtk2 demos comply with gsealConnor Behan2012-05-2618-108/+147
| | | | | | | | | | Demos in gtk-demo are supposed to be exemplary. However, if one were to give them dummy main functions many of them would not compile with -DGSEAL_ENABLE. This changes the demos to make them use accessor functions whenever possible instead of direct changes to the struct members. http://bugzilla.gnome.org/show_bug.cgi?id=667155
* quartz: Don't use compound text for selectionsChristian Kellner2012-05-141-2/+2
| | | | | | Explicitly return FALSE in selection_set_compound_text() to indicate that we don't want to support compound text selections; this will eliminate the "not implemented" warning for quartz.
* Implement _gtk_clipboard_store_all()Kristian Rietveld2012-05-141-2/+56
| | | | | | | | | This pushes the clipboard contents to the OS X clipboard when the application is quit. Without doing this, clipboard data set by a GTK+ application cannot be accessed after the clipboard has been quit. Currently, we implement this the easy way because the clipboard support is fully implemented in GTK+. In the future this might change.
* quartz: Ignore events from all mouse buttons past the resize boundaryKristian Rietveld2012-05-131-10/+21
| | | | | | | Before, right click events were still let through into GDK. In this case, also middle/right button events with x-coordinates in the range [-3, 0] are processed, resulting in failures/crashes in the window finding code because no GdkWindows are present in this range.
* quartz: add a special case to GtkIMContextSimply for entering '"'Michael Natterer2012-05-101-0/+37
| | | | | | Turn dead_doubleacute plus space into '"' and not into a double acute because that's the way to enter double quotes on the US-International keyboard layout.
* quartz: handle yet another dead tilde variantMichael Natterer2012-05-081-0/+1
| | | | which is delivered by the US-International keyboard layout.
* bgo#675421 - Set the wm_role on GtkFileChooserDialogFederico Mena Quintero2012-05-071-0/+2
| | | | | | | The window's role is 'GtkFileChooserDialog', so that window managers can match it for positioning. Signed-off-by: Federico Mena Quintero <federico@gnome.org>
* Updated Romanian translationDumitru Mișu Moldovan2012-05-052-3750/+2973
|
* modules/printing/cups/gtkprintbackendcups.c won't build with CUPS 1.6John Ralls2012-04-231-6/+14
| | | | Fix up accesses of ipp structures in gtkcupsutils.c
* modules/printing/cups/gtkprintbackendcups.c won't build with CUPS 1.6John Ralls2012-04-231-1/+23
| | | | | | Having refactored cups_request_printer_list_cb so that the cups version-dependent block size is small enough to be handled in a single ifdef, make the ifdef HAVE_CUPS_API_1_6 block
* Move some variable declarations into the scopes in which they're used.John Ralls2012-04-231-19/+20
|
* Extract Function cups_create_printerJohn Ralls2012-04-231-86/+99
|
* Extract function cups_printer_handle_attributeJohn Ralls2012-04-231-122/+130
|
* Extract printer setup variables into a structJohn Ralls2012-04-231-56/+67
| | | | | | | | | So that it can be passed as a single parameter to functions as we extract-function to make cups_request_printer_list_cb more manageable. Note that not all of the affected variables are changed in this changeset. Those are in extracted functions and will be addressed in the next two changes.
* Create enum PrinterStateLevelJohn Ralls2012-04-231-0/+7
| | | | Fixes "magic number" in printer_state_reason_level.
* Extract reasons and reasons_desc arrays to file levelJohn Ralls2012-04-231-34/+36
| | | | | So that they can be used from more than one function. Rename them to avoid naming conflicts.
* modules/printing/cups/gtkprintbackendcups.c won't build with CUPS 1.6John Ralls2012-04-232-59/+93
| | | | | The first, simple changes. Turns off the deprecation warnings and substitutes macros and short ifdef blocks where feasible.
* bgo#674556 - Save the file chooser's settings when the toplevel gets unmappedFederico Mena Quintero2012-04-232-24/+34
| | | | | | | | In GTK+ 2, child widgets don't get unmapped, and yet, that is when we were trying to save the settings of GtkFileChooserDefault. Now we connect to the toplevel's unmap signal and do the right thing there. Signed-off-by: Federico Mena Quintero <federico@gnome.org>
* quartz: properly handle the given hotspot positionKristian Rietveld2012-04-221-0/+6
|
* quartz: fix coordinates for synthesized eventKristian Rietveld2012-04-221-2/+19
| | | | | | | Of course, we must pass coordinates in the NSWindow coordinate system when creating an NSEvent. This fixes drag icon positioning and makes the icon slide back to the correct position when the drag is canceled.
* [quartz] Fix manual resizing of windowsKristian Rietveld2012-04-103-0/+17
| | | | | | | | | | | | | | | | In the Quartz backend, there are two methods by which windows are resized. The first method is fully handled by Quartz and does not appear in the event stream the application resizes. The second method is when we resize windows by ourselves. In OS X this happens when a GTK+ resize grip is used. This resize grip is larger than the Quartz resize grip. When the resize is started outside the "Quartz area", we have to handle it by ourselves. This patch fixes this manual window resizing by ignoring events while we are in the process of resizing (such that the events actually arrive at the sendEvent handler of GdkQuartzWindow where this resize is handled). When the resize has finished we break all grabs such that GDK is not stuck thinking the cursor is still in the resize window.
* Export break_all_grabs() within Quartz backendKristian Rietveld2012-04-102-4/+5
| | | | Function was renamed to _gdk_quartz_events_break_all_grabs().
* printing: Make sure destroy function is always called by gtk_enumerate_printersCarlos Garcia Campos2012-03-151-12/+14
| | | | | | | | | | | When GtkPrinterFunc always returns FALSE, for example when looking for a non existent printer, if print list is done for all backends or print backend status is UNAVAILABLE, gtk_enumerate_printers() finishes with an empty backend list and destroy function is never called. We need to check the backend list again after calling list_printers_init for all backends and finish the enumeration if it's empty. https://bugzilla.gnome.org/show_bug.cgi?id=672125
* Fix "install" paths in VS property sheetsChun-wei Fan2012-03-152-2/+2
|
* build: require glib 2.28Javier Jardón2012-03-142-1/+5
| | | | | | As dieterv said, gtk 2.24 win32 binaries have been frozen on glib 2.28.x, and we dont have resources rigth now to ensure pygobject static bindings still function correctly with newer glib versions
* configure.ac: require Glib 2.30Javier Jardón2012-03-141-1/+1
| | | | | As we use g_format_size() now See commit 2bedcd8863a88f1e1aea15494dc1995e84a49133
* Use g_format_size() instead of g_format_size_for_display()Federico Mena Quintero2012-03-051-1/+1
| | | | | We do this like in commit 4ead7b69ea0, so that apps which use the gtk2 file chooser will show the same file sizes as gtk3 apps.
* iconview: Fix autoscrollBenjamin Otte2012-03-031-6/+6
| | | | ... when the iconview is not the only child in it's parent GdkWindow.
* Iconification using _NET_WM_STATE_HIDDEN hint if supported by WMMikael Magnusson2012-03-023-13/+58
| | | | | | | | | If the Window Manager supports the _NET_WM_STATE_HIDDEN, we use it to use the _NET_WM_STATE protocol when de-iconifying windows (iconification is unchanged, via XIconifyWindow). Additionally, we no longer interpret all UnmapNotify events for our window as the result of iconification. (Based on patch by Tomas Frydrych <tf@linux.intel.com>)
* Bug 655065 Build failure on OS X 10.7 LionJohn Ralls2012-03-021-68/+1
| | | | Remove LDDADS and setting each object file's LDDAD to it; just set a global LDDAD.
* quartz: remove excess initializers in the new modifier_keys arrayMichael Natterer2012-02-231-16/+16
|
* quartz: make function keys work (again?)Michael Natterer2012-02-231-12/+25
| | | | | | | | | The F keys have no unicode mapping, and UCKeyTranslate() returns a bogus 0x10 as mapping to unicode. Instead of checking for this random and undocumented return value, simply assign all function keys explicitly. This patch also splits the ill-named "known_keys" array into "modifier_keys" and "function_keys" which is much more obvious.
* x11: Fix first call to _gdk_x11_keymap_key_is_modifier()Bastien Nocera2012-02-191-0/+1
| | | | | | | | | | | | | | | | | _gdk_x11_keymap_key_is_modifier() never tries to set min/max_keycode if they haven't been set before, meaning that until another function sets those, all the keys will be seen as non-modifiers. This causes GdkKeyEvents to be wrongly tagged with "->is_modifier = 0" when in actual fact the key is a modifier. This fixes keyboard shortcuts captured with GtkCellRendererAccel in "raw" mode thinking a modifier without any actual keys is a valid shortcut. https://bugzilla.gnome.org/show_bug.cgi?id=670400 Conflicts: gdk/x11/gdkkeys-x11.c
* GtkTrayIcon: chain up in disposeMatthias Clasen2012-02-151-0/+2
| | | | Pointed out in bug 643131 and bug 640308.
* gdk/gdkwindow: Add missins "Since:2.24"Javier Jardón2012-02-141-0/+2
| | | | | Reported by Mike Massonnet in bug https://bugzilla.gnome.org/show_bug.cgi?id=670093
* win32: Don't crash when installed in a top-level directoryKalev Lember2012-02-091-1/+2
| | | | | | | Avoid NULL-pointer dereference when package installation directory doesn't contain any slashes. Reported by Paweł Forysiuk.
* Remove stock_icons/*/text-x-generic.png from GENERATED_ICONSJohn Ralls2012-02-071-3/+1
| | | | | It's not generated, and having it included removes it during maintainer-clean so you have to retrieve it from the repo to build.
* bump versionMatthias Clasen2012-02-061-2/+2
|
* Fix doc build2.24.10Matthias Clasen2012-02-061-1/+1
|
* UpdatesMatthias Clasen2012-02-061-0/+15
|
* printing: Don't crash when printingMarek Kasik2012-01-311-22/+40
| | | | | | This commit fixes crash which occurs in Firefox, Thunderbird and Inkscape during printing. This crash was caused because of wrong handling of Custom CUPS options. (#543520)
* Bug 667691 - implement gdk_window_restack() for QuartzMichael Natterer2012-01-261-1/+12
| | | | Apply patch from Paul Davis which implements this missing function.
* win32: Draw arrows as polygons, not as rows of pixelsLRN2012-01-251-12/+22
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=665955
* win32: fix gdk_win32_window_raiseDieter Verfaillie2012-01-251-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | When calling gtk_window_present(), gdk_win32_window_raise did not actually raise the window anymore. Replacing BringWindowToTop() with SetForegroundWindow() fixes this. During testing, we also discovered that sometimes SetForeGroundWindow() will (correctly) refuse to raise the window and fail(for example: sometimes when dragging a different application at the time of a gtk_window_present() call). To prevent a GdkWarning from being produced, usage of the API_CALL macro has been removed for this case. Additional goodies of SetForeGroundWindow: - it brings the window to the front when the process owning the window to raise is the foreground process (for example when gtk_window_present is called from a GtkStatusIcon's activate signal handler) - it limits itself to flashing the task bar button associated with the window if the process owning the window to raise is *not* the foreground process (for example when gtk_window_present is called from a g_timeout_add callback function) https://bugzilla.gnome.org/show_bug.cgi?id=665760
* Post release version bumpJavier Jardón2012-01-241-2/+2
|
* docs: Fix libgail-utils doc generation2.24.9Javier Jardón2012-01-241-0/+1
|
* Update NEWSJavier Jardón2012-01-2417-35/+74
|
* modules: Fix memleakBenjamin Otte2012-01-241-0/+2
| | | | | | Modules would leak if they were specified twice in the same command, so ie this would leak: GTK_MODULES=gail,gail
* modules: break when finding the right moduleBenjamin Otte2012-01-241-0/+1
| | | | | This way, we don't use the wrong module. In particular we don't screw up refcounts that lead to crashes later on.