aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets
Commit message (Collapse)AuthorAgeFilesLines
* Add support for DNS prefetching when using WebKit2Carlos Garcia Campos2013-03-061-1/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=684445
* ephy-removable-pixbuf-renderer: don't crash if no close icon is foundAlberto Garcia2012-12-151-1/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=690216
* e-location-entry: use new soup_session_prefetch_dns APIDiego Escalante Urrelo2012-12-101-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=689970
* widgets: do not use deprecated GtkStyleContext APIDiego Escalante Urrelo2012-12-103-3/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=689968
* lib: Remove unused EphySearchEntry widgetBastien Nocera2012-12-103-278/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=687744
* Port EphyHostsStore to WebKit2GTK+ favicons API.Mario Sanchez Prada2012-12-041-67/+108
|
* Use the new EphyHistoryService::urls-visited signalClaudio Saavedra2012-09-101-6/+4
| | | | | | | | | | Since both the frecent store and the history window don't need to be updated immediately after a url is visited, we can use ::urls-visited instead. The advantage of this is that we reduce considerably the load when updating both models when loading many pages at the time, specially during startup. https://bugzilla.gnome.org/show_bug.cgi?id=683550
* EphyOverviewStore: don't register the snapshot mtime as longGiovanni Campagna2012-09-071-2/+2
| | | | | | | | | | All code paths use int, and this breaks on architechtures where long is not the same as int (such as x86_64). https://bugzilla.gnome.org/show_bug.cgi?id=683029 [Do the same for the visit time column] Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
* ephy-snapshot-service: Split ephy_snapshot_service_get_snapshot_async()Carlos Garcia Campos2012-09-061-30/+57
| | | | | | | | | | | | | | | | | | | ephy_snapshot_service_get_snapshot_async() receives an option web view parameter, that it's only used in case the snapshot is not the in the thumbnails cache. We can split the method into ephy_snapshot_service_get_snapshot_async() to get a snapshot from a web view and ephy_snapshot_service_get_snapshot_for_url_async() to get a snapshot from the cache. The former uses the latter to try first if the web view URI is in the cache. Patch includes other cleanups and fixes: - Add missing ephy_snapshot_service_save_snapshot_finish() - Add EphySnapshotServiceError to handle errors - Use GSimpleAsyncResult API instead of using GIOScheduler directly - Use different async data structs for every async operation https://bugzilla.gnome.org/show_bug.cgi?id=683327
* gd-main-view: don't use ctrl+click for selection-mode-requestClaudio Saavedra2012-09-051-2/+1
| | | | | We need this to actually activate the current item, in order to support ctrl+click to open in a new tab.
* Add code coverage supportXan Lopez2012-09-041-0/+1
| | | | | | | | | | Needs a fairly recent gnome-common. To use do: - Run configure with --enable-code-coverage - Type 'make check-code-coverage' - Open the HTML results https://bugzilla.gnome.org/show_bug.cgi?id=683297
* ephy-overview-store: hide the close button while animating a removed itemClaudio Saavedra2012-09-043-0/+17
| | | | | | To do this, add the render policy as a column to the model and use it as a cellrenderer attribute. The default value is already PRELIT. When removing the cell, flip it to NEVER.
* ephy-removable-pixbuf-renderer: reorder policy enumClaudio Saavedra2012-09-041-2/+2
| | | | | This way the default item is PRELIT. This will be useful when using this type as a cell renderer attribute later on.
* ephy-removable-pixbuf-renderer: do not emit delete on click if policy is NEVERClaudio Saavedra2012-09-041-0/+3
| | | | | It makes no sense to emit the delete signal if the delete button is not rendered at all.
* ephy-frecent-store: Fix the build with WebKit2Carlos Garcia Campos2012-09-031-0/+2
|
* ephy-bookmarks-editor: repaint the favicon on "icon-loaded"Sergio Villar Senin2012-09-031-1/+1
| | | | | | | | Fixes a crash when epy is started with the bookmarks window open. The old code was trying to set the favicon in an already released GValue. Instead of doing that, we now force a repaint of the row once we get the favicon. https://bugzilla.gnome.org/show_bug.cgi?id=673795
* ephy-node-view: added ephy_node_view_get_iter_for_node()Sergio Villar Senin2012-09-032-0/+23
| | | | | | | | | | | The EphyNodeView is based on the following stack of models: Sort model -> Filter model -> EphyTreeModelNode This function returns a GtkTreeIter pointing to a row in the sort model from a EphyNode that belongs to the EphyTreeModelNode. https://bugzilla.gnome.org/show_bug.cgi?id=673795
* ephy-overview-store: fix the setter for the default iconClaudio Saavedra2012-09-031-2/+6
|
* ephy-frecent-store: set default icon in new rowsClaudio Saavedra2012-09-011-0/+7
| | | | | Otherwise they look empty until the icon is loaded. This is specially annoying when opening the overview and all the icons are scheduled for load.
* ephy-frecent-store: animate hiding of store itemsClaudio Saavedra2012-09-013-5/+113
| | | | | | Add a ephy_overview_store_animated_remove() that shrinks the thumbnail in a timeout until it's small enough and then removes it from the model.
* ephy-overview-store: fix history service reference handlingClaudio Saavedra2012-09-011-1/+1
|
* ephy-frecent-store: plug string leakClaudio Saavedra2012-09-011-0/+1
|
* ephy-overview-store: add icon-frame propertyClaudio Saavedra2012-09-012-119/+62
| | | | | | | Instead of using a hardcoded cairo frame, add a property to define the frame around thumbnails. Also rework the code around the default-thumbnail property to make it possible to use this there as well.
* ephy-overview-store: add missing dispose implementationClaudio Saavedra2012-09-011-0/+14
|
* ephy-removable-pixbuf-renderer: use the pixbuf size to determine the ↵Claudio Saavedra2012-09-011-4/+16
| | | | position of the close x
* ephy-overview-store: set the default snapshot only when failing to retrieve oneClaudio Saavedra2012-09-011-9/+8
| | | | This way there's no flashing of thumbnails between the query and the reply.
* ephy-overview-store: add internal helper for setting the default iconClaudio Saavedra2012-09-011-8/+17
| | | | Just to spare some code repetition.
* ephy-overview-store: remove spurious warningClaudio Saavedra2012-09-011-1/+0
|
* ephy-overview-store: use the age of a thumbnail only to decide when update ↵Claudio Saavedra2012-09-012-10/+18
| | | | | | | | | | | | is needed Currently, we were not retrieving thumbnails from the service if they were outdated. This would cause some pages in the overview not to display a thumbnail at all even if one is available (but old). Fix this by always retrieving a thumbnail but storing its mtime in the model, and making ephy_snapshot_store_needs_snapshot() check the age of snapshots when deciding whether a snapshot update is needed or not.
* ephy-overview-store: use the thumbnail saving time to decide whether an ↵Claudio Saavedra2012-09-011-24/+36
| | | | update is needed
* Add EphyFrecentStore class filesClaudio Saavedra2012-09-013-0/+473
| | | | | | | This subclass of EphyOverviewStore displays the most frecently visited pages. https://bugzilla.gnome.org/show_bug.cgi?id=455173
* Add the base EphyOverviewStore modelClaudio Saavedra2012-09-013-0/+653
| | | | | | | This should be subclassed by the models for the history and/or currently open views. https://bugzilla.gnome.org/show_bug.cgi?id=455173
* gd-main-view: add a "item-deleted" signal to handle user-triggered item ↵Claudio Saavedra2012-09-012-0/+61
| | | | | | | | | | | deletions GdMainView connects to GdMainViewGeneric:delete-item-clicked and emits its :item-deleted signal which, if unhandled, simply removes the item in question from the underlying model. Users of GdMainView can handle this signal and stop the default handler from being invoked, thus avoiding removal of the item.
* gd-main-icon-view: use the new renderer to add a close button to itemsClaudio Saavedra2012-09-011-1/+13
| | | | | | Also, emit the GdMainViewGeneric:delete-item-clicked when the button is clicked. The signal is still unhandled, so clicking in the button will not make any difference yet.
* gd-main-view-generic: add "delete-element-clicked" signal to the interfaceClaudio Saavedra2012-09-012-1/+24
| | | | | | Implementors of this interface may connect emit this signal to notify the GdMainView when a user is requesting to delete one item from the view.
* ephy-removable-pixbuf-renderer: new renderer for the overviewClaudio Saavedra2012-09-013-0/+351
| | | | | This is a renderer that draws a "close" button on top of its contents and that emits a signal when the button is activated.
* Add GdMainView for use in the overviewClaudio Saavedra2012-09-0113-0/+2550
| | | | | | This widget courtesy of gnome-documents https://bugzilla.gnome.org/show_bug.cgi?id=455173
* ephy-window: centralize the logic about invisible URIs in one placeXan Lopez2012-08-241-1/+1
| | | | | | | | Let's make EphyWindow the one in charge of deciding whether a URI is actually shown or not in the location entry. This allows to remove some code to that effect in EphyLocationController (and perhaps some more in EphyWebView in the future), and makes this feature more extensible for the future.
* Show information about the SSL errors when clicking on lock iconCarlos Garcia Campos2012-08-093-0/+397
| | | | | | | If libgcr is available it's used to show the information about the TLS certificate in the dialog too. https://bugzilla.gnome.org/show_bug.cgi?id=681506
* ephy-location-entry: small cleanupsXan Lopez2012-08-071-9/+6
|
* Port downloads to WebKit2Carlos Garcia Campos2012-06-271-21/+91
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678612
* embed: Move about handlers to a new fileCarlos Garcia Campos2012-06-261-1/+1
| | | | | Leaving in ephy-request-about only the code specific to the soup feature implementation.
* ephy-download-widget: add get_destination_basename_from_download() helper ↵Carlos Garcia Campos2012-06-261-11/+26
| | | | function
* ephy-download-widget: add ephy_download_widget_download_finished()Carlos Garcia Campos2012-06-252-23/+33
| | | | | It makes easier to check whether download finished, and it's compatible with WebKit2.
* Initial WebKit2 portCarlos Garcia Campos2012-06-213-0/+70
| | | | It builds and basic functionality works.
* ephy-location-entry: make it possible to hide the faviconClaudio Saavedra2012-06-202-3/+42
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678405
* ephy-download-widget: Show bytes downloaded when the total size is unknownCarlos Garcia Campos2012-06-141-20/+54
|
* ephy-download-widget: Check the icon has changed before updating the imageCarlos Garcia Campos2012-06-131-3/+6
|
* ephy-download-widget: Don't leak the GIconCarlos Garcia Campos2012-06-131-5/+17
|
* ephy-location-entry: make parameters actual propertiesClaudio Saavedra2012-06-051-0/+112
| | | | | | So that they are bindable. https://bugzilla.gnome.org/show_bug.cgi?id=675804
* e-location-entry: make aligment pixel-perfectDiego Escalante Urrelo2012-03-311-0/+59
| | | | | | | | | | | Align the elements of the GtkEntryCompletion popup with those in the location entry. The code comes with a detailed comment and a scheme of how the aligment is done now. Because of the unhandled pixels of GtkEntryCompletion, this code might need an update if anything in GTK+ or Adwaita changes. https://bugzilla.gnome.org/show_bug.cgi?id=672927
* e-location-entry: dim URL in completion rowsDiego Escalante Urrelo2012-03-311-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672927
* e-location-entry: redundant ellipsize-setDiego Escalante Urrelo2012-03-311-4/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672927
* e-location-entry: make bookmark icon follow-stateDiego Escalante Urrelo2012-03-311-0/+1
| | | | | | | Makes the symbolic-icon of the completion rows change its color accordingly to the selection state. With Adwaita: black -> white. https://bugzilla.gnome.org/show_bug.cgi?id=672927
* ephy-hosts-store: listen to favicon changes in the wk databaseClaudio Saavedra2012-03-271-2/+66
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672525
* download-widget: use the "linked" style classCosimo Cecchi2012-03-271-0/+4
| | | | | | | Link the glow and the menu buttons together by using a "linked" style class on the box containing them. https://bugzilla.gnome.org/show_bug.cgi?id=672712
* ephy-hosts-store: -1 is not a valid insertion positionClaudio Saavedra2012-03-211-1/+1
|
* ephy-history-window: add back the faviconsClaudio Saavedra2012-03-213-5/+74
| | | | | | | | Use the new webkit favicon database for favicons here. This might not work perfectly, but that's a webkitgtk issue, see https://bugs.webkit.org/show_bug.cgi?id=81665 https://bugzilla.gnome.org/show_bug.cgi?id=672480
* floating-bar: set a max-width to the labelCosimo Cecchi2012-03-141-1/+2
| | | | | | | | We don't want the floating bar to extend without boundaries in the available size, since some hyperlinks can be very long (and make the bar cover the whole screen). https://bugzilla.gnome.org/show_bug.cgi?id=671520
* ephy-history-view: add row-middle-clicked signalClaudio Saavedra2012-03-132-0/+74
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671635
* ephy-history-window: plug a couple of leaksClaudio Saavedra2012-03-082-2/+2
|
* ephy-hosts-view: ensure "all hosts" is selected by defaultClaudio Saavedra2012-03-081-14/+28
| | | | | | If no host can be selected, always select the "all hosts" row. https://bugzilla.gnome.org/show_bug.cgi?id=671575
* ephy-host-store: add a clear() methodClaudio Saavedra2012-03-082-0/+14
| | | | | | | This adds always a default item "All sites" which, when selected, will show all urls in all hosts. https://bugzilla.gnome.org/show_bug.cgi?id=671575
* ephy-history-view: remove unneeded unselect_all()Claudio Saavedra2012-03-081-2/+1
| | | | | This breaks selection in _BROWSE mode, and we don't really need it anyway.
* ephy-hosts-view: add a method to select a given hostClaudio Saavedra2012-03-082-0/+34
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671559
* ephy-hosts-store: sort the model by URLClaudio Saavedra2012-03-071-0/+3
| | | | | This puts "Others" to the beginning of the list and the rest alphanumerically sorted.
* ephy-history-view: properly handle button-press-eventClaudio Saavedra2012-03-071-8/+6
| | | | | So that it doesn't trigger a double-click in the first press. Use a handler instead of connecting to the signal.
* Move the host and urls views from embed to lib/widgetsXan Lopez2012-03-0711-0/+790
| | | | | Since that's their natural place. Also create a base class to hold the common code they share.
* Hook the new history to the URL entryXan Lopez2012-03-071-177/+20
| | | | | We now fetch the history from the SQL backend using a service thread, and merge the results with our old bookmark data.
* ephy-search-entry: use symbolic clear iconDiego Escalante Urrelo2012-02-081-3/+7
| | | | | | Instead of gtk+ stock icon, use the symbolic version. Respects LTR/RTL. https://bugzilla.gnome.org/show_bug.cgi?id=669131
* Get rid of EPHY_STOCK_EPHYXan Lopez2012-01-272-2/+0
| | | | | | In 99% of the cases we were using it for gtk_window_set_icon_name, which does nothing in GNOME 3. In the couple of valid use cases, just use "web-browser" directly.
* Remove EPHY_STOCK_BOOKMARKXan Lopez2012-01-271-1/+1
| | | | | Use the symbolic icon for the completion entry, I'm sure Lapo will approve.
* Remove all the lock stock iconsXan Lopez2012-01-271-0/+4
| | | | | | At this point we were only using the #defines in EphyLocationEntry to decide which symbolic icon to use, so keep that and delete everything else.
* entry: make EphyLocationEntry a GtkEntryCosimo Cecchi2012-01-202-72/+41
| | | | | | | | Instead of a GtkToolItem. A future commit will move the code in EphyLocationAction not to be a GtkAction, which is why this was a GtkToolItem in the first place. https://bugzilla.gnome.org/show_bug.cgi?id=668206
* Move the nautilus floating bar to lib/widgetsXan Lopez2012-01-173-3/+469
| | | | And fix a couple of warnings.
* ephy-middle-clickable-tool-button: remove, it's unused nowXan Lopez2012-01-173-103/+0
|
* Fake middle clicks without gtk_button_{press,release}, which are deprecatedXan Lopez2012-01-025-0/+229
| | | | | | | | | | | | | | Factor the logic that fakes clicks from a middle click in EphyMiddleClick(Tool)Button by forwarding a left click to GTK+ when we receive a middle click. Since ephy_gui_is_middle_click stops working in this case, add the minimal logic in EphyLinkAction to make it work again (basically, cache the button that activated the action inside the action itself). The EphyMiddleClickable(Tool)Button classes were written by Alexandre Mazari. https://bugzilla.gnome.org/show_bug.cgi?id=628364
* e-download-widget: update icon every 10%Diego Escalante Urrelo2011-12-211-0/+7
| | | | | | | | | | | In some cases trying to get the content-type of a download right at the start of the transfer won't give us useful information. To handle this case we query for the content-type and a proper icon every 10%, hoping that GIO/Soup will make a smarter guess. This is an arbitrary number that hopes to work with most cases. Bug #662059
* e-download-widget: use GIcon instead of GdkPixbufDiego Escalante Urrelo2011-12-211-19/+5
| | | | | | | GtkImage works fine with GIcon, this saves us some lines of code and allocating a GdkPixbuf. Bug #662059
* e-download: add ephy_download_get_content_typeDiego Escalante Urrelo2011-12-211-9/+5
| | | | | | | | | | This new API gets the content-type of a download using GIO, or Soup if GIO is still not available for the download. GIO is our first option since its local guesses are more reliable. Soup can be cheated by servers or confused by still too incomplete downloads. Bug #662059
* ephy-zoom-control: remove, there are no zoom toolbar items anymoreXan Lopez2011-12-154-375/+4
|
* Remove last traces of the EggToolbar codeXan Lopez2011-12-151-27/+0
|
* Use a GtkOverlay for the statusbar instead of shipping GeditOverlayClaudio Saavedra2011-12-147-1440/+1
| | | | | | | Instead of escaping the cursor, we align the overlay at the opposite side of the window. This is consistent with nautilus. https://bugzilla.gnome.org/show_bug.cgi?id=653996
* Remove some deprecated GTK+ callsClaudio Saavedra2011-11-222-4/+10
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=664120
* ephy-location-entry: remove unused includeXan Lopez2011-09-111-1/+0
|
* Use g_markup_printf_escaped when printing urisDiego Escalante Urrelo2011-08-131-5/+2
| | | | | | | This covers GtkInfoBar in ephy-web-view.c, ephy-download-widget.c and also tooltips and labels in ephy-download-widget.c Bug #649164
* ephy-download-widget: unescape tooltipsDiego Escalante Urrelo2011-07-171-1/+4
| | | | | | | In ae374ca97044684d6a33bb11ae8bccac06a85b9f we forgot about the tooltip. Bug #653690
* ephy-location-entry: use new channel-{secure,insecure} symbolic iconsXan Lopez2011-07-071-2/+2
| | | | Bug #650789
* Use the generic marshaler throughoutXan Lopez2011-06-143-7/+4
| | | | Just enough to get rid of ephy-marshal.h
* gedit-overlay: prevent underallocation warningsXan Lopez2011-06-101-2/+12
| | | | This is somewhat hacky, but we'll switch to GtkOverlay soon anyway.
* gedit-overlay: fix compiler warningXan Lopez2011-06-101-1/+1
|
* Use GtkOrientable interface instead of deprecated V/H widgetsClaudio Saavedra2011-06-093-4/+8
| | | | | | | | | | Gtk[HV]Box, Gtk[HV]Separator, Gtk[HV]Paned are deprecated in GTK+ 3.2, so let's use the GtkOrientable interface instead. GtkBox is likely to dissapear soon too, so a migration to GtkGrid might be necessary at some point. https://bugzilla.gnome.org/show_bug.cgi?id=652201
* Added about:plugins support.Sergio Villar Senin2011-06-011-3/+14
| | | | | | We are now able to show a page with the list of installed plugins. Bug #575498
* ephy-location-entry: handle gracefully first callXan Lopez2011-05-221-3/+3
| | | | | The set_stock_id method is called initially with NULL to set things up.
* ephy-location-entry: use symbolic icons for security stateXan Lopez2011-05-221-12/+28
| | | | | The code should probably be cleaned up to stop using the stock-id defines, which don't make much sense anymore.
* ephy-location-entry: do not use a yellow background for secure sitesXan Lopez2011-05-222-119/+0
| | | | | Adds unneeded clutter to the entry, we'll just rely on a visible symbolic lock icon when needed.
* ephy-overlay-escaping-child: fix warningsXan Lopez2011-04-271-3/+8
|
* Slide out the status overlay when the mouse pointer goes close by.Alexandre Mazari2011-04-264-2/+367
| | | | | | | | | This introduces a GeditOverlayChild subclass, listening to parent overlay mouse events to define the escaping policy. The distance from which the widget "escapes" the mouse pointer can be set at construction time. https://bugzilla.gnome.org/show_bug.cgi?id=643909
* Remove a few GCC 4.6.0 warningsXan Lopez2011-04-212-6/+0
|
* Import latest version of Gedit's overlay code.Alexandre Mazari2011-04-193-95/+169
|
* ephy-download-widget: unescape displayed filenamesDiego Escalante Urrelo2011-03-081-4/+9
| | | | Avoid having %20 and similar things in the widget labels.
* ephy-download-widget: new widgetDiego Escalante Urrelo2011-03-085-0/+983
| | | | | | | | A widget showing the progress of an EphyDownload and offering the default set of actions to take on it: Open, Browse to, Cancel. It keeps a ref to the EphyDownload its showing. Bug #618443
* Small cleanup in widget's Makefile.amXan Lopez2011-02-271-2/+1
|
* Sync with upstream GeditOverlayXan Lopez2011-02-264-107/+21
|
* ephy-location-entry: add DNS prefetchingSergio Villar Senin2011-02-251-5/+54
| | | | | | | | Proactively perform DNS lookups when the user sets the cursor over an autocompleted entry in the location bar. This way the prefetching is likely to already have been resolved by the time the user actually clicks on the entry. https://bugzilla.gnome.org/show_bug.cgi?id=606087
* gedit-overlay-child: sync visible property of container and childXan Lopez2011-02-211-1/+8
| | | | | That way user can hide the inner widget and the overlay child container will be hidden automatically.
* gedit-overlay: sync with upstreamXan Lopez2011-02-201-0/+7
|
* gedit-overlay: always proxy main widget size requestXan Lopez2011-02-161-26/+4
| | | | | | | We don't want for the children to be able to overflow the main widget, it makes sense to keep them contained in the overlay. Bug #642451
* Sync with latest GeditOverlay codeXan Lopez2011-02-163-298/+51
| | | | And adapt to the new API.
* Sync with latest GeditOverlayXan Lopez2011-02-161-19/+12
|
* gedit-overlay: Fix a crash when overlay is detroyedCarlos Garcia Campos2011-02-121-6/+8
|
* Forgot these filesXan Lopez2011-02-122-0/+497
|
* Sync with upstream GeditOverlay codeXan Lopez2011-02-127-468/+243
|
* Port floating statusbar to gedit's overlay widgetXan Lopez2011-02-115-1/+1060
| | | | | | | | | | Works correctly in framed pages, and fixes a few bugs along the way (not to mention it should be more efficient since it does not redraw needlessly). The gedit code has been modified to get rid of the animation stuff we don't really need atm; we have coordinated with the gedit developers and hopefully both versions will be in sync again really soon.
* Use the new GTK_STATE_FLAG_NORMAL flagDiego Escalante Urrelo2011-01-111-5/+5
| | | | | | | Until 2.99.0 GtkStyleContext didn't have a "normal" flag, the closest thing was GTK_STATE_FLAG_ACTIVE, but it is not necessarily correct. Bug #636501
* ephy-location-entry: GdkRGBA colors are doublesDiego Escalante Urrelo2011-01-111-2/+2
| | | | Bug #636501
* ephy-node-view: don't use gdk_cursor_unrefXan Lopez2010-12-221-1/+1
| | | | | It's deprecated since GdkCursor is a GObject now. The stuff in egg/ still needs fixing, but we'll just sync from upstream.
* Port to gtk+ master's GtkStyleContextDiego Escalante Urrelo2010-12-151-48/+52
| | | | | | | Updates all our uses of GtkStyle stuff to the newer GtkStyleContext API. ephy-web-view porting done by Matthias Clasen <mclasen@redhat.com> Bug #636501
* introspection: fix wrong and missing annotationsDiego Escalante Urrelo2010-12-091-10/+10
| | | | Bug #636790
* EphyLocationAction: fix potential leakJonathon Jongsma2010-12-091-0/+1
| | | | | | Free the lock_stock_id before setting a new one. https://bugzilla.gnome.org/show_bug.cgi?id=636742
* Spinner changesXan Lopez2010-10-246-1484/+0
| | | | | | | | | | | | | | We get rid of the spinner in the toolbar, since load information is already given by the floating status indicator inside the WebView. The only remaining spinner is the one in the tabs, which has been ported to use GtkSpinner. Get rid of EphySpinner. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=524809 (again) https://bugzilla.gnome.org/show_bug.cgi?id=598442
* ephy-node-view: use new GtkScrollable APIsXan Lopez2010-10-241-1/+1
|
* Use the new GtkComboText APIsMatthias Classen2010-10-212-6/+6
| | | | Signed-off-by: Xan Lopez <xan@gnome.org>
* Revert "Port to GtkSpinner"Xan Lopez2010-10-103-26/+1065
| | | | | | This reverts commit 98811918bc8c5065eb4b21feb35c9f4def67341f. Accidentally committed.
* Port to GtkSpinnerXan Lopez2010-10-093-1065/+26
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=598442
* ephy-spinner: fix spinner drawingXan Lopez2010-10-091-8/+1
| | | | Was using a no longer calculated rect for the drawing coordinates.
* Adapt to latest changes in the GTK+ drawing modelXan Lopez2010-10-052-36/+24
| | | | | Mostly moving from ::expose-event to ::draw, and adapting to the changes in the paint functions.
* Update for latest GTK+ 3.x release.Xan Lopez2010-09-112-9/+9
|
* lib/widgets: use cairo_fill() instead of cairo_paint()Carlos Garcia Campos2010-08-251-1/+1
|
* lib/widgets: use cairo for drawing widgetsDiego Escalante Urrelo2010-08-222-55/+45
| | | | | | Drop deprecated gdk_* drawing functions. Bug #627450
* Use accessor functions when possibleXan Lopez2010-06-131-1/+1
|
* ephy-location-entry: reenable favicons in completionDiego Escalante Urrelo2010-04-211-7/+0
| | | | | | | | | | | | | | | Favicons in the completion popup were hidden because of an ugly flashing. It turns out it is caused by gtk_entry_set_icon_from_* functions. They queue a resize if the GtkEntry is visible, hence we see this ugly flash which is actually the completion obeying to the resize. The side effect is that when you start typying a new address in the location entry, the favicon of the current location will still be displayed. The previous behaviour was to set a 'text/html' icon when the user edited the location entry. Note that such icon will disappear as soon as you activate the location entry. Bug #616345
* Use only GTK+ single includesJavier Jardón2010-04-061-1/+1
|
* Use accessor functions instead direct accessJavier Jardón2010-02-112-3/+3
| | | | | | | Substitute GTK_WIDGET_MAPPED() and GTK_WIDGET_REALIZED() GTK+ required version bumped to 2.19.5 https://bugzilla.gnome.org/show_bug.cgi?id=595791
* ephy-location-entry: disable favicons in entry for releaseXan Lopez2010-01-251-0/+5
|
* Show again favicon column in URL completion dropdownXan Lopez2010-01-151-2/+0
|
* Make EphyLocationEntry store a copy of the lock-stock-idXan Lopez2010-01-151-1/+2
| | | | | | | Otherwise we rely on the ordering of the property notifications to get a proper id instead of garbage (!). Bug #606995
* Remove redundant parameters in location-set APIDiego Escalante Urrelo2009-12-052-17/+8
| | | | | | | | | | | EphyLocationEntry, EphyLocationAction and EphyToolbar take an @adress and @typed_address parameter, while both are useful we only end up using one so we can easily decide which one to use in ephy-window.c instead of carrying both around until ephy-location-entry.c Bonus: make ephy_location_entry_set_location accept NULL as @address safely. Bug #603651
* docs: ephy-location-actionDiego Escalante Urrelo2009-12-031-6/+3
| | | | Bug #503852
* docs: ephy-tree-model-nodeDiego Escalante Urrelo2009-12-032-4/+65
| | | | Bug #503852
* docs: ephy-tree-model-sortDiego Escalante Urrelo2009-12-032-4/+36
| | | | | | Also disable incomplete documentation. Bug #503852
* docs: ephy-node-viewDiego Escalante Urrelo2009-12-032-23/+205
| | | | Bug #503852
* ephy-node-view: fix some really weird indentationDiego Escalante Urrelo2009-12-031-131/+131
|
* docs: ephy-zoom-actionDiego Escalante Urrelo2009-12-031-0/+34
|
* docs: ephy-spinnerDiego Escalante Urrelo2009-12-032-2/+11
|
* docs: ephy-zoom-controlDiego Escalante Urrelo2009-12-031-2/+19
|
* docs: ephy-location-entryDiego Escalante Urrelo2009-12-031-0/+43
| | | | bonus nitpick in ephy-zoom (just a line break)
* docs: ephy-search-entryDiego Escalante Urrelo2009-12-032-1/+19
|
* GTK+ 2.17.11 is now the required versionJavier Jardón2009-09-223-28/+37
| | | | | | | | | | | | | | | I've used all the GTK+ 2.17.11 api available, still missing: GTK_WIDGET_REALIZED (GTK_WIDGET ()) GTK_WIDGET_MAPPED (GTK_WIDGET ()) GTK_ENTRY->im_context GTK_STATUSBAR->frame GTK_STATUSBAR->label GTK_MESSAGE_DIALOG->label https://bugzilla.gnome.org/show_bug.cgi?id=595791 Signed-off-by: Xan Lopez <xan@gnome.org>
* Make the location action responsible of the modelXan Lopez2009-08-151-1/+0
| | | | | It does not make sense for the location entry to unref the model it gets as parameter.
* Add again the spinner.Xan Lopez2009-08-103-0/+179
| | | | | | | | | We need some indication in the UI of network activity when there are no tabs opened and the progress bar hasn't appeared yet in the URL entry. Re-add the spinner for now, we'll think of a better solution later. Bug #585035
* Performance: Set a fixed width on autosized cell rendererBenjamin Otte2009-07-131-0/+10
| | | | | | | | | | | | The text cell renderer in use by the url autocompletion is the only renderer that expands. As the width of the entry completion is known in advance (as big as the entry you are completing on), we can set a fixed width. Since the height of the cell renderer is hardcoded, too, the complete size of the cell renderer is known in advance and Gtk skips layouting the text to compute the size. This is a noticable performance improvement, expecially when the completion contains lots of visible entries.
* don't free title string twiceBenjamin Otte2009-07-081-1/+1
| | | | | When the url is NULL, the title was freed twice - once after giving to the GValue via ctext, once with g_free().
* ephy-location-entry: remove useless definesDiego Escalante Urrelo2009-03-271-4/+0
| | | | svn path=/trunk/; revision=8944
* ephy-location-entry: #if 0 the favicon column in completion.Xan Lopez2009-03-091-10/+10
| | | | | | | It makes the text in the completion jump like crazy, so disable until we figure out what's going on. svn path=/trunk/; revision=8866
* ephy-location-entry: use g_object_connect for mass signal connection.Xan Lopez2009-03-091-17/+12
| | | | svn path=/trunk/; revision=8865
* ephy-zoom-control: release references in dispose, not finalize.Xan Lopez2009-02-231-5/+9
| | | | svn path=/trunk/; revision=8809
* ephy-zoom-control: use G_DEFINE_TYPE, remove unneeded includes.Xan Lopez2009-02-231-37/+4
| | | | svn path=/trunk/; revision=8808
* ephy-zoom-action: use G_DEFINE_TYPE, remove unneeded includes.Xan Lopez2009-02-231-37/+5
| | | | svn path=/trunk/; revision=8807
* ephy-search-entry: remove unneeded/redundant includes.Xan Lopez2009-02-231-2/+0
| | | | svn path=/trunk/; revision=8806
* ephy-location-entry: fix security icon visibility.Xan Lopez2009-02-231-3/+8
| | | | | | | | | GtkEntry has no distinction between the visibility of the icons and the icon to be used, meaning that the way to make them invisible is to unset them. Keep a private boolean with the visibility status so we can update our icon type without altering its visibility. svn path=/trunk/; revision=8802
* Remove EphyIconEntry leftovers.Xan Lopez2009-01-221-64/+0
| | | | svn path=/trunk/; revision=8715
* Avoid adding problematic search terms with spacesGustavo Noronha Silva2009-01-201-4/+9
| | | | | | | Adding spaces to the end of the location bar was adding bad search terms. This fixes it. svn path=/trunk/; revision=8709
* Handle end of line correctly on location bar searchGustavo Noronha Silva2009-01-201-2/+12
| | | | | | | This change fixes the last character of the last search term being cut off by special casing the end of the line. svn path=/trunk/; revision=8708
* Implement multiple keyword-based AND-search for the location barGustavo Noronha Silva2009-01-202-32/+121
| | | | | | Bug #568101 svn path=/trunk/; revision=8706
* Remove $Id$ marker from source files.Xan Lopez2009-01-1616-16/+0
| | | | svn path=/trunk/; revision=8695
* Fix indentation of previous commits.Xan Lopez2009-01-161-20/+20
| | | | svn path=/trunk/; revision=8694
* Include a bookmark indication in the woohoo barDiego Escalante Urrelo2009-01-161-1/+41
| | | | | | | If the result shown in the row is a bookmark, the epiphany bookmark icon will be drawn to the right of it. svn path=/trunk/; revision=8693
* Turn the location bar into the woohoo barDiego Escalante Urrelo2009-01-161-34/+75
| | | | | | | | Enhance the completion popup by showing a two line cell containing the favicon, the title of the page and the url. On top of this, there's a bookmark indication patch. svn path=/trunk/; revision=8692
* Adapt to the modified GTK+ API.Cosimo Cecchi2009-01-022-2/+2
| | | | svn path=/trunk/; revision=8659
* Use connect_after when connecting to drag-begin so we can override theXan Lopez2009-01-011-2/+2
| | | | | | pixmap that GtkEntry sets in DnD. svn path=/trunk/; revision=8658
* Delete EphyIconEntry, it's unused.Xan Lopez2008-12-313-459/+0
| | | | svn path=/trunk/; revision=8655
* Port EphySearchEntry to use GtkEntry.Xan Lopez2008-12-312-21/+45
| | | | | | | Also fold into the widget the 'clear' icon instead of creating it twice outside. svn path=/trunk/; revision=8653
* ephy-search-entry: use G_DEFINE_TYPE.Xan Lopez2008-12-311-32/+1
| | | | svn path=/trunk/; revision=8652
* ephy-location-entry: port to use GtkEntry instead of EphyIconEntry.Xan Lopez2008-12-311-151/+153
| | | | svn path=/trunk/; revision=8649
* ephy-location-entry: remove $Id$ marker.Xan Lopez2008-12-311-1/+0
| | | | svn path=/trunk/; revision=8648
* ephy-location-entry: use G_DEFINE_TYPEXan Lopez2008-12-311-34/+4
| | | | svn path=/trunk/; revision=8647
* Update documentation for lib/widgets/ephy-spinner.cDiego Escalante Urrelo2008-11-301-83/+86
| | | | svn path=/trunk/; revision=8623
* Document lib/widgets/ephy-zoom-control.cDiego Escalante Urrelo2008-11-301-0/+17
| | | | svn path=/trunk/; revision=8622
* Minor nitpick in the .h filesDiego Escalante Urrelo2008-09-292-9/+9
| | | | svn path=/trunk/; revision=8565
* Correctly mark doc comments for parsingDiego Escalante Urrelo2008-09-291-4/+4
| | | | svn path=/trunk/; revision=8563
* Update docs for ephy-icon-entryDiego Escalante Urrelo2008-09-291-4/+12
| | | | svn path=/trunk/; revision=8559
* Sync argument names in ephy-location-entry and update docsDiego Escalante Urrelo2008-09-292-27/+56
| | | | | | | | | There were inconsistencies between the .h file and the .c file. Now all the arguments are named 'entry'. Also add documentation for ephy_location_entry_set_match_func and ephy_location_entry_set_completion. svn path=/trunk/; revision=8557
* Document lib/widgets/ephy-location-entry.cDiego Escalante Urrelo2008-09-291-0/+133
| | | | svn path=/trunk/; revision=8556
* Document lib/widgets/ephy-icon-entry.cDiego Escalante Urrelo2008-09-292-0/+33
| | | | | | | | | Functions ephy_icon_entry_pack_widget and ephy_icon_entry_get_entry. Not sure how to extract that to proper gtk-docs and stuff. Document lib/widgets/ephy-search-entry.c svn path=/trunk/; revision=8555
* Remove useless ephy-node #includeDiego Escalante Urrelo2008-09-291-2/+0
| | | | svn path=/trunk/; revision=8550
* Revert special handling of double click in the LocationEntry; bug #426349.Loic Minier2008-09-031-14/+0
| | | | svn path=/trunk/; revision=8452
* Port the location bar to use GRegex.Diego Escalante Urrelo2008-08-152-10/+51
| | | | | | | | | | | | | | Use a simple regex matching the input text, implements the same behaviour of the current bar, plus: - substring suggestions (closes: #151932) - unicode support (closes: #343906) - diacritics in topic keywords (closes: #328162) - completion on history items titles (closes: #534218) Also, of course, closes: #517960 - port the url bar to GRegex. svn path=/trunk/; revision=8419
* Remove the sort_func for the location entry.Diego Escalante Urrelo2008-08-141-20/+5
| | | | | | | It is not really needed, since the values in comparison are simple numbers that don't need any thought on top. svn path=/trunk/; revision=8416
* Make the order in which we name the cols consistent.Diego Escalante Urrelo2008-08-142-6/+6
| | | | | | | Just a minor reordering of *_col variables, no code changed. svn path=/trunk/; revision=8414
* Remove an unneeded cast to pointer.Diego Escalante Urrelo2008-08-141-3/+6
| | | | | | | | There's an uneeded GUINT_TO_POINTER in gtk_cell_layout_set_cell_data_func for extracell_data_func. We can use the le pointer to get the cols we want. svn path=/trunk/; revision=8412
* Do not do single includes in lib/widgets/, bug #536090Diego Escalante Urrelo2008-06-0417-55/+15
| | | | svn path=/trunk/; revision=8268
* Add epiphany.h. Only allow including epiphany.h; all other headers are privateChristian Persch2008-04-129-0/+36
| | | | svn path=/trunk/; revision=8211
* Make the extra column pack-end so that when we hide it when it's empty, the ↵Christian Persch2008-03-311-2/+2
| | | | | | other column expands. This makes bookmarks take up all the space instead of being truncated at the half. svn path=/trunk/; revision=8173
* Remove the ephy-spinner from the toolbar.c, there's enough feebackXan Lopez2008-03-283-179/+0
| | | | | | with the spinners in the tabs and the progress bar. (#524809) svn path=/trunk/; revision=8166
* Add Undo/Redo commands to the location entry, both in the context menuCosimo Cecchi2008-02-152-12/+98
| | | | | | and linked to the main window commands. Bug #171179. svn path=/trunk/; revision=7945
* Popup the completion dropdown menu when we're focusing the location barCosimo Cecchi2008-02-021-0/+15
| | | | | | with the cursor at the end of entry and we press down. Bug #340572. svn path=/trunk/; revision=7908
* Catch bookmarks and history in EphyLocationActionPrivate, it's smarter.Diego Escalante Urrelo2007-12-272-3/+5
| | | | | | | Fixes bug #505777. svn path=/trunk/; revision=7828
* Moves the completion_func from lib/widgets/ephy-location-entry.c toDiego Escalante Urrelo2007-12-262-101/+16
| | | | | | | | | | | src/ephy-location-action.c. Adds a function to set the completion_func in lib/widgets/ephy-location-entry.c|h. Part of bug #392979. svn path=/trunk/; revision=7821
* Add "node-middle-clicked" signal to EphyNodeView.Cosimo Cecchi2007-12-082-0/+38
| | | | | | Part of bug #385037. svn path=/trunk/; revision=7762
* Adds a EPHY_NODE_VIEW_ELLIPSIZED flag and make history window andCosimo Cecchi2007-11-192-1/+8
| | | | | | | bookmarks editor views use it to display address and title columns. Fix bug #132808. svn path=/trunk/; revision=7719
* Fix a bug in EphyNodeView which caused weird problems when setting columnsCosimo Cecchi2007-11-191-0/+5
| | | | | | | | as resizable; thanks to Kristian Rietveld for finding out the cause. Make history window columns resizable and bookmarks editor columns resizable and sortable. Part of bug #132808. svn path=/trunk/; revision=7718
* Changes g_value_set_string to g_value_take_string to avoid a leak. Also add theDiego Escalante Urrelo2007-09-301-1/+4
| | | | | | | g_value_unset calls for text and visible vars on extracell_data_func. svn path=/trunk/; revision=7509
* Make the location entry completion cells smarter, now bookmarks take the fullDiego Escalante Urrelo2007-09-301-3/+35
| | | | | | | | | | | width of the popup. Also make the extracell (titles of history entries) align to the left so it's less messy and easier to browse a lot of entries with similar titles. Almost-fixes bug #419475. svn path=/trunk/; revision=7508
* Add a somewhat tricky fix for url titles not visible on the completionDiego Escalante Urrelo2007-09-191-30/+37
| | | | | | | | | | | | | | | | | 2007-09-18 Diego Escalante Urrelo <diegoe@gnome.org> * lib/widgets/ephy-location-entry.c: Add a somewhat tricky fix for url titles not visible on the completion popup of the location entry when using a dark theme (like Darkilouche). We are using GTK_STATE_INSENSITIVE, rationale on the bug report. Fixes bug #446898. Also replaced some spaces for tabs. svn path=/trunk/; revision=7474
* Modifies the EphySearchEntry to inherit from EphyIconEntry instead ofCosimo Cecchi2007-09-102-8/+16
| | | | | | | | | | | | | | | | | | 2007-09-09 Cosimo Cecchi <cosimoc@svn.gnome.org> * lib/widgets/ephy-search-entry.c: (ephy_search_entry_get_type), (ephy_search_entry_timeout_cb), (ephy_search_entry_changed_cb), (ephy_search_entry_init), (ephy_search_entry_clear): * lib/widgets/ephy-search-entry.h: * src/bookmarks/ephy-bookmarks-editor.c: (search_entry_clear_cb), (build_search_box): Modifies the EphySearchEntry to inherit from EphyIconEntry instead of GtkEntry, to have icons on it. Adds a cleaner icon in the search entry of Bookmarks Editor. Fixes bug #463469. svn path=/trunk/; revision=7358
* Fixes bad state syncing when adding zoom controls to the toolbar. FixesCosimo Cecchi2007-09-091-0/+4
| | | | | | | | | | | | 2007-09-09 Cosimo Cecchi <cosimoc@svn.gnome.org> * lib/widgets/ephy-zoom-action.c: (connect_proxy): Fixes bad state syncing when adding zoom controls to the toolbar. Fixes bug #338005. Patch by Cyril Brulebois. svn path=/trunk/; revision=7355
* Make cursor be at the end of the URL when selecting entries from theDiego Escalante Urrelo2007-08-191-0/+1
| | | | | | | | | | | | 2007-08-19 Diego Escalante Urrelo <diegoe@gnome.org> * lib/widgets/ephy-location-entry.c: Make cursor be at the end of the URL when selecting entries from the completion popup. Fixes bug #466344. svn path=/trunk/; revision=7283
* Remove gtk version check since we now depend on 2.11.Christian Persch2007-07-101-5/+0
| | | | | | | | | | | 2007-07-10 Christian Persch <chpe@gnome.org> * lib/widgets/ephy-location-entry.c: (cursor_on_match_cb), (ephy_location_entry_set_completion): Remove gtk version check since we now depend on 2.11. svn path=/trunk/; revision=7138
* Port to new tooltips API.Christian Persch2007-07-102-28/+3
| | | | | | | | | | | | | 2007-07-10 Christian Persch <chpe@gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_finalize), (ephy_location_entry_class_init), (ephy_location_entry_construct_contents), (ephy_location_entry_init), (ephy_location_entry_set_lock_tooltip): Port to new tooltips API. svn path=/trunk/; revision=7137
* Port to new tooltips API.Christian Persch2007-07-102-63/+4
| | | | | | | | | | | 2007-07-10 Christian Persch <chpe@gnome.org> * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_class_init): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_class_init): Port to new tooltips API. svn path=/trunk/; revision=7136
* Adds some prefixes to web_prefixes for ftp sites. Bug #422114.Diego Escalante Urrelo2007-06-011-1/+5
| | | | | | | | | | | 2007-05-31 Diego Escalante Urrelo <diegoe@gnome.org> * lib/widgets/ephy-location-entry.c: Adds some prefixes to web_prefixes for ftp sites. Bug #422114. svn path=/trunk/; revision=7062
* Copy the items on the completion list as the user moves through them. TheXan Lopez2007-05-022-2/+36
| | | | | | | | | | | | | | | | * lib/widgets/ephy-location-entry.c: * lib/widgets/ephy-location-entry.h: * src/ephy-completion-model.c: * src/ephy-completion-model.h: * src/ephy-location-action.c: Copy the items on the completion list as the user moves through them. The original input can be restored pressing Esc. The tentative completion can be made definitive pressing Left or Right. Fixes #409291, #102528 svn path=/trunk/; revision=7020
* Correct FSF address. Bug #409075, patch by John Millikin.RELEASE_2_18_0GNOME_2_18_BRANCHPOINTChristian Persch2007-03-1222-26/+26
| | | | | | | | | | 2007-03-11 Christian Persch <chpe@gnome.org> * *: Correct FSF address. Bug #409075, patch by John Millikin. svn path=/trunk/; revision=6952
* Workaround/semi-fix for bug #351814. The real cause of the problem is theDiego Escalante Urrelo2007-01-091-6/+11
| | | | | | | | | | | | | | | 2007-01-08 Diego Escalante Urrelo <diegoe@svn.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: * lib/widgets/ephy-node-view.c: Workaround/semi-fix for bug #351814. The real cause of the problem is the user_data that is never set on a GtkTreeIter, so the Ephy implementation of the tree makes it to have a stamp of 0 being that way an invalid iter. Patch by Diego Escalante Urrelo. svn path=/trunk/; revision=6796
* .cvsignore files are obsoleteChristian Persch2006-12-301-7/+0
| | | | svn path=/trunk/; revision=6768
* Show favicons in location entry drop-down. Bug #112748, patch by DiegoChristian Persch2006-12-182-3/+15
| | | | | | | | | | | | | | | | 2006-12-18 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_completion): * lib/widgets/ephy-location-entry.h: * src/ephy-completion-model.c: (ephy_completion_model_get_column_type), (init_favicon_col), (ephy_completion_model_get_value): * src/ephy-completion-model.h: * src/ephy-location-action.c: (connect_proxy): Show favicons in location entry drop-down. Bug #112748, patch by Diego Escalante Urrelo.
* List title and URL in location entry drop-down. Bug #169550, patch byChristian Persch2006-12-182-3/+25
| | | | | | | | | | | | | | | | 2006-12-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_completion): * lib/widgets/ephy-location-entry.h: * src/ephy-completion-model.c: (ephy_completion_model_get_column_type), (ephy_completion_model_get_value): * src/ephy-completion-model.h: * src/ephy-location-action.c: (connect_proxy): List title and URL in location entry drop-down. Bug #169550, patch by Diego Escalante Urrelo.
* Fix secure location bar colouring with dark themes. Bug #347343, patch byChristian Persch2006-12-181-2/+2
| | | | | | | | | | 2006-12-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_style_set): Fix secure location bar colouring with dark themes. Bug #347343, patch by Diego Escalante Urrelo.
* embed/ephy-encodings.c embed/ephy-favicon-cache.c embed/ephy-history.cBjörn Lindqvist2006-12-171-7/+3
| | | | | | | | | | | | | | | | | | 2006-12-17 Björn Lindqvist <bjourne@gmail.com> * embed/ephy-encodings.c * embed/ephy-favicon-cache.c * embed/ephy-history.c * embed/mozilla/GlobalHistory.cpp * lib/ephy-state.c * lib/widgets/ephy-node-view.c * src/ephy-tab.c * src/bookmarks/ephy-bookmarks.c Refactor lots of code by using the function ephy_node_set_property_XXX() instead of ephy_node_set_property(). Also, add emacs mode headers to touched files. Bug #381546.
* Use a define for the default window icon. Bug #385872.Christian Persch2006-12-153-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-12-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/GeckoPrintService.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_constructor): * lib/ephy-gui.c: (ephy_gui_check_location_writable): * lib/ephy-module.c: * lib/ephy-password-dialog.c: (ephy_password_dialog_constructor): * lib/ephy-spell-check.c: * lib/ephy-stock-icons.h: * lib/widgets/.cvsignore: * lib/widgets/ephy-spinner-tool-item.c: (ephy_spinner_tool_item_toolbar_reconfigured): * lib/widgets/testspinner.c: * plugins/desktop-file/plugin.cpp: * src/bookmarks/ephy-bookmarks.c: (redirect_cb): * src/ephy-history-window.c: (confirmation_dialog_construct): * src/ephy-main.c: (main): * src/ephy-session.c: (confirm_shutdown_cb), (session_command_autoresume): * src/ephy-shell.c: (ephy_shell_add_sidebar_cb): * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_constructor): * src/ephy-window.c: (construct_confirm_close_dialog): * src/pdm-dialog.c: (pdm_dialog_init): * src/window-commands.c: (window_cmd_help_about): Use a define for the default window icon. Bug #385872. * lib/ephy-module.c: The symbol can be NULL even though the symbol lookup succeeded.
* Fix typoChristian Persch2006-12-051-2/+2
|
* Version 2.17.3.Christian Persch2006-12-051-60/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-12-04 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Version 2.17.3. * embed/mozilla/GtkNSSDialogs.cpp: Use NULL for gtk_label_new instead of "". * lib/ephy-print-utils.c: (ephy_print_utils_page_setup_new_from_key_file): Fix possible invalid free. * lib/widgets/ephy-spinner.c: (ephy_spinner_images_unref), (ephy_spinner_images_load), (ephy_spinner_load_images), (ephy_spinner_expose), (bump_spinner_frame_cb), (ephy_spinner_start), (ephy_spinner_stop): Fix compliance with icon theme spec by skipping the first frame in the animation when in spinning mode. Bug #382207. Try the "process-working" icon first and fall back to "gnome-spinner" when it's not available. * m4/gecko.m4: Updated. 2006-12-04 Luca Ferretti <elle.uca@libero.it>
* Lower the priority of the spinner animation so that the animation does notBenjamin Berg2006-11-181-3/+5
| | | | | | | | 2006-11-17 Benjamin Berg <benjamin@sipsolutions.net> * lib/widgets/ephy-spinner.c: (ephy_spinner_start): Lower the priority of the spinner animation so that the animation does not stop page loading. Fixes bug #374623.
* A lib/widgets/ephy-spinner-tool-item.c: AChristian Persch2006-10-181-0/+2
| | | | | | | | | | | | | | | 2006-10-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/Makefile.am: A lib/widgets/ephy-spinner-tool-item.c: A lib/widgets/ephy-spinner-tool-item.h: * lib/widgets/testspinner.c: (change_toolbar_style_cb), (change_toolbar_icon_size_cb), (spin_toolbar_spinner_cb), (main): * src/ephy-toolbar.c: (ephy_toolbar_update_spinner), (ephy_toolbar_constructor): Add EphySpinnerToolItem which encapsulates a spinner and automatically adapts its size to toolbar style changes, and use it in EphyToolbar.
* A lib/widgets/ephy-spinner-tool-item.c: AChristian Persch2006-10-183-4/+282
| | | | | | | | | | | | | | | 2006-10-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/Makefile.am: A lib/widgets/ephy-spinner-tool-item.c: A lib/widgets/ephy-spinner-tool-item.h: * lib/widgets/testspinner.c: (change_toolbar_style_cb), (change_toolbar_icon_size_cb), (spin_toolbar_spinner_cb), (main): * src/ephy-toolbar.c: (ephy_toolbar_update_spinner), (ephy_toolbar_constructor): Add EphySpinnerToolItem which encapsulates a spinner and automatically adapts its size to toolbar style changes, and use it in EphyToolbar.
* Fix a crash after failing to get the spinner animation or rest icons.Christian Persch2006-10-182-18/+14
| | | | | | | | | | | | 2006-10-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_load), (ephy_spinner_cache_get_images), (ephy_spinner_get_type), (ephy_spinner_init), (ephy_spinner_new): * lib/widgets/ephy-spinner.h: Fix a crash after failing to get the spinner animation or rest icons. Derive EphySpinner from GtkWidget not GtkEventBox.
* Fix compile warnings.Christian Persch2006-10-012-5/+4
| | | | | | | | | | 2006-10-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_load), (ephy_spinner_cache_get_images), (bump_spinner_frame_cb): * lib/widgets/testspinner.c: (add_spinner), (main): Fix compile warnings.
* Fix compile warnings.Christian Persch2006-10-011-6/+1
| | | | | | | | | | 2006-10-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_load), (ephy_spinner_cache_get_images), (bump_spinner_frame_cb): * lib/widgets/testspinner.c: (add_spinner), (main): Fix compile warnings.
* Simplify code and save some memory.Christian Persch2006-09-301-104/+111
| | | | | | | | | | | | | | | 2006-09-29 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_ref), (ephy_spinner_images_unref), (ephy_spinner_cache_data_unload), (ephy_spinner_images_load), (ephy_spinner_cache_get_images), (ephy_spinner_load_images), (ephy_spinner_unload_images), (ephy_spinner_init), (ephy_spinner_expose), (bump_spinner_frame_cb), (ephy_spinner_start), (ephy_spinner_remove_update_callback), (ephy_spinner_stop), (ephy_spinner_size_request): Simplify code and save some memory.
* Fix spinner with new g-i-t. Fixes bug #330415. Fix a crash when failing toChristian Persch2006-09-302-164/+172
| | | | | | | | | | | | | | | | 2006-09-29 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_free), (ephy_spinner_cache_data_unload), (scale_to_size), (ephy_spinner_images_load), (ephy_spinner_cache_data_new), (ephy_spinner_cache_data_free), (ephy_spinner_cache_get_images), (ephy_spinner_cache_finalize), (ephy_spinner_cache_class_init), (ephy_spinner_cache_ref), (ephy_spinner_init), (ephy_spinner_set_size), (ephy_spinner_size_request): * lib/widgets/testspinner.c: Fix spinner with new g-i-t. Fixes bug #330415. Fix a crash when failing to load some icon data, Gedit bug #357456.
* Clicking favicon in the location bar selects URL. Fix bug #349557.Jean-François Rameau2006-09-141-0/+29
| | | | | | | | | 2006-09-13 Jean-François Rameau <jframeau@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_construct_contents), (icon_button_press_event_cb): Clicking favicon in the location bar selects URL. Fix bug #349557.
* Use UTF-8 copyright symbolChristian Persch2006-09-1320-30/+30
|
* Remove some unnecessary static data.Christian Persch2006-09-079-12/+12
| | | | | | | | 2006-09-06 Christian Persch <chpe@cvs.gnome.org> * *.c *.cpp: Remove some unnecessary static data.
* Improve the a11y theme check.Christian Persch2006-08-081-2/+2
| | | | | | | | 2006-08-07 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: Improve the a11y theme check.
* Reset IM context before activation. Bug #348478, patch by Nguyễn TháiChristian Persch2006-07-251-0/+1
| | | | | | | | | 2006-07-24 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (match_selected_cb): Reset IM context before activation. Bug #348478, patch by Nguyễn Thái Ngọc Duy.
* When resetting the entry also emit user-changed, to restore the originalChristian Persch2006-07-201-5/+18
| | | | | | | | | | | 2006-07-20 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_key_press_cb), (entry_activate_after_cb), (action_activated_after_cb), (ephy_location_entry_reset_internal), (ephy_location_entry_reset): When resetting the entry also emit user-changed, to restore the original URI in the tab's property. Bug #345934.
* Work around bug #346662 by not changing selection while removing theChristian Persch2006-07-111-0/+15
| | | | | | | | | | 2006-07-10 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_selection_changed_cb), (ephy_node_view_remove): Work around bug #346662 by not changing selection while removing the nodes. Fixes crash with gtk 2.10.
* Fix middle-click and ctrl-enter in the location entry autocompletionChristian Persch2006-07-111-5/+61
| | | | | | | | | | | | | | 2006-07-10 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_key_press_cb), (entry_key_press_after_cb), (entry_activate_after_cb), (match_selected_cb), (action_activated_after_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_set_completion): * src/ephy-location-action.c: (action_activated_cb): Fix middle-click and ctrl-enter in the location entry autocompletion drop-down. Bug #345934, based on a patch by johannes@sipsolutions.net.
* Improve next-token logic for bookmark completion. Fixes #339167 (hopefullyWouter Bolsterlee2006-06-051-2/+2
| | | | | | | | 2006-06-05 Wouter Bolsterlee <uws+gnome@xs4all.nl> * lib/widgets/ephy-location-entry.c: (keyword_match): Improve next-token logic for bookmark completion. Fixes #339167 (hopefully for real this time).
* Make bookmark search ignore special characters (bug 339167)Frederic Peters2006-05-301-1/+1
|
* #337140: Replace fallback favicon with more semantically correct 'text-html'Tommi Komulainen2006-04-151-3/+7
| | | | | | | | 2006-04-15 Tommi Komulainen <tommi.komulainen@iki.fi> * lib/widgets/ephy-location-entry.c (update_favicon): Replace 'stock-new' fallback favicon with more semantically correct 'text-html' It also looks better with Tango icon theme. Bug #337140
* Use g_object_ref_sink().Christian Persch2006-03-292-4/+2
| | | | | | | | | | | | | | 2006-03-28 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyPromptService.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_set_fixed): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_init): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_init): * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_constructor): * src/ephy-notebook.c: (ephy_notebook_init): * src/ephy-statusbar.c: (ephy_statusbar_init): Use g_object_ref_sink().
* Add a convenience function to get current event data.Christian Persch2006-01-301-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_get_current_event): * lib/ephy-gui.h: Add a convenience function to get current event data. * src/ephy-link.c: (ephy_link_open), (ephy_link_flags_from_current_event): * src/ephy-link.h: Add a convenience function to translate the current event into EphyLinkFlags. * src/ephy-go-action.c: (ephy_go_action_get_type): * src/ephy-go-action.h: Make this an EphyLinkAction. * lib/widgets/ephy-location-entry.c: (entry_key_press_cb): * src/ephy-home-action.c: (ephy_home_action_activate): * src/ephy-location-action.c: (entry_activate_cb): * src/ephy-tab.c: (open_link_in_new), (ephy_tab_dom_mouse_click_cb): * src/window-commands.c: (window_cmd_load_location): Fix link activation to respect ctrl and shift modifiers. Part of bug #310814. 2006-01-29 Christian Persch <chpe@cvs.gnome.org>
* When updating the address bar, always update the address state, sometimesCrispin Flowerday2006-01-231-0/+3
| | | | | | | | | | 2006-01-22 Crispin Flowerday <gnome@flowerday.cx> * lib/widgets/ephy-location-entry.c (ephy_location_entry_set_location): When updating the address bar, always update the address state, sometimes it isn't updated if the text in the GtkEntry isn't altered (and hence the 'changed' signal isn't called.
* When adding a column that can be sorted on, re-create the sort model, soCrispin Flowerday2006-01-181-0/+8
| | | | | | | | | | 2006-01-17 Crispin Flowerday <gnome@flowerday.cx> * lib/widgets/ephy-node-view.c (ephy_node_view_add_column): When adding a column that can be sorted on, re-create the sort model, so that it sets up the sort method correctly. Fixes bug #320686
* lib/ephy-file-helpers.c lib/widgets/ephy-location-entry.cCrispin Flowerday2005-11-111-1/+0
| | | | | | | | | | | 2005-11-10 Crispin Flowerday <gnome@flowerday.cx> * lib/ephy-file-helpers.c * lib/widgets/ephy-location-entry.c * src/ephy-session.c * src/bookmarks/ephy-bookmarks-import.c: Remove some unused variables
* More static strings.Christian Persch2005-11-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_iface_init): * lib/egg/eggstatusicon.c: (egg_status_icon_class_init): * lib/egg/eggtrayicon.c: (egg_tray_icon_class_init): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_class_init): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_class_init): * src/ephy-find-toolbar.c: (ephy_find_toolbar_class_init): * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_class_init): * src/ephy-location-action.c: (ephy_location_action_class_init): * src/ephy-python-extension.c: (ephy_python_extension_class_init): * src/ephy-session.c: (ephy_session_class_init): * src/ephy-tab.c: (ephy_tab_class_init): * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_class_init): * src/ephy-toolbar.c: (ephy_toolbar_class_init): * src/ppview-toolbar.c: (ppview_toolbar_class_init): More static strings.
* Mark strings in param specs as static.Christian Persch2005-11-084-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-dialog.c: (ephy_embed_dialog_class_init): * embed/ephy-embed-persist.c: (ephy_embed_persist_class_init): * embed/ephy-history.c: (ephy_history_class_init): * embed/mozilla/mozilla-download.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_class_init): * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_class_init): * lib/egg/eggstatusicon.c: (egg_status_icon_class_init): * lib/egg/eggtraymanager.c: (egg_tray_manager_class_init): * lib/ephy-dialog.c: (ephy_dialog_class_init): * lib/ephy-file-chooser.c: (ephy_file_chooser_class_init): * lib/ephy-node-db.c: (ephy_node_db_class_init): * lib/widgets/ephy-node-view.c: (ephy_node_view_class_init): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_class_init): * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_class_init): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_class_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_class_init): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_class_init): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_class_init): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_class_init): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_class_init): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_class_init): * src/ephy-encoding-menu.c: (ephy_encoding_menu_class_init): * src/ephy-history-window.c: (ephy_history_window_class_init): * src/ephy-location-action.c: (ephy_location_action_class_init): * src/ephy-navigation-action.c: (ephy_navigation_action_class_init): * src/ephy-notebook.c: (ephy_notebook_class_init): * src/ephy-tab.c: (ephy_tab_class_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_class_init): * src/ephy-window.c: (ephy_window_class_init): Mark strings in param specs as static.
* Simplify the drag icon code.Christian Persch2005-11-031-109/+21
| | | | | | | | | 2005-11-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (favicon_drag_begin_cb), (ephy_location_entry_construct_contents): Simplify the drag icon code.