! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Add support for zoom levels
Status:
CLOSED: FIXED
Severity:
enhancement

Comments

Description Benedikt Meurer editbugs 2006-01-24 21:42:15 CET
Both ThunarIconView's and ThunarDetailsView's icon and text size should be
configurable using zoom levels.
Comment 1 Benedikt Meurer editbugs 2006-01-24 21:44:27 CET
Created attachment 409 
thunar-zoom-level.h
Comment 2 Benedikt Meurer editbugs 2006-01-24 21:44:47 CET
Created attachment 410 
thunar-zoom-level.c
Comment 3 Benedikt Meurer editbugs 2006-01-24 21:45:13 CET
The enum types should be added to thunar-enum-types.[ch].
Comment 4 Benedikt Meurer editbugs 2006-01-24 21:48:12 CET
Created attachment 411 
Sample files with zoom-level integration

Old samples (won't work out-of-the-box with current version) for zoom-level
integration.
Comment 5 Benedikt Meurer editbugs 2006-01-24 21:49:29 CET
The most problematic part is to find an easy way to force
GtkTreeView/ExoIconView to recalculate the cell renderer sizes. There's
gtk_tree_view_column_queue_resize(), but it's not available in Gtk+ 2.6.
Comment 6 Benedikt Meurer editbugs 2006-01-29 19:09:54 CET
Committed with revision 19662.

2006-01-29	Benedikt Meurer <benny@xfce.org>

	* thunar/thunar-enum-types.{c,h}: Add ThunarZoomLevel and ThunarIconSize
	  required for the zoom-level support.
	* docs/README.thunarrc, thunar/thunar-preferences.c: Changed property
	  ShortcutsIconSize to ThunarIconSize, required for the upcoming
	  changes to ThunarIconRenderer. People starting Thunar for the first
	  time after this upgrade will notice that the size of the shortcuts
	  icons is too small because of this change. Either edit thunarrc and
	  change ShortcutsIconSize appropriately or just remove thunarrc and
	  let Thunar recreate it with sane defaults (your settings will be lost
	  then). Add two new preferences LastDetailsViewZoomLevel and
	  LastIconViewZoomLevel.
	* thunar/thunar-icon-renderer.{c,h}: The size property is now of type
	  ThunarIconSize, rather than plain int.
	* thunar/thunar-view.{c,h}: Add zoom control methods to the ThunarView
	  interface.
	* thunar/thunar-standard-view.{c,h}, thunar/thunar-standard-view-ui.xml,
	  thunar/thunar-window-ui.xml, thunar/thunar-window.{c,h},
	  thunar/thunar-details-view.c, thunar/thunar-icon-view.c: Add support
	  for seven different zoom levels to Thunar based on the previous
	  changes. This fixes bug #1357, and thereby implements one of the most
	  oftenly requested features.
	* po/Thunar.pot, po/*.po: Merge new strings.

Bug #1357

Reported by:
Benedikt Meurer
Reported on: 2006-01-24
Last modified on: 2009-07-17

People

Assignee:
Jannis Pohlmann
CC List:
0 users

Version

Version:
0.2.1svn

Attachments

thunar-zoom-level.h (3.07 KB, text/x-chdr)
2006-01-24 21:44 CET , Benedikt Meurer
no flags
thunar-zoom-level.c (5.86 KB, text/x-csrc)
2006-01-24 21:44 CET , Benedikt Meurer
no flags
Sample files with zoom-level integration (39.11 KB, application/x-tar)
2006-01-24 21:48 CET , Benedikt Meurer
no flags

Additional information