use gtk_widget_push/pop_composite_child around internal buttons.
Wed Feb 25 03:52:58 2004 Jonathan Blandford <jrb@gnome.org> * gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around internal buttons. * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): rename some widgets to make it clear where they are packed. (update_appearance): New function to handle all the 'logic' of layout in one place. We aren't trying to keep all our properties in sync. (gtk_file_chooser_default_set_property): use update_appearance()
This commit is contained in:
committed by
Jonathan Blandford
parent
903e2de0c3
commit
2ef8bbc976
12
ChangeLog
12
ChangeLog
@@ -1,3 +1,15 @@
|
||||
Wed Feb 25 03:52:58 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around
|
||||
internal buttons.
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
|
||||
rename some widgets to make it clear where they are packed.
|
||||
(update_appearance): New function to handle all the 'logic' of
|
||||
layout in one place. We aren't trying to keep all our properties
|
||||
in sync.
|
||||
(gtk_file_chooser_default_set_property): use update_appearance()
|
||||
|
||||
2004-02-24 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (shortcuts_model_create): Renamed
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
Wed Feb 25 03:52:58 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around
|
||||
internal buttons.
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
|
||||
rename some widgets to make it clear where they are packed.
|
||||
(update_appearance): New function to handle all the 'logic' of
|
||||
layout in one place. We aren't trying to keep all our properties
|
||||
in sync.
|
||||
(gtk_file_chooser_default_set_property): use update_appearance()
|
||||
|
||||
2004-02-24 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (shortcuts_model_create): Renamed
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
Wed Feb 25 03:52:58 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around
|
||||
internal buttons.
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
|
||||
rename some widgets to make it clear where they are packed.
|
||||
(update_appearance): New function to handle all the 'logic' of
|
||||
layout in one place. We aren't trying to keep all our properties
|
||||
in sync.
|
||||
(gtk_file_chooser_default_set_property): use update_appearance()
|
||||
|
||||
2004-02-24 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (shortcuts_model_create): Renamed
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
Wed Feb 25 03:52:58 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around
|
||||
internal buttons.
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
|
||||
rename some widgets to make it clear where they are packed.
|
||||
(update_appearance): New function to handle all the 'logic' of
|
||||
layout in one place. We aren't trying to keep all our properties
|
||||
in sync.
|
||||
(gtk_file_chooser_default_set_property): use update_appearance()
|
||||
|
||||
2004-02-24 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (shortcuts_model_create): Renamed
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
Wed Feb 25 03:52:58 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around
|
||||
internal buttons.
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
|
||||
rename some widgets to make it clear where they are packed.
|
||||
(update_appearance): New function to handle all the 'logic' of
|
||||
layout in one place. We aren't trying to keep all our properties
|
||||
in sync.
|
||||
(gtk_file_chooser_default_set_property): use update_appearance()
|
||||
|
||||
2004-02-24 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (shortcuts_model_create): Renamed
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -60,12 +60,16 @@ static GtkWidget *
|
||||
get_slider_button (GtkPathBar *path_bar)
|
||||
{
|
||||
GtkWidget *button;
|
||||
|
||||
|
||||
gtk_widget_push_composite_child ();
|
||||
|
||||
button = gtk_button_new ();
|
||||
gtk_container_add (GTK_CONTAINER (button), gtk_arrow_new (GTK_ARROW_RIGHT, GTK_SHADOW_OUT));
|
||||
gtk_container_add (GTK_CONTAINER (path_bar), button);
|
||||
gtk_widget_show_all (button);
|
||||
|
||||
gtk_widget_pop_composite_child ();
|
||||
|
||||
return button;
|
||||
}
|
||||
|
||||
@@ -641,6 +645,8 @@ gtk_path_bar_set_path (GtkPathBar *path_bar,
|
||||
gtk_path_bar_clear_buttons (path_bar);
|
||||
path = gtk_file_path_copy (file_path);
|
||||
|
||||
gtk_widget_push_composite_child ();
|
||||
|
||||
while (path != NULL)
|
||||
{
|
||||
GtkFilePath *parent_path = NULL;
|
||||
@@ -686,5 +692,7 @@ gtk_path_bar_set_path (GtkPathBar *path_bar,
|
||||
first_directory = FALSE;
|
||||
}
|
||||
|
||||
gtk_widget_pop_composite_child ();
|
||||
|
||||
path_bar->button_list = g_list_reverse (path_bar->button_list);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user