forked from AuroraMiddleware/gtk
Merged from gtk-2-6:
2005-02-01 Federico Mena Quintero <federico@ximian.com> Merged from gtk-2-6: Fix #165770: * gtk/gtkfilechooserdefault.c (FALLBACK_ICON_SIZE): Make the fallback size be 16, to be equal to the default for GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()). (change_icon_theme): Use GTK_ICON_SIZE_MENU instead of GTK_ICON_SIZE_SMALL_TOOLBAR.
This commit is contained in:
parent
1d0c7ea1bb
commit
224c47a9b8
12
ChangeLog
12
ChangeLog
@ -1,3 +1,15 @@
|
||||
2005-02-01 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merged from gtk-2-6:
|
||||
|
||||
Fix #165770:
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (FALLBACK_ICON_SIZE): Make the
|
||||
fallback size be 16, to be equal to the default for
|
||||
GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
|
||||
(change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
|
||||
GTK_ICON_SIZE_SMALL_TOOLBAR.
|
||||
|
||||
2005-02-01 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* */*.c: Fix many instances of "the the" in docs and
|
||||
|
@ -1,3 +1,15 @@
|
||||
2005-02-01 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merged from gtk-2-6:
|
||||
|
||||
Fix #165770:
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (FALLBACK_ICON_SIZE): Make the
|
||||
fallback size be 16, to be equal to the default for
|
||||
GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
|
||||
(change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
|
||||
GTK_ICON_SIZE_SMALL_TOOLBAR.
|
||||
|
||||
2005-02-01 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* */*.c: Fix many instances of "the the" in docs and
|
||||
|
@ -1,3 +1,15 @@
|
||||
2005-02-01 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merged from gtk-2-6:
|
||||
|
||||
Fix #165770:
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (FALLBACK_ICON_SIZE): Make the
|
||||
fallback size be 16, to be equal to the default for
|
||||
GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
|
||||
(change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
|
||||
GTK_ICON_SIZE_SMALL_TOOLBAR.
|
||||
|
||||
2005-02-01 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* */*.c: Fix many instances of "the the" in docs and
|
||||
|
@ -273,7 +273,7 @@ typedef enum {
|
||||
} ShortcutsIndex;
|
||||
|
||||
/* Icon size for if we can't get it from the theme */
|
||||
#define FALLBACK_ICON_SIZE 20
|
||||
#define FALLBACK_ICON_SIZE 16
|
||||
|
||||
#define PREVIEW_HBOX_SPACING 12
|
||||
#define NUM_LINES 40
|
||||
@ -4061,7 +4061,7 @@ change_icon_theme (GtkFileChooserDefault *impl)
|
||||
|
||||
settings = gtk_settings_get_for_screen (gtk_widget_get_screen (GTK_WIDGET (impl)));
|
||||
|
||||
if (gtk_icon_size_lookup_for_settings (settings, GTK_ICON_SIZE_SMALL_TOOLBAR, &width, &height))
|
||||
if (gtk_icon_size_lookup_for_settings (settings, GTK_ICON_SIZE_MENU, &width, &height))
|
||||
impl->icon_size = MAX (width, height);
|
||||
else
|
||||
impl->icon_size = FALLBACK_ICON_SIZE;
|
||||
|
Loading…
Reference in New Issue
Block a user