Commit 016c21dc authored by Morten Welinder's avatar Morten Welinder

*** empty log message ***

parent d0edbe8c
2004-06-14 Morten Welinder <terra@gnome.org>
* src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): If available,
use just filename for tooltip. (Non-ascii looks nicer, and it's
shorter.)
2004-06-13 Jody Goldberg <jody@gnome.org>
* src/command-context-stderr.c : fix class decl to match change to
......
2004-06-14 Morten Welinder <terra@gnome.org>
* src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): If available,
use just filename for tooltip. (Non-ascii looks nicer, and it's
shorter.)
2004-06-13 Jody Goldberg <jody@gnome.org>
* src/command-context-stderr.c : fix class decl to match change to
......
......@@ -209,6 +209,7 @@ gui_file_open (WorkbookControlGUI *wbcg, char const *default_format)
fsel = GTK_FILE_CHOOSER
(g_object_new (GTK_TYPE_FILE_CHOOSER_DIALOG,
"action", GTK_FILE_CHOOSER_ACTION_OPEN,
"local-only", FALSE,
"title", _("Select a file"),
NULL));
gtk_dialog_add_buttons (GTK_DIALOG (fsel),
......
......@@ -42,6 +42,7 @@
#include <goffice/gui-utils/go-action-combo-text.h>
#include <goffice/gui-utils/go-action-combo-pixmaps.h>
#include <goffice/utils/go-color.h>
#include <goffice/utils/go-file.h>
#include <gsf/gsf-impl-utils.h>
#include <gtk/gtkactiongroup.h>
#include <gtk/gtkuimanager.h>
......@@ -626,7 +627,8 @@ wbc_gtk_reload_recent_file_menu (WorkbookControlGUI const *wbcg)
const char *uri = ptr->data;
char *name = g_strdup_printf ("FileHistoryEntry%d", i);
char *label = history_item_label (uri, i);
char *tooltip = g_strdup_printf (_("Open %s"), uri);
char *filename = go_filename_from_uri (uri);
char *tooltip = g_strdup_printf (_("Open %s"), filename ? filename : uri);
entry.name = name;
entry.stock_id = NULL;
......@@ -645,6 +647,7 @@ wbc_gtk_reload_recent_file_menu (WorkbookControlGUI const *wbcg)
g_free (name);
g_free (label);
g_free (filename);
g_free (tooltip);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment