mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
update title on saves
This commit is contained in:
@ -213,7 +213,7 @@ sysprof_display_dup_title (SysprofDisplay *self)
|
|||||||
const gchar *filename;
|
const gchar *filename;
|
||||||
|
|
||||||
if ((filename = sysprof_capture_reader_get_filename (reader)))
|
if ((filename = sysprof_capture_reader_get_filename (reader)))
|
||||||
return g_strdup (filename);
|
return g_path_get_basename (filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
return g_strdup (_("New Recording"));
|
return g_strdup (_("New Recording"));
|
||||||
@ -559,6 +559,7 @@ sysprof_display_save (SysprofDisplay *self)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_TITLE]);
|
||||||
gtk_native_dialog_destroy (GTK_NATIVE_DIALOG (native));
|
gtk_native_dialog_destroy (GTK_NATIVE_DIALOG (native));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user