summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* HC: make link buttons distinctJakub Steiner2015-07-292-2/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=752965
* HC: whitespace for sidebarJakub Steiner2015-07-292-121/+156
| | | | | | - make some room around the sidebar icons https://bugzilla.gnome.org/show_bug.cgi?id=752960
* gtk3-demo: Add a scrollbar context menuMatthias Clasen2015-07-282-1/+49
| | | | | Just to demonstrate the capability, not because this is excellent UI.
* gtk3-demo: Add another overlay demoMatthias Clasen2015-07-286-2/+113
|
* placesview: simplify codeGeorges Basile Stavracas Neto2015-07-282-297/+114
| | | | | | | | | | | | | Since we started adding a persistent Computer item, all the code related to the view modes became obsolete, since the view is never empty anymore. So, drop this dead code and use the plain stack to manage the empty search results view. Also, this patch fixed a very annoying keyboard navigation issue where we couldn't go from the On This Computer to Networks lists, because they were two separate widgets. Merge the two lists into a single one, and update headers accordingly.
* placesviewrow: hook up finalizeGeorges Basile Stavracas Neto2015-07-281-0/+2
| | | | | It is needed to hook up the finalize method, since it's overriden manually.
* placessidebar: fix ellipsizing glitchGeorges Basile Stavracas Neto2015-07-281-2/+3
| | | | | | | | The places sidebar rows' labels were missing a proper xalign, which caused the labels to keep shaking while the sidebar was resized. Fix that by setting the label's xalign to 0.
* placesview: plug some memory leaksGeorges Basile Stavracas Neto2015-07-282-3/+17
| | | | | | | The GFile containing the Computer item was not properly dereferenced, so plug that leak by both dereferencing it and adding some reference management on GtkPlacesViewRow.
* placesview: show Computer itemGeorges Basile Stavracas Neto2015-07-284-2/+64
| | | | | | | | | | | GtkPlacesView widget manages persistent locations, factoring out GtkPlacesSidebar functionality. It, however, does not completely shows all sidebar locations, since Computer is still missing. Add a Computer item, adjusting some internal behavior to make that possible.
* placesview: don't show network addressesGeorges Basile Stavracas Neto2015-07-281-1/+1
| | | | | | | It is distracting, not relevant and too space consuming. Remove the network addresses label.
* placesview: fix documentationGeorges Basile Stavracas Neto2015-07-281-1/+1
| | | | | | | | The doc for gtk_places_view_get_search_query was being set twice, while gtk_places_view_set_search_query was never set. Fix that by correcting the wrong getter documentation.
* placessidebar: fix documentationGeorges Basile Stavracas Neto2015-07-281-2/+3
| | | | | | | Use the same explanation of why GtkPlacesSidebar::show-connect-server was deprecated and its replacements on getter and setter. Also, fix a mistakenly deprecated function.
* inspector: Show monitor informationMatthias Clasen2015-07-281-0/+47
| | | | | This is useful to verify the monitor information returned by other backends.
* inspector: Show wayland display informationMatthias Clasen2015-07-282-3/+3
| | | | | Don't call it "X display" when we show useful information under Wayland as well.
* wayland: Return a display nameMatthias Clasen2015-07-281-1/+7
| | | | | Make gdk_screen_make_display_name() return a likely correct name for the Wayland socket we are using.
* x11: Make selection handling work across screensMatthias Clasen2015-07-272-2/+28
| | | | | | | | | | | | When dealing with selection events, we might see windows from other screens in the requestor field. The current x11 backend code fails to wrap these in a foreign GdkWindow, since we don't have the corresponding GdkScreen anymore. Work around this by creating such 'foreign screens' on demand. We still maintain the 1:1 relation between the display and the screen returned by gdk_display_get_default_screen(). https://bugzilla.gnome.org/show_bug.cgi?id=721398
* Update Catalan translationJordi Mas2015-07-271-2059/+2029
|
* Plug a memory leakMatthias Clasen2015-07-271-1/+1
| | | | | | | GtkCssProvider was using the wrong unref function for GtkCssKeyframe objects. Funnily, this didn't crash at all, the refcount was at the same place in the struct - it just didn't free all the memory, causing valgrind to complain.
* quartz app menu: add hidpi support for menu iconsChristoph Reiter2015-07-273-57/+31
| | | | | | | | Use the new cairo to NSImage converter function to set the device scale. Remove the pixbuf converter function as this was the last user.
* quartz dnd: add hidpi support for gtk_drag_set_icon_surface()Christoph Reiter2015-07-273-56/+132
| | | | | | | Instead of storing the dnd icon as a pixbuf store it as a cairo surface and transfer the device scale when converting it to a NSImage. In the pixbuf/stock/named setters convert to a surface instead (no hidpi support yet)
* quartz dnd: fix drag icon position relative to cursor positionChristoph Reiter2015-07-271-1/+1
| | | | The y axis is reversed on osx
* quartz: disable system shadows if a GdkWindow shadow is set.Christoph Reiter2015-07-272-2/+20
| | | | | | | | The shadow will be drawn in the wrong place in those cases so all we can do is disable it. This fixes double shadows drawn around menus, popups and tooltips. https://bugzilla.gnome.org/show_bug.cgi?id=734984
* placessidebar: show Computer item when not in Other LocationsGeorges Basile Stavracas Neto2015-07-271-0/+13
| | | | | | | | | Previous commits removed from places sidebar the code related to displaying the Computer item, which should be shown when the sidebar is not displaying the Other Locations item. Add back the item when the sidebar is not in Other Locations' mode.
* quartz: Fix buildingPatrick Griffis2015-07-272-6/+7
| | | | Broken by 6d04183c5d6 and 6ac07a2e85ea
* file chooser: Note when searching remote locationsMatthias Clasen2015-07-272-70/+95
| | | | | Inform the user that we won't search recursively when searching in remote locations.
* Avoid more GFile<>uri roundtripsMatthias Clasen2015-07-276-11/+9
| | | | | | Make GtkSearchHit carry a GFile instead of an uri. Most of the search engines already have the object around, and converting to an uri and back is unnecessary extra work.
* search engine: Don't crawl remote locationsMatthias Clasen2015-07-271-8/+11
| | | | | This is slow, and causes too much network I/O. So skip locations that look like they are remote.
* Add a helper function for remote locationsMatthias Clasen2015-07-272-0/+33
| | | | | | | Add a helper function that says whether a location should be considered remote. To determine this, we look at the filesystem type reported by gvfs, and say 'remote' for sftp, webdav, ftp, nfs and cifs.
* Actually use search results from the modelMatthias Clasen2015-07-271-0/+1
| | | | | | We didn't connect to the signals, so we never picked up any search results from the model engine. Good thing, since it was returning the wrong thing.
* Port to GtkSearchHitMatthias Clasen2015-07-271-18/+13
| | | | | | GtkSearchEngineModel was still trying to return uris as hits. This is not working anymore, we are expected to return GtkSearchHit structs.
* Always pass a location into the queryMatthias Clasen2015-07-271-0/+2
| | | | | Failure to do so was causing search to start from the home dir when the current folder is not represented on the sidebar.
* Store locations as GFileMatthias Clasen2015-07-275-22/+19
| | | | | | It is a bit pointless to have the file chooser get a uri from an existing GFile to put in the query, only to have some of the search engines reconstruct a GFile from it.
* Remove a redundant assignmentMatthias Clasen2015-07-271-2/+1
|
* Updated Slovak translationDušan Kazik2015-07-271-327/+497
|
* Updated Greek translationDimitris Spingos2015-07-272-857/+1005
|
* combobox: Use ui file to construct internal button childBenjamin Otte2015-07-263-12/+45
|
* combobox: Create button on init() and destroy in destroy()Benjamin Otte2015-07-261-38/+25
| | | | | The button is the same in both menu and list mode, so there's no need to destroy and recreate it.
* combobox: Add scroll support in list modeBenjamin Otte2015-07-261-0/+2
|
* combobox: Remove unused argumentBenjamin Otte2015-07-261-49/+10
| | | | The visible check is always FALSE, so no need to keep the code around.
* combobox: Remove the box from the buttonBenjamin Otte2015-07-261-42/+21
| | | | | | | ... when in menu mode. Now that we don't have a separator anymore, the box is not needed anymore.
* combobox: Remove the separatorBenjamin Otte2015-07-261-21/+0
| | | | | | | It was a special case and it's not used by themes anymore. Plus, in the CSS world, if a theme wants a separator, it can just style the button's border to create one.
* Remove a duplicate stringMatthias Clasen2015-07-261-1/+0
| | | | | dialog-information was twice in the list of accessible labels for icon names.
* listbox: Fix shift-selectionMatthias Clasen2015-07-261-7/+8
| | | | | Selecting a range of rows with Shift-click was accidentally broken in e6e511eb460d8fcd. Make it work again.
* quartz: Implement NO_TARGET drag resultMatthias Clasen2015-07-261-4/+15
| | | | | | This is necessary to make notebook tab DND work. https://bugzilla.gnome.org/show_bug.cgi?id=752638
* quartz: Check if a drag ends inside a known windowMatthias Clasen2015-07-261-0/+28
| | | | | | | | If a drag ends inside a known window, set the dest_window field in the drag context. This information is needed to implemented notebook tab dragging. https://bugzilla.gnome.org/show_bug.cgi?id=752638
* GtkMenu: Properly detach menu when the window is detachedJonas Ådahl2015-07-261-1/+21
| | | | | | | | | Without properly cleaning up GtkMenu private attach state (GtkMenuAttachData) when the attached widget is freed, we would end up with an invalid pointer to a freed widget. Trying to detach from that widget would cause a segmentation fault. https://bugzilla.gnome.org/show_bug.cgi?id=752761
* wayland: Fix initial fullscreen monitor supportGiovanni Campagna2015-07-261-1/+2
| | | | | | | | -1 means that we have no specific preference for an initial fullscreen monitor, and -1 is less than the number of monitors, so we would end up accessing invalid memory. Prevent that. https://bugzilla.gnome.org/show_bug.cgi?id=752875
* Fix a warningMatthias Clasen2015-07-261-1/+1
|
* Use standard cursor namesMatthias Clasen2015-07-2615-64/+44
| | | | | | | This changes GTK+ to use gdk_cursor_new_from_name() with the 'standard' css names, instead of GdkCursorType. https://bugzilla.gnome.org/show_bug.cgi?id=652085
* win32: Support all css cursor namesMatthias Clasen2015-07-261-0/+10
| | | | Approximate some of the resize cursors with similar cursors.