~ubuntu-branches/ubuntu/hardy/eog/hardy-updates

« back to all changes in this revision

Viewing changes to cut-n-paste/toolbar-editor/egg-editable-toolbar.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-11-23 00:07:04 UTC
  • mfrom: (1.1.35 upstream)
  • Revision ID: james.westby@ubuntu.com-20071123000704-txc8vcqe2gntmv42
Tags: 2.21.1-0ubuntu1
* New upstream version:
  New features:
  - Contextual menu in image view widget
  Misc improvements/fixes:
  - Several code cleanups and improvements
  Bug fixes:
  - #482752, crash when opening a tiff image (eog_image_load)
  - #475124, Add " (invalid Unicode)" suffix when image caption is 
             not a valid utf8 string
  - #475645, When an image is saved, the selection is lost
  - #476313, plugins about dialog is not gtk+-2.11/2.12 ready
  - #476919, eog save menu is always active
  - #477550, fileformat combobox in save-as-many dialog is empty
  - #479029, eog crashes when showing Image Collection
  - #479400, Renamed files vanish from the collection
  - #479884, Mouse dragging UI broken.
  - #481096, Thumbnails in collection viewer not updated when scrolling 
  - #481301, Add a context menu in main window (open with/properties etc.) 
  - #482128, Hangs on XPM file (Felix Riemann)
  - #486057, "SetAsWallpaper" functionality doesn't 
       launch background properties
  - #488344, using the scroll buttons of a non-first instance of eog scrolls 
             the collection on the first one
  - #488808, eog won't display some .jpg files
  - #490065, Retry string not marked for translation
  - #481712, Substandard .desktop file (patch against latest SVN attached)
* Sync with Debian
* debian/control.in:
  - Build-Depends on liblaunchpad-integration-dev, python-central (>= 0.5.6)
  - don't use libexempi for now which is to universe
  - list required change for the python use
  - set XS-Vcs-Bzr tag
  - updated maintainer informations
  - use require Replaces for files which moved to the new binary
* debian/patches/01_lpi.patch:
  - launchpad integration
* debian/patches/02_autoconf.patch:
  - configure update
* debian/patches/03_hide_menu_item.patch:
  - menu simplication (MenuRevisited spec)
* debian/rules:
  - call dh_pycentral
  - update clean target
  - use --enable-python option

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 *  along with this program; if not, write to the Free Software
17
17
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
18
 *
19
 
 *  $Id: egg-editable-toolbar.c 817 2007-07-29 16:25:13Z carlosgc $
 
19
 *  $Id: egg-editable-toolbar.c 826 2007-08-16 08:05:50Z carlosgc $
20
20
 */
21
21
 
22
22
#include "config.h"
434
434
      if (priv->edit_mode > 0)
435
435
        {
436
436
          GdkCursor *cursor;
 
437
          GdkScreen *screen;
437
438
          GdkPixbuf *pixbuf = NULL;
438
 
          
439
 
          cursor = gdk_cursor_new (GDK_HAND2);
 
439
 
 
440
          screen = gtk_widget_get_screen (GTK_WIDGET (etoolbar));
 
441
          
 
442
          cursor = gdk_cursor_new_for_display (gdk_screen_get_display (screen),
 
443
                                               GDK_HAND2);
440
444
          gdk_window_set_cursor (widget->window, cursor);
441
445
          gdk_cursor_unref (cursor);
442
446
 
1763
1767
  GdkVisual *visual;
1764
1768
  gint icon_width;
1765
1769
  gint icon_height;
 
1770
  GdkScreen *screen;
1766
1771
 
1767
1772
  icon_width = DEFAULT_ICON_WIDTH;
1768
1773
 
1769
 
  if (!gtk_icon_size_lookup_for_settings (gtk_settings_get_default (), 
 
1774
  screen = gtk_widget_get_screen (widget);
 
1775
 
 
1776
  if (!gtk_icon_size_lookup_for_settings (gtk_settings_get_for_screen (screen),
1770
1777
                                          GTK_ICON_SIZE_LARGE_TOOLBAR,
1771
1778
                                          NULL, 
1772
1779
                                          &icon_height))