summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update for review of e57b7ec3359ce39e4fa360c744883fb37a069a49overlay-design02Colin Walters2009-06-303-25/+24
|
* Update for comments on b5988a57fa602ad5c02abe69efa2f66a1646e581Colin Walters2009-06-305-53/+86
|
* Update for review of d5a80d306359fc4526b9284c3f9170149e2200c1Colin Walters2009-06-303-32/+62
|
* Use a separate icon image as a drag actor instead of using the clone of the iconMarina Zhurakhinskaya2009-06-297-46/+33
| | | | | | | | | | | | | | | | | | Clutter no longer allows using a clone of an actor that is not a part of the scene graph. This is what used to happen when we created a clone for the icon of the item that was being dragged, and then closed the More panes with the original item, removing the icon from the scene graph. This was also when happened when the user hit Esc while dragging, which prompted the overlay to close, removing the original icon from the scene graph. Rename getIcon() methods to createIcon() to better reflect on the fact that a new icon is created each time the method is called (we do use cache in some cases). Remove a stray log message in overlay.js Fixes http://bugzilla.gnome.org/show_bug.cgi?id=585490 and http://bugzilla.gnome.org/show_bug.cgi?id=585489
* Merge branch 'master' into my-overlay-designMarina Zhurakhinskaya2009-06-291-0/+6
|\
| * Add '--disable-default-service' to gconf module autogenargsMarina Zhurakhinskaya2009-06-291-1/+1
| | | | | | | | | | | | This allows us to avoid adding PolicyKit DBus as a dependency. Closes http://bugzilla.gnome.org/show_bug.cgi?id=586987
| * Add gconf to gnome-shell.modules for gconf/jhbuild supportDan Winship2009-06-251-0/+6
| |
* | Make workspaces accept a drop of AppDisplay.WellDisplayItemMarina Zhurakhinskaya2009-06-291-1/+2
| | | | | | | | | | | | AppDispplay.WellDisplayItem needed to be added along with the GenericDisplay.GenericDisplayItem as a type of a drop object that workspaces accept.
* | Avoid duplicating most used applications in the AppDisplay cacheColin Walters2009-06-261-9/+0
| | | | | | | | | | All used applications should be in the database from the menus anyways.
* | Fix getMostUsedApps to avoid returning duplicate itemsColin Walters2009-06-261-0/+3
| |
* | Fix invalid function signature and a memory leakColin Walters2009-06-261-2/+3
| | | | | | | | | | | | Add the missing GParamSpec to on_n_workspaces_changed. Also, we don't need to re-dup the appid, since it's already dup'd.
* | Replace main AppDisplay with AppWellColin Walters2009-06-253-88/+235
| | | | | | | | | | | | This is a start towards implementing the 02 overlay design. The default applications has moved into GConf. We keep around an AppDisplay instance for handling the right side behavior.
* | ShellAppSystem: Add API for looking up and manipulating favoritesColin Walters2009-06-253-1/+233
| | | | | | | | The ShellAppSystem now proxies the GConf favorites key.
* | ShellAppMonitor now works harder to assocate windows with desktop filesColin Walters2009-06-252-55/+251
| | | | | | | | | | Instead of just keeping a heuristic wmclass match, call into the app system to more strongly associate windows with desktop file IDs.
* | Use a single ItemResults class instead of AppResults and DocResultsMarina Zhurakhinskaya2009-06-251-63/+12
| | | | | | | | | | | | | | AppResults and DocResults classes were identical with an exception of the display class they used and the text label for the results. Merged them into a single ItemResults class that takes these two additional arguments.
* | Move the activate and select functionality inside the callbacksMarina Zhurakhinskaya2009-06-251-15/+14
| | | | | | | | | | | | | | | | Move the activate and select functionality inside the callbacks for 'button-release-event' signals of the display item and the information button correspondingly. This way it is more obvious that this is an event handling code that needs to return a boolean value for whether the signal has been fully handled by the actor.
* | Use TextureCache to load the information iconMarina Zhurakhinskaya2009-06-251-8/+11
| | | | | | | | | | | | Use TextureCache to load the information icon, so that we don't create a new ClutterTexture for information icons corresponding to each display item.
* | Make sure we show the information button when a new item appears under the ↵Marina Zhurakhinskaya2009-06-251-2/+2
| | | | | | | | | | | | | | | | | | | | pointer Update the code for checking a display item under the pointer to expect the item itself rather than its child to be returned by stage_get_actor_at_pos(). This code is now used to display an information button when an item is drawn under the pointer, so update the comment accordingly.
* | Show and hide dash panes instead of adding and removing each timeMarina Zhurakhinskaya2009-06-251-13/+19
| | | | | | | | | | Add results and details panes up-front, and show and hide them instead of adding and removing them each time
* | Add a comment about the use of the transparent background and set its ↵Marina Zhurakhinskaya2009-06-251-1/+4
| | | | | | | | | | | | | | | | | | | | | | opacity to 0 Add a comment about the use of the transparent background to catch clicks in the workspaces area when the dash panes are being displayed and dismiss the dash panes. Set opacity for the background to 0 instead of using a transparent background color so that Clutter optimizes the drawing of the background actor.
* | Fix up horizontal gradient code and its useMarina Zhurakhinskaya2009-06-252-13/+15
| | | | | | | | | | | | | | | | | | Fix up the comments about the horizontal gradient code and use 8x1 texture instead of 8x8. Make sure the values we assign to the three-stop horizontal gradient require the use of the three stop gradient, with the middle value not being right between the side values.
* | Display search results automaticallyMarina Zhurakhinskaya2009-06-241-33/+130
| | | | | | | | | | | | | | | | | | | | | | Display a pane with search results for both applications and documents automatically when a search string is entered. Allow viewing search results for the individual section when More link for applications or documents is clicked. Move text labels for the applications and documents sections into the respective classes.
* | Add back search functionalityMarina Zhurakhinskaya2009-06-221-7/+62
| | | | | | | | | | | | | | | | | | | | | | Enable typing in the search box and display results in the results pane. This means that the user has to open the details pane for applications or documents to view the results for now. Connect Enter to launch the seleted item. Connect Escape to clear search, remove results and details panes, or exit overlay.
* | Merge branch 'master' into my-overlay-designMarina Zhurakhinskaya2009-06-221-7/+9
|\ \ | |/
| * Speed up initialization of DocInfo objectsSiegfried-Angel Gevatter Pujals2009-06-221-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We achieve this with two changes: - Move the Shell.get_thumbnail call in DocInfo from _init to getIcon, so that it isn't executed until it's actually needed. (If caching the output of said call permanently is desired we could still do it on the first getIcon invocation, but I don't believe this is necessary given that looking up an already generated icon is pretty fast and this also gives us an updated icon in case the file changes.) - More importantly, we ommit the get_thumbnail call in case the URI doesn't start with file://. Looking up, for example, an http:// URI is very slow, and doesn't give us an icon anyway. http://bugzilla.gnome.org/show_bug.cgi?id=586539
* | Hide details panel by defaultSiegfried-Angel Gevatter Pujals2009-06-221-1/+5
| | | | | | | | | | Don't show the details panel when the overlay is activated, only when explicitly requested by clicking the info icon.
* | Fix the height allocated to the results sectionsMarina Zhurakhinskaya2009-06-181-2/+4
| | | | | | | | | | | | | | The results sections no longer include a label on top of them, so the height of that label needs to be subtracted when specifying the height for the sections. This ensures that display controls are positioned correctly on the bottom of the section.
* | Select an item when information button is clicked, launch on single clickMarina Zhurakhinskaya2009-06-182-16/+25
| | | | | | | | | | | | | | | | | | | | | | Clicking the information button for an item selects it (i.e. highlights it) and shows details about the item. Clicking the rest of the item area launches it. Item does not become draggable if the dragging is started over the information icon (i.e. if the user presses the information icon, but releases elsewhere). Make sure we emit "activated" signal and close the overlay when an item from one of the results displays is launched.
* | Add an icon for the information linkMarina Zhurakhinskaya2009-06-181-21/+27
| | | | | | | | | | | | Use an (i) icon supplied by Jeremy for the information link and display it on hover. Make sure it is positioned nicely and the text doesn't overlap with it.
* | Merge branch 'master' into overlay-design02Colin Walters2009-06-181-4/+4
|\ \ | |/
| * Fix refcounting issue in ShellTextureCacheColin Walters2009-06-181-4/+4
| | | | | | | | Also clean up compilation warnings.
* | Remove pop-up previewsMarina Zhurakhinskaya2009-06-182-159/+13
| | | | | | | | | | | | Pop-up previews are not part of the new design and interfere with the information link. Make sure details display for applications has the appropriate width set.
* | Merge branch 'master' into overlay-design02Colin Walters2009-06-186-39/+58
|\ \ | |/ | | | | | | Conflicts: js/ui/appDisplay.js
| * Make ShellAppMonitor and ShellAppSystem singletons, remove unused code in ↵Colin Walters2009-06-186-31/+37
| | | | | | | | | | | | | | appDisplay We shouldn't create multiple instances of either. Also remove a bit of unused code in appDisplay.
| * Make sure we have information about all applications returned by the AppMonitorMarina Zhurakhinskaya2009-06-171-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | The list of all applications was based on the items that show up in the menus, and might not have contained all applications returned by the AppMonitor for the most used applications request. One example of such an application was Evince. This resulted in a crash when an application we did not prepare the info for was returned as one of the matches by the AppMonitor, so we now include all applications returned by the AppMonitor in the list, in addition to the ones from the menus. Also mark apps as stale when we catch a "changed" signal from the AppMonitor to ensure that the cache is refreshed.
* | Make sure at most one item is selected in the overlayMarina Zhurakhinskaya2009-06-171-23/+46
| | | | | | | | | | | | | | | | | | Make sure at most one item is selected in the overlay and we always show a details pane for the selected item. Improve the positioning of the search box. Remove a duplicate variable DASH_PAD and use DASH_SECTION_PADDING everywhere instead.
* | Split out separate AppResults, DocResults classes. Readd search as stub.Colin Walters2009-06-171-36/+80
| | | | | | | | Avoid bloating the Dash class by separating out a bit more functionality.
* | Merge branch 'master' into my-overlay-designMarina Zhurakhinskaya2009-06-172-9/+11
|\ \ | |/
| * Fix a regression: search in the overlay not working anymoreSiegfried-Angel Gevatter Pujals2009-06-172-9/+11
| | | | | | | | | | | | | | | | | | With commit a3d35af444445b92b3fe2475ebef4e282b8c34d1 variable itemInfo in js/ui/appDisplay.js was changed to a new object (AppInfo from js/misc/appInfo.js) but some of the code in js/ui/appDisplay.js wasn't updated accordingly. This commit fixes that and makes the search box in the overlay usable again.
* | Merge branch 'master' into overlay-design02Colin Walters2009-06-1714-298/+461
|\ \ | |/
| * Split appDisplay and docDisplay into "model" and "view" partsDan Winship2009-06-168-251/+404
| | | | | | | | | | | | This lets us share the recent-app-tracking, recent-file-tracking, and icon-drawing code between the overlay and the sidebar, without the sidebar having to poke into AppDisplayItem and DocDisplayItem's guts.
| * Close memory leaks in ShellAppMonitor, ShellAppSystem, ShellTextureCacheColin Walters2009-06-164-28/+36
| | | | | | | | | | Unref'ing the GdkPixbuf is particularly critical. Some smaller fixes also included.
| * Update gnome-shell for renamed MutterJon Nettleton2009-06-163-19/+21
| | | | | | | | | | | | | | Adjust references to the mutter binary and plugin locations to account for the rework of Mutter to install as 'mutter' instead of 'metacity' http://bugzilla.gnome.org/show_bug.cgi?id=581814
* | Change selected item color and make sure only one item is selected at a timeMarina Zhurakhinskaya2009-06-162-1/+9
| | | | | | | | | | | | A blue selected item color fits better with the new color scheme than a green one. Only one item should be selected across all the displays we are showing.
* | Display a pane with item detailsMarina Zhurakhinskaya2009-06-162-29/+110
| | | | | | | | | | | | Display a pane with item details, such as a full image previews, when an item is single clicked. Add a placeholder information link that shows up when an item is moused over.
* | Merge branch 'master' into my-overlay-designMarina Zhurakhinskaya2009-06-164-11/+24
|\ \ | |/
| * Fix shell_get_thumbnail* to not be specific for GtkRecentInfo itemsSiegfried-Angel Gevatter Pujals2009-06-153-10/+23
| | | | | | | | | | | | | | | | | | Currently function shell_get_thumbnail_for_recent_info located in src/shell-global.c is used to get thumbnails for recently used files. However, it only works if you have a GtkRecentInfo object for the file, even though the thumbnail generation code doesn't depend on it. This commit renames the function to shell_get_thumbnail and makes it generic so that it just takes two strings: a filename and a mimetype.
| * Fix transfer of application setting idsColin Walters2009-06-121-1/+1
| | | | | | | | It's cached, should be (transfer none).
* | Add icons from JeremyMarina Zhurakhinskaya2009-06-114-0/+293
| | | | | | | | These icons are for the "more", "close", and "info" images in the overlay.
* | Merge branch 'master' into my-overlay-designMarina Zhurakhinskaya2009-06-112-3/+27
|\ \ | |/