mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
s/seperator/separator/.
Mon Mar 15 10:47:18 2004 Owen Taylor <otaylor@redhat.com> * gtk/gtkfilechooserentry.c: s/seperator/separator/.
This commit is contained in:
parent
63e5a1a798
commit
2ede6713a7
@ -1,3 +1,7 @@
|
||||
Mon Mar 15 10:47:18 2004 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserentry.c: s/seperator/separator/.
|
||||
|
||||
Mon Mar 15 09:54:36 2004 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_focus): Check for
|
||||
|
@ -1,3 +1,7 @@
|
||||
Mon Mar 15 10:47:18 2004 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserentry.c: s/seperator/separator/.
|
||||
|
||||
Mon Mar 15 09:54:36 2004 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_focus): Check for
|
||||
|
@ -1,3 +1,7 @@
|
||||
Mon Mar 15 10:47:18 2004 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserentry.c: s/seperator/separator/.
|
||||
|
||||
Mon Mar 15 09:54:36 2004 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_focus): Check for
|
||||
|
@ -1,3 +1,7 @@
|
||||
Mon Mar 15 10:47:18 2004 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserentry.c: s/seperator/separator/.
|
||||
|
||||
Mon Mar 15 09:54:36 2004 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_focus): Check for
|
||||
|
@ -1,3 +1,7 @@
|
||||
Mon Mar 15 10:47:18 2004 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserentry.c: s/seperator/separator/.
|
||||
|
||||
Mon Mar 15 09:54:36 2004 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_focus): Check for
|
||||
|
@ -95,7 +95,7 @@ static void files_added_cb (GtkFileSystem *file_system,
|
||||
static void files_deleted_cb (GtkFileSystem *file_system,
|
||||
GSList *deleted_uris,
|
||||
GtkFileChooserEntry *chooser_entry);
|
||||
static char *maybe_append_seperator_to_path (GtkFileChooserEntry *chooser_entry,
|
||||
static char *maybe_append_separator_to_path (GtkFileChooserEntry *chooser_entry,
|
||||
GtkFilePath *path,
|
||||
gchar *display_name);
|
||||
|
||||
@ -253,7 +253,7 @@ match_selected_callback (GtkEntryCompletion *completion,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
display_name = maybe_append_seperator_to_path (chooser_entry, path, display_name);
|
||||
display_name = maybe_append_separator_to_path (chooser_entry, path, display_name);
|
||||
|
||||
/* We have to jump through hoops to figure out where to append this to */
|
||||
text = gtk_entry_get_text (GTK_ENTRY (chooser_entry));
|
||||
@ -361,16 +361,16 @@ completion_match_func (GtkEntryCompletion *comp,
|
||||
}
|
||||
|
||||
/* This function will append a '/' character to paths to display_name iff the
|
||||
* path associated with it is a directory. maybe_append_seperator_to_path will
|
||||
* path associated with it is a directory. maybe_append_separator_to_path will
|
||||
* g_free the display_name and return a new one if needed. Otherwise, it will
|
||||
* return the old one. You should be safe calling
|
||||
*
|
||||
* display_name = maybe_append_seperator_to_path (entry, path, display_name);
|
||||
* display_name = maybe_append_separator_to_path (entry, path, display_name);
|
||||
* ...
|
||||
* g_free (display_name);
|
||||
*/
|
||||
static char *
|
||||
maybe_append_seperator_to_path (GtkFileChooserEntry *chooser_entry,
|
||||
maybe_append_separator_to_path (GtkFileChooserEntry *chooser_entry,
|
||||
GtkFilePath *path,
|
||||
gchar *display_name)
|
||||
{
|
||||
@ -462,7 +462,7 @@ check_completion_callback (GtkFileChooserEntry *chooser_entry)
|
||||
|
||||
if (unique_path)
|
||||
{
|
||||
common_prefix = maybe_append_seperator_to_path (chooser_entry,
|
||||
common_prefix = maybe_append_separator_to_path (chooser_entry,
|
||||
unique_path,
|
||||
common_prefix);
|
||||
gtk_file_path_free (unique_path);
|
||||
|
Loading…
Reference in New Issue
Block a user