forked from AuroraMiddleware/gtk
Fix compilation (#135278, Padraig O'Briain).
2004-02-24 Anders Carlsson <andersca@gnome.org> * gtk/gtkfilechooserdefault.c: (shortcuts_insert_separator): Fix compilation (#135278, Padraig O'Briain).
This commit is contained in:
parent
03d4027ff7
commit
0cc7bb4f20
@ -1,3 +1,8 @@
|
|||||||
|
2004-02-24 Anders Carlsson <andersca@gnome.org>
|
||||||
|
|
||||||
|
* gtk/gtkfilechooserdefault.c: (shortcuts_insert_separator):
|
||||||
|
Fix compilation (#135278, Padraig O'Briain).
|
||||||
|
|
||||||
2004-02-24 Anders Carlsson <andersca@gnome.org>
|
2004-02-24 Anders Carlsson <andersca@gnome.org>
|
||||||
|
|
||||||
* gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop):
|
* gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-02-24 Anders Carlsson <andersca@gnome.org>
|
||||||
|
|
||||||
|
* gtk/gtkfilechooserdefault.c: (shortcuts_insert_separator):
|
||||||
|
Fix compilation (#135278, Padraig O'Briain).
|
||||||
|
|
||||||
2004-02-24 Anders Carlsson <andersca@gnome.org>
|
2004-02-24 Anders Carlsson <andersca@gnome.org>
|
||||||
|
|
||||||
* gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop):
|
* gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-02-24 Anders Carlsson <andersca@gnome.org>
|
||||||
|
|
||||||
|
* gtk/gtkfilechooserdefault.c: (shortcuts_insert_separator):
|
||||||
|
Fix compilation (#135278, Padraig O'Briain).
|
||||||
|
|
||||||
2004-02-24 Anders Carlsson <andersca@gnome.org>
|
2004-02-24 Anders Carlsson <andersca@gnome.org>
|
||||||
|
|
||||||
* gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop):
|
* gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-02-24 Anders Carlsson <andersca@gnome.org>
|
||||||
|
|
||||||
|
* gtk/gtkfilechooserdefault.c: (shortcuts_insert_separator):
|
||||||
|
Fix compilation (#135278, Padraig O'Briain).
|
||||||
|
|
||||||
2004-02-24 Anders Carlsson <andersca@gnome.org>
|
2004-02-24 Anders Carlsson <andersca@gnome.org>
|
||||||
|
|
||||||
* gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop):
|
* gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-02-24 Anders Carlsson <andersca@gnome.org>
|
||||||
|
|
||||||
|
* gtk/gtkfilechooserdefault.c: (shortcuts_insert_separator):
|
||||||
|
Fix compilation (#135278, Padraig O'Briain).
|
||||||
|
|
||||||
2004-02-24 Anders Carlsson <andersca@gnome.org>
|
2004-02-24 Anders Carlsson <andersca@gnome.org>
|
||||||
|
|
||||||
* gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop):
|
* gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop):
|
||||||
|
@ -914,6 +914,23 @@ remove_bookmark_cb (GtkFileChooserDefault *impl, gpointer data)
|
|||||||
gtk_file_path_free (path);
|
gtk_file_path_free (path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Inserts the bookmarks separator node */
|
||||||
|
static void
|
||||||
|
shortcuts_insert_separator (GtkFileChooserDefault *impl)
|
||||||
|
{
|
||||||
|
GtkTreeIter iter;
|
||||||
|
|
||||||
|
gtk_list_store_insert (impl->shortcuts_model, &iter,
|
||||||
|
shortcuts_get_index (impl, SHORTCUTS_SEPARATOR));
|
||||||
|
gtk_list_store_set (impl->shortcuts_model, &iter,
|
||||||
|
SHORTCUTS_COL_PIXBUF, NULL,
|
||||||
|
SHORTCUTS_COL_PIXBUF_VISIBLE, FALSE,
|
||||||
|
SHORTCUTS_COL_NAME, NULL,
|
||||||
|
SHORTCUTS_COL_PATH, NULL,
|
||||||
|
-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Creates the GtkTreeStore used as the shortcuts model */
|
||||||
/* Updates the list of bookmarks */
|
/* Updates the list of bookmarks */
|
||||||
static void
|
static void
|
||||||
shortcuts_add_bookmarks (GtkFileChooserDefault *impl)
|
shortcuts_add_bookmarks (GtkFileChooserDefault *impl)
|
||||||
@ -939,23 +956,6 @@ shortcuts_add_bookmarks (GtkFileChooserDefault *impl)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Inserts the bookmarks separator node */
|
|
||||||
static void
|
|
||||||
shortcuts_insert_separator (GtkFileChooserDefault *impl)
|
|
||||||
{
|
|
||||||
GtkTreeIter iter;
|
|
||||||
|
|
||||||
gtk_list_store_insert (impl->shortcuts_model, &iter,
|
|
||||||
shortcuts_get_index (impl, SHORTCUTS_SEPARATOR));
|
|
||||||
gtk_list_store_set (impl->shortcuts_model, &iter,
|
|
||||||
SHORTCUTS_COL_PIXBUF, NULL,
|
|
||||||
SHORTCUTS_COL_PIXBUF_VISIBLE, FALSE,
|
|
||||||
SHORTCUTS_COL_NAME, NULL,
|
|
||||||
SHORTCUTS_COL_PATH, NULL,
|
|
||||||
-1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Creates the GtkTreeStore used as the shortcuts model */
|
|
||||||
static void
|
static void
|
||||||
create_shortcuts_model (GtkFileChooserDefault *impl)
|
create_shortcuts_model (GtkFileChooserDefault *impl)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user